Image bauen und in die Registry schieben / build (push) Successful in 7s
- Wizard: feste Hoehe (600px, intern scrollbar), Schritt-Inhalt zentriert
(.wizard-body) -> Schritte gleich gross, auch beim User anlegen
- Benutzer-Anlage: Bestaetigung 'Benutzer x angelegt.' (ohne 'Weiter mit'),
Solo-Option nach User-Anlage deaktiviert (kein irrefuehrendes Umschalten)
- User-Chip + Abmelden aus der Topbar entfernt, 'Abmelden' in Konto-Sektion
- Topbar-Datum: 'Fr 02.10.2026' + aktive Session ('Push aktiv') statt
redundantem 'Today'
- Tabs: flex-wrap statt Scrollen, auf Mobil volle Breite + kompakter
- Server-Reset (Owner): Passwort + 'RESET'-Eingabe, loescht alle Daten
- Benutzerliste: Querbalken vor dem Anlegen-Formular
- Tests: 163 Checks gruen (39+18+49+32+25)
1213 lines
25 KiB
CSS
1213 lines
25 KiB
CSS
/* ===========================================================================
|
|
Trainingsplan - Styles
|
|
Richtung: hart, dunkel, flach. 0px Radius, 2px-Borders, ein Akzent.
|
|
Themen (dark/light/oled) und Akzentfarbe kommen als data-Attribute auf
|
|
<html> und werden aus den Einstellungen gesetzt.
|
|
=========================================================================== */
|
|
|
|
:root {
|
|
--bg: #0e0e0e;
|
|
--bg-panel: #161616;
|
|
--bg-input: #0a0a0a;
|
|
--bg-hover: #202020;
|
|
--bg-subtle: #1d1d1d;
|
|
--border: #333;
|
|
--border-hover: #4d4d4d;
|
|
--text: #e8e8e8;
|
|
--muted: #a0a0a0;
|
|
--accent: #ffffff;
|
|
--accent-hover: #f2f2f2;
|
|
--accent-active: #e6e6e6;
|
|
--accent-ink: #141414;
|
|
--accent-border: var(--accent);
|
|
--danger: #c0392b;
|
|
--ok: #6fae5c;
|
|
--font-ui: system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
--font-data: ui-monospace, "SF Mono", "DejaVu Sans Mono", "Cascadia Mono", monospace;
|
|
}
|
|
|
|
html[data-theme="light"] {
|
|
--muted: #5c5c59;
|
|
--bg: #f2f2f0;
|
|
--bg-panel: #ffffff;
|
|
--bg-input: #ffffff;
|
|
--bg-hover: #e7e7e4;
|
|
--bg-subtle: #e4e4e0;
|
|
--border: #c6c6c2;
|
|
--border-hover: #9a9a96;
|
|
--text: #1c1c1c;
|
|
--muted: #6b6b68;
|
|
--danger: #b03a2e;
|
|
--ok: #3f8f4a;
|
|
}
|
|
|
|
html[data-theme="oled"] {
|
|
--muted: #a0a0a0;
|
|
--bg: #000000;
|
|
--bg-panel: #050505;
|
|
--bg-input: #000000;
|
|
--bg-hover: #0e0e0e;
|
|
--bg-subtle: #0a0a0a;
|
|
--border: #232323;
|
|
--border-hover: #3a3a3a;
|
|
}
|
|
|
|
html[data-accent="amber"] { --accent: #e0a33c; --accent-hover: #e9b257; --accent-active: #cf9130; --accent-ink: #141414; }
|
|
html[data-accent="orange"] { --accent: #e4582e; --accent-hover: #ed6a36; --accent-active: #ca4a22; --accent-ink: #141414; }
|
|
html[data-accent="red"] { --accent: #d64541; --accent-hover: #e1514c; --accent-active: #be3a37; --accent-ink: #141414; }
|
|
html[data-accent="green"] { --accent: #3fae5a; --accent-hover: #4ebc68; --accent-active: #36984b; --accent-ink: #141414; }
|
|
html[data-accent="teal"] { --accent: #2aa198; --accent-hover: #39afa5; --accent-active: #258d84; --accent-ink: #141414; }
|
|
html[data-accent="cyan"] { --accent: #25b8cc; --accent-hover: #39c5d8; --accent-active: #219fb2; --accent-ink: #141414; }
|
|
html[data-accent="blue"] { --accent: #4a86c8; --accent-hover: #5a96d6; --accent-active: #4073b0; --accent-ink: #141414; }
|
|
html[data-accent="violet"] { --accent: #9a6fd0; --accent-hover: #ab80e0; --accent-active: #875db7; --accent-ink: #141414; }
|
|
html[data-accent="pink"] { --accent: #e0567f; --accent-hover: #eb6890; --accent-active: #c74b6e; --accent-ink: #141414; }
|
|
html[data-accent="white"] { --accent: #ffffff; --accent-hover: #f2f2f2; --accent-active: #e6e6e6; --accent-ink: #141414; --accent-border: #9a9a9a; }
|
|
|
|
html[data-theme="light"][data-accent="white"] .wp-step { border-color: #8a8a8a; }
|
|
html[data-theme="light"][data-accent="white"] .wp-step.is-done { border-color: #000; background: #000; }
|
|
html[data-theme="light"][data-accent="white"] .wp-step.is-current { border-color: #000; background: transparent; }
|
|
|
|
html[data-theme="dark"], html[data-theme="oled"] { color-scheme: dark; }
|
|
html[data-theme="light"] { color-scheme: light; }
|
|
|
|
* { box-sizing: border-box; }
|
|
*::before, *::after { box-sizing: border-box; }
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: var(--font-ui);
|
|
font-size: 15px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
::selection { background: var(--accent); color: var(--accent-ink); }
|
|
::placeholder { color: var(--muted); }
|
|
|
|
:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
* { transition: none; }
|
|
}
|
|
|
|
/* ===========================================================================
|
|
Grundgeruest: Topbar + Tabs
|
|
=========================================================================== */
|
|
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 12px 20px;
|
|
border-bottom: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.brand-name {
|
|
font-weight: 700;
|
|
letter-spacing: 0.02em;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.brand-date {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.user-chip {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
font-family: var(--font-data);
|
|
padding: 4px 10px;
|
|
border: 2px solid var(--border);
|
|
}
|
|
|
|
.tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0;
|
|
margin-left: auto;
|
|
border: 2px solid var(--border);
|
|
max-width: 100%;
|
|
}
|
|
|
|
.tab {
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.topbar { padding: 10px 12px; }
|
|
.tabs { margin-left: 0; width: 100%; }
|
|
.tab { padding: 6px 10px; font-size: 13px; }
|
|
.brand-name { font-size: 15px; }
|
|
}
|
|
|
|
.tab {
|
|
appearance: none;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
font: inherit;
|
|
font-weight: 600;
|
|
padding: 7px 18px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tab:hover { color: var(--text); background: var(--bg-hover); }
|
|
.tab:active { background: var(--bg-hover); }
|
|
|
|
.tab.is-active {
|
|
background: var(--accent);
|
|
color: var(--accent-ink);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tab.is-active:hover { background: var(--accent-hover); }
|
|
|
|
/* ===========================================================================
|
|
Views
|
|
=========================================================================== */
|
|
|
|
main {
|
|
max-width: 980px;
|
|
margin: 0 auto;
|
|
padding: 24px 20px 64px;
|
|
}
|
|
|
|
.view.is-active { display: block; }
|
|
.view:not(.is-active) { display: none; }
|
|
|
|
h1, h2, h3 {
|
|
font-family: var(--font-ui);
|
|
margin: 0;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
h1 { font-size: 22px; font-weight: 800; }
|
|
h2 { font-size: 18px; font-weight: 700; }
|
|
h3 { font-size: 15px; font-weight: 700; }
|
|
|
|
.muted { color: var(--muted); font-size: 13px; }
|
|
|
|
/* ===========================================================================
|
|
Buttons
|
|
=========================================================================== */
|
|
|
|
.btn {
|
|
appearance: none;
|
|
border: 2px solid var(--border);
|
|
background: transparent;
|
|
color: var(--text);
|
|
font: inherit;
|
|
font-weight: 600;
|
|
padding: 7px 14px;
|
|
min-width: 96px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn:hover { border-color: var(--border-hover); background: var(--bg-hover); }
|
|
.btn:active { background: var(--bg-hover); }
|
|
|
|
.btn-primary {
|
|
border-color: var(--accent-border, var(--accent));
|
|
background: var(--accent);
|
|
color: var(--accent-ink);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.btn-primary:hover { background: var(--accent-hover); }
|
|
.btn-primary:active { background: var(--accent-active); }
|
|
|
|
.btn-danger-ghost {
|
|
border-color: var(--danger);
|
|
color: var(--danger);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn-danger-ghost:hover { background: var(--bg-hover); }
|
|
.btn-danger-ghost.is-armed { background: var(--danger); color: #fff; }
|
|
|
|
.btn-small { padding: 4px 10px; font-size: 13px; min-width: 64px; }
|
|
.btn-block { width: 100%; }
|
|
|
|
.icon-btn {
|
|
appearance: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
border: 2px solid var(--border);
|
|
background: transparent;
|
|
color: var(--muted);
|
|
font: inherit;
|
|
font-size: 15px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.icon-btn:hover { border-color: var(--border-hover); color: var(--text); background: var(--bg-hover); }
|
|
.icon-btn:active { background: var(--bg-hover); }
|
|
|
|
/* ===========================================================================
|
|
Heute - Aktivitaets-Karten
|
|
=========================================================================== */
|
|
|
|
.act-card {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.act-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 16px;
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.act-title h2 { font-size: 17px; }
|
|
|
|
.act-title .act-kind {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.start-box { padding: 16px; }
|
|
|
|
.picker-label {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.day-picker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
|
|
|
|
.day-btn {
|
|
appearance: none;
|
|
border: 2px solid var(--border);
|
|
background: transparent;
|
|
color: var(--text);
|
|
font: inherit;
|
|
font-weight: 600;
|
|
padding: 8px 20px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.day-btn:hover { border-color: var(--border-hover); background: var(--bg-hover); }
|
|
|
|
.day-btn.is-active {
|
|
border-color: var(--accent);
|
|
background: var(--accent);
|
|
color: var(--accent-ink);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.day-btn.is-active:hover {
|
|
border-color: var(--accent-hover);
|
|
background: var(--accent-hover);
|
|
}
|
|
|
|
/* Session-Aktionen: Hauptaktionen gebuendelt, Verwerfen abgesetzt */
|
|
|
|
.session-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.session-discard {
|
|
margin-left: 28px;
|
|
}
|
|
|
|
/* Session-Kopf (laufende Session) */
|
|
|
|
.session-head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
align-items: center;
|
|
padding: 10px 16px;
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.session-day {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.session-when { color: var(--muted); font-size: 13px; }
|
|
|
|
.save-ind {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.save-ind.is-saving { color: var(--accent); }
|
|
.save-ind.is-error { color: var(--danger); }
|
|
.save-ind.is-saved { color: var(--ok); }
|
|
|
|
.note-field {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.note-input {
|
|
width: 100%;
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-input);
|
|
color: var(--text);
|
|
font: inherit;
|
|
padding: 7px 10px;
|
|
}
|
|
|
|
.note-input:focus { border-color: var(--accent); outline: 0; }
|
|
|
|
/* Uebung aus anderen Tagen hinzufuegen */
|
|
|
|
.ex-picker {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-input);
|
|
color: var(--text);
|
|
font: inherit;
|
|
padding: 6px 8px;
|
|
max-width: 280px;
|
|
}
|
|
|
|
.ex-picker:focus { border-color: var(--accent); outline: 0; }
|
|
|
|
/* ===========================================================================
|
|
Uebungs-Block + Saetze
|
|
=========================================================================== */
|
|
|
|
.ex-block {
|
|
border: 2px solid var(--border);
|
|
margin: 0;
|
|
cursor: grab;
|
|
}
|
|
|
|
.ex-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
|
|
gap: 14px;
|
|
align-items: start;
|
|
}
|
|
|
|
.ex-grid .ex-block { margin: 0; }
|
|
|
|
.ex-block.drag-over { border-color: var(--accent); }
|
|
|
|
.ex-head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.ex-name { font-weight: 700; }
|
|
|
|
.ex-hint {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.no-tips .ex-hint { display: none; }
|
|
|
|
.ex-actions { margin-left: auto; display: flex; gap: 6px; }
|
|
|
|
.set-rows { padding: 0; }
|
|
|
|
.set-row {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
.set-rows { overflow-x: auto; }
|
|
|
|
.set-row.is-done { background: var(--bg-subtle); }
|
|
|
|
/* Set-Abhaken: ganzer Button klickbar, mit Ankreuz-Box */
|
|
|
|
.set-check {
|
|
appearance: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
min-height: 34px;
|
|
padding: 0 12px;
|
|
border: 2px solid var(--border);
|
|
background: transparent;
|
|
color: var(--text);
|
|
font: inherit;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.set-check:hover { border-color: var(--border-hover); background: var(--bg-hover); }
|
|
|
|
.set-check-num {
|
|
color: var(--text);
|
|
font-family: var(--font-data);
|
|
}
|
|
|
|
.set-check-box {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 14px;
|
|
height: 14px;
|
|
border: 2px solid currentColor;
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.set-check.is-done {
|
|
border-color: var(--accent);
|
|
background: var(--accent);
|
|
color: var(--accent-ink);
|
|
}
|
|
|
|
.set-check.is-done:hover {
|
|
border-color: var(--accent-hover);
|
|
background: var(--accent-hover);
|
|
}
|
|
|
|
.set-check.is-done .set-check-num { color: inherit; }
|
|
|
|
/* Eingabebox: Zahl links, Einheit als festes Suffix rechts in derselben Box */
|
|
|
|
.field-box {
|
|
display: inline-flex;
|
|
align-items: stretch;
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-input);
|
|
cursor: text;
|
|
}
|
|
|
|
.field-box:focus-within { border-color: var(--accent); }
|
|
.field-box:hover { border-color: var(--border-hover); }
|
|
|
|
.field-input {
|
|
width: 74px;
|
|
min-width: 60px;
|
|
height: 32px;
|
|
padding: 6px 4px 6px 8px;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text);
|
|
font-family: var(--font-data);
|
|
font-size: 15px;
|
|
font-variant-numeric: tabular-nums;
|
|
outline: 0;
|
|
}
|
|
|
|
.field-input::placeholder { color: var(--muted); }
|
|
|
|
.field-unit {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0 8px;
|
|
border-left: 1px solid var(--border);
|
|
color: var(--muted);
|
|
font-family: var(--font-data);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Cardio-Felder */
|
|
|
|
.cardio-fields {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.cardio-fields .field-input { width: 90px; }
|
|
|
|
/* ===========================================================================
|
|
Hinweise / Leer-Zustaende
|
|
=========================================================================== */
|
|
|
|
.notice {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
color: var(--text);
|
|
padding: 10px 14px;
|
|
margin: 10px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.notice .btn { margin-left: 10px; }
|
|
|
|
.empty-box {
|
|
border: 2px dashed var(--border);
|
|
padding: 24px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
}
|
|
|
|
/* ===========================================================================
|
|
Verlauf
|
|
=========================================================================== */
|
|
|
|
.hist-group { margin-bottom: 18px; }
|
|
|
|
.hist-date {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
padding: 4px 0 6px;
|
|
color: var(--text);
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.hist-card {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.hist-head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.hist-when {
|
|
font-family: var(--font-data);
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.hist-activity { color: var(--muted); font-size: 13px; }
|
|
|
|
.hist-head .actions { margin-left: auto; display: flex; gap: 6px; }
|
|
|
|
.hist-note { color: var(--muted); font-size: 13px; padding: 4px 12px; }
|
|
|
|
.hist-entries { list-style: none; margin: 0; padding: 6px 12px; }
|
|
|
|
.hist-entry {
|
|
padding: 2px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.hist-entry .ex-name { font-weight: 600; }
|
|
|
|
.hist-sets { color: var(--muted); }
|
|
|
|
.hist-sets .set-done-box {
|
|
display: inline-block;
|
|
width: 12px;
|
|
margin-right: 3px;
|
|
text-align: center;
|
|
color: var(--accent);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hist-sets .set-undone-box {
|
|
display: inline-block;
|
|
width: 12px;
|
|
margin-right: 3px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Wochen-Uebersicht im Verlauf */
|
|
|
|
.week-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.week-day {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
padding: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.week-day-head {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
padding: 2px 0 6px;
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.week-day-head.is-today { color: var(--accent); }
|
|
|
|
.week-session {
|
|
padding: 3px 0;
|
|
font-size: 12px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.week-session-title { color: var(--text); font-weight: 600; }
|
|
|
|
/* Inline-Editor im Verlauf */
|
|
|
|
.hist-edit {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
padding: 12px;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.hist-edit-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
|
|
gap: 8px;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.hist-edit-grid label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.hist-edit-grid input,
|
|
.hist-edit-grid select {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-input);
|
|
color: var(--text);
|
|
font: inherit;
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
.hist-edit-grid input:focus { border-color: var(--accent); outline: 0; }
|
|
|
|
.hist-edit .edit-rows { margin: 0 0 10px; }
|
|
|
|
.edit-ex {
|
|
border: 2px solid var(--border);
|
|
padding: 6px 10px;
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
.edit-ex .ex-name { font-weight: 600; font-size: 13px; }
|
|
|
|
.edit-ex .edit-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.edit-done {
|
|
width: 18px;
|
|
height: 18px;
|
|
accent-color: var(--accent);
|
|
}
|
|
|
|
.edit-actions { display: flex; gap: 8px; }
|
|
|
|
/* ===========================================================================
|
|
Statistik
|
|
=========================================================================== */
|
|
|
|
.stats-pick {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
.stats-pick .field-label {
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.stats-select {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-input);
|
|
color: var(--text);
|
|
font: inherit;
|
|
padding: 7px 10px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.stats-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.stats-table th,
|
|
.stats-table td {
|
|
border: 2px solid var(--border);
|
|
padding: 8px 12px;
|
|
text-align: left;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.stats-table th { background: var(--bg-subtle); font-weight: 700; }
|
|
|
|
.stats-table td.num,
|
|
.stats-table th.num { font-family: var(--font-data); text-align: right; }
|
|
|
|
.stats-bar-cell {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.stats-bar {
|
|
display: inline-block;
|
|
height: 10px;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.delta-pos { color: var(--ok); font-family: var(--font-data); }
|
|
.delta-neg { color: var(--danger); font-family: var(--font-data); }
|
|
.delta-zero { color: var(--muted); font-family: var(--font-data); }
|
|
|
|
/* ===========================================================================
|
|
Daten / Einstellungen
|
|
=========================================================================== */
|
|
|
|
.data-section { border: 2px solid var(--border); margin: 0 0 16px; }
|
|
|
|
.data-section h3 {
|
|
padding: 8px 12px;
|
|
border-bottom: 2px solid var(--border);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.data-section .data-body { padding: 12px; }
|
|
|
|
.data-section p { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
|
|
|
|
.data-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
|
|
|
|
.form-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.form-row input { flex: 1 1 0; min-width: 140px; }
|
|
|
|
.form-row .btn { flex-shrink: 0; }
|
|
|
|
.file-input {
|
|
max-width: 240px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.import-result {
|
|
margin: 8px 0 0;
|
|
font-size: 13px;
|
|
color: var(--ok);
|
|
}
|
|
|
|
.import-result.is-error { color: var(--danger); }
|
|
|
|
/* Einstellungen */
|
|
|
|
.toggle-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
padding: 10px 0;
|
|
cursor: pointer;
|
|
border-bottom: 2px solid var(--border);
|
|
}
|
|
|
|
.toggle-row:last-child { border-bottom: 0; }
|
|
|
|
.toggle-input {
|
|
width: 22px;
|
|
height: 22px;
|
|
margin: 2px 0 0;
|
|
accent-color: var(--accent);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toggle-text { display: flex; flex-direction: column; gap: 2px; }
|
|
.toggle-text strong { font-weight: 600; }
|
|
.toggle-text .muted { font-size: 12px; }
|
|
|
|
.user-list {
|
|
list-style: none;
|
|
margin: 0 0 10px;
|
|
padding: 0;
|
|
}
|
|
|
|
.user-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
padding: 6px 10px;
|
|
border: 2px solid var(--border);
|
|
margin: 0 0 6px;
|
|
}
|
|
|
|
.user-row .muted {
|
|
margin-left: auto;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.user-row .pw-reset {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin: 0 0 0 auto;
|
|
}
|
|
|
|
.accent-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin: 0 0 6px;
|
|
}
|
|
|
|
.accent-swatch {
|
|
width: 30px;
|
|
height: 30px;
|
|
border: 2px solid var(--border);
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.accent-swatch:hover { border-color: var(--border-hover); }
|
|
|
|
.accent-swatch.is-active {
|
|
border-color: var(--text);
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* ===========================================================================
|
|
Anmeldung (Auth-Gate)
|
|
=========================================================================== */
|
|
|
|
body.no-auth .topbar,
|
|
body.no-auth main { display: none; }
|
|
|
|
body.boot .topbar,
|
|
body.boot main,
|
|
body.boot .auth-gate,
|
|
body.boot #setup-gate { visibility: hidden; }
|
|
|
|
.auth-gate {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 300;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.auth-gate[hidden] { display: none; }
|
|
|
|
.auth-box {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
width: 640px;
|
|
max-width: calc(100vw - 32px);
|
|
padding: 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: left;
|
|
}
|
|
|
|
#setup-gate .auth-box {
|
|
height: 600px;
|
|
max-height: calc(100vh - 48px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wizard-body {
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.auth-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.auth-title {
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
margin: 0;
|
|
}
|
|
|
|
.auth-sub {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
margin: 0 0 24px;
|
|
}
|
|
|
|
.auth-form { margin: 0 0 14px; }
|
|
|
|
.auth-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
margin: 0 0 16px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.auth-field input {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-input);
|
|
color: var(--text);
|
|
font: inherit;
|
|
padding: 7px 10px;
|
|
}
|
|
|
|
.auth-field input:focus { border-color: var(--accent); outline: 0; }
|
|
|
|
.auth-box .picker-label { margin: 0 0 12px; }
|
|
|
|
.auth-box .day-picker { gap: 12px; margin-bottom: 20px; }
|
|
|
|
.auth-form { margin: 0 0 18px; }
|
|
|
|
.auth-register {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-subtle);
|
|
padding: 8px 12px;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.auth-error {
|
|
border: 2px solid var(--danger);
|
|
background: var(--bg-subtle);
|
|
color: var(--danger);
|
|
padding: 8px 12px;
|
|
font-size: 13px;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.auth-error[hidden] { display: none; }
|
|
|
|
.wizard-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
margin: 24px 0 10px;
|
|
}
|
|
|
|
.user-row.muted-only {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Ersteinrichtung: zwei gleichwertige Optionen */
|
|
|
|
.setup-option {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
padding: 18px 20px;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.setup-option:hover { border-color: var(--border-hover); background: var(--bg-hover); }
|
|
|
|
.setup-option.is-active {
|
|
border-color: var(--accent);
|
|
background: var(--bg-subtle);
|
|
}
|
|
|
|
.setup-option.is-active strong { color: var(--text); }
|
|
.setup-option.is-active .setup-option-desc { color: var(--text); }
|
|
|
|
.setup-options {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 16px;
|
|
margin: 0 0 22px;
|
|
}
|
|
|
|
.setup-options .setup-option { height: 100%; }
|
|
|
|
.wizard-nav {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: space-between;
|
|
margin-top: auto;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.wizard-nav-right {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.wizard-progress {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wp-step {
|
|
width: 40px;
|
|
height: 6px;
|
|
border: 2px solid var(--border);
|
|
background: transparent;
|
|
}
|
|
|
|
.wp-step.is-done {
|
|
border-color: var(--accent);
|
|
background: var(--accent);
|
|
}
|
|
|
|
.wp-step.is-current {
|
|
border-color: var(--accent);
|
|
background: transparent;
|
|
}
|
|
|
|
button:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.divider {
|
|
border-top: 2px solid var(--border);
|
|
margin: 14px 0;
|
|
}
|
|
|
|
.settings-select-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
margin: 0 0 10px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.setup-option strong {
|
|
display: block;
|
|
font-weight: 700;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.setup-option .setup-option-desc {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* ===========================================================================
|
|
Overlay (Uebungs-Erklaerung)
|
|
=========================================================================== */
|
|
|
|
.overlay-root {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 100;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.overlay-root[hidden] { display: none; }
|
|
|
|
.overlay-box {
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
max-width: 560px;
|
|
max-height: 80%;
|
|
overflow: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.overlay-box h3 {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.overlay-info {
|
|
margin: 0 0 16px;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.tag-chip {
|
|
display: inline-block;
|
|
border: 2px solid var(--border);
|
|
padding: 2px 10px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
margin: 0 4px 12px 0;
|
|
}
|
|
|
|
.overlay-box .btn { margin-top: 14px; }
|
|
|
|
/* ===========================================================================
|
|
Toast
|
|
=========================================================================== */
|
|
|
|
.toast {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: 24px;
|
|
transform: translateX(-50%);
|
|
z-index: 200;
|
|
border: 2px solid var(--border);
|
|
background: var(--bg-panel);
|
|
color: var(--text);
|
|
padding: 10px 18px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.toast[hidden] { display: none; }
|
|
.toast.is-error { border-color: var(--danger); color: var(--danger); }
|
|
.toast.is-ok { border-color: var(--ok); color: var(--ok); }
|
|
.toast.is-accent { border-color: var(--accent); color: var(--accent); } |