From 79d04cf55addb431d0bd008c1ebc38de9dee7795 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 5 Jul 2019 17:04:37 +0900 Subject: [PATCH] Volume slider thumb effect works in Firefox --- layout/sidebar/audioplayer.scarlet | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/layout/sidebar/audioplayer.scarlet b/layout/sidebar/audioplayer.scarlet index 561f5866..b863d783 100644 --- a/layout/sidebar/audioplayer.scarlet +++ b/layout/sidebar/audioplayer.scarlet @@ -159,12 +159,22 @@ mixin volume-slider-hover-thumb ::-moz-range-thumb volume-slider-thumb + -moz-appearance none :active transform none :hover + cursor pointer background rgba(0, 0, 0, 0.06) + // Chrome parsing bug forces us to make the following 2 thumb definitions have different statements. + // That is why we're adding the appearance statements here, even though they are not really needed. + ::-webkit-slider-thumb volume-slider-hover-thumb + -webkit-appearance none + + ::-moz-range-thumb + volume-slider-hover-thumb + -moz-appearance none