diff options
-rw-r--r-- | client/src/sass/player/control-bar.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/sass/player/control-bar.scss b/client/src/sass/player/control-bar.scss index 56102d3fb..6271523af 100644 --- a/client/src/sass/player/control-bar.scss +++ b/client/src/sass/player/control-bar.scss | |||
@@ -4,10 +4,6 @@ | |||
4 | @use './_player-variables' as *; | 4 | @use './_player-variables' as *; |
5 | 5 | ||
6 | .video-js.vjs-peertube-skin .vjs-control-bar { | 6 | .video-js.vjs-peertube-skin .vjs-control-bar { |
7 | &.control-bar-hidden { | ||
8 | display: none !important; | ||
9 | } | ||
10 | |||
11 | z-index: 100; | 7 | z-index: 100; |
12 | 8 | ||
13 | height: $control-bar-height; | 9 | height: $control-bar-height; |
@@ -16,6 +12,10 @@ | |||
16 | text-shadow: 0 0 2px rgba(0, 0, 0, 0.5); | 12 | text-shadow: 0 0 2px rgba(0, 0, 0, 0.5); |
17 | transition: visibility 0.3s, opacity 0.3s !important; | 13 | transition: visibility 0.3s, opacity 0.3s !important; |
18 | 14 | ||
15 | &.control-bar-hidden { | ||
16 | display: none !important; | ||
17 | } | ||
18 | |||
19 | > button:first-child { | 19 | > button:first-child { |
20 | @include margin-left($first-control-bar-element-margin-left); | 20 | @include margin-left($first-control-bar-element-margin-left); |
21 | } | 21 | } |