Continuous Integration / build_web (push) Failing after 1s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
- translate the interface into Russian - add picture-in-picture and video fit modes - derive skip segments from Jellyfin chapter markers - align player navigation and add a window drag region - keep audio playback alive across routes
120 lines
2.9 KiB
SCSS
120 lines
2.9 KiB
SCSS
.video-player {
|
|
--media-object-fit: contain;
|
|
|
|
background: black;
|
|
position: absolute;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
video {
|
|
object-fit: var(--media-object-fit);
|
|
}
|
|
|
|
&.video-fit-fill {
|
|
--media-object-fit: cover;
|
|
}
|
|
|
|
&.video-fit-stretch {
|
|
--media-object-fit: fill;
|
|
}
|
|
|
|
&-drag-region {
|
|
position: absolute;
|
|
inset: 0 0 auto;
|
|
height: 38px;
|
|
z-index: 4;
|
|
cursor: default;
|
|
user-select: none;
|
|
}
|
|
|
|
&-osd {
|
|
position: absolute;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
top: 0;
|
|
left: 0;
|
|
cursor: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-self: stretch;
|
|
justify-content: space-between;
|
|
padding: 2em 3em;
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgba(0, 0, 0, 0.8) 0%,
|
|
rgba(0, 0, 0, 0) 25%,
|
|
rgba(0, 0, 0, 0) 75%,
|
|
rgba(0, 0, 0, 0.9) 100%
|
|
);
|
|
&.hovering {
|
|
cursor: default;
|
|
}
|
|
&-back,
|
|
&-actions {
|
|
position: absolute;
|
|
top: 2em;
|
|
z-index: 3;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0.3em;
|
|
border-radius: 999px;
|
|
border: 1px solid rgb(255 255 255 / 0.08);
|
|
background: rgb(0 0 0 / 0.28);
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
&-back {
|
|
left: 3em;
|
|
}
|
|
&-actions {
|
|
right: 3em;
|
|
gap: 0.35em;
|
|
}
|
|
&-info {
|
|
margin-top: auto;
|
|
}
|
|
&-controls {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1em;
|
|
|
|
&-timeline-text {
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: space-between;
|
|
margin-top: 0.5em;
|
|
font-weight: 500;
|
|
opacity: 0.9;
|
|
}
|
|
&-progress {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2em;
|
|
align-items: stretch;
|
|
justify-content: center;
|
|
margin-bottom: 0.5em;
|
|
&-bubble {
|
|
width: 14em;
|
|
top: 0;
|
|
left: 0;
|
|
transform-origin: bottom center;
|
|
transform: translate(var(--left, 0), var(--top, 0));
|
|
position: fixed;
|
|
}
|
|
}
|
|
&-buttons {
|
|
display: flex;
|
|
gap: 0.5em;
|
|
align-items: center;
|
|
}
|
|
}
|
|
.MuiSlider-valueLabel {
|
|
padding: 0;
|
|
background: transparent;
|
|
overflow: hidden;
|
|
border-radius: $border-radius-default;
|
|
border: 1.2px solid rgb(255 255 255 / 0.1);
|
|
}
|
|
}
|
|
} |