Zusammenfuehren: perf-werkstatt
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -4614,6 +4614,20 @@ body[data-nur="buehne"] .spendentafel {
|
||||
body[data-nur="buehne"] .saal {
|
||||
height: 100dvh;
|
||||
}
|
||||
/* ==== DIE AUFNAHME BEKOMMT DAS GANZE FENSTER (04.11.2026) ===========
|
||||
Gemessen beim Bau des Szenen-Editors: Öffnet die Regie den
|
||||
Bühnenmodus, während ihr Pult als „auf“ gespeichert ist, behielt das
|
||||
Raster die Pultspalte (432 px schwarz links bei 1920 × 1080), und die
|
||||
Transportleiste (156 px) stand unten im aufgenommenen Bild. Beides
|
||||
ist Bedienung und gehört nicht in den Stream. */
|
||||
body[data-nur="buehne"] .saal,
|
||||
body[data-nur="buehne"] .saal:has(.pult[data-auf="ja"]) {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-areas: none;
|
||||
}
|
||||
body[data-nur="buehne"] .saal .raum,
|
||||
body[data-nur="buehne"] .saal:has(.pult[data-auf="ja"]) .raum { grid-area: auto; grid-row: 2; grid-column: 1; }
|
||||
body[data-nur="buehne"] .transport { display: none !important; }
|
||||
/* In der Bühnenquelle gibt es keinen Chat — dann soll die rechte
|
||||
Spalte auch keinen Platz belegen. */
|
||||
body[data-nur="buehne"] .raum,
|
||||
|
||||
@@ -160,3 +160,138 @@
|
||||
.pult[data-werkstatt="ja"] .pult__innen { animation: werkstatt-auf .18s ease-out; }
|
||||
@keyframes werkstatt-auf { from { opacity: 0; } to { opacity: 1; } }
|
||||
}
|
||||
|
||||
/* =====================================================================
|
||||
SZENEN-EDITOR (04.11.2026, werkstatt-szenen.js)
|
||||
|
||||
Eine dunkle Leinwand, darauf drei ruhige Flächen. Farben gedeckt
|
||||
(augenschonend), jede Art eine Farbe und nur eine Bedeutung:
|
||||
Kameras lila, Ziel-Karte blau, Spendenkarte bernstein, Sperrzonen
|
||||
gedämpftes Rot. Bewegt wird nur über `transform` – beim Ziehen
|
||||
setzt das Skript ihn direkt, ohne Übergang (sonst hinkt das Teil
|
||||
dem Finger nach).
|
||||
===================================================================== */
|
||||
.ws-szenen button { min-height: 44px; }
|
||||
.ws-leiste, .ws-formate { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
|
||||
.ws-szene { display: inline-flex; align-items: center; gap: 8px; }
|
||||
.ws-szene kbd { font-size: .7rem; opacity: .7; }
|
||||
.ws-buehne { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 16px; align-items: start; }
|
||||
.ws-leinwand {
|
||||
position: relative;
|
||||
width: min(100%, 80vh);
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
background: #07060d;
|
||||
border: 1px solid var(--rand);
|
||||
user-select: none;
|
||||
}
|
||||
.ws-leinwand[data-ansicht="hoch"] { width: min(100%, 34vh); justify-self: center; }
|
||||
.ws-leinwand[data-ansicht="quer"] { width: 100%; }
|
||||
.ws-leer { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 16px; text-align: center; color: var(--schrift-leise); font-size: .85rem; }
|
||||
.ws-video {
|
||||
position: absolute;
|
||||
background: rgba(143, 211, 255, .08);
|
||||
box-shadow: inset 0 0 0 1px rgba(143, 211, 255, .25);
|
||||
}
|
||||
.ws-sperre { position: absolute; background: rgba(220, 96, 112, .17); pointer-events: none; }
|
||||
.ws-teil {
|
||||
position: absolute;
|
||||
border-radius: 6px;
|
||||
cursor: grab;
|
||||
touch-action: none;
|
||||
outline: none;
|
||||
background: rgba(168, 123, 255, .5);
|
||||
box-shadow: inset 0 0 0 1px rgba(214, 196, 255, .55);
|
||||
}
|
||||
/* Mindestens 44 × 44 Punkte zum Greifen, auch wenn das Teil in der
|
||||
kleinen Vorschau nur 20 Punkte hoch ist. */
|
||||
.ws-teil::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
|
||||
.ws-teil[data-art="ziel"] { background: rgba(143, 211, 255, .42); box-shadow: inset 0 0 0 1px rgba(196, 232, 255, .6); }
|
||||
.ws-teil[data-art="spende"] { background: rgba(232, 182, 92, .38); box-shadow: inset 0 0 0 1px rgba(246, 214, 150, .6); }
|
||||
/* Die Spendenkarte steht nur ein paar Sekunden – auf der Leinwand liegt
|
||||
sie deshalb UNTER den dauerhaften Teilen, damit man die Kameras auch
|
||||
dort greift, wo die Karte sie zeitweise überdeckt. */
|
||||
.ws-teil[data-art="spende"] { z-index: 0; }
|
||||
.ws-teil[data-art="kameras"], .ws-teil[data-art="ziel"] { z-index: 1; }
|
||||
.ws-teil[data-art][data-schiebt="ja"] { z-index: 3; }
|
||||
.ws-teil[data-beweglich="nein"] { cursor: default; opacity: .55; }
|
||||
.ws-teil[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #e8f1fa; }
|
||||
.ws-teil:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 2px; }
|
||||
.ws-teil[data-schiebt="ja"] { z-index: 3; cursor: grabbing; opacity: .85; }
|
||||
.ws-einrasten { position: absolute; z-index: 2; border: 2px dashed rgba(232, 241, 250, .75); border-radius: 6px; pointer-events: none; }
|
||||
.ws-etikett {
|
||||
position: absolute; left: 4px; top: 2px; right: 4px;
|
||||
overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
|
||||
font-size: .68rem; font-weight: 600; color: #f1eefc;
|
||||
pointer-events: none;
|
||||
}
|
||||
.ws-video .ws-etikett { color: var(--schrift-leise); }
|
||||
.ws-seite { display: grid; gap: 12px; }
|
||||
.ws-pruefer { display: grid; gap: 4px; font-size: .82rem; }
|
||||
.ws-pruefer__zeile { display: flex; justify-content: space-between; gap: 8px; color: var(--schrift-leise); }
|
||||
.ws-pruefer__name { color: var(--schrift); }
|
||||
.ws-groesse { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
|
||||
.ws-groesse span { flex: 1; }
|
||||
.ws-urteil { display: grid; gap: 4px; margin: 14px 0 6px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--rand); font-size: .85rem; }
|
||||
.ws-urteil[data-stufe="gut"] .ws-urteil__kopf { color: #9fe3bf; }
|
||||
.ws-urteil[data-stufe="hinweis"] .ws-urteil__kopf { color: #9fe3bf; }
|
||||
.ws-urteil[data-stufe="problem"] .ws-urteil__kopf { color: #f0a3ad; }
|
||||
.ws-urteil[data-stufe="unbekannt"] .ws-urteil__kopf { color: #e6c98e; }
|
||||
.ws-urteil__zeile { color: var(--schrift); }
|
||||
.ws-urteil__zeile[data-art="unvermeidlich"] { color: var(--schrift-leise); }
|
||||
.ws-urteil__weg, .ws-urteil__hinweis { color: var(--schrift-leise); }
|
||||
.ws-urteil__meldung { color: #e6c98e; }
|
||||
.ws-andere { display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
.ws-chip { font-size: .75rem; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--schrift-leise); }
|
||||
.ws-chip[data-stufe="problem"] { color: #f0a3ad; }
|
||||
.ws-abgleich[data-stufe="problem"] { color: #f0a3ad; }
|
||||
|
||||
/* Schmal: Leinwand über dem Prüfer, beides volle Breite. Ziehen geht
|
||||
auch mit dem Finger (Zeigerereignisse, touch-action: none). */
|
||||
@media (max-width: 860px) {
|
||||
.ws-buehne { grid-template-columns: minmax(0, 1fr); }
|
||||
.ws-leinwand[data-ansicht="hoch"] { width: min(100%, 46vh); }
|
||||
}
|
||||
|
||||
/* =====================================================================
|
||||
STARTKLAR (04.11.2026, werkstatt-startklar.js) – nur in der Werkstatt,
|
||||
oben im Bereich „Sendung“.
|
||||
===================================================================== */
|
||||
.werkstatt-startklar { display: none; }
|
||||
.pult[data-werkstatt="ja"] .werkstatt-startklar {
|
||||
display: block;
|
||||
margin: 0 0 22px;
|
||||
padding: 12px 14px 6px;
|
||||
border: 1px solid var(--rand);
|
||||
border-radius: 12px;
|
||||
background: rgba(255, 255, 255, .025);
|
||||
}
|
||||
.startklar__oben { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
||||
.startklar__oben .pult__ueber { margin: 0; }
|
||||
.startklar__urteil { font-size: .82rem; font-weight: 600; color: var(--schrift-leise); }
|
||||
.werkstatt-startklar[data-stufe="gut"] .startklar__urteil { color: #9fe3bf; }
|
||||
.werkstatt-startklar[data-stufe="problem"] .startklar__urteil { color: #f0a3ad; }
|
||||
.startklar__liste { list-style: none; margin: 10px 0 4px; padding: 0; display: grid; gap: 2px; }
|
||||
.startklar__punkt { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start; padding: 7px 0; border-top: 1px solid var(--rand); }
|
||||
.startklar__zeichen { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .8rem; font-weight: 700; background: rgba(255, 255, 255, .06); color: var(--schrift-leise); }
|
||||
.startklar__punkt[data-stufe="gut"] .startklar__zeichen { color: #9fe3bf; background: rgba(120, 220, 170, .12); }
|
||||
.startklar__punkt[data-stufe="problem"] .startklar__zeichen { color: #f0a3ad; background: rgba(240, 120, 136, .12); }
|
||||
.startklar__punkt[data-stufe="unbekannt"] .startklar__zeichen { color: #e6c98e; background: rgba(230, 201, 142, .1); }
|
||||
.startklar__text { display: grid; gap: 4px; min-width: 0; }
|
||||
.startklar__kopf { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .86rem; }
|
||||
.startklar__wert { color: var(--schrift-leise); overflow-wrap: anywhere; }
|
||||
.startklar__schritt {
|
||||
justify-self: start;
|
||||
min-height: 44px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid var(--rand-hell);
|
||||
border-radius: 10px;
|
||||
background: none;
|
||||
color: #8fd3ff;
|
||||
font: inherit; font-size: .8rem; font-weight: 600;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.startklar__schritt--satz { display: block; min-height: 0; padding: 0; border: 0; color: var(--schrift-leise); font-weight: 400; cursor: default; }
|
||||
.startklar__schritt:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 2px; }
|
||||
.startklar__fuss { margin: 6px 0 4px; }
|
||||
|
||||
Reference in New Issue
Block a user