aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/video-js-custom.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-26 09:55:23 +0100
committerChocobozzz <me@florianbigard.com>2018-02-26 10:49:27 +0100
commitbf5685f0b7b1f23a1a3a972fc4d66061f31f9510 (patch)
treec477d973c725d7302e85f3b69cf6a5cf3bc10f14 /client/src/sass/video-js-custom.scss
parent245dc51de07596341cf1b631bdd16d48aa534b38 (diff)
downloadPeerTube-bf5685f0b7b1f23a1a3a972fc4d66061f31f9510.tar.gz
PeerTube-bf5685f0b7b1f23a1a3a972fc4d66061f31f9510.tar.zst
PeerTube-bf5685f0b7b1f23a1a3a972fc4d66061f31f9510.zip
Add fallback to HTTP
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}