aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/video-js-custom.scss37
1 files changed, 32 insertions, 5 deletions
diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss
index 4ef1693b5..2fa3527a8 100644
--- a/client/src/sass/video-js-custom.scss
+++ b/client/src/sass/video-js-custom.scss
@@ -1,7 +1,7 @@
1@import '_variables'; 1@import '_variables';
2@import '_mixins'; 2@import '_mixins';
3 3
4$primary-foreground-color: #fff; 4$primary-foreground-color: #eee;
5$primary-foreground-opacity: 0.9; 5$primary-foreground-opacity: 0.9;
6$primary-foreground-opacity-hover: 1; 6$primary-foreground-opacity-hover: 1;
7$primary-background-color: #000; 7$primary-background-color: #000;
@@ -13,7 +13,7 @@ $slider-bg-color: lighten($primary-background-color, 33%);
13 13
14.video-js.vjs-peertube-skin { 14.video-js.vjs-peertube-skin {
15 font-size: $font-size; 15 font-size: $font-size;
16 color: $primary-foreground-color; 16 color: #fff;
17 17
18 .vjs-dock-text { 18 .vjs-dock-text {
19 padding-right: 10px; 19 padding-right: 10px;
@@ -109,8 +109,14 @@ $slider-bg-color: lighten($primary-background-color, 33%);
109 } 109 }
110 } 110 }
111 111
112 .vjs-play-progress .vjs-time-tooltip { 112 .vjs-play-progress {
113 display: none; 113 &::before:hover {
114 top: -0.372em;
115 }
116
117 .vjs-time-tooltip {
118 display: none;
119 }
114 } 120 }
115 121
116 .vjs-load-progress { 122 .vjs-load-progress {
@@ -129,6 +135,28 @@ $slider-bg-color: lighten($primary-background-color, 33%);
129 .vjs-control-bar { 135 .vjs-control-bar {
130 height: $control-bar-height; 136 height: $control-bar-height;
131 137
138 .vjs-progress-control,
139 .vjs-play-control,
140 .vjs-playback-rate,
141 .vjs-mute-control,
142 .vjs-volume-control,
143 .vjs-resolution-control,
144 .vjs-fullscreen-control
145 {
146 opacity: $primary-foreground-opacity;
147 transition: opacity .1s;
148
149 &:hover {
150 opacity: $primary-foreground-opacity-hover;
151 }
152 }
153
154 .vjs-current-time,
155 .vjs-duration,
156 .vjs-peertube {
157 color: $primary-foreground-color;
158 }
159
132 .vjs-progress-control { 160 .vjs-progress-control {
133 bottom: 34px; 161 bottom: 34px;
134 width: 100%; 162 width: 100%;
@@ -169,7 +197,6 @@ $slider-bg-color: lighten($primary-background-color, 33%);
169 font-size: $font-size; 197 font-size: $font-size;
170 display: inline-block; 198 display: inline-block;
171 padding: 0; 199 padding: 0;
172
173 .vjs-duration-display { 200 .vjs-duration-display {
174 line-height: calc(#{$control-bar-height} + 1px); 201 line-height: calc(#{$control-bar-height} + 1px);
175 } 202 }