diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-11 11:26:35 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-11 11:26:35 +0100 |
commit | f1a0555a88db9ade2b073a2e4dc73c4a6176c8a0 (patch) | |
tree | e1f73376527152fb9ac92447a826bccc9e8f0dd5 /client/src/sass/player/control-bar.scss | |
parent | ba9eef5f628764aed6183135e669b17741d24d7a (diff) | |
download | PeerTube-f1a0555a88db9ade2b073a2e4dc73c4a6176c8a0.tar.gz PeerTube-f1a0555a88db9ade2b073a2e4dc73c4a6176c8a0.tar.zst PeerTube-f1a0555a88db9ade2b073a2e4dc73c4a6176c8a0.zip |
Add player controls on mobile
Diffstat (limited to 'client/src/sass/player/control-bar.scss')
-rw-r--r-- | client/src/sass/player/control-bar.scss | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/sass/player/control-bar.scss b/client/src/sass/player/control-bar.scss index b3a96510a..c4e1283f8 100644 --- a/client/src/sass/player/control-bar.scss +++ b/client/src/sass/player/control-bar.scss | |||
@@ -4,6 +4,8 @@ | |||
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 | z-index: 100; | ||
8 | |||
7 | height: $control-bar-height; | 9 | height: $control-bar-height; |
8 | background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)); | 10 | background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)); |
9 | box-shadow: 0 -15px 40px 10px rgba(0, 0, 0, 0.2); | 11 | box-shadow: 0 -15px 40px 10px rgba(0, 0, 0, 0.2); |
@@ -49,7 +51,7 @@ | |||
49 | @include margin-left($progress-margin); | 51 | @include margin-left($progress-margin); |
50 | 52 | ||
51 | position: absolute; | 53 | position: absolute; |
52 | top: -10px; | 54 | top: $control-bar-slider-top; |
53 | z-index: 100; // On top of the progress bar | 55 | z-index: 100; // On top of the progress bar |
54 | width: calc(100% - (2 * #{$progress-margin})); | 56 | width: calc(100% - (2 * #{$progress-margin})); |
55 | height: 14px; | 57 | height: 14px; |