text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
transition: visibility 0.3s, opacity 0.3s !important;
+ &.control-bar-hidden {
+ display: none !important;
+ }
+
> button:first-child {
@include margin-left($first-control-bar-element-margin-left);
}
}
.vjs-live-control {
- line-height: $control-bar-height;
- min-width: 4em;
- width: inherit;
+ padding: 5px 7px;
+ border-radius: 3px;
+ height: fit-content;
+ margin: auto 10px;
+ font-weight: bold;
+ max-width: fit-content;
+ opacity: 1 !important;
+ line-height: normal;
+ position: relative;
+ top: -1px;
+
+ &.synced-with-live-edge {
+ background: #d7281c;
+ }
+
+ &:not(.synced-with-live-edge) {
+ cursor: pointer;
+ background: #80807f;
+ }
}
.vjs-peertube {
@include margin-right(6px);
+ @include margin-left(auto);
- width: 100%;
line-height: $control-bar-height;
text-align: end;
overflow: hidden;
.vjs-peertube-link {
@include disable-outline;
@include disable-default-a-behaviour;
+ @include ellipsis;
text-decoration: none;
line-height: $control-bar-height;
font-weight: $font-semibold;
padding: 0 5px;
+ max-width: 150px;
}
.vjs-theater-control {
}
@media screen and (max-width: $screen-width-570) {
+ .vjs-volume-control {
+ display: none;
+ }
+
.vjs-peertube {
padding: 0 !important;
}
}
+ .vjs-peertube-link {
+ max-width: 100px;
+ }
+
&.vjs-live {
.vjs-duration {
display: none !important;
}
@media screen and (max-width: $screen-width-350) {
- .vjs-volume-control,
.vjs-next-video,
.vjs-previous-video {
display: none !important;
@include margin-right($first-control-bar-element-margin-left-small-width);
}
+ .vjs-play-control {
+ @include margin-left(0);
+
+ width: 30px;
+ }
+
&.vjs-live {
.vjs-current-time {
display: none !important;