Grosse Reaktionsknoepfe (ueber den Saal-Chat), Dogen, Chat, Anschluss window.Fernbedienung.anschliessen fuer Nochmal!/Tipps. Ruft nie /dabei. Co-Authored-By: Claude Opus 5.5 <[email protected]>
129 lines
6.3 KiB
CSS
129 lines
6.3 KiB
CSS
/* =====================================================================
|
||
FERNBEDIENUNG UND KOPPEL-SEITE (04.11.2026, Neuplan M9)
|
||
Fürs Handy gebaut: große Tippziele (mindestens 64 px bei den
|
||
Reaktionen, 44 px überall sonst), dunkel und ruhig im Hausstil.
|
||
Bewegt wird nur `transform` (der kurze Druck auf einem Knopf), und bei
|
||
„weniger Bewegung“ gar nichts.
|
||
===================================================================== */
|
||
body.sg { margin: 0; min-height: 100dvh; }
|
||
.fb {
|
||
max-width: 560px; margin: 0 auto;
|
||
padding: max(14px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
|
||
display: grid; gap: 14px;
|
||
}
|
||
.fb__kopf { display: flex; align-items: center; gap: 12px; }
|
||
.fb__titel { flex: 1 1 auto; min-width: 0; }
|
||
.fb__titel h1 { margin: 0; font-size: 1.25rem; }
|
||
.fb__titel p { margin: 2px 0 0; font-size: .86rem; color: var(--c-leise); overflow-wrap: anywhere; }
|
||
.fb__stand {
|
||
flex: none; padding: 4px 10px; border-radius: 999px;
|
||
font-size: .8rem; font-weight: 600;
|
||
border: 1px solid var(--c-kante); color: var(--c-leise);
|
||
}
|
||
.fb__stand[data-stand="live"] { color: #ffe9ea; border-color: rgba(255, 77, 109, .55); background: rgba(255, 77, 109, .14); }
|
||
.fb__stand[data-stand="gleich"] { color: var(--c-warn); border-color: rgba(255, 210, 122, .45); }
|
||
.fb__hinweis {
|
||
margin: 0; padding: 10px 12px; border-radius: 12px;
|
||
background: rgba(255, 210, 122, .08); border: 1px solid rgba(255, 210, 122, .3);
|
||
font-size: .9rem; color: var(--c-text);
|
||
}
|
||
.fb__hinweis[hidden] { display: none; }
|
||
.fb__teil {
|
||
background: var(--c-karte); border: 1px solid var(--c-kante); border-radius: 16px;
|
||
padding: 12px 14px; display: grid; gap: 10px;
|
||
}
|
||
.fb__teil[hidden] { display: none; }
|
||
.fb__teil h2 { margin: 0; font-size: .95rem; color: var(--c-leise); font-weight: 600; }
|
||
|
||
/* ---- Die großen Knöpfe -------------------------------------------- */
|
||
.fb__reaktionen, .fb__mit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
|
||
.fb__reaktion {
|
||
min-height: 76px; border-radius: 14px;
|
||
display: grid; place-items: center; align-content: center; gap: 4px;
|
||
background: rgba(143, 211, 255, .06); border: 1px solid var(--c-kante);
|
||
color: var(--c-text); font: inherit; cursor: pointer;
|
||
touch-action: manipulation; -webkit-tap-highlight-color: transparent;
|
||
transition: transform .12s ease;
|
||
}
|
||
.fb__reaktion:disabled { opacity: .45; cursor: not-allowed; }
|
||
.fb__reaktion[data-gedrueckt="ja"] { transform: scale(.93); }
|
||
.fb__reaktion:focus-visible { outline: 2px solid var(--c-blau); outline-offset: 2px; }
|
||
.fb__reaktion-zeichen { font-size: 1.9rem; line-height: 1; }
|
||
.fb__reaktion-wort { font-size: .78rem; color: var(--c-leise); }
|
||
|
||
/* ---- Dogen ---------------------------------------------------------- */
|
||
.fb__dogen { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
|
||
.fb__doge {
|
||
min-height: 56px; border-radius: 12px; padding: 8px 10px;
|
||
display: grid; place-items: center; align-content: center; gap: 2px;
|
||
border: 1px solid rgba(168, 123, 255, .45); background: rgba(168, 123, 255, .08);
|
||
color: var(--c-text); text-decoration: none;
|
||
}
|
||
.fb__doge-zahl { font-weight: 700; }
|
||
.fb__doge-preis { font-size: .78rem; color: var(--c-leise); }
|
||
.fb__nach { display: grid; gap: 8px; }
|
||
.fb__nach[hidden] { display: none; }
|
||
|
||
/* ---- Chat ----------------------------------------------------------- */
|
||
.fb__liste {
|
||
list-style: none; margin: 0; padding: 0;
|
||
max-height: 38dvh; overflow-y: auto; overscroll-behavior: contain;
|
||
display: grid; gap: 6px; align-content: start;
|
||
}
|
||
.fb__beitrag { display: grid; gap: 1px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
|
||
.fb__beitrag[data-eigen="ja"] { background: rgba(143, 211, 255, .08); }
|
||
.fb__wer { font-size: .76rem; font-weight: 600; color: var(--c-blau); }
|
||
.fb__text { font-size: .95rem; overflow-wrap: anywhere; }
|
||
.fb__leer { margin: 0; font-size: .86rem; color: var(--c-leise); }
|
||
.fb__leer[hidden] { display: none; }
|
||
.fb__form { display: flex; gap: 8px; }
|
||
.fb__feld { flex: 1 1 auto; min-width: 0; min-height: 48px; font-size: 1rem; }
|
||
.fb__senden { min-height: 48px; }
|
||
|
||
/* ---- Sätze, Wahl, Fuß, Meldung -------------------------------------- */
|
||
.fb__satz { margin: 0; font-size: 1rem; line-height: 1.5; }
|
||
.fb__wahl { display: flex; flex-wrap: wrap; gap: 10px; }
|
||
.fb__wahl[hidden] { display: none; }
|
||
.fb__wahl .btn { min-height: 48px; }
|
||
.fb__fuss { margin: 0; font-size: .8rem; color: var(--c-gedimmt); text-align: center; }
|
||
.fb__meldung {
|
||
position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%);
|
||
max-width: min(92vw, 480px); margin: 0; padding: 10px 14px; border-radius: 12px;
|
||
background: rgba(14, 18, 34, .96); border: 1px solid var(--c-kante); color: var(--c-text);
|
||
font-size: .9rem; box-shadow: 0 12px 30px -12px #000;
|
||
}
|
||
.fb__meldung[hidden] { display: none; }
|
||
.fb--koppeln[data-stand="fehler"] .fb__satz { color: var(--c-warn); }
|
||
.fb--koppeln[data-stand="gut"] .fb__satz { color: var(--c-ok); }
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.fb__reaktion { transition: none; }
|
||
.fb__reaktion[data-gedrueckt="ja"] { transform: none; }
|
||
}
|
||
|
||
/* ---- Der Ladefehler-Kasten aus meldung.js ----------------------------
|
||
meldung.js (Sätze für Serverkennungen) baut im Notfall einen Kasten
|
||
„Die Seite lädt nicht“ mit Knopf. Gestaltet ist er sonst in module.css
|
||
und gate.css – beide sind für die Hausseiten gebaut und hier zu schwer
|
||
(zusammen über 200 KB, mit Element-Regeln für jede Seite). Darum hier
|
||
dieselben Maße im Stil dieser Seite (pruef-css-klassen). */
|
||
.ladefehler {
|
||
display: grid; gap: 8px; justify-items: start;
|
||
margin: 18px 0; padding: 16px 18px;
|
||
border: 1px dashed var(--c-kante); border-radius: 12px;
|
||
background: rgba(255, 255, 255, .02);
|
||
}
|
||
.ladefehler__satz { margin: 0; color: var(--c-text); font-weight: 600; }
|
||
.ladefehler__grund { margin: 0; color: var(--c-leise); font-size: .9rem; }
|
||
.knopf {
|
||
display: inline-flex; align-items: center; justify-content: center;
|
||
padding: 0 16px; border-radius: 12px; cursor: pointer;
|
||
border: 1px solid var(--c-kante-stark); background: rgba(143, 211, 255, .1);
|
||
color: var(--c-text); font: inherit; font-weight: 600;
|
||
}
|
||
.knopf--klein { font-size: .9rem; }
|
||
.ladefehler__knopf { min-height: 44px; margin-top: 4px; }
|
||
@media (forced-colors: active) {
|
||
.ladefehler { border: 1px solid CanvasText; }
|
||
}
|