From 054a103b286277708a3a807a52da6cca12e1b0ce Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 11 Jun 2018 16:49:56 +0200 Subject: Add theatre mode --- client/src/sass/player/peertube-skin.scss | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'client/src/sass/player') diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index de6501962..e60a854d4 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss @@ -135,6 +135,7 @@ .vjs-resolution-control, .vjs-fullscreen-control, .vjs-peertube-link, + .vjs-theater-control, .vjs-settings { color: $primary-foreground-color !important; @@ -394,6 +395,26 @@ padding: 0 5px; } + .vjs-theater-control { + @include disable-outline; + + width: 37px; + margin-right: 1px; + + .vjs-icon-placeholder { + display: inline-block; + width: 22px; + height: 22px; + vertical-align: middle; + background: url('#{$assets-path}/player/images/theater.svg') no-repeat; + background-size: contain; + + &::before { + content: ''; + } + } + } + .vjs-fullscreen-control { @include disable-outline; @@ -440,6 +461,10 @@ } @media screen and (max-width: 750px) { + .vjs-theater-control { + display: none; + } + .vjs-dock-text { font-size: 16px; } -- cgit v1.2.3