diff options
author | Chocobozzz <me@florianbigard.com> | 2023-08-28 10:55:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-08-28 16:17:31 +0200 |
commit | 77b70702d2193d78bf6fbd07f0fc7335e34957f8 (patch) | |
tree | 1a0aed540054286c9a8b10c4890cc0f718e00458 /client/src/sass/player | |
parent | 7113f32a87bd6b2868154fed20bde1a1633c190e (diff) | |
download | PeerTube-77b70702d2193d78bf6fbd07f0fc7335e34957f8.tar.gz PeerTube-77b70702d2193d78bf6fbd07f0fc7335e34957f8.tar.zst PeerTube-77b70702d2193d78bf6fbd07f0fc7335e34957f8.zip |
Add video chapters support
Diffstat (limited to 'client/src/sass/player')
-rw-r--r-- | client/src/sass/player/control-bar.scss | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/client/src/sass/player/control-bar.scss b/client/src/sass/player/control-bar.scss index 09a75e2fd..f272f3848 100644 --- a/client/src/sass/player/control-bar.scss +++ b/client/src/sass/player/control-bar.scss | |||
@@ -3,6 +3,16 @@ | |||
3 | @use '_mixins' as *; | 3 | @use '_mixins' as *; |
4 | @use './_player-variables' as *; | 4 | @use './_player-variables' as *; |
5 | 5 | ||
6 | .vjs-peertube-skin.has-chapter { | ||
7 | .vjs-time-tooltip { | ||
8 | white-space: pre; | ||
9 | line-height: 1.5; | ||
10 | padding-top: 4px; | ||
11 | padding-bottom: 4px; | ||
12 | top: -4.9em; | ||
13 | } | ||
14 | } | ||
15 | |||
6 | .video-js.vjs-peertube-skin .vjs-control-bar { | 16 | .video-js.vjs-peertube-skin .vjs-control-bar { |
7 | z-index: 100; | 17 | z-index: 100; |
8 | 18 | ||
@@ -495,3 +505,12 @@ | |||
495 | } | 505 | } |
496 | } | 506 | } |
497 | } | 507 | } |
508 | |||
509 | .vjs-marker { | ||
510 | position: absolute; | ||
511 | width: 3px; | ||
512 | opacity: .5; | ||
513 | background-color: #000; | ||
514 | height: 100%; | ||
515 | top: 0; | ||
516 | } | ||