172 lines
No EOL
4.2 KiB
CSS
172 lines
No EOL
4.2 KiB
CSS
.slider {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
|
|
.slider.slider-vertical {
|
|
height: 160px;
|
|
width: 35px;
|
|
z-index: 9;
|
|
}
|
|
|
|
.slider.slider-vertical .range-slider-track {
|
|
cursor: pointer;
|
|
/* cursor: pointer; */
|
|
width: 5px;
|
|
height: 100%;
|
|
margin-left: -2.5px;
|
|
left: 50%;
|
|
top: 0;
|
|
}
|
|
|
|
.slider.slider-vertical .slider-selection {
|
|
width: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
/* border-radius:0%; */
|
|
}
|
|
|
|
/* .slider-vertical .range-slider-track:before {
|
|
top: 0;
|
|
right: auto;
|
|
left: 9px;
|
|
width: 2px;
|
|
height: 100%;
|
|
} */
|
|
|
|
.slider.slider-vertical .slider-handle {
|
|
margin-left: -7.5px;
|
|
margin-top: -4px;
|
|
}
|
|
|
|
.slider.slider-vertical .slider-handle.triangle {
|
|
border-width: 10px 0 10px 10px;
|
|
width: 1px;
|
|
height: 1px;
|
|
border-left-color: #0480be;
|
|
margin-left: 0;
|
|
}
|
|
|
|
.slider-ticks {
|
|
overflow: visible;
|
|
}
|
|
|
|
.slider-tick {
|
|
position: absolute;
|
|
width: 100%;
|
|
min-height: 2px;
|
|
/* margin-left: 20px; */
|
|
/* padding-top: 2.5px; */
|
|
background-color: #6b716f;
|
|
overflow: visible;
|
|
margin-top: -2px;
|
|
}
|
|
|
|
/*.no-select {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}*/
|
|
|
|
.slider {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
position: relative;
|
|
}
|
|
|
|
.slider.slider-horizontal {
|
|
width: 100px;
|
|
height: 20px;
|
|
}
|
|
|
|
.slider.slider-horizontal .range-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: -5px;
|
|
}
|
|
|
|
.range-slider-track {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
/* background-color: #333; */
|
|
background-color: #6b716f;
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/*.slider.slider-horizontal .slider-handle.triangle {
|
|
border-width: 0 10px 10px 10px;
|
|
width: 0;
|
|
height: 0;
|
|
border-bottom-color: #0480be;
|
|
margin-top: 0;
|
|
}*/
|
|
|
|
.slider input {
|
|
display: none;
|
|
}
|
|
|
|
.slider .tooltip-inner {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.slider-selection {
|
|
position: absolute;
|
|
background-image: -moz-linear-gradient(top, #808080, rgba(0, 0, 0, 0.15));
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from( #808080), to(#f9f9f9));
|
|
background-image: -webkit-linear-gradient(top, #808080, #f9f9f9);
|
|
background-image: -o-linear-gradient(top, #808080, #f9f9f9);
|
|
background-image: linear-gradient(to bottom, #808080, #f9f9f9);
|
|
background-repeat: repeat-x;
|
|
/* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#808080', endColorstr='#fff9f9f9', GradientType=0); */
|
|
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;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.slider-handle {
|
|
position: absolute;
|
|
width: 20px;
|
|
height: 10px;
|
|
/* background-color: #0e90d2; */
|
|
background-color: black;
|
|
/* 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); */
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
|
|
opacity: 0.8;
|
|
border: 0 solid transparent;
|
|
z-index: 999;
|
|
}
|
|
|
|
.slider-handle.triangle {
|
|
background: transparent none;
|
|
}
|
|
|
|
.hide {
|
|
visibility: hidden;
|
|
} |