@@ -310,194 +310,15 @@ footer a {
310
310
}
311
311
}
312
312
313
- /* Control Bar */
314
- @media screen and (max-width : 640px ) {
315
- .video-js .vjs-control-bar ,
316
- .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
317
- overflow-x : scroll;
318
- }
319
- }
320
-
321
- ul .vjs-menu-content ::-webkit-scrollbar {
322
- display : none;
323
- }
324
-
325
- .vjs-user-inactive {
326
- cursor : none;
327
- }
328
-
329
- .video-js .vjs-text-track-display > div > div > div {
330
- background-color : rgba (0 , 0 , 0 , 0.75 ) !important ;
331
- border-radius : 9px !important ;
332
- padding : 5px !important ;
333
- }
334
-
335
- .vjs-play-control ,
336
- .vjs-volume-panel ,
337
- .vjs-current-time ,
338
- .vjs-time-control ,
339
- .vjs-duration ,
340
- .vjs-progress-control ,
341
- .vjs-remaining-time {
342
- order : 1 ;
343
- }
344
-
345
- .vjs-captions-button {
346
- order : 2 ;
347
- }
348
-
349
- .vjs-quality-selector ,
350
- .video-js .vjs-http-source-selector {
351
- order : 3 ;
352
- }
353
-
354
- .vjs-playback-rate {
355
- order : 4 ;
356
- }
357
-
358
- .vjs-share-control {
359
- order : 5 ;
360
- }
361
-
362
- .vjs-fullscreen-control {
363
- order : 6 ;
364
- }
365
-
366
- .vjs-playback-rate > .vjs-menu {
367
- width : 50px ;
368
- }
369
-
370
- .vjs-control-bar {
371
- display : flex;
372
- flex-direction : row;
373
- scrollbar-width : none;
374
- }
375
-
376
- .vjs-control-bar ::-webkit-scrollbar {
377
- display : none;
378
- }
379
-
380
- .video-js .vjs-icon-cog {
381
- font-size : 18px ;
382
- }
383
-
384
- .video-js .vjs-control-bar ,
385
- .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
386
- background-color : rgba (35 , 35 , 35 , 0.75 );
387
- }
388
-
389
- .vjs-menu li .vjs-menu-item : focus ,
390
- .vjs-menu li .vjs-menu-item : hover {
391
- background-color : rgba (255 , 255 , 255 , 0.75 );
392
- color : rgba (49 , 49 , 51 , 0.75 );
393
- }
394
-
395
- .vjs-menu li .vjs-selected ,
396
- .vjs-menu li .vjs-selected : focus ,
397
- .vjs-menu li .vjs-selected : hover {
398
- background-color : rgba (0 , 182 , 240 , 0.75 );
399
- }
400
-
401
- /* Progress Bar */
402
- .video-js .vjs-slider {
403
- background-color : rgba (15 , 15 , 15 , 0.5 );
404
- }
405
-
406
313
fieldset > select ,
407
314
span > select {
408
315
color : rgba (49 , 49 , 51 , 1 );
409
316
}
410
317
411
- .video-js .vjs-load-progress ,
412
- .video-js .vjs-load-progress div {
413
- background : rgba (87 , 87 , 88 , 1 );
414
- }
415
-
416
- .video-js .vjs-slider : hover ,
417
- .video-js button : hover {
418
- color : rgba (0 , 182 , 240 , 1 );
419
- }
420
-
421
- .video-js .vjs-play-progress {
422
- background-color : rgba (0 , 182 , 240 , 1 );
423
- }
424
-
425
- /* Overlay */
426
- .video-js .vjs-overlay {
427
- background-color : rgba (35 , 35 , 35 , 0.75 );
428
- color : rgba (255 , 255 , 255 , 1 );
429
- }
430
-
431
- /* ProgressBar marker */
432
- .vjs-marker {
433
- background-color : rgba (255 , 255 , 255 , 1 );
434
- z-index : 0 ;
435
- }
436
-
437
- /* Big "Play" Button */
438
- .video-js .vjs-big-play-button {
439
- background-color : rgba (35 , 35 , 35 , 0.5 );
440
- }
441
-
442
- .video-js : hover .vjs-big-play-button {
443
- background-color : rgba (35 , 35 , 35 , 0.75 );
444
- }
445
-
446
- .video-js .vjs-current-time ,
447
- .video-js .vjs-time-divider ,
448
- .video-js .vjs-duration {
449
- display : block;
450
- }
451
-
452
- .video-js .vjs-time-divider {
453
- min-width : 0px ;
454
- padding-left : 0px ;
455
- padding-right : 0px ;
456
- }
457
-
458
- .video-js .vjs-poster {
459
- background-size : cover;
460
- object-fit : cover;
461
- }
462
-
463
- .player-dimensions .vjs-fluid {
464
- padding-top : 82vh ;
465
- }
466
-
467
- video .video-js {
468
- position : absolute;
469
- height : 100% ;
470
- }
471
-
472
- # player-container {
473
- position : relative;
474
- padding-bottom : 82vh ;
475
- height : 0 ;
476
- }
477
-
478
318
.pure-control-group label {
479
319
word-wrap : normal;
480
320
}
481
321
482
- .video-js .player-style-invidious {
483
- /* This is already the default */
484
- }
485
-
486
- .video-js .player-style-youtube .vjs-control-bar {
487
- display : flex;
488
- flex-direction : row;
489
- }
490
- .video-js .player-style-youtube .vjs-big-play-button {
491
- /*
492
- Styles copied from video-js.min.css, definition of
493
- .vjs-big-play-centered .vjs-big-play-button
494
- */
495
- top : 50% ;
496
- left : 50% ;
497
- margin-top : -0.81666em ;
498
- margin-left : -1.5em ;
499
- }
500
-
501
322
/*
502
323
* Light theme
503
324
*/
0 commit comments