diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-05 14:25:42 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:58:29 +0200 |
commit | a75292db788d400ba84933693f5f98a83f3aaa60 (patch) | |
tree | 3a235bbf599fe0ceec09d16179fc1303afee2ada /client/src/sass | |
parent | 9054a8b6e522dd8d46260dca85e9de94a2d806cf (diff) | |
download | PeerTube-a75292db788d400ba84933693f5f98a83f3aaa60.tar.gz PeerTube-a75292db788d400ba84933693f5f98a83f3aaa60.tar.zst PeerTube-a75292db788d400ba84933693f5f98a83f3aaa60.zip |
Align dock padding with playlist button
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/player/_player-variables.scss | 2 | ||||
-rw-r--r-- | client/src/sass/player/peertube-skin.scss | 2 | ||||
-rw-r--r-- | client/src/sass/player/playlist.scss | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/client/src/sass/player/_player-variables.scss b/client/src/sass/player/_player-variables.scss index 935a60b49..7dcb21dfe 100644 --- a/client/src/sass/player/_player-variables.scss +++ b/client/src/sass/player/_player-variables.scss | |||
@@ -10,4 +10,6 @@ $slider-bg-color: lighten($primary-background-color, 33%); | |||
10 | 10 | ||
11 | $progress-margin: 10px; | 11 | $progress-margin: 10px; |
12 | 12 | ||
13 | $dock-padding: 20px; | ||
14 | |||
13 | $assets-path: '../../assets/' !default; | 15 | $assets-path: '../../assets/' !default; |
diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index 994936f81..6e1d81673 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss | |||
@@ -20,7 +20,7 @@ body { | |||
20 | color: pvar(--embedForegroundColor); | 20 | color: pvar(--embedForegroundColor); |
21 | 21 | ||
22 | .vjs-dock-text { | 22 | .vjs-dock-text { |
23 | padding-right: 10px; | 23 | padding: $dock-padding; |
24 | background: linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 100%); | 24 | background: linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, 0.2) 70%, rgba(0, 0, 0, 0) 100%); |
25 | } | 25 | } |
26 | 26 | ||
diff --git a/client/src/sass/player/playlist.scss b/client/src/sass/player/playlist.scss index d88baadeb..1d1489ac1 100644 --- a/client/src/sass/player/playlist.scss +++ b/client/src/sass/player/playlist.scss | |||
@@ -80,7 +80,7 @@ $playlist-menu-width: 350px; | |||
80 | right: 0; | 80 | right: 0; |
81 | top: 0; | 81 | top: 0; |
82 | z-index: 100; | 82 | z-index: 100; |
83 | padding: 1em; | 83 | padding: $dock-padding; |
84 | cursor: pointer; | 84 | cursor: pointer; |
85 | } | 85 | } |
86 | 86 | ||