Files
dogfather-universe/workspace/assets/css/mondsaal.css
T
DogFatherGitandClaude Opus 5.5 d48e563c9e Saal: eigenes Bild im Probe-Saal, Melden im Fluestern, Profilbilder auf den Sitzen, Rueckkehr aus dem geschlossenen Saal sofort (Zwischenstand)
Probe-Saal: gespiegelte Vorschau 'Du', geht bei jedem Abschaltweg weg.
Mondsaal: Fluester-Meldungen in eigener Tabelle (Saal-Chat-Meldungen
unveraendert), nur das Team sieht Meldende; Profilbilder nur auf
sichtbaren besetzten Plaetzen; Reiter und Sitzplan per Tastatur.
Server: Wartende im geschlossenen Saal kommen in den Rundruf beim
Aufmachen; Bremse je Person fuer Platz/Melden/Warten; kleine
JSON-Grenze, die wirklich gilt (der globale 1-MB-Leser ueberging die
Weg-eigene). pruef-reaktion 674 -> 710, sechs Sabotagen rot.

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

103 lines
6.4 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.
/* =====================================================================
DER MONDSAAL (03.11.2026) – siehe mondsaal.js
Eine ruhige Seitentafel; der eigene Platz golden, alle anderen gedeckt.
Jeder Sitz ist ein 44-px-Tippziel – die Reihen brechen um, statt seitlich
zu rollen (Filipe, 28.09.2026: nie wischen müssen).
===================================================================== */
.schiene__mond { gap: 6px; }
.schiene__mond svg { width: 16px; height: 16px; fill: currentColor; }
.schiene__mond[hidden] { display: none !important; }
@media (max-width: 860px) { .schiene__mond-wort { display: none; } }
.mondsaal {
position: fixed; z-index: 80;
top: var(--ms-oben, 30dvh); right: var(--ms-rechts, 0px); bottom: 0; left: auto;
width: var(--ms-breite, min(420px, 100vw)); max-height: none; height: auto;
margin: 0; padding: 0;
display: none; flex-direction: column;
border: 1px solid var(--rand-hell, rgba(170, 180, 210, .26)); border-radius: 0;
background: #0b0a14; color: var(--schrift, #e8f1fa);
box-shadow: -30px -20px 80px -30px #000;
overflow: hidden;
}
.mondsaal[open] { display: flex; }
.mondsaal [hidden] { display: none !important; }
.mondsaal__kopf { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--rand, rgba(150, 160, 190, .14)); }
.mondsaal__kopf h2 { margin: 0; font-size: 1rem; }
.mondsaal__reiter { display: flex; gap: 4px; padding: 8px 10px 0; }
.mondsaal__tab {
appearance: none; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px;
background: none; color: var(--schrift-leise, #a9a3bd); font: inherit; font-weight: 700; cursor: pointer;
}
.mondsaal__tab[aria-selected="true"] { color: var(--schrift, #e8f1fa); background: rgba(143, 211, 255, .09); box-shadow: inset 0 0 0 1px rgba(143, 211, 255, .22); }
.mondsaal__tab:disabled { opacity: .45; cursor: default; }
.mondsaal__seite { padding: 10px 14px 14px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 10px; align-content: start; }
.ms-leinwand {
text-align: center; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--schrift-leise, #a9a3bd);
padding: 6px; border-radius: 0 0 50% 50% / 0 0 100% 100%; border-bottom: 2px solid rgba(143, 211, 255, .35);
}
.ms-plan { display: grid; gap: 6px; }
.ms-reihe { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; align-items: start; }
.ms-reihe__name { font-size: .72rem; font-weight: 700; color: var(--schrift-leise, #a9a3bd); line-height: 44px; text-align: center; }
.ms-reihe__sitze { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; }
.ms-sitz {
position: relative; appearance: none; min-height: 44px; min-width: 44px; padding: 0;
border-radius: 50%; border: 1px solid rgba(170, 180, 210, .3); background: none;
color: var(--schrift, #e8f1fa); font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer;
}
.ms-sitz[data-art="frei"]:hover { background: rgba(143, 211, 255, .1); }
.ms-sitz[data-art="besetzt"] { background: rgba(169, 147, 230, .16); border-color: transparent; cursor: default; }
.ms-sitz[data-art="reserviert"] { border-style: dashed; opacity: .45; cursor: default; }
.ms-sitz[data-art="ich"] { border: 2px solid #e6c35c; color: #ecd38a; background: rgba(230, 195, 92, .1); cursor: default; }
/* Besetzte Plätze sind `aria-disabled` (fokussierbar, damit Tastatur und
Vorleseprogramm sie erreichen) – nicht `disabled` (04.11.2026). */
.ms-sitz[aria-disabled="true"] { cursor: default; }
.ms-sitz:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 2px; }
.mondsaal__tab:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 2px; }
/* PROFILBILD AUF DEM SITZ (04.11.2026): deckt das Kürzel ab; lädt es nicht,
entfernt das Skript das Bild und das Kürzel steht wieder da. Gedeckte
Kante statt Schein. */
.ms-sitz__bild {
position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px);
border-radius: 50%; object-fit: cover; display: block; pointer-events: none;
}
.ms-sitz[data-art="ich"] .ms-sitz__bild { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); }
.ms-sitz__name {
position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%);
white-space: nowrap; font-size: .72rem; font-weight: 600; padding: 2px 6px; border-radius: 6px;
background: #0d0c16; border: 1px solid rgba(170, 180, 210, .26); opacity: 0; pointer-events: none;
}
.ms-sitz:hover .ms-sitz__name, .ms-sitz:focus-visible .ms-sitz__name { opacity: 1; }
.ms-mein { margin: 4px 0 0; font-weight: 700; }
.ms-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ms-schalter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.ms-hinweis, .ms-sagt { color: var(--schrift-leise, #a9a3bd); font-size: .84rem; line-height: 1.5; margin: 0; }
.ms-sagt { padding: 0 14px 12px; min-height: 1em; }
.ms-sagt:empty { display: none; }
.ms-team { display: grid; gap: 4px; font-size: .78rem; color: var(--schrift-leise, #a9a3bd); }
.ms-team:has(select[hidden]) { display: none; }
.ms-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 42dvh; overflow-y: auto; }
.ms-beitrag { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
.ms-beitrag strong { font-size: .82rem; grid-column: 1; }
.ms-beitrag span { grid-column: 1; overflow-wrap: anywhere; }
.ms-beitrag[data-ich="ja"] strong { color: #ecd38a; }
.ms-nachbar { font-style: normal; font-weight: 600; font-size: .72rem; color: #8fd3ff; margin-left: 4px; }
.ms-weg { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.ms-form { display: flex; gap: 8px; }
.ms-melden:disabled { opacity: .6; cursor: default; }
/* Meldungen im Flüstern (nur Team, 04.11.2026). */
.ms-meldeliste { max-height: none; }
.ms-meldung { grid-template-columns: minmax(0, 1fr); padding: 8px 10px; border-radius: 10px; background: rgba(224, 161, 58, .07); border: 1px solid rgba(224, 161, 58, .22); }
.ms-meldung__von { font-size: .78rem; color: var(--schrift-leise, #a9a3bd); }
.ms-meldung__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
/* 44-px-Tippziele, wo mit dem Finger getippt wird (Hausregel). */
@media (pointer: coarse) {
.mondsaal .btn-klein { min-height: 44px; }
}
.ms-form .eingabe { flex: 1 1 auto; min-width: 0; min-height: 44px; }
@media (max-width: 860px) {
.mondsaal { border-radius: 16px 16px 0 0; }
}