Reaction: geprüfter Zwischenraum – wer zusagt, wartet erst im Backstage
Neuplan C5. Die Zusage bringt einen Gast nicht mehr sofort vor das Publikum: Er wartet im Backstage (stand 'backstage'), sendet an niemanden (Saalschlüssel canPublish=false), sieht seine eigene Vorschau und fünf gemessene Schritte (Geräte, Licht, Ton, Echo, Leitung per 1-MB-Probe), meldet „Ich bin bereit“ und hat einen kurzen Draht zur Regie. Die Regie sieht ihn im Cockpit kompakt (Name, bereit, fünf Punkte, letzter Zuruf) und holt ihn mit „Auf die Bühne“ (POST /gast/:id/buehne, nur Regie, kleinster freier Platz, volle Bühne = 409). - Server: check_json-Spalte, /backstage/pruefung, /backstage/draht, /leitungsprobe (≤ 2 MB, 3/min), ich.backstage, kein zweites Einladen von Wartenden/Gästen (schon_eingeladen). - Kamera: wird aus dem Backstage herausgenommen, geht sie aus (window.SaalKamera.aus); auf der Bühne läuft sie weiter. - pruef-reaktion 1059/0 (Abschnitt 31, Gegenprobe: alter Weg → 23 rot), neue Dauerprüfung pruef-zwischenraum-blick 33/0 (Gegenprobe: Pult-Regel entfernt → 2 rot). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,117 @@
|
||||
/* =====================================================================
|
||||
DER GEPRÜFTE ZWISCHENRAUM (04.11.2026) – siehe zwischenraum.js
|
||||
|
||||
Ruhig wie die Backstage-Karte: ein Punkt je Schritt sagt die Stufe
|
||||
(grün gut, bernstein knapp, gedämpftes Rot schwach, grau aus/offen),
|
||||
keine Signalflächen, nichts blinkt. Bewegt wird nichts.
|
||||
===================================================================== */
|
||||
.zr[hidden], .zr-regie[hidden], .zr-ohne[hidden], .zr-vorschau[hidden],
|
||||
.zr-draht__liste[hidden], .zr-sagt:empty, .zr-wie:empty, .zr-warte__alt:empty, .zr-warte__zuletzt:empty { display: none !important; }
|
||||
|
||||
/* Die Chatspalte ist ein Raster (Kopf, Liste 1fr, Antwort, Feld). Steht
|
||||
der Zwischenraum darin, bekommt er eine eigene Reihe – sonst bekäme ER
|
||||
das 1fr der Liste. Gesetzt von zwischenraum.js. */
|
||||
#schiene[data-zwischenraum="ja"] { grid-template-rows: auto minmax(0, auto) minmax(120px, 1fr) auto auto; }
|
||||
/* `minmax(0, auto)`: Reicht der Platz nicht (Handy), gibt der Backstage nach
|
||||
und rollt in sich – der Chat behält mindestens 120 px. Gemessen vorher
|
||||
auf 390 × 844: 16 px Chat. */
|
||||
|
||||
.zr {
|
||||
display: grid; gap: 10px;
|
||||
padding: 12px 14px;
|
||||
border-bottom: 1px solid var(--rand);
|
||||
background: rgba(143, 211, 255, .035);
|
||||
/* Nie die ganze Spalte: Der Chat darunter bleibt sichtbar. */
|
||||
max-height: min(62vh, 560px);
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.zr-titel { margin: 0; font-size: .95rem; font-weight: 700; color: var(--schrift); }
|
||||
.zr-satz { margin: -4px 0 0; font-size: .8rem; line-height: 1.4; color: var(--schrift-leise); }
|
||||
|
||||
.zr-oben { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 12px; align-items: start; }
|
||||
.zr-rahmen {
|
||||
aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
|
||||
background: #0d0b18; border: 1px solid var(--rand);
|
||||
display: grid; place-items: center;
|
||||
}
|
||||
/* Gespiegelt wie ein Spiegel – so erkennt man sich; hinaus geht das Bild
|
||||
ungespiegelt (das macht reaktion.js wie bisher). */
|
||||
.zr-vorschau { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
|
||||
.zr-ohne { margin: 0; padding: 6px; font-size: .72rem; line-height: 1.3; text-align: center; color: var(--schrift-leise); }
|
||||
|
||||
.zr-schritte, .zr-werte, .zr-warten, .zr-draht__liste { list-style: none; margin: 0; padding: 0; }
|
||||
.zr-schritte { display: grid; gap: 5px; }
|
||||
.zr-schritt, .zr-wert { display: flex; align-items: baseline; gap: 8px; font-size: .8rem; line-height: 1.35; color: var(--schrift); }
|
||||
.zr-punkt { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #6d6a80; align-self: center; }
|
||||
[data-stufe="gut"] > .zr-punkt { background: #6fcf97; }
|
||||
[data-stufe="knapp"] > .zr-punkt { background: #e6c35c; }
|
||||
[data-stufe="schwach"] > .zr-punkt { background: #d98a8a; }
|
||||
[data-stufe="aus"] > .zr-schritt__text, [data-stufe="offen"] > .zr-schritt__text,
|
||||
[data-stufe="aus"] > .zr-wert__text, [data-stufe="offen"] > .zr-wert__text { color: var(--schrift-leise); }
|
||||
|
||||
.zr-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
||||
.zr-wie, .zr-sagt { margin: 0; font-size: .78rem; line-height: 1.4; color: var(--schrift-leise); }
|
||||
|
||||
.zr-draht { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid var(--rand); }
|
||||
.zr-draht__titel { margin: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--schrift-leise); }
|
||||
.zr-draht__liste { display: grid; gap: 3px; max-height: 7.5em; overflow-y: auto; }
|
||||
.zr-draht__zeile { font-size: .8rem; line-height: 1.35; color: var(--schrift); overflow-wrap: anywhere; }
|
||||
.zr-draht__zeile strong { color: #8fd3ff; font-weight: 700; }
|
||||
.zr-draht__zeile[data-von="gast"] strong { color: #c9b8ff; }
|
||||
.zr-draht__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
|
||||
.zr-draht__feld {
|
||||
min-height: 40px; min-width: 0; padding: 6px 10px;
|
||||
border-radius: 10px; border: 1px solid var(--rand-hell);
|
||||
background: rgba(255, 255, 255, .03); color: var(--schrift);
|
||||
font: inherit; font-size: .84rem;
|
||||
}
|
||||
.zr-draht__feld:focus-visible { outline: 2px solid #9ab7ff; outline-offset: 1px; }
|
||||
|
||||
/* ---- Regie: im Cockpit ------------------------------------------- */
|
||||
.zr-regie { flex: 1 1 100%; display: grid; gap: 6px; }
|
||||
.zr-warten { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
|
||||
.zr-warte {
|
||||
display: grid; gap: 4px; padding: 6px 10px;
|
||||
border-radius: 12px; border: 1px solid var(--rand);
|
||||
background: rgba(255, 255, 255, .025);
|
||||
}
|
||||
.zr-warte[data-bereit="ja"] { border-color: rgba(111, 207, 151, .4); }
|
||||
.zr-warte__kopf { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
|
||||
.zr-punkte { display: inline-flex; gap: 4px; }
|
||||
.zr-punkte .zr-punkt[data-stufe="gut"] { background: #6fcf97; }
|
||||
.zr-punkte .zr-punkt[data-stufe="knapp"] { background: #e6c35c; }
|
||||
.zr-punkte .zr-punkt[data-stufe="schwach"] { background: #d98a8a; }
|
||||
.zr-warte__zuletzt { margin: 0; font-size: .78rem; color: var(--schrift); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.zr-warte__mehr { display: grid; gap: 6px; }
|
||||
.zr-warte__mehr[open] { padding-top: 2px; }
|
||||
.zr-warte__auf { cursor: pointer; font-size: .76rem; color: var(--schrift-leise); width: max-content; }
|
||||
.zr-warte__auf:focus-visible { outline: 2px solid #9ab7ff; outline-offset: 2px; border-radius: 4px; }
|
||||
.zr-warte__name { color: var(--schrift); }
|
||||
.zr-warte__bereit { color: var(--schrift-leise); font-size: .78rem; }
|
||||
.zr-warte[data-bereit="ja"] .zr-warte__bereit { color: #9fdcb9; font-weight: 700; }
|
||||
.zr-werte { display: flex; flex-wrap: wrap; gap: 3px 12px; }
|
||||
.zr-wert { font-size: .76rem; }
|
||||
.zr-warte__alt { margin: 0; font-size: .74rem; color: #e6c35c; }
|
||||
.zr-holen { margin-left: auto; }
|
||||
|
||||
/* Im seitlichen Pult: Die Backstage-Zeile rollt in sich, und der
|
||||
Regie-Inhalt darunter behält mindestens 120 px. Gemessen vorher:
|
||||
Zeile 309 px, Inhalt 0 px, 47 px über der Videoleiste. Dieselben
|
||||
Breiten wie das seitliche Pult (cockpit.css). */
|
||||
@media (min-width: 1100px), (min-width: 861px) and (orientation: landscape) {
|
||||
.saal:has(.pult[data-auf="ja"]) .pult:has(> .cockpit-backstage:not([hidden])) {
|
||||
grid-template-rows: auto minmax(0, max-content) minmax(120px, 1fr);
|
||||
}
|
||||
.saal:has(.pult[data-auf="ja"]) .pult > .cockpit-backstage { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
|
||||
}
|
||||
|
||||
@media (pointer: coarse) {
|
||||
.zr-draht__feld, .zr-holen, .zr-warte .zr-draht__form .btn { min-height: 44px; }
|
||||
}
|
||||
@media (max-width: 420px) {
|
||||
/* Zwei Spalten auch am Handy: Die Vorschau wird kleiner, damit
|
||||
„Ich bin bereit“ ohne Rollen erreichbar bleibt. */
|
||||
.zr-oben { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); gap: 10px; }
|
||||
.zr-satz { font-size: .76rem; }
|
||||
}
|
||||
Reference in New Issue
Block a user