Zusammenfuehren: perf-bericht

Co-Authored-By: Claude Opus 5.5 <[email protected]>

# Conflicts:
#	server/pruef-reaktion.mjs
This commit is contained in:
2026-11-04 04:26:36 +01:00
11 changed files with 1098 additions and 12 deletions
+95
View File
@@ -0,0 +1,95 @@
/* =====================================================================
DAS DECK UND DIE PADS (04.11.2026) – siehe deck.js und pads.js
Ruhig wie der Rest der Transportleiste: dieselben Knöpfe (.spur__knopf),
gedeckte Farben, nichts bewegt sich. Eine gewählte Szene ist RUHIG
markiert (Rand und Grund), kein gefülltes Leuchten – „eine Farbe, eine
Bedeutung“: gefüllt heißt im Haus „drück mich“.
===================================================================== */
.deck {
display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
gap: 10px 26px;
padding-top: 8px;
border-top: 1px solid var(--rand, rgba(255, 255, 255, .08));
}
.deck[hidden], .deck__name[hidden] { display: none !important; }
.deck__bereich { display: flex; align-items: center; gap: 10px; min-width: 0; }
.deck__knoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.deck__name {
flex: none;
font-size: .72rem; font-weight: 800;
letter-spacing: .12em; text-transform: uppercase;
color: var(--schrift-leise, #a9a3bd);
}
.deck__knopf { min-height: 40px; }
.deck__knopf[aria-pressed="true"] {
border-color: rgba(143, 211, 255, .55);
background: rgba(143, 211, 255, .1);
color: #dcefff;
}
.deck__knopf:disabled { opacity: .45; cursor: default; }
.deck__knopf kbd {
font-size: .72rem; font-weight: 700; font-family: inherit;
padding: 1px 5px; border-radius: 5px;
border: 1px solid var(--rand, rgba(255, 255, 255, .12));
background: rgba(255, 255, 255, .06);
color: var(--schrift-leise, #a9a3bd);
line-height: 1.5;
}
.deck__knopf--pads { border-style: dashed; }
/* NICHT AM HANDY UND NICHT IM SCHMALEN FENSTER. Dort gehört der Platz dem
Bild; die Anordnungen bleiben in der Regie unter „Bild“, und Tasten gibt
es an einem Fingergerät nicht. Das Deck kostet dadurch dort keinen
einzigen Pixel Höhe. */
@media (pointer: coarse), (max-width: 899px) {
.deck, .deck__name { display: none !important; }
}
/* ---- Die Pads ------------------------------------------------------- */
.pads {
width: min(560px, calc(100vw - 32px));
max-height: min(86dvh, 760px);
padding: 18px 20px;
border-radius: 16px;
border: 1px solid var(--rand-hell, rgba(255, 255, 255, .14));
background: #13111d;
color: var(--schrift, #e8f1fa);
}
.pads::backdrop { background: rgba(4, 6, 12, .62); }
.pads[hidden] { display: none !important; }
.pads__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pads__titel { margin: 0; font-size: 1.1rem; }
.pads__satz, .pads__sagt { color: #a9a3bd; line-height: 1.55; font-size: .9rem; }
.pads__sagt:empty { display: none; }
.pads__stand {
padding: 10px 12px; border-radius: 10px;
border: 1px solid rgba(170, 180, 210, .2);
background: rgba(255, 255, 255, .03);
line-height: 1.5;
}
.pads__stand[data-art="verbunden"] { border-color: rgba(111, 174, 138, .5); }
.pads__stand[data-art="nicht_erlaubt"], .pads__stand[data-art="kein_geraet"], .pads__stand[data-art="nicht_da"] { border-color: rgba(214, 170, 90, .5); }
.pads__liste, .pads__protokoll { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.pads__zeile {
display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto;
align-items: center; gap: 8px;
padding: 6px 10px; border-radius: 10px;
border: 1px solid rgba(170, 180, 210, .14);
}
.pads__zeile[data-lernt="ja"] { border-color: rgba(230, 195, 92, .6); background: rgba(230, 195, 92, .06); }
.pads__aktion { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pads__aktion kbd {
font-size: .72rem; font-family: inherit; padding: 1px 5px; border-radius: 5px;
border: 1px solid rgba(255, 255, 255, .12); color: #a9a3bd;
}
.pads__pad { color: #a9a3bd; font-size: .85rem; font-variant-numeric: tabular-nums; }
.pads .btn { min-height: 44px; }
.pads__unter { margin: 16px 0 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8fd3ff; }
.pads__protokoll li { font-size: .85rem; color: #c9c4da; font-variant-numeric: tabular-nums; }
.pads__ziel { color: #e6c35c; }
.pads__leer { color: #a9a3bd; }
@media (max-width: 520px) {
.pads__zeile { grid-template-columns: minmax(0, 1fr) auto; }
.pads__pad { grid-column: 1 / -1; }
}
+54
View File
@@ -21,6 +21,7 @@ body.sg { min-height: 100dvh; }
}
.nb__karte-wort { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #a9a3bd; }
.nb__karte-zahl { font-size: 1.35rem; }
.nb__karte-unter { font-size: .8rem; color: #a9a3bd; line-height: 1.4; }
.nb h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8fd3ff; margin: 0 0 8px; }
.nb__legende { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 8px; font-size: .8rem; color: #a9a3bd; }
@@ -38,6 +39,59 @@ body.sg { min-height: 100dvh; }
.nb__marke { stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.nb__marke--markiert { stroke: #e6c35c; }
.nb__marke--chat { stroke: #e6c35c; stroke-dasharray: 4 4; opacity: .7; }
/* Spenden (04.11.2026): gedecktes Mint – weder Blau, Lila noch Gelb. */
.nb__l--spende::before { background: #8ed8b4; }
.nb__spende-linie { stroke: #8ed8b4; stroke-width: 1.5; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.nb__spende-muenze { stroke: #8ed8b4; stroke-width: 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.nb__spende--offen { opacity: .5; }
/* Technik je Minute: ein ruhiger Streifen, eine Zelle je Minute. Grau
gestreift heißt nicht messbar/nicht gemeldet – nie grün. */
.nb__technik-streifen {
display: flex; gap: 2px; height: 18px; padding: 3px;
border: 1px solid rgba(170, 180, 210, .16); border-radius: 10px;
background: rgba(255, 255, 255, .02);
}
.nb__tz { flex: 1 1 0; min-width: 2px; border-radius: 3px; }
.nb__tz[data-stufe="gut"], .nb__t--gut::before { background: #6fae8a; }
.nb__tz[data-stufe="knapp"], .nb__t--knapp::before { background: #d6aa5a; }
.nb__tz[data-stufe="problem"], .nb__t--problem::before { background: #d27a7a; }
.nb__tz[data-stufe="nicht"], .nb__t--nicht::before {
background: repeating-linear-gradient(135deg, #5d5a70 0 3px, #3c3a4a 3px 6px);
}
.nb__umschalter, .nb__drucken { min-height: 44px; margin-top: 10px; }
.nb__drucken { margin-top: 0; }
.nb__werte { margin-top: 10px; overflow-x: auto; }
.nb__tabelle { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.nb__tabelle caption { text-align: left; color: #a9a3bd; font-size: .78rem; padding-bottom: 6px; }
.nb__tabelle th, .nb__tabelle td { text-align: left; padding: 6px 10px; border-bottom: 1px solid rgba(170, 180, 210, .14); }
.nb__tabelle thead th { color: #a9a3bd; font-weight: 600; }
/* DRUCK / PDF: hell auf Papier. Bedienelemente fallen weg, die Tabelle
steht immer da (ID-Regel schlägt „.nb [hidden]“), Farben werden für
weißen Grund dunkler gesetzt und exakt gedruckt. */
@media print {
body.sg, .nb { background: #fff !important; color: #111 !important; }
.nb { max-width: none; padding: 0; }
.nb__kopf .btn, .nb__wahl, .nb__umschalter, .nb__moment .btn { display: none !important; }
#nb-werte[hidden] { display: block !important; }
.nb__titel p, .nb__hinweis, .nb__karte-wort, .nb__legende, .nb__tabelle caption, .nb__tabelle thead th, .nb__moment-art { color: #444 !important; }
.nb h2 { color: #1f4f7a; }
.nb__karte, .nb__kurve, .nb__technik-streifen, .nb__moment { background: #fff !important; border-color: #bbb !important; }
.nb__tabelle th, .nb__tabelle td { border-bottom-color: #ccc; }
.nb__linie { stroke: #1f5f8b; }
.nb__balken { fill: rgba(90, 70, 160, .35); }
.nb__marke--markiert, .nb__marke--chat { stroke: #9a7a10; }
.nb__spende-linie, .nb__spende-muenze { stroke: #2d8a5f; }
.nb__l--zus::before { background: #1f5f8b; }
.nb__l--chat::before { background: #7a66c2; }
.nb__l--moment::before { background: #9a7a10; }
.nb__l--spende::before { background: #2d8a5f; }
.nb * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.nb__verlauf, .nb__technik, .nb__karte, .nb__moment { break-inside: avoid; }
}
.nb__t::before { content: ""; display: inline-block; width: 12px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.nb__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nb__moment {