Zwischenraum: eigene Vorsilbe bz- statt zr- – die Ziele-Vorschau war verschoben
Der Backstage-Zwischenraum (b44ae093) nutzte die Vorsilbe zr- – dieselbe
wie das Ziele-Formular der Regie (#zr-vorschau, zr-titel). Seine Regeln
(u. a. .zr-vorschau mit Spiegelung) verschoben die Ziele-Vorschau um 15 px;
gefunden von mess-serverziele, am Stand vor meinen Runden gegengemessen.
- 256 Stellen in zwischenraum.js/.css und ihren Prüfungen auf bz- umbenannt;
das Ziele-Formular selbst unverändert.
- Neue Wache in pruef-reaktion (Abschnitt 35): keine Element-Kennung darf
aus zwei Dateien der Saal-Seite kommen – abgeleitet aus reaktion.html und
seinen 46 Skripten; die echte Kollision von heute wird erkannt.
- pruef-reaktion 1104/0, mess-serverziele, zwischenraum-blick, mess-reaktion grün.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
(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; }
|
||||
.bz[hidden], .bz-regie[hidden], .bz-ohne[hidden], .bz-vorschau[hidden],
|
||||
.bz-draht__liste[hidden], .bz-sagt:empty, .bz-wie:empty, .bz-warte__alt:empty, .bz-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
|
||||
@@ -16,7 +16,7 @@
|
||||
und rollt in sich – der Chat behält mindestens 120 px. Gemessen vorher
|
||||
auf 390 × 844: 16 px Chat. */
|
||||
|
||||
.zr {
|
||||
.bz {
|
||||
display: grid; gap: 10px;
|
||||
padding: 12px 14px;
|
||||
border-bottom: 1px solid var(--rand);
|
||||
@@ -26,23 +26,23 @@
|
||||
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); }
|
||||
.bz-titel { margin: 0; font-size: .95rem; font-weight: 700; color: var(--schrift); }
|
||||
.bz-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 {
|
||||
.bz-oben { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 12px; align-items: start; }
|
||||
.bz-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-rahmen { position: relative; }
|
||||
.zr-rahmen > .zr-vorschau, .zr-rahmen > .zr-ohne { grid-area: 1 / 1; }
|
||||
.bz-vorschau { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
|
||||
.bz-ohne { margin: 0; padding: 6px; font-size: .72rem; line-height: 1.3; text-align: center; color: var(--schrift-leise); }
|
||||
.bz-rahmen { position: relative; }
|
||||
.bz-rahmen > .bz-vorschau, .bz-rahmen > .bz-ohne { grid-area: 1 / 1; }
|
||||
/* Das Oval zum Ausrichten: eine feine Linie, die nichts verdeckt. */
|
||||
.zr-oval {
|
||||
.bz-oval {
|
||||
position: absolute; left: 50%; top: 50%;
|
||||
width: 38%; height: 78%;
|
||||
transform: translate(-50%, -52%);
|
||||
@@ -50,9 +50,9 @@
|
||||
border-radius: 50%;
|
||||
pointer-events: none;
|
||||
}
|
||||
.zr-rahmen:has(.zr-vorschau[hidden]) .zr-oval { display: none; }
|
||||
.bz-rahmen:has(.bz-vorschau[hidden]) .bz-oval { display: none; }
|
||||
/* Der Hinweis im Bild: unten, gedeckt, gut lesbar auf hellem wie dunklem Bild. */
|
||||
.zr-bildhinweis {
|
||||
.bz-bildhinweis {
|
||||
position: absolute; left: 4px; right: 4px; bottom: 4px;
|
||||
margin: 0; padding: 2px 6px;
|
||||
border-radius: 6px;
|
||||
@@ -60,62 +60,62 @@
|
||||
color: #f1dca0;
|
||||
font-size: .72rem; font-weight: 700; line-height: 1.3; text-align: center;
|
||||
}
|
||||
.zr-bildhinweis[hidden] { display: none !important; }
|
||||
.bz-bildhinweis[hidden] { display: none !important; }
|
||||
|
||||
.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); }
|
||||
.bz-schritte, .bz-werte, .bz-warten, .bz-draht__liste { list-style: none; margin: 0; padding: 0; }
|
||||
.bz-schritte { display: grid; gap: 5px; }
|
||||
.bz-schritt, .bz-wert { display: flex; align-items: baseline; gap: 8px; font-size: .8rem; line-height: 1.35; color: var(--schrift); }
|
||||
.bz-punkt { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #6d6a80; align-self: center; }
|
||||
[data-stufe="gut"] > .bz-punkt { background: #6fcf97; }
|
||||
[data-stufe="knapp"] > .bz-punkt { background: #e6c35c; }
|
||||
[data-stufe="schwach"] > .bz-punkt { background: #d98a8a; }
|
||||
[data-stufe="aus"] > .bz-schritt__text, [data-stufe="offen"] > .bz-schritt__text,
|
||||
[data-stufe="aus"] > .bz-wert__text, [data-stufe="offen"] > .bz-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); }
|
||||
.bz-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
||||
.bz-wie, .bz-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 {
|
||||
.bz-draht { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid var(--rand); }
|
||||
.bz-draht__titel { margin: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--schrift-leise); }
|
||||
.bz-draht__liste { display: grid; gap: 3px; max-height: 7.5em; overflow-y: auto; }
|
||||
.bz-draht__zeile { font-size: .8rem; line-height: 1.35; color: var(--schrift); overflow-wrap: anywhere; }
|
||||
.bz-draht__zeile strong { color: #8fd3ff; font-weight: 700; }
|
||||
.bz-draht__zeile[data-von="gast"] strong { color: #c9b8ff; }
|
||||
.bz-draht__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
|
||||
.bz-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; }
|
||||
.bz-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 {
|
||||
.bz-regie { flex: 1 1 100%; display: grid; gap: 6px; }
|
||||
.bz-warten { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
|
||||
.bz-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; }
|
||||
.bz-warte[data-bereit="ja"] { border-color: rgba(111, 207, 151, .4); }
|
||||
.bz-warte__kopf { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
|
||||
.bz-punkte { display: inline-flex; gap: 4px; }
|
||||
.bz-punkte .bz-punkt[data-stufe="gut"] { background: #6fcf97; }
|
||||
.bz-punkte .bz-punkt[data-stufe="knapp"] { background: #e6c35c; }
|
||||
.bz-punkte .bz-punkt[data-stufe="schwach"] { background: #d98a8a; }
|
||||
.bz-warte__zuletzt { margin: 0; font-size: .78rem; color: var(--schrift); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.bz-warte__mehr { display: grid; gap: 6px; }
|
||||
.bz-warte__mehr[open] { padding-top: 2px; }
|
||||
.bz-warte__auf { cursor: pointer; font-size: .76rem; color: var(--schrift-leise); width: max-content; }
|
||||
.bz-warte__auf:focus-visible { outline: 2px solid #9ab7ff; outline-offset: 2px; border-radius: 4px; }
|
||||
.bz-warte__name { color: var(--schrift); }
|
||||
.bz-warte__bereit { color: var(--schrift-leise); font-size: .78rem; }
|
||||
.bz-warte[data-bereit="ja"] .bz-warte__bereit { color: #9fdcb9; font-weight: 700; }
|
||||
.bz-werte { display: flex; flex-wrap: wrap; gap: 3px 12px; }
|
||||
.bz-wert { font-size: .76rem; }
|
||||
.bz-warte__alt { margin: 0; font-size: .74rem; color: #e6c35c; }
|
||||
.bz-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:
|
||||
@@ -129,11 +129,11 @@
|
||||
}
|
||||
|
||||
@media (pointer: coarse) {
|
||||
.zr-draht__feld, .zr-holen, .zr-warte .zr-draht__form .btn { min-height: 44px; }
|
||||
.bz-draht__feld, .bz-holen, .bz-warte .bz-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; }
|
||||
.bz-oben { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); gap: 10px; }
|
||||
.bz-satz { font-size: .76rem; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user