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