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 adabf8c77ecad..87d9f32b358c5 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 @@ -197,10 +197,6 @@ 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); } @@ -256,4 +252,11 @@ } } +@media (prefers-reduced-transparency:no-preference) { + /* add transparency to big play button */ + :deep(.shaka-controls-container[shown='true'] > .shaka-play-button-container > .shaka-play-button) { + opacity: 0.75 !important; + } +} + /* stylelint-enable liberty/use-logical-spec */