fix(player): keep timeline markers on one rail
Continuous Integration / build_web (push) Failing after 0s
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

Overlay chapter ticks, segment colours and dialogue density on the same seek rail instead of stacking separate lanes.
This commit is contained in:
1xDed committed 2026-12-04 07:03:54 +03:00
1 parent 8ba09f9cfd
commit f1d3fd63ad
1 file changed
+17 -8
@@ -209,18 +209,20 @@ html.is-macos .video-player-titlebar.is-fullscreen {
left: 0; left: 0;
right: 0; right: 0;
top: 50%; top: 50%;
height: 12px; height: 4px;
transform: translateY(-50%); transform: translateY(-50%);
pointer-events: none; pointer-events: none;
z-index: 0; border-radius: 999px;
background: rgb(255 255 255 / 0.16);
overflow: visible;
} }
.video-player-timeline-segment { .video-player-timeline-segment {
position: absolute; position: absolute;
top: 7px; top: 0;
height: 2px; height: 4px;
border-radius: 2px; border-radius: 2px;
opacity: 0.7; opacity: 0.9;
background: rgb(255 255 255 / 0.4); background: rgb(255 255 255 / 0.4);
&.is-intro { &.is-intro {
@@ -242,17 +244,24 @@ html.is-macos .video-player-titlebar.is-fullscreen {
.video-player-timeline-dialogue { .video-player-timeline-dialogue {
position: absolute; position: absolute;
bottom: 0; top: 0;
width: 1px; width: 1px;
height: 4px;
border-radius: 1px; border-radius: 1px;
background: rgb(255 255 255 / 0.55); background: rgb(255 255 255 / 0.55);
z-index: 2;
} }
.video-player-timeline-chapter { .video-player-timeline-chapter {
position: absolute; position: absolute;
top: 2px; top: -2px;
width: 1px; width: 1px;
height: 8px; height: 8px;
background: rgb(255 255 255 / 0.55); background: rgb(255 255 255 / 0.7);
box-shadow: 0 0 4px rgb(0 0 0 / 0.45); box-shadow: 0 0 4px rgb(0 0 0 / 0.45);
z-index: 3;
}
.video-player-timeline .MuiSlider-rail {
opacity: 0;
} }