[web] Remove sass processor warnings

This commit is contained in:
Alain Nussbaumer 2024-08-22 21:34:40 +02:00
parent ee6f81a618
commit 12eaa85c74

View File

@ -419,18 +419,22 @@ input[type='range'].slider {
@include mobile { @include mobile {
--th: calc(var(--sh) * 5); --th: calc(var(--sh) * 5);
} }
--sx: calc(var(--th) / 2 + (var(--ratio) * (100% - var(--th)))); & {
-webkit-appearance: none; --sx: calc(var(--th) / 2 + (var(--ratio) * (100% - var(--th))));
min-width: 250px; -webkit-appearance: none;
height: calc(var(--sh) * 5); min-width: 250px;
width: 100% !important; height: calc(var(--sh) * 5);
cursor: grab; width: 100% !important;
cursor: grab;
}
&:active { &:active {
cursor: grabbing; cursor: grabbing;
} }
&::-webkit-slider-thumb { &::-webkit-slider-thumb {
@include thumb; @include thumb;
margin-top: calc((var(--th) - var(--sh)) / -2); & {
margin-top: calc((var(--th) - var(--sh)) / -2);
}
} }
&::-moz-range-thumb { &::-moz-range-thumb {
@include thumb; @include thumb;