2013-03-07 09:01:18 +01:00
|
|
|
/*!
|
|
|
|
* Slider for Bootstrap
|
|
|
|
*
|
|
|
|
* Copyright 2012 Stefan Petre
|
|
|
|
* Licensed under the Apache License v2.0
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.slider {
|
2013-03-30 00:28:58 +01:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
position: relative;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-horizontal {
|
2013-03-30 00:28:58 +01:00
|
|
|
width: 210px;
|
|
|
|
height: 20px;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-horizontal .slider-track {
|
2013-03-30 00:28:58 +01:00
|
|
|
height: 10px;
|
|
|
|
width: 100%;
|
|
|
|
margin-top: -5px;
|
|
|
|
top: 50%;
|
|
|
|
left: 0;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-horizontal .slider-selection {
|
2013-03-30 00:28:58 +01:00
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-horizontal .slider-handle {
|
2013-03-30 00:28:58 +01:00
|
|
|
margin-left: -10px;
|
|
|
|
margin-top: -5px;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-horizontal .slider-handle.triangle {
|
2013-03-30 00:28:58 +01:00
|
|
|
border-width: 0 10px 10px 10px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-bottom-color: #0480be;
|
|
|
|
margin-top: 0;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-vertical {
|
2013-03-30 00:28:58 +01:00
|
|
|
height: 210px;
|
|
|
|
width: 20px;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-vertical .slider-track {
|
2013-03-30 00:28:58 +01:00
|
|
|
width: 10px;
|
|
|
|
height: 100%;
|
|
|
|
margin-left: -5px;
|
|
|
|
left: 50%;
|
|
|
|
top: 0;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-vertical .slider-selection {
|
2013-03-30 00:28:58 +01:00
|
|
|
width: 100%;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-vertical .slider-handle {
|
2013-03-30 00:28:58 +01:00
|
|
|
margin-left: -5px;
|
|
|
|
margin-top: -10px;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider.slider-vertical .slider-handle.triangle {
|
2013-03-30 00:28:58 +01:00
|
|
|
border-width: 10px 0 10px 10px;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
border-left-color: #0480be;
|
|
|
|
margin-left: 0;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider input {
|
2013-03-30 00:28:58 +01:00
|
|
|
display: none;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider .tooltip-inner {
|
2013-03-30 00:28:58 +01:00
|
|
|
white-space: nowrap;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider-track {
|
2013-03-30 00:28:58 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider-selection {
|
2013-03-30 00:28:58 +01:00
|
|
|
position: absolute;
|
|
|
|
background-color: #bababa;
|
|
|
|
background-image: -moz-linear-gradient(top, #f9f9f9, #bababa);
|
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f9f9f9), to(#bababa));
|
|
|
|
background-image: -webkit-linear-gradient(top, #f9f9f9, #bababa);
|
|
|
|
background-image: -o-linear-gradient(top, #f9f9f9, #bababa);
|
|
|
|
background-image: linear-gradient(to bottom, #f9f9f9, #bababa);
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider-handle {
|
2013-03-30 00:28:58 +01:00
|
|
|
position: absolute;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
background-color: #3a87ad;
|
|
|
|
background-image: -moz-linear-gradient(top, #149bdf, #0480be);
|
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
|
|
|
|
background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
|
|
|
|
background-image: -o-linear-gradient(top, #149bdf, #0480be);
|
|
|
|
background-image: linear-gradient(to bottom, #149bdf, #0480be);
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
|
|
|
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
|
|
|
|
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
|
|
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
|
|
|
|
/*opacity: 0.8;*/
|
|
|
|
border: 0px solid transparent;
|
|
|
|
}
|
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider-handle.round {
|
2013-03-30 00:28:58 +01:00
|
|
|
-webkit-border-radius: 20px;
|
|
|
|
-moz-border-radius: 20px;
|
|
|
|
border-radius: 20px;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|
2013-03-30 00:28:58 +01:00
|
|
|
|
2013-03-07 09:01:18 +01:00
|
|
|
.slider-handle.triangle {
|
2013-03-30 00:28:58 +01:00
|
|
|
background: transparent none;
|
2013-03-07 09:01:18 +01:00
|
|
|
}
|