Skip to content

Commit b22adb3

Browse files
committed
Update progressbar UI
1 parent c715322 commit b22adb3

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

examples/led-matrix-painter/assets/style.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,7 @@ input {
607607
#brightness-alpha-slider {
608608
-webkit-appearance: none;
609609
width: 100%;
610-
height: 6px;
611-
background: #008184 !important;
610+
background: transparent; /* Changed from #008184 to transparent */
612611
outline: none;
613612
-webkit-transition: .2s;
614613
transition: opacity .2s;
@@ -629,7 +628,8 @@ input {
629628
border-radius: 50%; /* Make it a circle */
630629
background: #008184 !important; /* Green background */
631630
cursor: pointer; /* Cursor on hover */
632-
margin-top: -4px; /* Adjust this to center the thumb vertically on the track */
631+
margin-top: -7.5px; /* Adjust this to center the thumb vertically on the track */
632+
filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.25));
633633
}
634634

635635
/* The slider thumb (Firefox) */
@@ -639,20 +639,22 @@ input {
639639
border-radius: 50%; /* Make it a circle */
640640
background: #008184 !important; /* Green background */
641641
cursor: pointer; /* Cursor on hover */
642+
margin-top: -7.5px;
643+
filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.25));
642644
}
643645

644646
/* The slider track (webKit) */
645647
#brightness-alpha-slider::-webkit-slider-runnable-track {
646648
width: 100%;
647-
height: 8px;
649+
height: 6px;
648650
background: #008184 !important; /* Green background */
649-
border-radius: 4px;
651+
border-radius: 30px;
650652
}
651653

652654
/* The slider track (Firefox) */
653655
#brightness-alpha-slider::-moz-range-track {
654656
width: 100%;
655-
height: 8px;
657+
height: 6px;
656658
background: #008184 !important; /* Green background */
657-
border-radius: 4px;
659+
border-radius: 30px;
658660
}

0 commit comments

Comments
 (0)