aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/player/peertube-skin.scss
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/sass/player/peertube-skin.scss')
-rw-r--r--client/src/sass/player/peertube-skin.scss17
1 files changed, 15 insertions, 2 deletions
diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss
index 43c144624..d4c43ff68 100644
--- a/client/src/sass/player/peertube-skin.scss
+++ b/client/src/sass/player/peertube-skin.scss
@@ -189,9 +189,22 @@ body {
189 } 189 }
190} 190}
191 191
192.vjs-error-display {
193 display: none;
194}
195
196.vjs-custom-error-display {
197 font-family: $main-fonts;
198
199 .error-details {
200 margin-top: 40px;
201 font-size: 80%;
202 }
203}
204
192// Error display disabled 205// Error display disabled
193.vjs-error:not(.vjs-error-display-enabled) { 206.vjs-error:not(.vjs-error-display-enabled) {
194 .vjs-error-display { 207 .vjs-custom-error-display {
195 display: none; 208 display: none;
196 } 209 }
197 210
@@ -202,7 +215,7 @@ body {
202 215
203// Error display enabled 216// Error display enabled
204.vjs-error.vjs-error-display-enabled { 217.vjs-error.vjs-error-display-enabled {
205 .vjs-error-display { 218 .vjs-custom-error-display {
206 display: block; 219 display: block;
207 } 220 }
208} 221}