From d8d8de7f8723e47f5af9eddb19c240223d11b457 Mon Sep 17 00:00:00 2001 From: Caroline Chuong Date: Tue, 9 Jun 2020 13:35:30 +0200 Subject: change focus color instead of opacity of video play button (#2845) --- client/src/sass/player/peertube-skin.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/src/sass/player/peertube-skin.scss') diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index 92923a129..1fc744e67 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss @@ -85,9 +85,10 @@ body { background-image: url('#{$assets-path}/player/images/big-play-button.svg'); } - &:hover { - opacity: 0.8; + &.focus-visible, &:hover { + background-color: var(--mainColor); } + } // Small effect when we click on the play button -- cgit v1.2.3