Files
dogfather-universe/workspace/assets/css/mondsaal.css
T
DogFatherGitandClaude Opus 5.5 e7b1434d77 Mondsaal: Sitzplan mit Platzwahl und Reihen-Fluestern (Zusatzansicht)
Knopf im Chatkopf oeffnet eine Tafel ueber der Chatspalte (am Handy unter
dem Video, nie auf dem YouTube-Bild): 6 Reihen x 12 Plaetze, Stammplatz
bleibt gemerkt (60 Tage), unsichtbar sitzen verraet keinen Namen, auch
nicht in der Schnittstelle. Reihen-Fluestern nur fuer die eigene Reihe,
das Team liest mit und entfernt; dieselben Schranken wie im Saal-Chat;
geleert beim Beenden. Neue Tabellen reaktion_plaetze, reaktion_fluestern
(DB vorher gesichert). reaktion.js reicht den Strom als saal:strom weiter.
pruef-reaktion 673, mondsaal-test 20/20.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-03 23:48:09 +01:00

82 lines
5.0 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; }
.ms-sitz:disabled { opacity: 1; }
.ms-sitz[data-art="reserviert"]:disabled { opacity: .45; }
.ms-sitz:focus-visible { outline: 2px solid #8fd3ff; outline-offset: 2px; }
.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-weg { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.ms-form { display: flex; gap: 8px; }
.ms-form .eingabe { flex: 1 1 auto; min-width: 0; min-height: 44px; }
@media (max-width: 860px) {
.mondsaal { border-radius: 16px 16px 0 0; }
}