default values to slider moved to the container

This commit is contained in:
nklhrstv 2020-03-09 10:19:01 +02:00
parent ba71c61b28
commit bc9bbe4792

View file

@ -9,6 +9,9 @@ html.active-slider-within {
}
.slider-container {
--track-size: 0.5rem;
--thumb-size: 1.5rem;
position: relative;
z-index: 0;
overflow: visible;
@ -51,20 +54,20 @@ html.active-slider-within {
.track {
flex: 1;
height: var(--track-size, 0.5rem);
height: var(--track-size);
background-color: @color-primary-dark3;
}
.track-before {
flex: none;
height: var(--track-size, 0.5rem);
height: var(--track-size);
background-color: @color-primary-light3;
}
.thumb {
flex: none;
width: var(--thumb-size, 1.5rem);
height: var(--thumb-size, 1.5rem);
width: var(--thumb-size);
height: var(--thumb-size);
transform: translateX(-50%);
fill: @color-surface-light5;
}