New: Updated seek bar thumbs, and fixed their functionality on Firefox

This commit is contained in:
lscambo13 committed 2026-05-24 14:33:57 +05:30
1 parent 47783d848d
commit 0f5925c429
1 file changed
+21 -2
+21 -2
View File
@@ -1791,9 +1791,9 @@ progress + span {
.mdl-slider::-webkit-slider-thumb { .mdl-slider::-webkit-slider-thumb {
background: var(--osdSeekBarThumbColor); background: var(--osdSeekBarThumbColor);
width: 4px !important; width: 0.4em !important;
height: 0.4em !important; height: 0.4em !important;
border-radius: 0em; border-radius: 0.4em;
} }
.sliderContainer:hover .mdl-slider::-webkit-slider-thumb { .sliderContainer:hover .mdl-slider::-webkit-slider-thumb {
@@ -1811,8 +1811,27 @@ progress + span {
transform: scale(1) scaleY(1.25); transform: scale(1) scaleY(1.25);
} }
/* These Firefox thumb styles are separate because combining them breaks the effect from chrome */
.mdl-slider::-moz-range-thumb { .mdl-slider::-moz-range-thumb {
background: var(--osdSeekBarThumbColor); background: var(--osdSeekBarThumbColor);
width: 0.4em !important;
height: 0.4em !important;
border-radius: 0.4em;
}
.sliderContainer:hover .mdl-slider::-moz-range-thumb {
width: 0.2em !important;
height: 0.8em !important;
border-radius: 0.2em;
transform: scale(1);
}
.sliderContainer:active .mdl-slider::-moz-range-thumb,
.mdl-slider.show-focus:focus::-moz-range-thumb {
width: 0.2em !important;
height: 0.8em !important;
border-radius: 0.2em;
transform: scale(1) scaleY(1.25);
} }
.sliderMarkerContainer { .sliderMarkerContainer {