2022-05-27 07:44:54 +03:00
|
|
|
/* Change all text and icon colors in the player. */
|
2022-10-07 04:57:49 +03:00
|
|
|
.vjs-owncast {
|
2022-10-09 02:51:49 +03:00
|
|
|
.video-js {
|
|
|
|
color: var(--theme-color-components-text-on-light);
|
|
|
|
}
|
2022-05-27 07:44:54 +03:00
|
|
|
|
2022-11-13 10:34:53 +03:00
|
|
|
.vjs-menu li {
|
|
|
|
color: var(--theme-color-components-text-on-dark);
|
|
|
|
}
|
|
|
|
|
2022-10-09 02:51:49 +03:00
|
|
|
.vjs-big-play-button {
|
|
|
|
z-index: 10;
|
|
|
|
color: var(--theme-color-action);
|
2023-02-09 05:50:58 +03:00
|
|
|
|
|
|
|
// Setting the font size resizes the video.js
|
|
|
|
// BigPlayButton due to its style definitions
|
|
|
|
// (see https://github.com/videojs/video.js/blob/b306ce614e70e6d3305348d1b69e1434031d73ef/src/css/components/_big-play.scss)
|
|
|
|
// 30vmin determined by trial & error to not cause
|
|
|
|
// overflow with weird (small) x or y dimensions.
|
|
|
|
// min and max are also arbitrary; max was the old
|
|
|
|
// constant value. feel free to change if necessary,
|
|
|
|
// but check short and narrow screen sizes for overflow
|
|
|
|
// issues.
|
|
|
|
font-size: clamp(1rem, 30vmin, 8rem) !important;
|
|
|
|
|
2022-10-09 02:51:49 +03:00
|
|
|
border-color: transparent !important;
|
|
|
|
border-radius: var(--theme-rounded-corners) !important;
|
|
|
|
background-color: transparent !important;
|
|
|
|
text-shadow: 2px 3px 4px #0000005f;
|
2022-08-19 05:59:17 +03:00
|
|
|
|
2022-10-09 02:51:49 +03:00
|
|
|
-webkit-text-stroke: 2px white;
|
|
|
|
text-stroke: 2px white;
|
2022-05-27 07:44:54 +03:00
|
|
|
|
2022-10-09 02:51:49 +03:00
|
|
|
:hover {
|
|
|
|
transition: all 0.2s ease-in-out;
|
|
|
|
font-size: 10rem;
|
|
|
|
text-shadow: 2px 5px 4px #00000093;
|
|
|
|
}
|
|
|
|
}
|
2022-08-19 05:59:17 +03:00
|
|
|
|
2022-10-09 02:51:49 +03:00
|
|
|
.vjs-loading-spinner {
|
|
|
|
z-index: 10;
|
|
|
|
display: block;
|
|
|
|
color: var(--theme-color-components-text-on-light);
|
|
|
|
}
|
2022-10-07 04:57:49 +03:00
|
|
|
|
2022-10-09 02:51:49 +03:00
|
|
|
.vjs-control-bar {
|
|
|
|
color: var(--theme-color-components-text-on-light);
|
|
|
|
background-color: var(--theme-color-background-main) !important;
|
|
|
|
}
|
2022-06-19 23:49:42 +03:00
|
|
|
|
2022-10-09 02:51:49 +03:00
|
|
|
.vjs-control {
|
|
|
|
color: var(--theme-color-components-text-on-light);
|
|
|
|
}
|
2022-06-22 01:38:37 +03:00
|
|
|
}
|
2022-06-19 23:49:42 +03:00
|
|
|
|
2022-10-07 04:57:49 +03:00
|
|
|
.vjs-airplay {
|
2022-10-09 02:51:49 +03:00
|
|
|
.vjs-icon-placeholder::before {
|
|
|
|
content: url('../airplay.svg');
|
|
|
|
width: 50% !important;
|
|
|
|
height: 50% !important;
|
|
|
|
top: 15% !important;
|
|
|
|
left: 15% !important;
|
|
|
|
}
|
2022-06-19 23:49:42 +03:00
|
|
|
}
|
2022-10-07 04:57:49 +03:00
|
|
|
|
|
|
|
.vjs-quality-selector {
|
2022-10-09 02:51:49 +03:00
|
|
|
.vjs-icon-placeholder {
|
|
|
|
font-family: VideoJS, serif;
|
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
|
2023-02-09 05:50:58 +03:00
|
|
|
&::before {
|
2023-05-07 19:42:58 +03:00
|
|
|
content: '\f114';
|
2023-02-09 05:50:58 +03:00
|
|
|
}
|
2022-10-09 02:51:49 +03:00
|
|
|
}
|
|
|
|
}
|
2022-10-07 04:57:49 +03:00
|
|
|
|
2022-10-09 02:51:49 +03:00
|
|
|
.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder {
|
|
|
|
color: var(--theme-color-components-video-live-indicator) !important;
|
2022-07-08 10:10:18 +03:00
|
|
|
}
|