From b30992d32c78bc3d6caba594b4b86ee0f41e7237 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:15:10 -0400 Subject: [PATCH] Make player button smaller --- .../ft-shaka-video-player/ft-shaka-video-player.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.css b/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.css index 7b21d213f1d2d..a2c5fcb4a9f44 100644 --- a/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.css +++ b/src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.css @@ -171,6 +171,14 @@ opacity: 1; } +:deep(.shaka-controls-container[shown='true'] > .shaka-play-button-container > .shaka-play-button) { + opacity: 0.75 !important; +} + +:deep(.shaka-controls-container > .shaka-play-button-container > .shaka-play-button) { + padding: min(calc(15% / 2), 55px); +} + .ftVideoPlayer:fullscreen :deep(.theatre-button), .ftVideoPlayer:fullscreen :deep(.full-window-button), .fullWindow :deep(.theatre-button) {