2016-11-08 16:57:44 +13:00
|
|
|
|
|
|
|
|
.slider {
|
|
|
|
|
position: relative;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
.track {
|
|
|
|
|
position: absolute;
|
2017-07-23 10:15:02 +12:00
|
|
|
background: $dark_grey;
|
2017-06-18 05:47:36 +12:00
|
|
|
border-radius: 2px;
|
2016-11-08 16:57:44 +13:00
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
|
position: absolute;
|
|
|
|
|
background: $turquoise;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
left: 0;
|
2017-06-18 05:47:36 +12:00
|
|
|
border-radius: 2px;
|
2016-11-08 16:57:44 +13:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-05-24 08:41:41 +12:00
|
|
|
&.disabled {
|
|
|
|
|
.progress {
|
|
|
|
|
background: rgba(255,255,255,0.25);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-08 16:57:44 +13:00
|
|
|
&.horizontal {
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
|
|
|
|
.track {
|
2017-06-16 09:37:40 +12:00
|
|
|
height: 5px;
|
2017-06-22 08:59:40 +12:00
|
|
|
top: 50%;
|
2016-11-08 16:57:44 +13:00
|
|
|
right: 0;
|
|
|
|
|
left: 0;
|
2017-06-22 08:59:40 +12:00
|
|
|
margin-top: -3px;
|
2016-11-08 16:57:44 +13:00
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
|
top: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.vertical {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
.track {
|
2017-06-16 09:37:40 +12:00
|
|
|
width: 5px;
|
2016-11-08 16:57:44 +13:00
|
|
|
top: 0;
|
|
|
|
|
bottom: 0;
|
2017-06-16 09:37:40 +12:00
|
|
|
left: 12px;
|
2016-11-08 16:57:44 +13:00
|
|
|
|
|
|
|
|
.progress {
|
|
|
|
|
bottom: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|