Files
dogfather-universe/workspace/assets/css/unterwegs.css
T
DogFatherGitandClaude Opus 5.5 d9f1661166 Regie unterwegs (Neuplan C12): Blatt mit sechs Kacheln + Wake Lock
Am Handy (≤ 560 px, Finger) öffnet „Griffe“ in der Regieleiste ein Blatt
von unten: Sendung (Auf Sendung / Beenden · halten), Moment, Chat-Stufe,
Gäste, Ampel, Werkstatt. Jede Kachel drückt den vorhandenen Knopf und
liest dessen Zustand; das Halten geht an #cockpit-beenden. Das Blatt
endet über dem Video. Screen Wake Lock, solange die Regie live und die
Seite sichtbar ist; neu angefordert beim Zurückkommen, „nicht möglich“
wird gesagt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 13:34:48 +01:00

99 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.
/* =====================================================================
REGIE UNTERWEGS (04.11.2026) – siehe unterwegs.js
Nur am schmalen Handy mit Finger. Ein Blatt von unten, sechs große
Kacheln. Bewegt wird nur `transform` (Einfahren, Halten-Füllung);
bei „weniger Bewegung“ springt es ohne Fahrt.
===================================================================== */
.unterwegs-knopf { display: none !important; }
.uw { display: none; }
@media (max-width: 560px) and (pointer: coarse) {
.regieleiste .unterwegs-knopf {
display: inline-flex !important; align-items: center; gap: 8px;
min-height: 44px; margin-left: auto;
}
.unterwegs-knopf + .werkstatt-knopf { margin-left: 0; }
.unterwegs-knopf__raster { display: inline-grid; grid-template-columns: repeat(3, 4px); gap: 2px; }
.unterwegs-knopf__raster i { width: 4px; height: 4px; border-radius: 1px; background: currentColor; opacity: .75; display: block; }
.uw {
display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
padding: 6px 12px calc(12px + env(safe-area-inset-bottom, 0px));
border-radius: 18px 18px 0 0;
border-top: 1px solid var(--rand-hell);
background: #0d0c16;
box-shadow: 0 -24px 50px -24px #000;
color: var(--schrift);
transform: translateY(105%);
visibility: hidden;
transition: transform .22s cubic-bezier(.2, .7, .3, 1), visibility 0s linear .22s;
}
.uw[data-auf="ja"] {
transform: translateY(0);
visibility: visible;
transition: transform .22s cubic-bezier(.2, .7, .3, 1), visibility 0s;
}
.uw__kopf { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; padding-bottom: 8px; }
.uw__griff { grid-column: 1 / -1; justify-self: center; width: 40px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .18); margin-bottom: 4px; }
.uw__titel { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--schrift-leise); }
.uw__zu {
appearance: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
border: 1px solid var(--rand); background: transparent; color: var(--schrift);
font: inherit; font-size: 1.4rem; line-height: 1;
}
.uw__wach { grid-column: 1 / -1; margin: 0; font-size: .78rem; color: var(--schrift-leise); }
.uw__wach[data-zustand="an"]::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #6fcf97; }
.uw__wach[data-zustand="nicht"] { color: #ecd38a; }
.uw__kacheln {
display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(88px, auto); gap: 8px;
overflow-y: auto; overscroll-behavior: contain; min-height: 0;
}
.uw-kachel {
appearance: none; cursor: pointer; position: relative; overflow: hidden;
display: grid; align-content: space-between; justify-items: start; gap: 6px;
min-height: 88px; padding: 12px;
border-radius: 14px; border: 1px solid var(--rand-hell);
background: rgba(255, 255, 255, .035); color: var(--schrift);
font: inherit; text-align: left;
}
.uw-kachel:focus-visible, .uw-stufe:focus-visible, .uw__zu:focus-visible { outline: 2px solid #9ab7ff; outline-offset: 2px; }
.uw-kachel:disabled { opacity: .5; cursor: default; }
.uw-kachel__titel { position: relative; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--schrift-leise); }
.uw-kachel__wert { position: relative; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.uw-kachel__hand { position: relative; font-size: .82rem; color: #f1dca0; }
.uw-kachel__hand[hidden] { display: none; }
/* Sendung: im Live die Halten-Kachel in gedecktem Rot. */
#uw-sendung[data-art="ende"] { border-color: rgba(239, 123, 123, .45); background: rgba(239, 123, 123, .06); color: #f3b3b3; touch-action: none; user-select: none; -webkit-user-select: none; }
#uw-sendung[data-art="start"]:not(:disabled) { border-color: rgba(143, 211, 255, .4); background: rgba(143, 211, 255, .07); }
.uw-kachel__fuell { position: absolute; inset: 0; background: rgba(239, 123, 123, .28); transform: scaleX(0); transform-origin: left center; }
#uw-sendung[data-halten="ja"] .uw-kachel__fuell { transform: scaleX(1); transition: transform 1s linear; }
#uw-gaeste[data-hand="ja"] { border-color: rgba(230, 195, 92, .45); }
.uw-kachel--chat { cursor: default; }
.uw-stufen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; }
.uw-stufe {
appearance: none; cursor: pointer; min-height: 44px; padding: 0 4px;
border-radius: 10px; border: 1px solid var(--rand); background: transparent;
color: var(--schrift-leise); font: inherit; font-size: .82rem; font-weight: 700;
}
.uw-stufe[aria-pressed="true"] { border-color: rgba(143, 211, 255, .5); background: rgba(143, 211, 255, .1); color: var(--schrift); }
.uw-punkte { position: relative; display: inline-flex; gap: 4px; }
.uw-punkte i { width: 10px; height: 10px; border-radius: 50%; background: #5d5a6e; display: block; }
.uw-punkte i[data-stufe="gut"] { background: #6fcf97; }
.uw-punkte i[data-stufe="knapp"] { background: #e6c35c; }
.uw-punkte i[data-stufe="problem"] { background: #ef7b7b; }
.uw__sagt { margin: 8px 0 0; min-height: 1.2em; font-size: .8rem; color: var(--schrift-leise); }
}
@media (prefers-reduced-motion: reduce) {
.uw, .uw[data-auf="ja"] { transition: none !important; }
#uw-sendung[data-halten="ja"] .uw-kachel__fuell { transition: none; }
}