diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-07 14:25:23 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-10 10:08:14 +0100 |
commit | a5a79d15427372b581e34ac3999c73fc316699d5 (patch) | |
tree | ad457a2105825462a7dc4e5505bdfdd5aaa82756 /client/src/sass/player/dock.scss | |
parent | 22c777863088f90c7f3f9df613b42952abab856d (diff) | |
download | PeerTube-a5a79d15427372b581e34ac3999c73fc316699d5.tar.gz PeerTube-a5a79d15427372b581e34ac3999c73fc316699d5.tar.zst PeerTube-a5a79d15427372b581e34ac3999c73fc316699d5.zip |
Increase player control bar size
Diffstat (limited to 'client/src/sass/player/dock.scss')
-rw-r--r-- | client/src/sass/player/dock.scss | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/client/src/sass/player/dock.scss b/client/src/sass/player/dock.scss new file mode 100644 index 000000000..79600ac93 --- /dev/null +++ b/client/src/sass/player/dock.scss | |||
@@ -0,0 +1,53 @@ | |||
1 | @use 'sass:math'; | ||
2 | @use '_variables' as *; | ||
3 | @use '_mixins' as *; | ||
4 | @use './_player-variables' as *; | ||
5 | |||
6 | .video-js.vjs-peertube-skin { | ||
7 | .vjs-dock-text { | ||
8 | @include padding-right(60px); | ||
9 | |||
10 | padding: $dock-padding; | ||
11 | background: linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 100%); | ||
12 | } | ||
13 | |||
14 | .vjs-dock-title, | ||
15 | .vjs-dock-description { | ||
16 | text-shadow: 0 0 2px rgba(0, 0, 0, .5); | ||
17 | } | ||
18 | |||
19 | .vjs-dock-description { | ||
20 | font-size: 11px; | ||
21 | |||
22 | .text::before { | ||
23 | @include margin-right(4px); | ||
24 | } | ||
25 | |||
26 | .text::after { | ||
27 | @include margin-left(4px); | ||
28 | transform: scale(-1, 1); | ||
29 | } | ||
30 | } | ||
31 | |||
32 | @media screen and (max-width: $screen-width-750) { | ||
33 | .vjs-dock-text { | ||
34 | font-size: 16px; | ||
35 | } | ||
36 | |||
37 | .vjs-dock-description { | ||
38 | font-size: 9px; | ||
39 | } | ||
40 | } | ||
41 | |||
42 | @media screen and (max-width: $screen-width-570) { | ||
43 | .vjs-dock-text { | ||
44 | font-size: 14px; | ||
45 | } | ||
46 | } | ||
47 | |||
48 | @media screen and (max-width: $screen-width-350) { | ||
49 | .vjs-dock-text { | ||
50 | font-size: 13px; | ||
51 | } | ||
52 | } | ||
53 | } | ||