aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/video-js-custom.scss
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/sass/video-js-custom.scss')
-rw-r--r--client/src/sass/video-js-custom.scss23
1 files changed, 20 insertions, 3 deletions
diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss
index ee6b9219b..ee8f25949 100644
--- a/client/src/sass/video-js-custom.scss
+++ b/client/src/sass/video-js-custom.scss
@@ -154,17 +154,17 @@ $control-bar-height: 34px;
154 } 154 }
155 } 155 }
156 156
157 .vjs-webtorrent { 157 .vjs-peertube {
158 width: 100%; 158 width: 100%;
159 line-height: $control-bar-height; 159 line-height: $control-bar-height;
160 text-align: right; 160 text-align: right;
161 padding-right: 60px; 161 padding-right: 60px;
162 162
163 .vjs-webtorrent-displayed { 163 .vjs-peertube-displayed {
164 display: block; 164 display: block;
165 } 165 }
166 166
167 .vjs-webtorrent-hidden { 167 .vjs-peertube-hidden {
168 display: none; 168 display: none;
169 } 169 }
170 170
@@ -424,3 +424,20 @@ $control-bar-height: 34px;
424 } 424 }
425} 425}
426 426
427// Error display disabled
428.vjs-error:not(.vjs-error-display-enabled) {
429 .vjs-error-display {
430 display: none;
431 }
432
433 .vjs-loading-spinner {
434 display: block;
435 }
436}
437
438// Error display enabled
439.vjs-error.vjs-error-display-enabled {
440 .vjs-error-display {
441 display: block;
442 }
443}