rudelpuls.js/.css: Welle (60 Balken, nur transform, ohne Übergang bei weniger Bewegung) am unteren Rand der Kopfleiste – nie auf dem Video. Nochmal-Knopf links in der Chat-Eingabe (44 × 44, nur Zuschauer, nur Reaction), Karte der Regie als eigene Zeile in der Pult-Leiste; ihr Druck drückt den vorhandenen −10-Knopf und markiert über das Cockpit. reaktion.js: Puls- und Nochmal-Rundrufe zählen nicht als Stand. Co-Authored-By: Claude Opus 5.5 <[email protected]>
130 lines
4.8 KiB
CSS
130 lines
4.8 KiB
CSS
/* =====================================================================
|
||
RUDEL-PULS UND „NOCHMAL!“ (04.11.2026, Neuplan M1.5/M3) – rudelpuls.js
|
||
|
||
Augenschonend: gedecktes Violett-Blau, keine Leuchtkanten. Bewegt wird
|
||
nur `transform` (die Balken skalieren in der Höhe) und `opacity` (die
|
||
Sprechblase). Bei „weniger Bewegung“ springen die Balken ohne
|
||
Übergang, die Blase erscheint ohne Gleiten.
|
||
===================================================================== */
|
||
|
||
/* ---- Die Welle am unteren Rand der Saalleiste ----------------------
|
||
Absolut in der Kopfleiste (die ist `sticky` und damit Bezugspunkt):
|
||
Sie nimmt keinen Platz, verschiebt nichts, und liegt nie über dem
|
||
Video. Unter den Knöpfen (die enden gemessen 12 Punkte über der
|
||
Kante), `pointer-events: none` – sie ist nur zum Ansehen. */
|
||
.rpuls {
|
||
position: absolute; left: 0; right: 0; bottom: 1px;
|
||
height: 11px;
|
||
display: flex; align-items: flex-end; gap: 2px;
|
||
padding: 0 2px;
|
||
pointer-events: none;
|
||
opacity: .72;
|
||
z-index: 0;
|
||
}
|
||
.rpuls[hidden] { display: none; }
|
||
.rpuls__balken {
|
||
flex: 1 1 0; height: 100%;
|
||
border-radius: 2px 2px 0 0;
|
||
background: linear-gradient(180deg, rgba(178, 160, 255, .9), rgba(110, 150, 230, .55));
|
||
transform-origin: 50% 100%;
|
||
transform: scaleY(.04);
|
||
transition: transform 1.8s cubic-bezier(.3, .6, .3, 1);
|
||
}
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.rpuls__balken { transition: none; }
|
||
}
|
||
@media (forced-colors: active) {
|
||
.rpuls__balken { background: CanvasText; }
|
||
}
|
||
|
||
/* ---- Der Knopf in der Eingabezeile, links vom Feld ----------------
|
||
So groß wie „Senden“ daneben (44 × 44), aber ruhig: Er ist eine Bitte,
|
||
kein Befehl. Die Zahl sitzt als kleines Schild an der Ecke und nimmt
|
||
keine Breite. */
|
||
.nochmal-knopf {
|
||
position: relative; flex: none;
|
||
width: 44px; height: 44px; padding: 0;
|
||
display: inline-grid; place-items: center;
|
||
border-radius: 12px;
|
||
}
|
||
.nochmal-knopf[hidden] { display: none !important; }
|
||
.nochmal-knopf svg {
|
||
width: 18px; height: 18px;
|
||
fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
|
||
}
|
||
.nochmal-knopf__zahl {
|
||
position: absolute; top: -6px; right: -6px;
|
||
min-width: 20px; height: 20px; padding: 0 5px;
|
||
border-radius: 999px;
|
||
display: grid; place-items: center;
|
||
font-size: .72rem; font-weight: 800; line-height: 1;
|
||
font-variant-numeric: tabular-nums;
|
||
color: #f1ecff;
|
||
background: #5b4aa8;
|
||
border: 1px solid rgba(200, 185, 255, .5);
|
||
}
|
||
.nochmal-knopf__zahl[hidden] { display: none; }
|
||
.nochmal-knopf[data-gebeten="ja"] {
|
||
color: #e6ddff;
|
||
background: rgba(150, 125, 255, .18);
|
||
border-color: rgba(170, 150, 255, .5);
|
||
}
|
||
|
||
/* ---- Die Sprechblase darüber (role=status) -------------------------
|
||
Über der Eingabezeile, über dem Chat – nie über dem Video. */
|
||
.nochmal-blase {
|
||
position: absolute; z-index: 5;
|
||
left: 12px; bottom: calc(100% + 6px);
|
||
max-width: min(22rem, calc(100% - 24px));
|
||
margin: 0; padding: 8px 12px;
|
||
border-radius: 12px;
|
||
font-size: .8rem; line-height: 1.4; font-weight: 600;
|
||
color: #ece7ff;
|
||
background: rgba(18, 15, 32, .96);
|
||
border: 1px solid rgba(170, 150, 255, .32);
|
||
box-shadow: 0 14px 30px -18px #000;
|
||
pointer-events: none;
|
||
opacity: 0;
|
||
transform: translateY(4px);
|
||
transition: opacity .25s ease, transform .25s ease;
|
||
}
|
||
.nochmal-blase[data-zeigt="ja"] { opacity: 1; transform: none; }
|
||
.nochmal-blase:empty { display: none; }
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.nochmal-blase { transition: none; transform: none; }
|
||
}
|
||
|
||
/* ---- Die Karte der Regie (eine eigene Zeile in der Pult-Leiste) ---- */
|
||
.nochmalkarte {
|
||
flex: 1 1 100%;
|
||
display: grid; gap: 6px;
|
||
padding: 12px 14px;
|
||
border-radius: 14px;
|
||
background: rgba(150, 125, 255, .09);
|
||
border: 1px solid rgba(224, 161, 58, .42);
|
||
}
|
||
.nochmalkarte[hidden] { display: none !important; }
|
||
.nochmalkarte__ueber {
|
||
margin: 0; font-size: .95rem; font-weight: 800; color: #f1ecff;
|
||
}
|
||
.nochmalkarte__satz { margin: 0; font-size: .8rem; color: var(--schrift-leise, #a9a3bd); }
|
||
.nochmalkarte__tun { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
|
||
|
||
/* ---- Im Nachbericht: die zusätzliche Kurve (nachbericht-puls.js) ----
|
||
Dieselben gedeckten Töne wie die Welle im Saal; Momente in dem Gelb,
|
||
das der Nachbericht für sie ohnehin benutzt. Nichts bewegt sich. */
|
||
.nb__puls { display: block; }
|
||
.nb__l--puls::before { background: #b2a0ff; }
|
||
.nb__pulskurve {
|
||
width: 100%; height: 90px; display: block;
|
||
border: 1px solid rgba(170, 180, 210, .16); border-radius: 14px;
|
||
background: rgba(255, 255, 255, .02);
|
||
}
|
||
.nb__pulsflaeche { fill: rgba(150, 130, 240, .28); }
|
||
.nb__pulslinie { stroke: #b2a0ff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
|
||
@media print {
|
||
.nb__pulskurve { background: #fff !important; border-color: #bbb !important; }
|
||
.nb__pulsflaeche { fill: rgba(90, 70, 190, .25); }
|
||
.nb__pulslinie { stroke: #4b3aa8; }
|
||
}
|