Files
dogfather-universe/workspace/assets/css/chatwache.css
T
DogFatherGitandClaude Opus 5.5 da4137f84d Saal: Chat-Wache – Langsam, Verwarnen, Regeln des Abends, Protokoll
Neuplan C11:
- Vierte Chat-Stufe „Langsam“ (ein Beitrag je 10 s, Team frei); im Feld
  steht es, bevor jemand tippt. schreibGrund behandelte jede unbekannte
  Stufe wie „zu“ – „langsam“ ist ausdrücklich offen.
- „Verwarnen …“ im Namensmenü (Team): ein ruhiger Hinweis „vom Team“ nur
  bei der Person, ohne Namen des Verwarnenden.
- „Wache“ im Chatkopf: Regeln des Abends (Links nur vom Team,
  Großbuchstaben-Bremse schreibt leiser statt abzulehnen, neue Zugänge
  warten 2 min, Wortfilter mit Wortgrenzen und eingestreuten Zeichen) und
  das Protokoll der Sendung (Aktion, wer, wann; Wörter nur als Zahl).
- Alles am Server (workspace-chatwache.js), neue Tabelle reaktion_chatregeln.
- Nebenbei: Tonhinweis lag am Handy auf dem YouTube-Bild (jetzt darunter,
  Gegenprobe rot), Chat-Stufen am Handy 33 → 44 px, die Chatspalte zählt
  sichtbare Teile vor der Liste statt je eine Rasterregel.
- pruef-reaktion 1085/0 (Abschnitt 32), neue Dauerprüfung
  pruef-chatwache-blick 23/0, Breiten, mess-quer, Handy grün.

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

100 lines
5.5 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.
/* =====================================================================
DIE CHAT-WACHE (04.11.2026) – siehe chatwache.js
Ruhig: keine Signalflächen, Bernstein nur für den Hinweis an den
Verwarnten, nichts blinkt, bewegt wird nichts.
===================================================================== */
.cw-knopf[hidden], .cw-tafel[hidden], .cw-sagt:empty { display: none !important; }
/* ==== DIE CHATSPALTE ZÄHLT, WAS VOR DER LISTE STEHT ====================
Vor der Liste können Backstage-Karte, Zwischenraum, Verwarnung und Wache
stehen – auch mehrere zugleich. Statt je eine Regel (die sich gegenseitig
überschreiben, sobald zwei dastehen) zählt diese, wie viele SICHTBAR
davor stehen; die Liste bekommt immer die dehnbare Zeile, alles davor
gibt nach und rollt in sich. */
#schiene:has(> :not([hidden]):not(.schiene__kopf):not(.schiene__liste) ~ .schiene__liste) {
grid-template-rows: auto minmax(0, auto) minmax(120px, 1fr) auto auto;
}
#schiene:has(> :not([hidden]):not(.schiene__kopf):not(.schiene__liste) ~ :not([hidden]):not(.schiene__kopf):not(.schiene__liste) ~ .schiene__liste) {
grid-template-rows: auto minmax(0, auto) minmax(0, auto) minmax(120px, 1fr) auto auto;
}
#schiene:has(> :not([hidden]):not(.schiene__kopf):not(.schiene__liste) ~ :not([hidden]):not(.schiene__kopf):not(.schiene__liste) ~ :not([hidden]):not(.schiene__kopf):not(.schiene__liste) ~ .schiene__liste) {
grid-template-rows: auto minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(120px, 1fr) auto auto;
}
/* Der Knopf im Kopf – so leise wie die Chat-Stufen daneben. */
.cw-knopf {
appearance: none; cursor: pointer;
min-height: 30px; padding: 0 10px;
border-radius: 10px; border: 1px solid var(--rand);
background: rgba(0, 0, 0, .35); color: var(--schrift-leise);
font: inherit; font-size: .72rem; font-weight: 700;
}
.cw-knopf[aria-expanded="true"] { color: var(--schrift); border-color: var(--rand-hell); background: rgba(255, 255, 255, .08); }
.cw-knopf:focus-visible, .cw-zu:focus-visible { outline: 2px solid #9ab7ff; outline-offset: 2px; }
/* Die Tafel: eine Fläche unter dem Kopf, über Liste und Feld der Spalte
(nicht über dem Video – sie lebt in der Spalte). Undurchsichtig, damit
der Chat darunter nicht durchscheint; schließen mit × oder Esc. */
/* (#schiene ist schon Bezugsrahmen – untertitel.css.) */
.cw-tafel {
position: absolute; left: 0; right: 0; bottom: 0; top: var(--cw-oben, 60px);
z-index: 40;
display: grid; align-content: start; gap: 10px;
padding: 10px 14px 14px;
border-top: 1px solid var(--rand);
background: #0a0913;
overflow-y: auto; overscroll-behavior: contain;
}
.cw-kopfzeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cw-titel { margin: 0; font-size: .92rem; font-weight: 700; color: var(--schrift); }
.cw-titel:focus { outline: none; }
.cw-zu {
appearance: none; cursor: pointer; width: 32px; height: 32px;
border-radius: 9px; border: 1px solid var(--rand); background: none;
color: var(--schrift-leise); font: inherit; font-size: 1rem; line-height: 1;
}
.cw-regeln { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.cw-legende { padding: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--schrift-leise); }
.cw-schalter { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: start; cursor: pointer; }
.cw-schalter input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #8fd3ff; }
.cw-schalter input:disabled { cursor: default; }
.cw-schalter__text { display: grid; gap: 1px; font-size: .82rem; line-height: 1.35; color: var(--schrift); }
.cw-hilfe { font-size: .76rem; line-height: 1.35; color: var(--schrift-leise); }
.cw-woerter { display: grid; gap: 4px; font-size: .82rem; color: var(--schrift); }
.cw-woerter__feld {
min-height: 64px; padding: 6px 10px; resize: vertical;
border-radius: 10px; border: 1px solid var(--rand-hell);
background: rgba(255, 255, 255, .03); color: var(--schrift);
font: inherit; font-size: .84rem; line-height: 1.4;
}
.cw-woerter__feld:focus-visible { outline: 2px solid #9ab7ff; outline-offset: 1px; }
.cw-woerter__speichern { justify-self: start; }
.cw-sagt { margin: 0; font-size: .78rem; color: var(--schrift-leise); }
.cw-protokoll { display: grid; gap: 6px; padding-top: 8px; border-top: 1px solid var(--rand); }
.cw-protokoll__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cw-eintrag, .cw-leer { font-size: .78rem; line-height: 1.4; color: var(--schrift); overflow-wrap: anywhere; }
.cw-leer { color: var(--schrift-leise); }
.cw-eintrag__zeit { color: var(--schrift-leise); font-variant-numeric: tabular-nums; margin-right: 6px; }
.cw-eintrag__detail { color: var(--schrift-leise); }
/* Der Hinweis an den Verwarnten: ruhig, bernstein, mit einem Ausweg. */
.cw-verwarnt {
display: grid; gap: 6px;
padding: 10px 14px;
border-bottom: 1px solid rgba(230, 195, 92, .35);
background: rgba(230, 195, 92, .07);
}
.cw-verwarnt__titel { font-size: .84rem; color: #f1dca0; }
.cw-verwarnt__text { margin: 0; font-size: .84rem; line-height: 1.4; color: var(--schrift); overflow-wrap: anywhere; }
.cw-verwarnt__ok { justify-self: start; }
@media (pointer: coarse) {
/* Die Chat-Stufen selbst auch: gemessen 33 px am Handy (älter als die
Wache, gefunden von ihrer Browserprüfung). */
.chatstufe { min-height: 44px; }
.cw-knopf, .cw-zu, .cw-woerter__speichern { min-height: 44px; }
.cw-zu { width: 44px; }
.cw-schalter { min-height: 44px; align-items: center; }
.cw-schalter input { width: 22px; height: 22px; }
}