59 lines
1.5 KiB
CSS
59 lines
1.5 KiB
CSS
|
.slider {
|
||
|
min-height: 14px; }
|
||
|
.slider:disabled, .slider.is-disabled {
|
||
|
opacity: .6; }
|
||
|
.slider:disabled .slider-track,
|
||
|
.slider:disabled .slider-handle,
|
||
|
.slider:disabled .slider-ticks, .slider.is-disabled .slider-track,
|
||
|
.slider.is-disabled .slider-handle,
|
||
|
.slider.is-disabled .slider-ticks {
|
||
|
cursor: default; }
|
||
|
.slider:disabled .slider-fill, .slider.is-disabled .slider-fill {
|
||
|
background-color: rgba(17, 17, 19, 0.2); }
|
||
|
|
||
|
.slider-track {
|
||
|
cursor: pointer;
|
||
|
position: relative;
|
||
|
width: 100%;
|
||
|
height: 4px;
|
||
|
box-shadow: 0 1px 2px rgba(17, 17, 19, 0.2) inset;
|
||
|
background-color: rgba(17, 17, 19, 0.1);
|
||
|
border: 0 solid transparent;
|
||
|
border-radius: 4px; }
|
||
|
|
||
|
.slider-fill {
|
||
|
position: absolute;
|
||
|
height: 4px;
|
||
|
background-color: rgba(21, 141, 247, 0.7);
|
||
|
border-radius: 4px;
|
||
|
box-shadow: 0 1px 2px rgba(17, 17, 19, 0.2) inset; }
|
||
|
|
||
|
.slider-handle {
|
||
|
cursor: pointer;
|
||
|
position: absolute;
|
||
|
z-index: 2;
|
||
|
width: 14px;
|
||
|
height: 14px;
|
||
|
margin-top: -5px;
|
||
|
background-color: #fff;
|
||
|
box-shadow: 0 1px 3px #111113;
|
||
|
border: 0 solid transparent;
|
||
|
border-radius: 50%; }
|
||
|
|
||
|
.slider-ticks {
|
||
|
cursor: pointer;
|
||
|
position: relative;
|
||
|
z-index: 1;
|
||
|
min-height: 10px;
|
||
|
margin-bottom: .7rem; }
|
||
|
.slider-ticks span {
|
||
|
position: absolute;
|
||
|
border-left: 1px solid rgba(17, 17, 19, 0.3);
|
||
|
height: 6px;
|
||
|
margin-top: 3px;
|
||
|
padding-top: 6px;
|
||
|
font-size: 10px;
|
||
|
text-align: center;
|
||
|
line-height: 1.3;
|
||
|
color: rgba(17, 17, 19, 0.5); }
|