From e4f1448745a02489ef7c78b18ec9a090e6c7b5c4 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 10 Apr 2018 14:57:16 +0200 Subject: [PATCH] Fixed audio player volume range background --- layout/sidebar/audioplayer.scarlet | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/layout/sidebar/audioplayer.scarlet b/layout/sidebar/audioplayer.scarlet index d408ad92..561f5866 100644 --- a/layout/sidebar/audioplayer.scarlet +++ b/layout/sidebar/audioplayer.scarlet @@ -1,3 +1,5 @@ +const audio-player-volume-background = rgba(0, 0, 0, 0.03) + #audio-player vertical default-transition @@ -136,7 +138,7 @@ mixin volume-slider-hover-thumb -webkit-appearance none width 100% height 6px - background rgba(0, 0, 0, 0.03) + background audio-player-volume-background outline none !important border none !important box-shadow none !important @@ -145,6 +147,12 @@ mixin volume-slider-hover-thumb margin 0 margin-top 1rem + ::-moz-range-track + background transparent + + ::-moz-focus-outer + border 0 + ::-webkit-slider-thumb volume-slider-thumb -webkit-appearance none