Gemessen am Handy hochkant: Kamera-Kacheln und 'Ton einschalten' haengen unter der Leinwand (top: 100 %) - die Spur direkt darunter wurde von der Kachel verdeckt. Jetzt steht sie hinter #saalinfo; fehlt die Info-Zeile, haelt die Spur deren Hoehe frei. Browserprobe 40/40, Gegenprobe (alte Platzierung) rot. Die Erlaubnisabfrage meldet 'denied' auch dort, wo Chrome gar nicht fragt (Seite selbst auf diesem Rechner, gemessen im Pruefaufbau). War die Verbindung schon einmal da, heisst ein Abbruch: Dienst weg. Co-Authored-By: Claude Opus 5.5 <[email protected]>
94 lines
4.0 KiB
CSS
94 lines
4.0 KiB
CSS
/* =====================================================================
|
||
LIVE-UNTERTITEL (04.11.2026, untertitel.js) – augenschonend:
|
||
gedeckter, fester Grund UNTER dem Video (nie darauf), daher derselbe
|
||
Kontrast vor hellem Spielbild wie vor dunkler Szene; hoechstens zwei
|
||
Zeilen; Ein-/Ausblenden nur ueber opacity.
|
||
===================================================================== */
|
||
.untertitel[hidden], .ut-tafel[hidden], .schiene__ut[hidden] { display: none !important; }
|
||
|
||
.untertitel {
|
||
--ut-gross: clamp(15px, 1.15vw + 6px, 21px);
|
||
min-width: 0;
|
||
padding: 7px clamp(12px, 3vw, 28px) 8px;
|
||
background: #0c0b13;
|
||
border-top: 1px solid rgba(255, 255, 255, .06);
|
||
display: grid;
|
||
place-items: center;
|
||
}
|
||
.untertitel__zeile {
|
||
margin: 0;
|
||
width: min(100%, 62ch);
|
||
font-size: var(--ut-gross);
|
||
line-height: 1.4;
|
||
/* Genau zwei Zeilen Platz – der Kasten springt nicht mit dem Text. */
|
||
height: calc(2 * 1.4em);
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: flex-end; /* was nicht passt, faellt OBEN heraus */
|
||
text-align: center;
|
||
color: #e4e1ee;
|
||
opacity: 0;
|
||
transition: opacity .22s ease;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
.untertitel[data-sichtbar="ja"] .untertitel__zeile { opacity: 1; }
|
||
.untertitel__grau { color: #a29db6; }
|
||
@media (prefers-reduced-motion: reduce) { .untertitel__zeile { transition: none; } }
|
||
|
||
/* Platz im Raster des Kinos: Video oben, Spur darunter. */
|
||
@media (min-width: 861px) {
|
||
#teil-live:has(> .untertitel:not([hidden])) { grid-template-rows: minmax(0, 1fr) auto; }
|
||
}
|
||
@media (max-width: 860px) {
|
||
.untertitel { --ut-gross: 15px; padding: 5px 12px 6px; }
|
||
#teil-live:has(> .untertitel:not([hidden])) { grid-template-rows: auto auto minmax(0, 1fr); }
|
||
}
|
||
@media (max-width: 860px) and (orientation: portrait) {
|
||
#teil-live:has(> .untertitel:not([hidden])) { grid-template-rows: auto auto auto; }
|
||
/* Kacheln/Ton-Knopf haengen unter der Leinwand; steht die Info-Zeile
|
||
einmal nicht, haelt die Spur deren Hoehe selbst frei. */
|
||
.saal[data-bild="frei"] .kino:has(#kameras .kamera, #ton-an:not([hidden]), #senderleiste:not([hidden])):not(:has(#saalinfo:not([hidden]))) > .untertitel {
|
||
margin-top: var(--zeile, 52px);
|
||
}
|
||
}
|
||
|
||
/* ---- Knopf „UT“ im Chatkopf ---- */
|
||
.schiene__ut { position: relative; font-weight: 700; letter-spacing: .04em; }
|
||
.schiene__ut-wort { font-size: .74rem; }
|
||
.schiene__ut[data-an="nein"] .schiene__ut-wort { text-decoration: line-through; opacity: .7; }
|
||
.schiene__ut[data-dienst="verbunden"]::after,
|
||
.schiene__ut[data-dienst="fehlt"]::after,
|
||
.schiene__ut[data-dienst="blockiert"]::after {
|
||
content: ""; position: absolute; top: 3px; right: 3px;
|
||
width: 7px; height: 7px; border-radius: 50%;
|
||
background: #6fcf97;
|
||
}
|
||
.schiene__ut[data-dienst="fehlt"]::after, .schiene__ut[data-dienst="blockiert"]::after { background: #e0b25a; }
|
||
|
||
/* ---- Tafel der Regie (liegt in der Chatspalte, nie ueber dem Video) ---- */
|
||
.schiene { position: relative; }
|
||
.ut-tafel {
|
||
position: absolute; z-index: 40;
|
||
top: 52px; right: 10px; left: 10px;
|
||
max-width: 380px; margin-left: auto;
|
||
display: grid; gap: 9px;
|
||
padding: 14px 15px 15px;
|
||
background: #15131f;
|
||
border: 1px solid rgba(255, 255, 255, .1);
|
||
border-radius: 12px;
|
||
box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
|
||
color: #e4e1ee;
|
||
font-size: .9rem;
|
||
}
|
||
.ut-tafel__titel { margin: 0; font-size: 1rem; }
|
||
.ut-tafel__satz, .ut-tafel__obs, .ut-tafel__clip, .ut-tafel__zustand { margin: 0; line-height: 1.4; }
|
||
.ut-tafel__zustand { font-weight: 600; }
|
||
.ut-tafel__zustand[data-zustand="verbunden"] { color: #8fdcb0; }
|
||
.ut-tafel__zustand[data-zustand="fehlt"], .ut-tafel__zustand[data-zustand="blockiert"] { color: #ebc57e; }
|
||
.ut-tafel__warnung { margin: 0; color: #ebc57e; line-height: 1.4; }
|
||
.ut-tafel__klein { margin: 0; color: #a29db6; font-size: .8rem; }
|
||
.ut-tafel__schalter { display: flex; gap: 8px; align-items: center; cursor: pointer; min-height: 32px; }
|
||
.ut-tafel__schalter input { width: 18px; height: 18px; accent-color: #9b8cff; }
|
||
@media (pointer: coarse) { .ut-tafel__schalter { min-height: 44px; } }
|