Skip to content

Commit 01e7b5f

Browse files
committed
refactor: remove CSS variables from Range.scss for cleaner styling
- Eliminated default CSS variables for slider and range track styles from Range.scss to streamline the styling process. - Added appearance property to the range input for improved cross-browser compatibility.
1 parent f9c282a commit 01e7b5f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/frontend/src/ui/Range.scss

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
:root {
2-
--slider-thumb-size: 16px;
3-
--range-track-filled: #cc6d24;
4-
--range-track-unfilled: #525252;
5-
--range-thumb-color: #a4571b; /* Slightly lighter than track-filled for contrast */
6-
}
7-
81
.range {
92
&__control-label {
103
display: flex;
@@ -25,6 +18,7 @@
2518
width: 100%;
2619
height: 4px;
2720
-webkit-appearance: none;
21+
appearance: none;
2822
background: var(--range-track-filled);
2923
border-radius: 2px;
3024
outline: none;

0 commit comments

Comments
 (0)