mirror of
https://github.com/openclassify/openclassify.git
synced 2026-04-16 12:12:09 -05:00
218 lines
4.4 KiB
CSS
218 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: 3px;
|
|
}
|
|
.slider.slider-horizontal .slider-track {
|
|
height: 3px;
|
|
left: 0;
|
|
margin-top: -5px;
|
|
top: 50%;
|
|
width: 100%;
|
|
}
|
|
.slider.slider-horizontal .slider-selection {
|
|
height: 3px;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
.slider.slider-horizontal .slider-handle {
|
|
margin-top: -3px;
|
|
}
|
|
|
|
.slider-price {
|
|
display: inline-block !important;
|
|
vertical-align: middle !important;
|
|
position: relative !important;
|
|
}
|
|
.slider-price.slider-horizontal {
|
|
width: 100% !important;
|
|
height: 3px !important;
|
|
}
|
|
.slider-price.slider-horizontal .slider-track {
|
|
height: 3px !important;
|
|
left: 0 !important;
|
|
margin-top: -5px !important;
|
|
top: 50% !important;
|
|
width: 100% !important;
|
|
}
|
|
.slider-price.slider-horizontal .slider-selection {
|
|
height: 3px !important;
|
|
top: 0 !important;
|
|
bottom: 0 !important;
|
|
}
|
|
.slider-price.slider-horizontal .slider-handle {
|
|
margin-top: -3px !important;
|
|
}
|
|
|
|
.left-round{
|
|
margin-left:-2px !important;
|
|
}
|
|
|
|
.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;*/
|
|
/*}*/
|
|
.price-range .slider {
|
|
background-color: #fff;
|
|
display: inline-block;
|
|
padding:0;
|
|
margin:28px 0 0;
|
|
|
|
}
|
|
|
|
.slider-price.slider-horizontal .slider-handle.triangle {
|
|
border-width: 0 10px 10px 10px;
|
|
width: 0;
|
|
height: 0;
|
|
border-bottom-color: #0480be;
|
|
margin-top: 0;
|
|
}
|
|
.slider-price.slider-vertical {
|
|
height: 210px;
|
|
width: 20px;
|
|
}
|
|
.slider-price.slider-vertical .slider-track {
|
|
width: 10px;
|
|
height: 100%;
|
|
margin-left: -5px;
|
|
left: 50%;
|
|
top: 0;
|
|
}
|
|
.slider-price.slider-vertical .slider-selection {
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
.slider-price.slider-vertical .slider-handle {
|
|
margin-left: -5px;
|
|
margin-top: -10px;
|
|
}
|
|
.slider-price.slider-vertical .slider-handle.triangle {
|
|
border-width: 10px 0 10px 10px;
|
|
width: 1px;
|
|
height: 1px;
|
|
border-left-color: #0480be;
|
|
margin-left: 0;
|
|
}
|
|
.slider-price input {
|
|
display: none;
|
|
}
|
|
.price-range .slider-price {
|
|
background-color: #fff;
|
|
display: inline-block;
|
|
padding:0;
|
|
margin:28px 0 0;
|
|
|
|
}
|
|
|
|
.price-range .tooltip.top {
|
|
margin-top: -30px;
|
|
}
|
|
|
|
.price b {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.Category-page .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: 15px;
|
|
-moz-border-radius: 15px;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.slider-selection {
|
|
-moz-box-sizing: border-box;
|
|
background: none repeat scroll 0 0 #00a651;
|
|
border-radius: 15px;
|
|
box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15) inset;
|
|
position: absolute;
|
|
}
|
|
|
|
.slider-handle {
|
|
background: #00a651;
|
|
box-shadow:none;
|
|
height: 8px;
|
|
opacity: 1;
|
|
position: absolute;
|
|
width: 8px;
|
|
}
|
|
|
|
.slider-handle.round {
|
|
-webkit-border-radius: 20px;
|
|
-moz-border-radius: 20px;
|
|
border-radius: 20px;
|
|
}
|
|
.slider-handle.triangle {
|
|
background: transparent none;
|
|
}
|
|
|
|
.price input {
|
|
width: 47%;
|
|
}
|
|
|
|
|
|
|
|
|