50 lines
781 B
SCSS
50 lines
781 B
SCSS
/** @format */
|
|
|
|
.video {
|
|
&-osd {
|
|
opacity: 0;
|
|
transition: opacity 0.1s linear;
|
|
width: 100vw;
|
|
cursor: none;
|
|
&-name {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-left: 1.2em;
|
|
&-logo {
|
|
width: 16em;
|
|
max-height: 6em;
|
|
object-fit: contain;
|
|
object-position: left top;
|
|
filter: drop-shadow(0 0 10px black);
|
|
}
|
|
gap: 0.5em;
|
|
}
|
|
}
|
|
&-osd-visible {
|
|
cursor: default;
|
|
}
|
|
&-player-container {
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
right: 0;
|
|
bottom: 0;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
video {
|
|
&::-webkit-media-text-track-display {
|
|
overflow: visible !important;
|
|
}
|
|
&::cue {
|
|
text-shadow: 0 2px 10px rgb(0 0 0 / 0.8);
|
|
background: transparent;
|
|
}
|
|
&::cue(i) {
|
|
text-shadow: 0 2px 10px rgb(0 0 0 / 0.8);
|
|
}
|
|
}
|