- Vorschlaege rechnen je Teil ueber alle Ueberdeckungen (vorher schlug 9:16 eine Ecke als frei vor, die in der Profilzone lag). - Tastatur: genau 8 px / 1 px je Druck; das Kanten-Einrasten gilt nur fuer den Zeiger (hielt sonst ein Teil an der Kante fest). - Spendenkarte liegt auf der Leinwand unter den dauerhaften Teilen. - Buehnenmodus (?nur=buehne): Oeffnete die Regie ihn mit gespeichert offenem Pult, blieben 432 px Pultspalte schwarz im Bild und die Transportleiste (156 px) unten im aufgenommenen Fenster. Gemessen beim Abgleich Vorschau gegen gerenderte Rechtecke; jetzt ganzes Fenster, 0 px Abweichung. Co-Authored-By: Claude Opus 5.5 <[email protected]>
298 lines
13 KiB
CSS
298 lines
13 KiB
CSS
/* =====================================================================
|
||
DIE WERKSTATT (03.11.2026) – siehe werkstatt.js
|
||
|
||
Dieselbe Regie-Fläche (`#pult-innen`) in einer anderen Anordnung: eine
|
||
Schublade rechts, links die Bereiche, rechts der Inhalt. Außerhalb der
|
||
Werkstatt ist alles hier unsichtbar und ändert am Pult nichts.
|
||
|
||
Augenschonend und ruhig: Der gewählte Bereich ist nur leicht
|
||
hinterlegt (gewählt ist ruhig, nicht laut – Stilregel 26.10.), bewegt
|
||
wird nichts außer per opacity (und auch das nur ohne reduce-motion).
|
||
===================================================================== */
|
||
.werkstatt-nav,
|
||
.werkstatt-kopf,
|
||
.werkstatt-tafel { display: none; }
|
||
|
||
/* `hidden` muss gewinnen (Hausregel 16.10.2026) – die Knöpfe tragen
|
||
`display: flex`, die Tafeln `display: block`. */
|
||
.werkstatt-nav__knopf[hidden],
|
||
.werkstatt-nav__zustand[hidden],
|
||
.werkstatt-tafel[hidden],
|
||
#werkstatt-einladen [hidden] { display: none !important; }
|
||
|
||
.werkstatt-knopf { margin-left: auto; white-space: nowrap; align-self: center; }
|
||
.werkstatt-knopf + .befehle-knopf { margin-left: 8px; }
|
||
|
||
/* Ein Pult mit `backdrop-filter` ist der Bezugsrahmen für alles, was
|
||
darin `position: fixed` trägt – die Schublade bliebe in der Regie
|
||
gefangen. In der Werkstatt trägt das Pult deshalb keinen Filter; die
|
||
Schublade hat ihren eigenen, deckenden Hintergrund. */
|
||
.pult[data-werkstatt="ja"] { backdrop-filter: none; -webkit-backdrop-filter: none; }
|
||
|
||
.pult[data-werkstatt="ja"] .pult__innen {
|
||
position: fixed;
|
||
z-index: 70;
|
||
/* UNTER der Kopfleiste des Hauses (werkstatt.js misst sie beim Öffnen):
|
||
Glocke und Hausmenü bleiben bedienbar, die Schublade liegt darunter. */
|
||
top: var(--werkstatt-oben, 0px); right: 0; bottom: 0;
|
||
width: min(960px, 100vw);
|
||
height: calc(100dvh - var(--werkstatt-oben, 0px));
|
||
max-height: none;
|
||
display: grid;
|
||
grid-template-columns: 236px minmax(0, 1fr);
|
||
grid-auto-rows: max-content;
|
||
align-content: start;
|
||
gap: 0 22px;
|
||
padding: 0 22px 32px 0;
|
||
overflow-y: auto;
|
||
overscroll-behavior: contain;
|
||
background: #0b0a14;
|
||
border-left: 1px solid var(--rand-hell);
|
||
box-shadow: -40px 0 80px -40px #000;
|
||
}
|
||
|
||
.pult[data-werkstatt="ja"] .werkstatt-nav {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 2px;
|
||
grid-column: 1;
|
||
grid-row: 1 / span 40;
|
||
position: sticky;
|
||
top: 0;
|
||
align-self: start;
|
||
height: calc(100dvh - var(--werkstatt-oben, 0px));
|
||
overflow-y: auto;
|
||
padding: 18px 10px 24px;
|
||
border-right: 1px solid var(--rand);
|
||
background: #09080f;
|
||
}
|
||
.werkstatt-nav__knopf {
|
||
appearance: none;
|
||
display: flex; align-items: center; justify-content: space-between; gap: 8px;
|
||
min-height: 44px;
|
||
padding: 0 12px;
|
||
border: 0; border-radius: 10px;
|
||
background: none;
|
||
color: var(--schrift-leise);
|
||
font: inherit; font-size: .88rem; font-weight: 600;
|
||
text-align: left;
|
||
cursor: pointer;
|
||
}
|
||
.werkstatt-nav__knopf:hover { color: var(--schrift); background: rgba(255, 255, 255, .04); }
|
||
.werkstatt-nav__knopf[aria-current="true"] {
|
||
color: var(--schrift);
|
||
background: rgba(143, 211, 255, .09);
|
||
box-shadow: inset 0 0 0 1px rgba(143, 211, 255, .22);
|
||
}
|
||
.werkstatt-nav__link {
|
||
display: flex; align-items: center; min-height: 44px; padding: 0 12px; margin-top: 8px;
|
||
border-top: 1px solid var(--rand); color: #8fd3ff; font-size: .85rem; font-weight: 600; text-decoration: none;
|
||
}
|
||
.werkstatt-nav__link:hover { text-decoration: underline; }
|
||
.werkstatt-nav__knopf:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 2px; }
|
||
.werkstatt-nav__zustand {
|
||
flex: none;
|
||
max-width: 12ch;
|
||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||
font-size: .72rem; font-weight: 600;
|
||
color: var(--schrift-leise);
|
||
padding: 2px 7px;
|
||
border-radius: 999px;
|
||
background: rgba(255, 255, 255, .05);
|
||
}
|
||
|
||
.pult[data-werkstatt="ja"] .werkstatt-kopf {
|
||
display: flex; align-items: center; justify-content: space-between; gap: 12px;
|
||
grid-column: 2;
|
||
position: sticky; top: 0; z-index: 2;
|
||
padding: 16px 0 12px;
|
||
background: #0b0a14;
|
||
border-bottom: 1px solid var(--rand);
|
||
margin-bottom: 14px;
|
||
}
|
||
.werkstatt-kopf__titel { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--schrift); }
|
||
.werkstatt-kopf__ueber {
|
||
display: block;
|
||
font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
|
||
color: var(--schrift-leise);
|
||
}
|
||
|
||
.pult[data-werkstatt="ja"] .pult__innen > .pult-tafel,
|
||
.pult[data-werkstatt="ja"] .pult__innen > .werkstatt-tafel { grid-column: 2; min-width: 0; }
|
||
.pult[data-werkstatt="ja"] .werkstatt-tafel:not([hidden]) { display: block; }
|
||
|
||
.werkstatt-tafel p { color: var(--schrift-leise); line-height: 1.55; max-width: 62ch; }
|
||
.werkstatt-reihe { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
|
||
.werkstatt-link { width: 100%; max-width: 40rem; }
|
||
|
||
/* HANDY UND SCHMALE FENSTER: ganze Breite, die Bereiche oben als Zeilen,
|
||
die UMBRECHEN – nie seitlich wischen (Filipe, 28.09.2026). */
|
||
@media (max-width: 860px) {
|
||
.pult[data-werkstatt="ja"] .pult__innen {
|
||
grid-template-columns: minmax(0, 1fr);
|
||
padding: 0 14px 28px;
|
||
border-left: 0;
|
||
}
|
||
.pult[data-werkstatt="ja"] .werkstatt-nav {
|
||
grid-column: 1; grid-row: auto;
|
||
flex-direction: row; flex-wrap: wrap; gap: 4px;
|
||
height: auto;
|
||
position: static;
|
||
padding: 12px 0 10px;
|
||
border-right: 0;
|
||
border-bottom: 1px solid var(--rand);
|
||
background: none;
|
||
}
|
||
.werkstatt-nav__knopf { min-height: 44px; padding: 0 11px; font-size: .82rem; }
|
||
.werkstatt-nav__zustand { display: none; }
|
||
.pult[data-werkstatt="ja"] .werkstatt-kopf { grid-column: 1; }
|
||
.pult[data-werkstatt="ja"] .pult__innen > .pult-tafel,
|
||
.pult[data-werkstatt="ja"] .pult__innen > .werkstatt-tafel { grid-column: 1; }
|
||
}
|
||
|
||
/* Mit dem Finger gibt es keine Tasten – die Hinweise darauf ruhen (wie im
|
||
ganzen Haus unter `pointer: coarse`). */
|
||
@media (pointer: coarse) {
|
||
.werkstatt-kopf kbd, .werkstatt-tafel kbd { display: none; }
|
||
}
|
||
|
||
@media (prefers-reduced-motion: no-preference) {
|
||
.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; }
|