Files
dogfather-universe/workspace/assets/css/cockpit.css
T
DogFatherGitandClaude Opus 5.5 ef5cdc3f04 Saal-Feinschliff nach dem Nachtlauf: Pruefungen, Aufbewahrung, Stempel
- Aufbewahrung: Meldungen im Reihen-Flüstern (Mondsaal) eingetragen,
  geräumt über reaktionAufraeumen()
- pruef-alle-wege: Rudel-Brücke ohne Schlüssel (503 rudel_nicht_eingerichtet)
  ist der dritte Ausgang, eng auf diesen Weg begrenzt
- pruef-community-sicht: Probe-Saal und Nachbericht in die Seitenliste
- pruef-handy/-teamdogi: abgeschnitten ist nicht verdeckt – gemessen wird
  der sichtbare Teil nach allen beschneidenden Vorfahren (mit Gegenprobe)
- Stempelwerkzeug kennt eine Unterordner-Ebene (assets/js/fremd/), der
  Probe-Saal hatte sonst einen alten Stempel
- Schriftgrößen unter .72rem angehoben, 44-px-Tippziele für Mondsaal- und
  Rudel-Knöpfe, Cockpit zwischen 861 und 1100 px zugeklappt verborgen

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 08:08:30 +01:00

126 lines
6.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* =====================================================================
DAS COCKPIT (03.11.2026) – siehe cockpit.js
Ruhig und augenschonend: keine Signalfarben-Flächen, nur Punkte. Die
einzige Bewegung ist das Füllen beim Halten – über `transform`, also
Arbeit des Compositors (Hausregel 15.10.2026).
===================================================================== */
.cockpit {
position: relative;
display: flex; align-items: center; flex-wrap: wrap;
gap: 8px 10px;
margin-left: auto;
}
.cockpit [hidden],
.cockpit-backstage[hidden] { display: none !important; }
.cockpit-kurve { width: 72px; height: 22px; flex: none; }
.cockpit-kurve polyline { stroke: #8fd3ff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; opacity: .85; }
.cockpit-kurve[data-leer="ja"] { opacity: .35; }
.cockpit-ampel {
appearance: none; cursor: pointer;
display: inline-flex; align-items: center; gap: 8px;
min-height: 36px; padding: 0 12px;
border: 1px solid var(--rand-hell); border-radius: 999px;
background: rgba(255, 255, 255, .03);
color: var(--schrift); font: inherit; font-size: .8rem; font-weight: 700;
}
.cockpit-ampel__punkte { display: inline-flex; gap: 3px; }
.cockpit-ampel__punkt { width: 8px; height: 8px; border-radius: 50%; background: #5d5a6e; display: block; }
.cockpit-ampel__punkt[data-stufe="gut"] { background: #6fcf97; }
.cockpit-ampel__punkt[data-stufe="knapp"] { background: #e6c35c; }
.cockpit-ampel__punkt[data-stufe="problem"] { background: #ef7b7b; }
.cockpit-ampel[data-stufe="unbekannt"] .cockpit-ampel__wort { color: var(--schrift-leise); }
.cockpit-ampel__tafel {
position: absolute; right: 0; top: calc(100% + 8px); z-index: 5;
min-width: 260px; padding: 10px 12px;
border: 1px solid var(--rand-hell); border-radius: 12px;
background: #0d0c16; box-shadow: 0 20px 50px -20px #000;
display: grid; gap: 6px;
}
.cockpit-ampel__zeile { display: flex; justify-content: space-between; gap: 14px; font-size: .82rem; }
.cockpit-ampel__name { color: var(--schrift-leise); }
.cockpit-ampel__zeile[data-stufe="problem"] .cockpit-ampel__wert { color: #ef9a9a; }
.cockpit-ampel__zeile[data-stufe="knapp"] .cockpit-ampel__wert { color: #ecd38a; }
.cockpit-ampel__zeile[data-stufe="unbekannt"] .cockpit-ampel__wert { color: var(--schrift-leise); }
.cockpit-moment kbd, .cockpit-beenden kbd { margin-left: 4px; font-size: .72rem; opacity: .75; }
.cockpit-moment__zahl {
margin-left: 2px; padding: 0 6px; border-radius: 999px;
background: rgba(230, 195, 92, .16); color: #ecd38a; font-size: .74rem;
}
@media (prefers-reduced-motion: no-preference) {
.cockpit-moment--blitz { animation: cockpit-blitz .5s ease-out; }
@keyframes cockpit-blitz { from { opacity: .55; } to { opacity: 1; } }
}
/* Mit Kennung davor: Die Hausregel `:is(.sg, .sg-teil) .btn` ist stärker
als eine einzelne Klasse und nahm dem Knopf sonst Rand und Farbe. */
#cockpit .cockpit-beenden {
position: relative; overflow: hidden;
border: 1px solid rgba(239, 123, 123, .45);
background: rgba(239, 123, 123, .06);
color: #f3b3b3;
touch-action: none;
user-select: none; -webkit-user-select: none;
}
.cockpit-beenden__wort { position: relative; }
.cockpit-beenden__fuell {
position: absolute; inset: 0;
background: rgba(239, 123, 123, .28);
transform: scaleX(0); transform-origin: left center;
}
.cockpit-beenden[data-halten="ja"] .cockpit-beenden__fuell { transform: scaleX(1); transition: transform 1s linear; }
#cockpit .cockpit-beenden:disabled { opacity: .45; }
/* Momente auf der Transportleiste: dünne, gedeckte gelbe Striche. */
#transport .transport__schiene { position: relative; }
.cockpit-zeitmarken { position: absolute; top: 50%; height: 14px; transform: translateY(-50%); pointer-events: none; }
.cockpit-zeitmarke { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; border-radius: 1px; background: #e6c35c; opacity: .85; }
.cockpit-sagt { font-size: .78rem; color: var(--schrift-leise); min-height: 1em; }
.cockpit-sagt:empty { display: none; }
.cockpit-backstage {
display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px;
padding: 8px 16px;
border-bottom: 1px solid var(--rand);
font-size: .82rem;
}
.cockpit-backstage__titel { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--schrift-leise); }
.cockpit-backstage__liste { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 0; padding: 0; flex: 1 1 auto; }
.cockpit-backstage__person { display: inline-flex; gap: 6px; align-items: baseline; }
.cockpit-backstage__person span { color: var(--schrift-leise); }
.cockpit-backstage__person[data-art="dabei"] strong { color: #8fd3ff; }
/* Mit dem Finger gibt es keine Tasten. */
@media (pointer: coarse) { .cockpit kbd { display: none; } }
/* AM HANDY ZÄHLT JEDE ZEILE. Gemessen (pruef-reaktion-schmal, 320×568 mit
Lasthinweis): Eine eigene Ampelzeile im geschlossenen Saal schob die drei
großen Knöpfe aus dem Fenster. Deshalb erscheint das Cockpit dort erst,
wenn es etwas zu führen gibt, und in EINER kompakten Zeile. */
@media (max-width: 860px) {
.cockpit { margin-left: 0; width: 100%; flex-wrap: nowrap; gap: 6px; }
.cockpit[data-stand="zu"] { display: none; }
.cockpit-ampel__wort, .cockpit-kurve { display: none; }
.cockpit-ampel, .cockpit .btn { min-height: 44px; }
.cockpit .btn { padding-inline: 10px; }
.cockpit-sagt { position: absolute; left: 0; top: calc(100% + 4px); z-index: 5; background: #0d0c16; padding: 4px 8px; border-radius: 8px; }
}
/* Kurze Handys (SE, 568 px): Mit aufgeklappter Regie stehen dort die drei
großen Knöpfe samt „Beenden“ – das Cockpit wartet, bis sie zu ist. */
@media (max-width: 860px) and (max-height: 700px) {
.pult[data-auf="ja"] .cockpit { display: none; }
}
/* TABLET QUER (04.11.2026, pruef-breiten 1024 x 768): Das Pult reicht dort
ueber die ganze Breite und liegt auf dem Kopf der Chatspalte. Im
geschlossenen Saal stand die Ampel allein ganz rechts – genau ueber den
Chatstufen-Knoepfen. Vor der Sendung hilft ohnehin Startklar in der
Werkstatt; auf Tablets quer ruht das Cockpit deshalb, solange der Saal zu
ist (der Zustand ist damit wie vor dem Cockpit). */
@media (min-width: 861px) and (max-width: 1100px) {
.cockpit[data-stand="zu"] { display: none; }
}