2022-06-05 13:32:21 +02:00
|
|
|
// $control-bar-height: 2.6rem;
|
|
|
|
$control-bar-height: 48px;
|
|
|
|
$control-bar-height-mobile: 44px;
|
2021-12-08 05:09:54 +01:00
|
|
|
$control-bar-font-size: 0.8rem;
|
|
|
|
$control-bar-popup-font-size: 0.8rem;
|
2022-06-05 13:32:21 +02:00
|
|
|
// $control-bar-icon-size: 0.8rem;
|
2021-12-08 03:19:39 +01:00
|
|
|
|
2021-03-05 03:54:11 +01:00
|
|
|
.video-js {
|
|
|
|
font-size: 12px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
// Control Bar (container)
|
|
|
|
.vjs-control-bar {
|
|
|
|
background: none;
|
2021-12-08 03:19:39 +01:00
|
|
|
color: #dbd8d8;
|
|
|
|
height: $control-bar-height;
|
2021-03-05 03:54:11 +01:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
content: '';
|
|
|
|
height: 5rem;
|
|
|
|
width: 100%;
|
|
|
|
background: rgba(20, 20, 20, 0.45);
|
2021-05-20 21:20:01 +02:00
|
|
|
background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0) 100%);
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
2022-06-05 13:32:21 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
height: $control-bar-height-mobile;
|
|
|
|
}
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
|
2022-02-14 15:03:45 +01:00
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
.vjs-control {
|
|
|
|
opacity: 0.9;
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-06-01 18:25:37 +02:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.vjs-control {
|
|
|
|
margin-left: 0 !important;
|
|
|
|
margin-right: 0 !important;
|
|
|
|
}
|
|
|
|
.vjs-time-control {
|
|
|
|
padding-left: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2022-02-14 15:03:45 +01:00
|
|
|
|
2021-03-05 03:54:11 +01:00
|
|
|
// Progress Bar
|
|
|
|
.vjs-progress-control.vjs-control {
|
|
|
|
position: absolute;
|
2022-05-18 18:02:02 +02:00
|
|
|
display: block;
|
2021-03-05 03:54:11 +01:00
|
|
|
align-items: center;
|
2022-05-31 11:14:59 +02:00
|
|
|
width: calc(100% - var(--spacing-m) * 2);
|
2022-06-05 13:32:21 +02:00
|
|
|
height: 2px;
|
2021-03-05 03:54:11 +01:00
|
|
|
bottom: 90%;
|
2022-06-05 13:32:21 +02:00
|
|
|
margin: 1px var(--spacing-m) 7px !important;
|
2022-05-18 18:02:02 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2022-05-31 11:14:59 +02:00
|
|
|
width: calc(100% - var(--spacing-s) * 2);
|
2022-06-05 13:32:21 +02:00
|
|
|
margin: 1px var(--spacing-s) 7px !important;
|
2022-05-18 18:02:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-vtt-thumbnail-display {
|
2022-06-21 17:22:20 +02:00
|
|
|
margin-top: -16px;
|
2022-05-18 18:02:02 +02:00
|
|
|
border: 1px solid white;
|
|
|
|
background-color: black !important;
|
|
|
|
visibility: hidden;
|
2022-06-06 16:28:06 +02:00
|
|
|
position: absolute;
|
|
|
|
border-radius: 7px;
|
2022-05-18 18:02:02 +02:00
|
|
|
}
|
2021-03-05 03:54:11 +01:00
|
|
|
|
|
|
|
// Circle play head
|
|
|
|
.vjs-play-progress::before {
|
|
|
|
transform: scale(0);
|
2022-02-11 19:50:55 +01:00
|
|
|
transition: transform 0.1s;
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
|
2022-05-18 18:02:02 +02:00
|
|
|
.vjs-progress-holder {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-03-05 03:54:11 +01:00
|
|
|
&:hover {
|
|
|
|
.vjs-play-progress::before {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
2022-05-18 18:02:02 +02:00
|
|
|
.vjs-progress-holder {
|
|
|
|
margin-top: -0.1em !important;
|
2022-06-21 17:22:20 +02:00
|
|
|
height: 0.35em !important;
|
2022-05-18 18:02:02 +02:00
|
|
|
}
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Progress Slider
|
2022-05-18 18:02:02 +02:00
|
|
|
//.vjs-slider {
|
|
|
|
// margin: 0 1rem;
|
|
|
|
//}
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Load progress color
|
|
|
|
.vjs-load-progress,
|
|
|
|
.vjs-load-progress div {
|
2022-05-03 08:43:39 +02:00
|
|
|
background-color: rgba(255, 255, 255, 0.3);
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Progress Bar Background
|
|
|
|
.vjs-slider {
|
|
|
|
background-color: rgba(60, 60, 60, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Primary Color Progress
|
|
|
|
.vjs-slider-bar {
|
2021-05-20 21:20:01 +02:00
|
|
|
background-color: var(--color-gray-5);
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Inner Progress Bar
|
|
|
|
.vjs-play-progress {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: var(--color-primary);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Spacer
|
|
|
|
.vjs-custom-control-spacer {
|
|
|
|
display: flex;
|
|
|
|
flex: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Transcoding menu
|
|
|
|
/*.vjs-tech {
|
|
|
|
height: auto !important;
|
|
|
|
position: absolute !important;
|
|
|
|
}*/
|
|
|
|
|
|
|
|
// Volume slider
|
|
|
|
.vjs-volume-panel {
|
2022-02-11 19:50:55 +01:00
|
|
|
// margin-left: var(--spacing-xxs);
|
2021-12-09 09:12:33 +01:00
|
|
|
margin-right: calc(var(--spacing-xxs) * -1);
|
2021-10-27 17:08:12 +02:00
|
|
|
|
2021-03-05 03:54:11 +01:00
|
|
|
&.vjs-control {
|
2022-02-11 19:50:55 +01:00
|
|
|
// transition: 0.2s;
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-volume-control.vjs-volume-horizontal {
|
2022-02-11 19:50:55 +01:00
|
|
|
transition: 0.1s;
|
2022-06-05 13:32:21 +02:00
|
|
|
// margin-top: -2px !important;
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Tooltip
|
|
|
|
.vjs-mouse-display .vjs-time-tooltip {
|
2021-05-20 21:20:01 +02:00
|
|
|
color: white;
|
2022-05-02 10:55:08 +02:00
|
|
|
white-space: nowrap;
|
2022-05-18 18:02:02 +02:00
|
|
|
top: -32px;
|
|
|
|
padding-top: 9px;
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Tooltip
|
|
|
|
.video-js {
|
2021-05-20 21:20:01 +02:00
|
|
|
.vjs-progress-control {
|
2021-03-05 03:54:11 +01:00
|
|
|
.vjs-play-progress {
|
|
|
|
.vjs-time-tooltip {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Transitions control bar between active / inactive
|
|
|
|
.vjs-has-started {
|
|
|
|
.vjs-control-bar {
|
|
|
|
opacity: 1;
|
2021-05-20 21:20:01 +02:00
|
|
|
transition: 0.1s;
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.vjs-user-inactive.vjs-playing {
|
|
|
|
.vjs-control-bar {
|
|
|
|
opacity: 0;
|
2022-02-11 19:50:55 +01:00
|
|
|
transition: 0.1s;
|
2021-03-05 03:54:11 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Button glow
|
|
|
|
.video-js {
|
|
|
|
.vjs-control,
|
|
|
|
.vjs-time-divider {
|
|
|
|
user-select: none;
|
|
|
|
|
|
|
|
&:focus:before,
|
|
|
|
&:hover:before,
|
|
|
|
&:focus {
|
|
|
|
// Disable builtin button glow
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.bottom-gradient {
|
|
|
|
background-image: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 72px);
|
|
|
|
}
|
2021-10-27 17:08:12 +02:00
|
|
|
|
|
|
|
.vjs-hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2022-06-13 15:55:05 +02:00
|
|
|
.vjs-lock-showing {
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 8em !important;
|
|
|
|
// overflow-y:scroll;
|
|
|
|
.vjs-menu-content {
|
|
|
|
max-height: 176px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-27 17:08:12 +02:00
|
|
|
[dir] .vjs-menu-button-popup .vjs-menu .vjs-menu-content {
|
2022-05-31 11:14:59 +02:00
|
|
|
//background-color: rgba(43, 51, 63);
|
|
|
|
background-color: rgba(var(--color-header-button-base), 0.9);
|
|
|
|
backdrop-filter: blur(4px);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
border: 2px solid var(--color-header-background);
|
2021-12-08 05:09:54 +01:00
|
|
|
max-height: 20em;
|
2022-06-05 13:32:21 +02:00
|
|
|
// margin-bottom: -3px; // Prevents accidental dismissal when the gap is hovered.
|
2021-10-27 17:08:12 +02:00
|
|
|
|
2021-12-08 05:09:54 +01:00
|
|
|
li {
|
|
|
|
font-size: $control-bar-popup-font-size;
|
2021-10-27 17:08:12 +02:00
|
|
|
}
|
2022-05-31 11:14:59 +02:00
|
|
|
|
|
|
|
.vjs-menu-title {
|
|
|
|
color: var(--color-text);
|
|
|
|
background-color: var(--color-header-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-menu-item {
|
|
|
|
color: var(--color-text);
|
|
|
|
margin: 2px;
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
margin-right: var(--spacing-s);
|
|
|
|
&:first-child {
|
|
|
|
margin-top: var(--spacing-xxs);
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: var(--spacing-xxs);
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
color: var(--color-primary-contrast);
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
2022-06-13 15:55:05 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: 0.1em 0;
|
|
|
|
margin-left: var(--spacing-xxs);
|
|
|
|
margin-right: var(--spacing-xxs);
|
|
|
|
&:first-child {
|
|
|
|
margin-top: var(--spacing-xxs);
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: var(--spacing-xxs);
|
|
|
|
}
|
|
|
|
}
|
2022-05-31 11:14:59 +02:00
|
|
|
}
|
|
|
|
.vjs-selected {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
color: var(--color-primary-contrast);
|
|
|
|
}
|
2021-10-27 17:08:12 +02:00
|
|
|
}
|
|
|
|
|
2022-06-05 15:06:11 +02:00
|
|
|
.vjs-workinghover .vjs-menu-button-popup:hover .vjs-menu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-10-27 17:08:12 +02:00
|
|
|
.vjs-slider-horizontal {
|
|
|
|
background-color: #474747 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-mouse-display {
|
|
|
|
color: white !important;
|
|
|
|
background-color: lightgrey !important;
|
2022-04-05 16:02:32 +02:00
|
|
|
background-color: white !important;
|
|
|
|
// width: 8px !important;
|
|
|
|
// margin-left: -5px !important;
|
2021-10-27 17:08:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.vjs_video_3_ima-ad-container {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ima-ad-container {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-12-07 12:14:58 +01:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.vjs-chromecast-button {
|
|
|
|
.vjs-icon-placeholder {
|
2022-06-05 13:32:21 +02:00
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 2.5rem !important;
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-07 12:14:58 +01:00
|
|
|
.video-js-parent .vjs-tech-chromecast {
|
|
|
|
.vjs-tech-chromecast-poster {
|
|
|
|
&::after {
|
|
|
|
$chromecast-poster-width: 50px;
|
|
|
|
width: $chromecast-poster-width;
|
|
|
|
left: calc(50% - #{$chromecast-poster-width * 0.5});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-tech-chromecast-poster-img {
|
|
|
|
$chromecast-poster-max-height: 50px;
|
|
|
|
max-height: $chromecast-poster-max-height;
|
|
|
|
&.vjs-tech-chromecast-poster-img-empty {
|
|
|
|
width: 80px;
|
|
|
|
height: 90px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-tech-chromecast-title-container {
|
|
|
|
margin-bottom: var(--spacing-main-padding);
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-tech-chromecast-title {
|
|
|
|
font-size: var(--font-title);
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-tech-chromecast-subtitle {
|
|
|
|
color: var(--color-text-subtitle);
|
|
|
|
font-size: var(--font-body);
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-01-06 20:28:27 +01:00
|
|
|
|
|
|
|
// larger than default spinner for all but smallest devices
|
2022-02-11 19:50:55 +01:00
|
|
|
@media (min-width: 680px) {
|
2022-01-06 20:28:27 +01:00
|
|
|
.vjs-loading-spinner {
|
|
|
|
border-radius: 100px;
|
|
|
|
height: 75px;
|
|
|
|
width: 75px;
|
|
|
|
margin: -49px 0 0 -37px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// TODO: make sure there's no bad side effects of this
|
|
|
|
button.vjs-big-play-button {
|
2022-06-10 18:18:58 +02:00
|
|
|
display: none;
|
2022-01-06 20:28:27 +01:00
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
|
2022-03-17 10:30:50 +01:00
|
|
|
.vjs-big-play-centered {
|
|
|
|
.vjs-big-play-button {
|
|
|
|
left: calc(50% - 2.5rem) !important;
|
|
|
|
margin-left: unset !important;
|
2022-03-17 12:38:57 +01:00
|
|
|
top: calc(50% - 2.5rem) !important;
|
|
|
|
margin-top: unset !important;
|
2022-03-17 10:30:50 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-01 19:23:16 +02:00
|
|
|
.vjs-seek-to-live-control {
|
2022-06-01 19:38:58 +02:00
|
|
|
margin-left: calc(var(--spacing-s) + 4px) !important;
|
2022-06-05 13:32:21 +02:00
|
|
|
.vjs-icon-placeholder {
|
|
|
|
&::before {
|
|
|
|
font-size: 1rem !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.vjs-seek-to-live-text {
|
|
|
|
font-size: $control-bar-font-size;
|
|
|
|
}
|
2022-06-01 19:23:16 +02:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding-left: 0 !important;
|
2022-06-05 13:32:21 +02:00
|
|
|
.vjs-icon-placeholder {
|
|
|
|
&::before {
|
|
|
|
font-size: 22px !important;
|
|
|
|
}
|
|
|
|
}
|
2022-06-01 19:23:16 +02:00
|
|
|
}
|
2022-06-05 13:32:21 +02:00
|
|
|
}
|
|
|
|
.video-js {
|
|
|
|
.vjs-seek-to-live-control {
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding-left: 0 !important;
|
|
|
|
.vjs-icon-placeholder {
|
|
|
|
&::before {
|
|
|
|
font-size: 14px !important;
|
|
|
|
}
|
|
|
|
}
|
2022-06-01 19:23:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
// Rearrange icons
|
2022-06-01 19:23:16 +02:00
|
|
|
.vjs-button--play-previous {
|
2022-02-11 19:50:55 +01:00
|
|
|
order: 1 !important;
|
|
|
|
}
|
2022-06-01 19:23:16 +02:00
|
|
|
.vjs-play-control {
|
2022-02-11 19:50:55 +01:00
|
|
|
order: 2 !important;
|
|
|
|
}
|
2022-02-11 20:41:53 +01:00
|
|
|
.vjs-button--play-next {
|
2022-02-11 19:50:55 +01:00
|
|
|
order: 3 !important;
|
|
|
|
}
|
2022-02-11 20:41:53 +01:00
|
|
|
.vjs-volume-panel {
|
2022-02-11 19:50:55 +01:00
|
|
|
order: 4 !important;
|
|
|
|
}
|
2022-03-15 17:18:08 +01:00
|
|
|
|
|
|
|
.vjs-seek-to-live-control {
|
2022-02-11 19:50:55 +01:00
|
|
|
order: 5 !important;
|
|
|
|
}
|
2022-03-15 17:18:08 +01:00
|
|
|
|
|
|
|
.vjs-live-control {
|
|
|
|
order: 5 !important;
|
|
|
|
margin-left: 8px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-current-time {
|
2022-02-11 19:50:55 +01:00
|
|
|
order: 6 !important;
|
|
|
|
}
|
2022-03-15 17:18:08 +01:00
|
|
|
.vjs-time-divider {
|
2022-02-11 19:50:55 +01:00
|
|
|
order: 7 !important;
|
|
|
|
}
|
2022-03-15 17:18:08 +01:00
|
|
|
.vjs-duration {
|
2022-02-11 19:50:55 +01:00
|
|
|
order: 8 !important;
|
|
|
|
}
|
2022-03-15 17:18:08 +01:00
|
|
|
.vjs-custom-control-spacer {
|
2022-02-11 19:50:55 +01:00
|
|
|
order: 9 !important;
|
|
|
|
}
|
2022-06-05 13:32:21 +02:00
|
|
|
.vjs-subs-caps-button {
|
2022-05-05 12:01:21 +02:00
|
|
|
order: 10 !important;
|
|
|
|
}
|
2022-06-05 13:32:21 +02:00
|
|
|
.vjs-button--autoplay-next {
|
2022-05-30 18:52:13 +02:00
|
|
|
order: 11 !important;
|
|
|
|
}
|
2022-06-05 13:32:21 +02:00
|
|
|
.vjs-playback-rate {
|
2022-05-30 18:52:13 +02:00
|
|
|
order: 12 !important;
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
2022-06-05 13:32:21 +02:00
|
|
|
.vjs-chapters-button {
|
2022-05-30 18:52:13 +02:00
|
|
|
order: 13 !important;
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
2022-03-15 17:18:08 +01:00
|
|
|
.vjs-quality-selector {
|
2022-05-30 18:52:13 +02:00
|
|
|
order: 14 !important;
|
2022-04-25 14:09:50 +02:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.vjs-icon-placeholder {
|
|
|
|
word-break: break-word;
|
|
|
|
line-height: 1rem !important;
|
|
|
|
}
|
2022-02-11 20:41:53 +01:00
|
|
|
}
|
2022-06-01 18:25:37 +02:00
|
|
|
.vjs-chromecast-button,
|
|
|
|
.vjs-airplay-button {
|
2022-05-30 18:52:13 +02:00
|
|
|
order: 15 !important;
|
2022-02-11 20:41:53 +01:00
|
|
|
}
|
2022-06-01 18:25:37 +02:00
|
|
|
|
|
|
|
.vjs-button--theater-mode {
|
2022-05-30 18:52:13 +02:00
|
|
|
order: 16 !important;
|
2022-03-15 17:18:08 +01:00
|
|
|
}
|
2022-06-01 18:25:37 +02:00
|
|
|
.vjs-fullscreen-control {
|
|
|
|
order: 17 !important;
|
|
|
|
}
|
2022-03-15 17:18:08 +01:00
|
|
|
|
|
|
|
// livestream player
|
|
|
|
.livestreamPlayer {
|
|
|
|
.vjs-current-time,
|
|
|
|
.vjs-duration,
|
|
|
|
.vjs-time-divider,
|
|
|
|
.vjs-button--theater-mode,
|
|
|
|
//.vjs-quality-selector,
|
2022-03-23 05:19:53 +01:00
|
|
|
//.vjs-chromecast-button,
|
2022-03-15 17:18:08 +01:00
|
|
|
.vjs-button--autoplay-next
|
|
|
|
//,.vjs-progress-control
|
|
|
|
{
|
|
|
|
// hiding progress control for now
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
2022-05-02 10:55:08 +02:00
|
|
|
|
|
|
|
.vjs-chapter-marker {
|
|
|
|
position: absolute;
|
|
|
|
height: 100%;
|
|
|
|
background-color: var(--color-error);
|
|
|
|
width: 2px;
|
|
|
|
}
|
2022-06-10 18:18:58 +02:00
|
|
|
|
|
|
|
// don't show Tap To Unmute button on mobile miniplayer
|
|
|
|
.content__viewer--floating.content__viewer--mobile {
|
|
|
|
.video-js--tap-to-unmute {
|
|
|
|
visibility: hidden !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.vjs-transitioning-video {
|
|
|
|
opacity: 1 !important;
|
|
|
|
display: flex !important;
|
|
|
|
visibility: visible !important;
|
|
|
|
}
|
2022-06-21 17:22:20 +02:00
|
|
|
|
|
|
|
// add padding to the progress bar to make hover easier
|
|
|
|
.vjs-progress-control.vjs-control {
|
|
|
|
padding-top: 21px;
|
|
|
|
}
|