2016-03-11 00:48:53 +00:00
|
|
|
.slider {
|
|
|
|
position: relative;
|
|
|
|
height: 18px;
|
|
|
|
|
2021-04-12 18:46:28 +00:00
|
|
|
&.single-slider {
|
|
|
|
padding-top: 7px;
|
|
|
|
|
|
|
|
.track {
|
|
|
|
@track-height: 4px;
|
|
|
|
height: @track-height;
|
|
|
|
border: @track-height / 2 solid @border-regular-control-ie;
|
|
|
|
border: @track-height / 2 solid @border-regular-control;
|
|
|
|
border-radius: @track-height / 2;
|
2021-08-18 12:41:38 +00:00
|
|
|
background-color: @border-regular-control-ie;
|
|
|
|
background-color: @border-regular-control;
|
2021-04-12 18:46:28 +00:00
|
|
|
width: calc(100% + @track-height);
|
|
|
|
margin-left: -@track-height / 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumb {
|
|
|
|
@thumb-width: 12px;
|
|
|
|
width: @thumb-width;
|
|
|
|
height: @thumb-width;
|
|
|
|
|
|
|
|
border: @scaled-one-px-value-ie solid @icon-normal-ie;
|
|
|
|
border: @scaled-one-px-value solid @icon-normal;
|
|
|
|
background-color: @background-normal-ie;
|
|
|
|
background-color: @background-normal;
|
|
|
|
border-radius: @thumb-width / 2;
|
|
|
|
|
|
|
|
top: 3px;
|
|
|
|
margin-left: @thumb-width / -2;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
}
|
|
|
|
}
|
2021-08-03 16:58:38 +00:00
|
|
|
|
|
|
|
&.vertical {
|
|
|
|
height: auto;
|
|
|
|
width: 18px;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-left: 7px;
|
|
|
|
.track {
|
2021-08-04 22:27:55 +00:00
|
|
|
position: absolute;
|
2021-08-03 16:58:38 +00:00
|
|
|
@track-height: 4px;
|
2021-08-04 22:27:55 +00:00
|
|
|
height: calc(100% + @track-height);
|
2021-08-03 16:58:38 +00:00
|
|
|
width: @track-height;
|
|
|
|
margin-left: 0;
|
2021-08-04 22:27:55 +00:00
|
|
|
margin-top: -@track-height / 2;
|
2021-08-03 16:58:38 +00:00
|
|
|
}
|
|
|
|
.thumb {
|
|
|
|
@thumb-width: 12px;
|
|
|
|
top: auto;
|
|
|
|
left: 3px;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-top: @thumb-width / -2;
|
|
|
|
}
|
|
|
|
}
|
2021-04-12 18:46:28 +00:00
|
|
|
}
|
|
|
|
|
2016-03-11 00:48:53 +00:00
|
|
|
.thumb {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
margin-left: -7px;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.track {
|
|
|
|
height: 18px;
|
|
|
|
background-color: transparent;
|
|
|
|
|
|
|
|
div {
|
|
|
|
width: 7px;
|
|
|
|
height: 18px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2021-02-28 21:29:00 +00:00
|
|
|
opacity: @component-disabled-opacity;
|
2016-03-11 00:48:53 +00:00
|
|
|
}
|
|
|
|
}
|