From ef00fa77a398c8f70c9d78555cf76d89855ad6ba Mon Sep 17 00:00:00 2001 From: Mickael Kerjean Date: Tue, 25 Apr 2023 01:05:35 +1000 Subject: [PATCH] fix (players): audio and video players icons for control --- client/assets/img/pause.svg | 5 +++-- client/assets/img/play.svg | 2 +- client/pages/viewerpage/audioplayer.scss | 15 +++++++++++++++ client/pages/viewerpage/videoplayer.scss | 9 +++++++++ 4 files changed, 28 insertions(+), 3 deletions(-) diff --git a/client/assets/img/pause.svg b/client/assets/img/pause.svg index dd60308d..626641e8 100644 --- a/client/assets/img/pause.svg +++ b/client/assets/img/pause.svg @@ -1,3 +1,4 @@ - - + + + diff --git a/client/assets/img/play.svg b/client/assets/img/play.svg index ae3bea0e..6d08f098 100644 --- a/client/assets/img/play.svg +++ b/client/assets/img/play.svg @@ -1,3 +1,3 @@ - + diff --git a/client/pages/viewerpage/audioplayer.scss b/client/pages/viewerpage/audioplayer.scss index d5195a0e..e6d8dad7 100644 --- a/client/pages/viewerpage/audioplayer.scss +++ b/client/pages/viewerpage/audioplayer.scss @@ -62,12 +62,27 @@ body:not(.dark-mode) .component_audioplayer > .audioplayer_container { background: #6f6f6f; margin-top: -5px; } + &::-moz-range-thumb { + -webkit-appearance: none; + height: 12px; + width: 12px; + border: none; + border-radius: 50%; + background: #6f6f6f; + margin-top: -5px; + } &::-webkit-slider-runnable-track { width: 100%; height: 2px; background-color: #6f6f6f; border-radius: 2px; } + &::-moz-range-track { + width: 100%; + height: 2px; + background-color: #6f6f6f; + border-radius: 2px; + } } } diff --git a/client/pages/viewerpage/videoplayer.scss b/client/pages/viewerpage/videoplayer.scss index 29fe7bf7..7891008b 100644 --- a/client/pages/viewerpage/videoplayer.scss +++ b/client/pages/viewerpage/videoplayer.scss @@ -82,6 +82,15 @@ body:not(.dark-mode) .component_videoplayer { background: white; margin-top: -5px; } + &::-moz-range-thumb { + -webkit-appearance: none; + height: 12px; + width: 12px; + border: none; + border-radius: 50%; + background: white; + margin-top: -5px; + } &::-webkit-slider-runnable-track { width: 100%; height: 2px;