Files
dogfather-universe/workspace/assets/css/saalfenster.css
T

47 lines
3.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.
/* =====================================================================
DAS SAAL-FENSTER (04.11.2026) – siehe saalfenster.js
Ein kleines, dunkles Fenster über dem Spiel: ruhig, kompakt, nichts
blinkt. Die Stilblätter des Saals werden mitgeladen; hier steht nur,
was das Fenster selbst braucht.
===================================================================== */
.sf-oeffnen[hidden] { display: none !important; }
/* Am Handy gibt es kein Bild-im-Bild über einem Spiel – und das Cockpit steht
dort in EINER Zeile (cockpit.css). Der Knopf schob „Beenden · halten“ aus
dem Fenster (gemessen 05.11.2026 bei 390 px). */
@media (max-width: 860px) { .sf-oeffnen { display: none !important; } }
body.sf {
/* Spalte statt Raster: Ein verborgenes Element (die Lastzeile) nimmt
keinen Platz, und nur der Chat wächst – nie das Eingabefeld. */
margin: 0; height: 100vh; display: flex; flex-direction: column;
gap: 8px; padding: 10px; box-sizing: border-box; overflow: hidden;
background: #07060d; color: var(--schrift, #e8f1fa);
font-family: Sora, system-ui, sans-serif; font-size: 14px; line-height: 1.4;
}
.sf-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sf-stand { font-size: .84rem; letter-spacing: .14em; }
.sf-stand[data-stand="live"] { color: #ff8a8a; }
.sf-stand[data-stand="vorbereitung"] { color: #e6c35c; }
.sf-zeit { font-size: .84rem; color: var(--schrift-leise, #a9a3bd); font-variant-numeric: tabular-nums; }
.sf-ampel { margin: 0; font-size: .78rem; line-height: 1.35; color: var(--schrift-leise, #a9a3bd); }
.sf-last { margin: 0; padding: 6px 8px; border-radius: 8px; font-size: .8rem; background: rgba(230, 195, 92, .1); color: #f1dca0; }
.sf-last[hidden] { display: none; }
.sf-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sf-knopf {
appearance: none; cursor: pointer; min-height: 40px; padding: 4px 10px;
border-radius: 10px; border: 1px solid var(--rand-hell, rgba(255, 255, 255, .2));
background: rgba(255, 255, 255, .04); color: inherit; font: inherit; font-size: .82rem; font-weight: 700;
}
.sf-knopf:focus-visible { outline: 2px solid #9ab7ff; outline-offset: 2px; }
.sf-knopf:disabled { opacity: .5; cursor: default; }
.sf-knopf[data-an="ja"] { border-color: rgba(230, 195, 92, .55); color: #f1dca0; }
.sf-knopf--ende { border-color: rgba(255, 138, 138, .4); color: #ffb3b3; }
.sf-kopf, .sf-ampel, .sf-last, .sf-knoepfe, .sf-form { flex: 0 0 auto; }
.sf-chat { list-style: none; margin: 0; padding: 0; overflow-y: auto; display: grid; align-content: start; gap: 6px; flex: 1 1 auto; min-height: 0; }
.sf-knopf[data-stumm="ja"] { border-color: rgba(255, 138, 138, .4); color: #ffb3b3; }
.sf-chat .beitrag { font-size: .8rem; }
.sf-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.sf-feld {
min-height: 40px; min-width: 0; padding: 6px 10px; border-radius: 10px;
border: 1px solid var(--rand-hell, rgba(255, 255, 255, .2)); background: rgba(255, 255, 255, .03); color: inherit; font: inherit;
}