]>
Commit | Line | Data |
---|---|---|
3ec8dc09 C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
2a19a1e4 | 3 | @import './_player-variables'; |
3ec8dc09 | 4 | |
122dbb57 C |
5 | body { |
6 | --embedForegroundColor: #{$primary-foreground-color}; | |
7 | ||
8 | --embedBigPlayBackgroundColor: #{$primary-background-color}; | |
9 | } | |
10 | ||
864e782b C |
11 | @mixin big-play-button-triangle-size($triangle-size) { |
12 | width: $triangle-size; | |
13 | height: $triangle-size; | |
14 | top: calc(50% - #{$triangle-size / 2}); | |
15 | left: calc(53% - #{($triangle-size / 2)}); | |
16 | } | |
17 | ||
be6a4802 C |
18 | .video-js.vjs-peertube-skin { |
19 | font-size: $font-size; | |
5efab546 | 20 | color: var(--embedForegroundColor); |
aa8b6df4 | 21 | |
22b59e80 C |
22 | .vjs-dock-text { |
23 | padding-right: 10px; | |
abb3097e C |
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 | } | |
26 | ||
27 | .vjs-dock-title, | |
28 | .vjs-dock-description { | |
29 | text-shadow: 0 0 2px rgba(0, 0, 0, .5); | |
22b59e80 C |
30 | } |
31 | ||
32 | .vjs-dock-description { | |
33 | font-size: 11px; | |
34 | ||
31b6ddf8 | 35 | .text::before { |
22b59e80 C |
36 | margin-right: 4px; |
37 | } | |
38 | ||
31b6ddf8 | 39 | .text::after { |
22b59e80 C |
40 | margin-left: 4px; |
41 | transform: scale(-1, 1); | |
42 | } | |
43 | } | |
44 | ||
be6a4802 C |
45 | .vjs-button > .vjs-icon-placeholder::before { |
46 | line-height: $control-bar-height; | |
aa8b6df4 | 47 | } |
e14852b4 | 48 | |
c6352f2c | 49 | .vjs-volume-level::before { |
be6a4802 C |
50 | content: ''; /* Remove Circle From Progress Bar */ |
51 | } | |
e14852b4 | 52 | |
be6a4802 C |
53 | .vjs-audio-button { |
54 | display: none; | |
55 | } | |
e14852b4 | 56 | |
be6a4802 | 57 | .vjs-big-play-button { |
9e6b41cc | 58 | outline: 0; |
07fa4c97 | 59 | font-size: 6em; |
e14852b4 | 60 | |
33d78552 C |
61 | $big-play-width: 1.2em; |
62 | $big-play-height: 1.2em; | |
e14852b4 | 63 | |
abb3097e | 64 | border: 2px solid #fff; |
33d78552 | 65 | border-radius: 100%; |
e14852b4 | 66 | |
e14852b4 C |
67 | left: 50%; |
68 | top: 50%; | |
8cac1b64 C |
69 | width: $big-play-width; |
70 | height: $big-play-height; | |
71 | line-height: $big-play-height; | |
e14852b4 C |
72 | margin-left: -($big-play-width / 2); |
73 | margin-top: -($big-play-height / 2); | |
864e782b | 74 | transition: 0.4s opacity; |
adcaf1a8 C |
75 | |
76 | &::-moz-focus-inner { | |
77 | border: 0; | |
78 | padding: 0 | |
79 | } | |
80d1057b C |
80 | |
81 | .vjs-icon-placeholder::before { | |
864e782b C |
82 | @include big-play-button-triangle-size(45px); |
83 | ||
84 | content: ''; | |
2a19a1e4 | 85 | background-image: url('#{$assets-path}/player/images/big-play-button.svg'); |
80d1057b C |
86 | } |
87 | ||
8cac1b64 | 88 | &:hover { |
33d78552 | 89 | opacity: 0.8; |
80d1057b | 90 | } |
be6a4802 | 91 | } |
e14852b4 | 92 | |
864e782b C |
93 | // Small effect when we click on the play button |
94 | &.vjs-has-big-play-button-clicked { | |
33d78552 | 95 | |
864e782b C |
96 | .vjs-big-play-button, .vjs-poster { |
97 | display: block; | |
98 | visibility: hidden; | |
33d78552 | 99 | |
864e782b | 100 | &.vjs-big-play-button, &.vjs-big-play-button::before { |
33d78552 | 101 | opacity: 0; |
864e782b | 102 | transition: visibility 0.2s, opacity 0.2s; |
33d78552 | 103 | } |
864e782b C |
104 | |
105 | &.vjs-poster, &.vjs-poster::before { | |
106 | opacity: 0; | |
107 | transition: visibility 0.3s, opacity 0.3s; | |
108 | transition-delay: 0.05s; | |
33d78552 C |
109 | } |
110 | } | |
8fa5653a C |
111 | } |
112 | ||
597ca6de | 113 | // Show poster and controls when playing audio-only content |
114 | &.vjs-playing-audio-only-content { | |
115 | .vjs-poster { | |
116 | display: block; | |
117 | visibility: visible; | |
118 | } | |
119 | ||
120 | .vjs-control-bar { | |
121 | opacity: $primary-foreground-opacity-hover; | |
122 | } | |
123 | } | |
124 | ||
e6f62797 C |
125 | // Hide the big play button on autoplay |
126 | &.vjs-has-autoplay { | |
127 | .vjs-big-play-button { | |
128 | display: none !important; | |
129 | } | |
130 | } | |
131 | ||
be6a4802 C |
132 | .vjs-control-bar, |
133 | .vjs-big-play-button, | |
c6352f2c | 134 | .vjs-settings-dialog { |
5efab546 | 135 | background-color: var(--embedBigPlayBackgroundColor); |
be6a4802 | 136 | } |
e14852b4 | 137 | |
be6a4802 C |
138 | .vjs-poster { |
139 | outline: none; /* Remove Blue Outline on Click*/ | |
140 | outline: 0; | |
141 | } | |
e14852b4 | 142 | |
be6a4802 C |
143 | .vjs-control-bar { |
144 | height: $control-bar-height; | |
fc16f981 C |
145 | background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)); |
146 | box-shadow: 0 -15px 40px 10px rgba(0, 0, 0, 0.2); | |
0aabe3f6 | 147 | text-shadow: 0 0 2px rgba(0, 0, 0, 0.5); |
e14852b4 | 148 | |
6b9af129 C |
149 | .vjs-progress-control, |
150 | .vjs-play-control, | |
151 | .vjs-playback-rate, | |
152 | .vjs-mute-control, | |
153 | .vjs-volume-control, | |
154 | .vjs-resolution-control, | |
c6352f2c C |
155 | .vjs-fullscreen-control, |
156 | .vjs-peertube-link, | |
054a103b | 157 | .vjs-theater-control, |
c6352f2c | 158 | .vjs-settings |
6b9af129 | 159 | { |
5efab546 C |
160 | color: var(--embedForegroundColor) !important; |
161 | ||
6b9af129 C |
162 | opacity: $primary-foreground-opacity; |
163 | transition: opacity .1s; | |
164 | ||
165 | &:hover { | |
166 | opacity: $primary-foreground-opacity-hover; | |
167 | } | |
168 | } | |
169 | ||
170 | .vjs-current-time, | |
171 | .vjs-duration, | |
172 | .vjs-peertube { | |
5efab546 | 173 | color: var(--embedForegroundColor); |
c6352f2c | 174 | opacity: $primary-foreground-opacity; |
6b9af129 C |
175 | } |
176 | ||
2ce2fd7f C |
177 | .vjs-progress-control { |
178 | position: absolute; | |
179 | z-index: 100; // On top of the progress bar | |
180 | bottom: 29px; | |
181 | width: calc(100% - (2 * #{$progress-margin})); | |
182 | margin-left: $progress-margin; | |
183 | height: 14px; | |
77728efa | 184 | |
2ce2fd7f C |
185 | .vjs-slider { |
186 | margin: 0; | |
187 | border-radius: 0; | |
188 | background-color: rgba(255, 255, 255, .2); | |
189 | height: 3px; | |
190 | transition: none; | |
77728efa | 191 | |
2ce2fd7f | 192 | .vjs-play-progress { |
5efab546 | 193 | background: var(--embedForegroundColor); |
77728efa | 194 | |
2ce2fd7f C |
195 | // Not display the circle if the progress is not hovered |
196 | &::before { | |
197 | opacity: 0; | |
198 | transition: opacity 0.1s ease; | |
199 | font-size: 14px; | |
77728efa | 200 | |
2ce2fd7f C |
201 | top: -0.3em; |
202 | } | |
77728efa | 203 | |
2ce2fd7f C |
204 | .vjs-time-tooltip { |
205 | display: none; | |
206 | } | |
207 | } | |
77728efa | 208 | |
2ce2fd7f C |
209 | .vjs-load-progress { |
210 | &, & div { | |
211 | background: rgba(255, 255, 255, .2); | |
212 | } | |
213 | } | |
77728efa C |
214 | } |
215 | } | |
216 | ||
2ce2fd7f | 217 | .vjs-progress-control:hover .vjs-slider, |
3d5de919 | 218 | .vjs-progress-control .vjs-slider.vjs-sliding { |
be6a4802 | 219 | height: 5px; |
e14852b4 | 220 | |
2ce2fd7f C |
221 | .vjs-play-progress::before { |
222 | opacity: 1; | |
be6a4802 C |
223 | } |
224 | } | |
e14852b4 | 225 | |
2ce2fd7f | 226 | |
be6a4802 | 227 | .vjs-play-control { |
3ec8dc09 C |
228 | @include disable-outline; |
229 | ||
c6352f2c | 230 | cursor: pointer; |
be6a4802 | 231 | font-size: $font-size; |
1dc240a9 RK |
232 | margin-left: 1em; |
233 | width: 3em; | |
be6a4802 | 234 | } |
e14852b4 | 235 | |
be6a4802 | 236 | .vjs-time-control { |
8e53163f C |
237 | line-height: inherit; |
238 | ||
be6a4802 C |
239 | &.vjs-current-time { |
240 | font-size: $font-size; | |
241 | display: inline-block; | |
242 | padding: 0; | |
1dc240a9 | 243 | margin-left: .5em; |
be6a4802 C |
244 | |
245 | .vjs-current-time-display { | |
86f278cb | 246 | line-height: calc(#{$control-bar-height} + 1px); |
be6a4802 C |
247 | |
248 | &::after { | |
249 | content: "/"; | |
250 | margin: 0 1px 0 2px; | |
251 | } | |
252 | } | |
253 | } | |
254 | ||
255 | &.vjs-duration { | |
256 | font-size: $font-size; | |
257 | display: inline-block; | |
258 | padding: 0; | |
be6a4802 | 259 | .vjs-duration-display { |
86f278cb | 260 | line-height: calc(#{$control-bar-height} + 1px); |
be6a4802 C |
261 | } |
262 | } | |
263 | ||
264 | &.vjs-remaining-time { | |
265 | display: none; | |
266 | } | |
267 | } | |
e14852b4 | 268 | |
bf5685f0 | 269 | .vjs-peertube { |
be6a4802 C |
270 | width: 100%; |
271 | line-height: $control-bar-height; | |
272 | text-align: right; | |
1dc240a9 | 273 | margin-right: 6px; |
de64dfbb | 274 | overflow: hidden; |
be6a4802 | 275 | |
bf5685f0 | 276 | .vjs-peertube-displayed { |
a86309b4 C |
277 | display: block; |
278 | } | |
279 | ||
bf5685f0 | 280 | .vjs-peertube-hidden { |
a86309b4 C |
281 | display: none; |
282 | } | |
283 | ||
1ee156b2 | 284 | .download-speed-number, .upload-speed-number, .peers-number, .http-fallback { |
be6a4802 C |
285 | font-weight: $font-semibold; |
286 | } | |
287 | ||
1ee156b2 | 288 | .download-speed-text, .upload-speed-text, .peers-text, .http-fallback { |
be6a4802 C |
289 | margin-right: 15px; |
290 | } | |
291 | ||
1dc240a9 RK |
292 | .icon { |
293 | &.icon-download { | |
294 | background-image: url('#{$assets-path}/player/images/arrow-down.svg'); | |
295 | } | |
296 | ||
297 | &.icon-upload { | |
298 | background-image: url('#{$assets-path}/player/images/arrow-up.svg'); | |
299 | } | |
300 | } | |
301 | } | |
302 | ||
303 | .vjs-next-video { | |
304 | line-height: $control-bar-height; | |
305 | text-align: right; | |
306 | ||
307 | .icon { | |
308 | &.icon-next { | |
309 | mask-image: url('#{$assets-path}/player/images/next.svg'); | |
310 | background-color: white; | |
311 | mask-size: cover; | |
312 | transform: scale(2.2); | |
313 | } | |
314 | } | |
315 | } | |
316 | ||
317 | .vjs-peertube, | |
318 | .vjs-next-video { | |
be6a4802 C |
319 | .icon { |
320 | display: inline-block; | |
321 | width: 15px; | |
322 | height: 15px; | |
323 | background-size: contain; | |
324 | vertical-align: middle; | |
325 | background-repeat: no-repeat; | |
be6a4802 C |
326 | position: relative; |
327 | top: -1px; | |
be6a4802 C |
328 | } |
329 | } | |
e14852b4 | 330 | |
57886d66 | 331 | .vjs-playback-rate { |
332 | font-size: 10px; | |
3ec8dc09 | 333 | width: 37px !important; |
a73c582e C |
334 | |
335 | .vjs-playback-rate-value { | |
336 | font-size: 13px; | |
337 | line-height: $control-bar-height; | |
338 | } | |
3ec8dc09 C |
339 | |
340 | .vjs-menu .vjs-menu-content { | |
341 | width: 37px !important; | |
342 | } | |
57886d66 | 343 | } |
344 | ||
be6a4802 | 345 | .vjs-mute-control { |
3ec8dc09 C |
346 | @include disable-outline; |
347 | ||
348 | line-height: $control-bar-height; | |
349 | padding: 0; | |
350 | width: 30px; | |
d7701449 | 351 | |
be6a4802 C |
352 | .vjs-icon-placeholder { |
353 | display: inline-block; | |
354 | width: 22px; | |
355 | height: 22px; | |
356 | vertical-align: middle; | |
2a19a1e4 | 357 | background: url('#{$assets-path}/player/images/volume.svg') no-repeat; |
be6a4802 C |
358 | background-size: contain; |
359 | ||
360 | &::before { | |
361 | content: ''; | |
362 | } | |
363 | } | |
364 | ||
365 | &.vjs-vol-0 .vjs-icon-placeholder { | |
2a19a1e4 | 366 | background: url('#{$assets-path}/player/images/volume-mute.svg') no-repeat; |
be6a4802 C |
367 | background-size: contain; |
368 | } | |
369 | } | |
e14852b4 | 370 | |
3ec8dc09 C |
371 | .vjs-volume-control { |
372 | width: 30px; | |
c6352f2c | 373 | margin: 0 5px 0 0; |
be6a4802 | 374 | } |
e14852b4 | 375 | |
be6a4802 C |
376 | .vjs-volume-bar { |
377 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAcCAQAAACw95UnAAAAMElEQVRIx2NgoBL4n4YKGUYNHkEG4zJg1OCRYDCpBowaPJwMppbLRg0eNXjUYBLEAXWNUA6QNm1lAAAAAElFTkSuQmCC) no-repeat; | |
378 | background-size: 22px 14px; | |
379 | height: 100%; | |
380 | width: 100%; | |
381 | max-width: 22px; | |
382 | max-height: 14px; | |
383 | margin: 7px 4px; | |
384 | border-radius: 0; | |
385 | top: 3px; | |
386 | ||
387 | .vjs-volume-level { | |
388 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAcAQAAAAAyhWABAAAAAnRSTlMAAHaTzTgAAAAZSURBVHgBYwAB/g9EUv+JokCqiaT+U4MCAPKPS7WUUOc1AAAAAElFTkSuQmCC) no-repeat; | |
389 | background-size: 22px 14px; | |
390 | max-width: 22px; | |
391 | max-height: 14px; | |
392 | height: 100%; | |
393 | } | |
3d5de919 C |
394 | |
395 | &:focus { | |
396 | text-shadow: none; | |
397 | box-shadow: none; | |
398 | } | |
be6a4802 | 399 | } |
e14852b4 | 400 | |
be6a4802 C |
401 | .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active, |
402 | .vjs-volume-panel.vjs-volume-panel-horizontal:active, | |
403 | .vjs-volume-panel.vjs-volume-panel-horizontal:focus, | |
404 | .vjs-volume-panel.vjs-volume-panel-horizontal:hover { | |
405 | width: 6em; | |
406 | transition-property: none; | |
407 | } | |
e14852b4 | 408 | |
be6a4802 C |
409 | .vjs-volume-panel .vjs-mute-control:hover ~ .vjs-volume-control.vjs-volume-horizontal { |
410 | width: 3em; | |
411 | height: auto; | |
412 | } | |
e14852b4 | 413 | |
be6a4802 C |
414 | .vjs-volume-panel .vjs-mute-control:hover ~ .vjs-volume-control { |
415 | transition-property: none; | |
416 | } | |
e14852b4 | 417 | |
be6a4802 C |
418 | .vjs-volume-panel { |
419 | .vjs-mute-control { | |
420 | width: 2em; | |
421 | z-index: 1; | |
422 | padding: 0; | |
423 | } | |
424 | ||
425 | .vjs-volume-control { | |
426 | display: inline-block; | |
427 | position: relative; | |
428 | left: 5px; | |
429 | opacity: 1; | |
430 | width: 3em; | |
431 | height: auto; | |
432 | } | |
433 | } | |
e14852b4 | 434 | |
c6352f2c C |
435 | .vjs-peertube-link { |
436 | @include disable-outline; | |
437 | @include disable-default-a-behaviour; | |
438 | ||
439 | text-decoration: none; | |
440 | line-height: $control-bar-height; | |
441 | font-weight: $font-semibold; | |
442 | padding: 0 5px; | |
443 | } | |
444 | ||
054a103b C |
445 | .vjs-theater-control { |
446 | @include disable-outline; | |
447 | ||
448 | width: 37px; | |
449 | margin-right: 1px; | |
b335ccec | 450 | cursor: pointer; |
054a103b C |
451 | |
452 | .vjs-icon-placeholder { | |
4555697f | 453 | transition: transform 0.2s ease; |
054a103b C |
454 | display: inline-block; |
455 | width: 22px; | |
456 | height: 22px; | |
457 | vertical-align: middle; | |
458 | background: url('#{$assets-path}/player/images/theater.svg') no-repeat; | |
459 | background-size: contain; | |
460 | ||
461 | &::before { | |
462 | content: ''; | |
463 | } | |
464 | } | |
465 | } | |
466 | ||
be6a4802 | 467 | .vjs-fullscreen-control { |
3ec8dc09 C |
468 | @include disable-outline; |
469 | ||
be6a4802 | 470 | width: 37px; |
2ce2fd7f | 471 | margin-right: 11px; |
be6a4802 C |
472 | |
473 | .vjs-icon-placeholder { | |
474 | display: inline-block; | |
475 | width: 22px; | |
476 | height: 22px; | |
477 | vertical-align: middle; | |
2a19a1e4 | 478 | background: url('#{$assets-path}/player/images/fullscreen.svg') no-repeat; |
be6a4802 C |
479 | background-size: contain; |
480 | ||
481 | &::before { | |
482 | content: ''; | |
483 | } | |
484 | } | |
485 | } | |
e14852b4 | 486 | |
be6a4802 | 487 | .vjs-menu-button-popup { |
be6a4802 | 488 | font-weight: $font-semibold; |
86f278cb | 489 | width: 50px; |
be6a4802 | 490 | |
be6a4802 | 491 | .vjs-resolution-button { |
3ec8dc09 | 492 | @include disable-outline; |
be6a4802 C |
493 | } |
494 | ||
495 | .vjs-menu { | |
496 | top: 20px; | |
3ec8dc09 | 497 | left: 0; |
be6a4802 C |
498 | |
499 | .vjs-menu-content { | |
86f278cb | 500 | width: 50px; |
3ec8dc09 | 501 | bottom: 20px; |
be6a4802 C |
502 | } |
503 | ||
504 | li { | |
505 | text-transform: none; | |
506 | font-size: 13px; | |
507 | } | |
508 | } | |
509 | } | |
510 | } | |
a86309b4 | 511 | |
6cf57b44 | 512 | @media screen and (max-width: 750px) { |
054a103b C |
513 | .vjs-theater-control { |
514 | display: none; | |
515 | } | |
516 | ||
6cf57b44 C |
517 | .vjs-dock-text { |
518 | font-size: 16px; | |
519 | } | |
520 | ||
521 | .vjs-dock-description { | |
3c40590d | 522 | font-size: 9px; |
6cf57b44 C |
523 | } |
524 | ||
525 | .vjs-big-play-button { | |
526 | font-size: 5em; | |
e0812403 | 527 | border-width: 3px; |
6cf57b44 C |
528 | |
529 | .vjs-icon-placeholder::before { | |
530 | @include big-play-button-triangle-size(32px); | |
531 | } | |
532 | } | |
533 | } | |
534 | ||
e700d33b | 535 | @media screen and (max-width: 570px) { |
869968d7 C |
536 | .vjs-dock-text { |
537 | font-size: 14px; | |
538 | } | |
539 | ||
8fa5653a | 540 | .vjs-big-play-button { |
869968d7 | 541 | font-size: 4.5em; |
e0812403 | 542 | border-width: 2.5px; |
864e782b C |
543 | |
544 | .vjs-icon-placeholder::before { | |
545 | @include big-play-button-triangle-size(27px); | |
546 | } | |
8fa5653a C |
547 | } |
548 | ||
7ccfb37f | 549 | .vjs-peertube { |
86f278cb C |
550 | padding: 0 !important; |
551 | ||
7ccfb37f | 552 | .vjs-peertube-displayed { |
86f278cb C |
553 | display: none !important; |
554 | } | |
555 | } | |
556 | } | |
557 | ||
558 | @media screen and (max-width: 300px) { | |
8fa5653a | 559 | .vjs-dock-text { |
22b59e80 C |
560 | font-size: 13px; |
561 | } | |
562 | ||
8fa5653a | 563 | .vjs-big-play-button { |
586f7c1b | 564 | font-size: 3em; |
e0812403 | 565 | border-width: 2px; |
864e782b C |
566 | |
567 | .vjs-icon-placeholder::before { | |
568 | @include big-play-button-triangle-size(20px); | |
569 | } | |
8fa5653a C |
570 | } |
571 | ||
86f278cb | 572 | .vjs-volume-control { |
a86309b4 C |
573 | display: none !important; |
574 | } | |
86f278cb | 575 | |
ea20306f C |
576 | .vjs-peertube-link { |
577 | padding: 0 !important; | |
578 | } | |
579 | ||
580 | .vjs-settings { | |
581 | width: 33px; | |
86f278cb | 582 | } |
a86309b4 | 583 | } |
4555697f C |
584 | |
585 | // Theater mode is enabled | |
586 | &.vjs-theater-enabled { | |
587 | .vjs-theater-control { | |
588 | width: 30px; | |
589 | ||
590 | .vjs-icon-placeholder { | |
591 | transform: scale(0.8); | |
592 | } | |
593 | } | |
594 | } | |
595 | ||
596 | // On fullscreen, hide theater control | |
597 | &.vjs-fullscreen { | |
598 | .vjs-theater-control { | |
599 | display: none; | |
600 | } | |
601 | } | |
e14852b4 | 602 | } |
b7a48512 | 603 | |
c6352f2c C |
604 | // Play/pause animations |
605 | .vjs-has-started .vjs-play-control { | |
606 | &.vjs-playing { | |
607 | animation: remove-pause-button 0.25s ease; | |
608 | } | |
609 | ||
610 | &.vjs-paused { | |
611 | animation: add-play-button 0.25s ease; | |
612 | } | |
613 | ||
614 | @keyframes remove-pause-button { | |
615 | 0% { | |
616 | transform: rotate(90deg); | |
617 | } | |
618 | 100% { | |
619 | transform: rotate(0deg); | |
620 | } | |
621 | } | |
622 | ||
623 | @keyframes add-play-button { | |
624 | 0% { | |
625 | transform: rotate(-90deg); | |
626 | } | |
627 | 100% { | |
628 | transform: rotate(0deg); | |
629 | } | |
630 | } | |
631 | } | |
632 | ||
bf5685f0 C |
633 | // Error display disabled |
634 | .vjs-error:not(.vjs-error-display-enabled) { | |
635 | .vjs-error-display { | |
636 | display: none; | |
637 | } | |
638 | ||
639 | .vjs-loading-spinner { | |
640 | display: block; | |
641 | } | |
642 | } | |
643 | ||
644 | // Error display enabled | |
645 | .vjs-error.vjs-error-display-enabled { | |
646 | .vjs-error-display { | |
647 | display: block; | |
648 | } | |
e0812403 | 649 | } |