From 3ec8dc096276ac3c7e5d8dca5f100017516f62ec Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 1 Mar 2018 19:02:51 +0100 Subject: Cleaner videojs control bar implementation --- client/src/standalone/videos/embed.scss | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'client/src/standalone/videos/embed.scss') diff --git a/client/src/standalone/videos/embed.scss b/client/src/standalone/videos/embed.scss index fbc0e33a0..9fa868c9b 100644 --- a/client/src/standalone/videos/embed.scss +++ b/client/src/standalone/videos/embed.scss @@ -26,25 +26,21 @@ html, body { } .vjs-peertube-link { + @include disable-outline; + color: #fff; text-decoration: none; font-size: $font-size; line-height: $control-bar-height; transition: all .4s; font-weight: $font-semibold; - margin-right: 3px; - padding: 0 5px; + padding-right: 5px; } .vjs-peertube-link:hover { text-shadow: 0 0 1em #fff; } - // Fix volume panel because we added a new component (PeerTube link) - .vjs-volume-panel { - margin-right: 137px !important; - } - @media screen and (max-width: 350px) { .vjs-play-control { padding: 0 5px !important; @@ -57,7 +53,6 @@ html, body { .vjs-volume-panel { width: 26px !important; - margin-right: 140px !important; } .vjs-peertube-link { -- cgit v1.2.3