176 lines
4.4 KiB
CSS
176 lines
4.4 KiB
CSS
/*!
|
|
* Slider for Bootstrap
|
|
*
|
|
* Copyright 2012 Stefan Petre
|
|
* Licensed under the Apache License v2.0
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
*/
|
|
.slider {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
position: relative;
|
|
}
|
|
.slider.slider-horizontal {
|
|
width: 100% !important;
|
|
height: 20px;
|
|
}
|
|
.slider.slider-horizontal .slider-track {
|
|
height: 8px;
|
|
width: 100%;
|
|
margin-top: -5px;
|
|
top: 50%;
|
|
left: 0;
|
|
|
|
}
|
|
.slider.slider-horizontal .slider-selection {
|
|
height: 100%;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
.slider.slider-horizontal .slider-handle {
|
|
margin-left: -10px;
|
|
margin-top: 0px;
|
|
}
|
|
.slider.slider-horizontal .slider-handle.triangle {
|
|
border-width: 0 10px 10px 10px;
|
|
width: 0;
|
|
height: 0;
|
|
border-bottom-color: #0480be;
|
|
margin-top: 0;
|
|
}
|
|
.slider.slider-vertical {
|
|
height: 210px;
|
|
width: 20px;
|
|
}
|
|
.slider.slider-vertical .slider-track {
|
|
width: 10px;
|
|
height: 100%;
|
|
margin-left: -5px;
|
|
left: 50%;
|
|
top: 0;
|
|
}
|
|
.slider.slider-vertical .slider-selection {
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
.slider.slider-vertical .slider-handle {
|
|
margin-left: -5px;
|
|
margin-top: -10px;
|
|
}
|
|
.slider.slider-vertical .slider-handle.triangle {
|
|
border-width: 10px 0 10px 10px;
|
|
width: 1px;
|
|
height: 1px;
|
|
border-left-color: #0480be;
|
|
margin-left: 0;
|
|
}
|
|
.slider input {
|
|
display: none;
|
|
}
|
|
.slider .tooltip-inner {
|
|
white-space: nowrap;
|
|
}
|
|
.slider-track {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
background-color: #f7f7f7;
|
|
background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9);
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));
|
|
background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9);
|
|
background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9);
|
|
background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9);
|
|
background-repeat: repeat-x;
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
|
|
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
.slider-selection {
|
|
position: absolute;
|
|
background-color: #f7f7f7;
|
|
background-image: -moz-linear-gradient(top, #f9f9f9, #f5f5f5);
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f9f9f9), to(#f5f5f5));
|
|
background-image: -webkit-linear-gradient(top, #f9f9f9, #f5f5f5);
|
|
background-image: -o-linear-gradient(top, #f9f9f9, #f5f5f5);
|
|
background-image: linear-gradient(to bottom, #f9f9f9, #f5f5f5);
|
|
background-repeat: repeat-x;
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
|
|
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
|
-moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
.slider-handle {
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 16px;
|
|
background-color: #eee;
|
|
background-image: -moz-linear-gradient(top, #eee, #ddd);
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eee), to(#ddd));
|
|
background-image: -webkit-linear-gradient(top, #eee, #ddd);
|
|
background-image: -o-linear-gradient(top, #eee, #ddd);
|
|
background-image: linear-gradient(to bottom, #eee, #ddd);
|
|
background-repeat: repeat-x;
|
|
border: 1px solid #ccc;
|
|
}
|
|
.slider-handle.round {
|
|
-webkit-border-radius: 16px;
|
|
-moz-border-radius: 16px;
|
|
border-radius: 16px;
|
|
}
|
|
.slider-handle.triangle {
|
|
background: transparent none;
|
|
}
|
|
|
|
.product-filter-price {
|
|
position: relative;
|
|
}
|
|
|
|
.product-filter-price .panel-body {
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.product-filter-price .product-filter-price-min,
|
|
.product-filter-price .product-filter-price-max {
|
|
width: 50px;
|
|
text-align: center;
|
|
}
|
|
|
|
.product-filter-price .product-filter-price-slider {
|
|
margin-bottom: 5px;
|
|
padding-left: 10px;
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.product-filter-price .reset {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.product-filter-price .panel-heading {
|
|
padding: 10px 1px 2px 1px;
|
|
font-weight: bold;
|
|
margin: 0px 10px;
|
|
}
|
|
|
|
.product-filter-price .preloader {
|
|
position: absolute;
|
|
z-index: 1000;
|
|
top: 0;
|
|
left: 0;
|
|
background: none no-repeat center center #fff;
|
|
opacity: 0.6;
|
|
border-radius: inherit;
|
|
height: 100%;
|
|
width: 100%;
|
|
} |