Termin aus Mail, Rollen & Rechte, Abwesenheiten, Glas-Darstellung und Pi-Betrieb
- Termin aus Mail: Mailtext oder .eml per Drag & Drop/Strg+V auf Terminplan oder Aufgaben, KI schlägt Aufgaben vor, Prüfung im Aufgaben-Panel; neues Notizfeld je Aufgabe (plan_todos.notiz) - Terminplan: Meilensteine ohne Aufgabenbezug je in eigener Zeile, "+ Neu"-Menü klappt neben schmaler Seitenleiste nach rechts, Leistungsphasen - Rollen & Rechte, Abwesenheiten-Seite, Benachrichtigungen, Rundgang - Glas-Darstellung, Logo als Favicon - Pi-Betrieb: PDF-Arbeit im Kindprozess, Wächter, Einrichtungs- und Prüfskript inkl. WLAN-Wächter Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f4fb3c550b
commit
b7e0bd0d92
56 files changed
+12265
-2974
No files matched your search
+798
-59
@@ -33,6 +33,7 @@
|
||||
Kontrast 4,4 : 1 und bliebe damit unter den 4,5 : 1 für normalen Text). */
|
||||
--band-neu: #0071e3;
|
||||
--band-fortschritt: #22823a;
|
||||
--meilenstein: #7a3fb8;
|
||||
|
||||
/* Gelbe Markierung neu hinzugekommener Protokoll-Punkte — bewusst eigenes
|
||||
Token statt --band-neu (dort blau, bedeutet "neu kommentiertes Projekt"
|
||||
@@ -108,6 +109,11 @@ body {
|
||||
}
|
||||
|
||||
.container { padding: 20px 24px; }
|
||||
/* Das hidden-Attribut muss immer gewinnen. Regeln wie button.menu-item
|
||||
{ display:inline-flex } überstimmten sonst die Browser-Vorgabe, und z. B.
|
||||
"+ Neues Projekt" blieb für Mitglieder sichtbar, obwohl renderUserBar()
|
||||
es per hidden ausblendet. */
|
||||
[hidden] { display: none !important; }
|
||||
|
||||
/* === App-Shell: globales Menüband oben + linke Navigations-Sidebar +
|
||||
Hauptbereich (OpenProject-Anordnung: ein durchgehendes globales Menüband
|
||||
@@ -313,6 +319,11 @@ button.menu-item:hover { background: var(--surface-sunk); }
|
||||
gap: 2px;
|
||||
padding: 12px;
|
||||
}
|
||||
/* Kein Eintrag darf schrumpfen: Reicht die Höhe nicht (z. B. Admin
|
||||
aufgeklappt), scrollt .sidebar-nav. Ohne das stauchte die Flex-Spalte das
|
||||
zuletzt aufgeklappte Untermenü (overflow: hidden → Mindesthöhe 0) auf 0 px
|
||||
— „Werkzeuge“ ließ sich bei offenem Admin scheinbar nicht aufklappen. */
|
||||
.sidebar-nav > * { flex-shrink: 0; }
|
||||
|
||||
.sidebar-collapse-bar {
|
||||
flex-shrink: 0;
|
||||
@@ -458,7 +469,7 @@ html[data-theme="dark"] body.wandtafel-aktiv {
|
||||
|
||||
/* ===== Kopf: Marke "Dashboard" + Sitzung/Uhrzeit + Abwesend-Mini ===== */
|
||||
.dash-kopf { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
|
||||
.dash-marke { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 19px; color: var(--dash-ink); }
|
||||
.dash-marke { font-family: 'Outfit', -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 19px; color: var(--dash-ink); }
|
||||
.dash-kopf-rechts { display: flex; align-items: center; gap: 14px; }
|
||||
.dash-datum { font-size: 12.5px; color: var(--dash-text-muted); background: var(--dash-panel-3); padding: 4px 12px; border-radius: var(--r-pill); }
|
||||
.dash-abwesend-mini { display: flex; }
|
||||
@@ -481,7 +492,7 @@ html[data-theme="dark"] body.wandtafel-aktiv {
|
||||
.dash-kpi.ist-klickbar { cursor: pointer; }
|
||||
.dash-kpi.ist-klickbar:hover { filter: brightness(.96); }
|
||||
.dash-kpi-label { font-size: 11px; font-weight: 700; color: var(--dash-text-muted); margin-bottom: 8px; }
|
||||
.dash-kpi-wert { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 32px; color: var(--dash-ink); font-variant-numeric: tabular-nums; }
|
||||
.dash-kpi-wert { font-family: 'Outfit', -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 32px; color: var(--dash-ink); font-variant-numeric: tabular-nums; }
|
||||
.dash-kpi-wert.ok { color: var(--dash-ink); }
|
||||
.dash-kpi-wert.info { color: var(--dash-ink-soft); }
|
||||
.dash-kpi-wert.warn { color: var(--dash-warn); }
|
||||
@@ -514,7 +525,7 @@ html[data-theme="dark"] body.wandtafel-aktiv {
|
||||
.wand-meter-leer { font-size: 12px; color: var(--dash-text-subtle); padding-left: 4px; }
|
||||
.wand-meter-wert {
|
||||
flex: 0 0 76px; text-align: right; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums;
|
||||
font-family: 'Fredoka', sans-serif; color: var(--dash-ink);
|
||||
font-family: 'Outfit', -apple-system, system-ui, sans-serif; color: var(--dash-ink);
|
||||
}
|
||||
.wand-einheit { font-size: 11px; font-weight: 400; color: var(--dash-text-subtle); margin-left: 2px; }
|
||||
.wand-leer-klein { font-size: 11.5px; color: var(--dash-text-subtle); }
|
||||
@@ -549,7 +560,7 @@ html[data-theme="dark"] body.wandtafel-aktiv {
|
||||
box-shadow: var(--sh-2); padding: 20px 24px; color: var(--dash-text);
|
||||
}
|
||||
.wand-uebersicht-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; flex-shrink: 0; }
|
||||
.wand-uebersicht-kopf h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; font-family: 'Fredoka', sans-serif; }
|
||||
.wand-uebersicht-kopf h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; font-family: 'Outfit', -apple-system, system-ui, sans-serif; }
|
||||
.wand-uebersicht-liste { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; }
|
||||
.wand-uebersicht-zeile {
|
||||
display: flex; align-items: center; gap: 18px; padding: 13px 6px; border-top: 1px solid var(--dash-line);
|
||||
@@ -778,9 +789,10 @@ button.active {
|
||||
}
|
||||
|
||||
.sidebar-subnav.open {
|
||||
/* Reicht für die längste Gruppe („Einstellungen", sieben Punkte); die
|
||||
Animation läuft über max-height, deshalb steht hier eine feste Zahl. */
|
||||
max-height: 360px;
|
||||
/* Reicht für die längste Gruppe (Admin, zwölf Punkte); die Animation
|
||||
läuft über max-height, deshalb steht hier eine feste Zahl. 360px
|
||||
schnitt seit „Rollen & Rechte“ die letzten Admin-Punkte ab. */
|
||||
max-height: 640px;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -1041,6 +1053,11 @@ tr:nth-child(even) td { background: var(--surface-alt); }
|
||||
width: 22px; height: 20px; border-radius: 4px; font-size: 11px; font-weight: 700; cursor: pointer; line-height: 1;
|
||||
}
|
||||
.richtext-btn:hover { background: var(--surface-alt); color: var(--text); }
|
||||
/* "Standard": setzt die Formatierung zurück — Text statt Symbol, ein
|
||||
Radiergummi-Zeichen wäre missverständlich. Bleibt auch ohne Markierung
|
||||
voll sichtbar, weil er dann den ganzen Text zurücksetzt. */
|
||||
.richtext-btn.richtext-btn-loeschen { width: auto; padding: 0 6px; font-weight: 600; }
|
||||
.richtext-toolbar:not(.hat-auswahl) .richtext-btn.richtext-btn-loeschen { opacity: 1; }
|
||||
.richtext-divider { width: 1px; height: 14px; background: var(--line); flex-shrink: 0; }
|
||||
.richtext-farben { display: inline-flex; gap: 6px; }
|
||||
.richtext-farbe-btn {
|
||||
@@ -2577,6 +2594,8 @@ input[type=text].edit-name:focus {
|
||||
Logo-Blau selbst (dasselbe #116896 wie am Dashboard). */
|
||||
--band-neu: #116896;
|
||||
--band-fortschritt: #1f7a4f;
|
||||
--meilenstein: #c19cf0;
|
||||
--meilenstein: #c19cf0;
|
||||
|
||||
--protokoll-neu-bg: rgba(255,214,10,.14);
|
||||
--protokoll-neu-border: #ffd60a;
|
||||
@@ -2908,10 +2927,11 @@ html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: rgba(255,2
|
||||
}
|
||||
|
||||
.gantt-label {
|
||||
width: 220px;
|
||||
flex: 0 0 220px;
|
||||
min-width: 220px;
|
||||
max-width: 220px;
|
||||
/* Breite per Griff veränderbar (ganttSpalteZiehen(), js/gantt.js). */
|
||||
width: var(--gantt-label-w, 220px);
|
||||
flex: 0 0 var(--gantt-label-w, 220px);
|
||||
min-width: var(--gantt-label-w, 220px);
|
||||
max-width: var(--gantt-label-w, 220px);
|
||||
height: 100%;
|
||||
align-self: stretch;
|
||||
box-sizing: border-box;
|
||||
@@ -3120,10 +3140,6 @@ html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: rgba(255,2
|
||||
.gantt-bar.todo.done {
|
||||
background: var(--green);
|
||||
}
|
||||
.gantt-bar.todo.critical {
|
||||
background: var(--red);
|
||||
box-shadow: 0 0 0 2px rgba(215,0,21,.25);
|
||||
}
|
||||
.gantt-todo-add-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -4165,14 +4181,22 @@ tr.is-menu-open { background: var(--surface-alt); }
|
||||
|
||||
/* Der Kommentar wird auf sechs Zeilen begrenzt, damit alle Kacheln einer
|
||||
Schiene gleich hoch bleiben; der vollständige Text steht im Tooltip. */
|
||||
/* Formatierter Kommentar (Absätze als <div>/<br>): statt line-clamp, das
|
||||
mit Block-Kindern nicht greift, eine Höhe von sechs Zeilen. */
|
||||
.timeline-text {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 6;
|
||||
-webkit-box-orient: vertical;
|
||||
max-height: calc(1.45em * 6);
|
||||
overflow: hidden;
|
||||
overflow-wrap: anywhere;
|
||||
line-height: 1.45;
|
||||
min-height: 3em;
|
||||
}
|
||||
.timeline-text p { margin: 0; }
|
||||
/* Gewerk über dem Kommentar: Systemtext, nicht Teil des Kommentars. */
|
||||
.kommentar-gewerk {
|
||||
font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
|
||||
color: var(--text-subtle); margin-top: 4px;
|
||||
}
|
||||
.kommentar-gewerk:first-child { margin-top: 0; }
|
||||
.timeline-leer { color: var(--text-muted); font-style: italic; }
|
||||
|
||||
.timeline-lph-list { display: flex; flex-direction: column; gap: 1px; }
|
||||
@@ -4456,11 +4480,11 @@ tr.is-menu-open { background: var(--surface-alt); }
|
||||
.bericht-rail-dot.is-progress { background: var(--band-fortschritt); }
|
||||
.bericht-rail-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
/* max-width: die Hauptspalte bleibt eine schmale Lesespalte statt bis zum
|
||||
rechten Rand zu laufen — Teil der Fokus-Idee, nicht nur die Nebeninfos
|
||||
wegzuklappen, sondern auch dem Kommentar selbst keine unnötige Breite zu
|
||||
geben. */
|
||||
.bericht-main { padding: 26px 36px 30px; max-width: 640px; min-width: 0; }
|
||||
/* Keine Breitenbegrenzung: Die Hauptspalte nutzt die ganze Bildschirmbreite
|
||||
neben der Leiste (Eriks Wunsch). Früher hielt max-width: 640px sie als
|
||||
schmale Lesespalte — auf breiten Monitoren blieb dabei die halbe Fläche
|
||||
leer. */
|
||||
.bericht-main { padding: 26px 36px 30px; min-width: 0; }
|
||||
|
||||
.bericht-head-line { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
|
||||
.bericht-head-nr {
|
||||
@@ -4480,36 +4504,64 @@ tr.is-menu-open { background: var(--surface-alt); }
|
||||
color: var(--amber); font-size: 12px; margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* Scrollrad über dem Kommentar-Eingabefeld: "Was hatten wir letzte Woche
|
||||
vereinbart?" ist die häufigste Frage im Meeting - stand bis hierhin als
|
||||
starre Einzeile mit nur der unmittelbaren Vorwoche da. Erik wollte mit dem
|
||||
Mausrad durch MEHRERE vergangene Kommentare blättern können
|
||||
(renderVorwocheRad(), js/wochenbericht/wochenbericht.js), nicht nur die
|
||||
eine Vorwoche sehen - die Quelle ist derselbe, bereits geprüfte Verlauf wie
|
||||
im Verlaufs-Dialog (projectStatusHistory(), js/utils.js). */
|
||||
.bericht-vorwoche-rad {
|
||||
display: flex; align-items: center; gap: 8px; background: var(--surface-sunk);
|
||||
border-radius: var(--r-md); padding: 7px 9px; margin-bottom: 14px; cursor: ns-resize;
|
||||
/* Verlauf der Vorwochen im Wochenbericht (Eriks Wahl "B"): oben die
|
||||
schmale Zeile "Zuletzt KW …" (renderBerichtZuletzt()), unter der
|
||||
Bearbeitungsmaske die Zeitleiste über die volle Breite
|
||||
(renderBerichtVerlauf(), js/wochenbericht/wochenbericht.js) — dieselbe
|
||||
Bildsprache wie der Verlauf im Projekt-Dashboard (.plan-verlauf-*). */
|
||||
.bericht-zuletzt {
|
||||
background: var(--surface-sunk); border-radius: var(--r-md);
|
||||
padding: 8px 12px; margin-bottom: 14px; font-size: 12.5px; line-height: 1.5; color: var(--text-muted);
|
||||
}
|
||||
.bericht-vorwoche-nav {
|
||||
width: 22px; height: 22px; border: none; background: none; border-radius: 50%;
|
||||
color: var(--text-muted); cursor: pointer; font-size: 13px; flex-shrink: 0;
|
||||
display: flex; align-items: center; justify-content: center; font-family: inherit;
|
||||
.bericht-zuletzt-kw { display: block; font-size: 11px; font-weight: 650; color: var(--text); margin-bottom: 2px; }
|
||||
/* Lange Kommentare nicht endlos: höchstens fünf Zeilen, der Rest steht im Verlauf. */
|
||||
.bericht-zuletzt-text { max-height: calc(1.5em * 5); overflow: hidden; overflow-wrap: anywhere; }
|
||||
.bericht-zuletzt-text p { margin: 0; }
|
||||
|
||||
.bericht-verlauf { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
|
||||
.bv-kopf { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
|
||||
.bv-titel { font-size: 15px; font-weight: 650; margin: 0; color: var(--text); }
|
||||
.bv-anzahl { font-size: 12px; color: var(--text-subtle); }
|
||||
.bv-mehr, .bv-uebernehmen {
|
||||
border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 600;
|
||||
color: var(--accent); cursor: pointer; padding: 4px 8px; border-radius: var(--r-md);
|
||||
}
|
||||
.bericht-vorwoche-nav:hover:not(:disabled) { background: var(--surface); color: var(--text); }
|
||||
.bericht-vorwoche-nav:disabled { opacity: .3; cursor: default; }
|
||||
.bericht-vorwoche-inhalt { flex: 1; min-width: 0; }
|
||||
.bericht-vorwoche-label {
|
||||
display: block; font-weight: 600; color: var(--text-subtle);
|
||||
text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; margin-bottom: 3px;
|
||||
.bv-mehr:hover, .bv-uebernehmen:hover { background: var(--surface-alt); }
|
||||
.bv-liste { list-style: none; margin: 0; padding: 0; }
|
||||
.bv-zeile {
|
||||
display: grid; grid-template-columns: 120px 14px minmax(0, 1fr) minmax(0, 220px) auto;
|
||||
column-gap: 14px; align-items: start; padding: 10px 0;
|
||||
}
|
||||
.bericht-vorwoche-text {
|
||||
color: var(--text-muted); font-size: 12px; display: block;
|
||||
overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
||||
.bv-kw { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
|
||||
.bv-kw b { font-size: 13px; color: var(--text); }
|
||||
.bv-kw span { font-size: 11.5px; color: var(--text-subtle); }
|
||||
/* Punkt und Linie: die Linie läuft von Punkt zu Punkt über den Zeilenabstand */
|
||||
.bv-punkt { position: relative; align-self: stretch; }
|
||||
.bv-punkt::before {
|
||||
content: ""; position: absolute; left: 1px; top: 4px; width: 12px; height: 12px;
|
||||
border-radius: 50%; box-sizing: border-box; border: 2px solid var(--accent); background: var(--surface); z-index: 1;
|
||||
}
|
||||
.bv-zeile.ist-juengster .bv-punkt::before { background: var(--accent); }
|
||||
.bv-punkt::after {
|
||||
content: ""; position: absolute; left: 6px; top: 16px; bottom: -14px; width: 2px; background: var(--line);
|
||||
}
|
||||
.bv-zeile:last-child .bv-punkt::after { display: none; }
|
||||
.bv-inhalt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
|
||||
.bv-text { font-size: 13.5px; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; }
|
||||
.bv-text p { margin: 0; }
|
||||
.bv-ruhe { font-size: 11.5px; color: var(--text-subtle); }
|
||||
.bv-chips { display: flex; flex-wrap: wrap; gap: 4px; }
|
||||
.bv-chip {
|
||||
font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap;
|
||||
background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent);
|
||||
}
|
||||
.bv-uebernehmen { justify-self: end; }
|
||||
@media (max-width: 1100px) {
|
||||
.bv-zeile { grid-template-columns: 76px 14px minmax(0, 1fr); row-gap: 6px; }
|
||||
.bv-chips, .bv-uebernehmen { grid-column: 3; }
|
||||
.bv-uebernehmen { justify-self: start; padding-left: 0; }
|
||||
.bv-chips:empty { display: none; }
|
||||
}
|
||||
.bericht-vorwoche-dots { display: flex; flex-direction: column; gap: 3px; flex-shrink: 0; }
|
||||
.bericht-vorwoche-dots .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
|
||||
.bericht-vorwoche-dots .dot.aktiv { background: var(--accent); }
|
||||
|
||||
.bericht-detail-fuss { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
|
||||
.bericht-fuss-spacer { flex: 1; }
|
||||
@@ -4685,16 +4737,12 @@ tr.is-menu-open { background: var(--surface-alt); }
|
||||
color: var(--amber);
|
||||
}
|
||||
|
||||
.auftrag-select {
|
||||
font-size: 12px;
|
||||
padding: 3px 8px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--r-sm);
|
||||
background: var(--surface);
|
||||
color: var(--text);
|
||||
max-width: 100%;
|
||||
}
|
||||
.auftrag-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
||||
/* .auftrag-select steht nur noch in den Projekteinstellungen und sieht dort
|
||||
aus wie jedes andere Auswahlfeld (Gruppe direkt darunter): Größe, Rahmen
|
||||
und Pfeil kommen aus der allgemeinen select-Regel. Die frühere kompakte
|
||||
Fassung setzte `background:` als Kurzform und löschte damit den Pfeil —
|
||||
das Feld wirkte wie ein loses Etikett statt wie eine Auswahl. */
|
||||
.auftrag-select { width: 100%; }
|
||||
|
||||
/* ===========================================================
|
||||
Ein Ort je Angabe — Anzeige statt Eingabe
|
||||
@@ -5433,3 +5481,694 @@ html[data-theme="dark"] .login-tage li.ist-heute span, html[data-theme="dark"] .
|
||||
.login-wasserzeichen { width: 260vw; top: 0; transform: translate(-30%, -10%); }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) { .login-woche { animation: none; } .login-spinner { animation: none; } }
|
||||
|
||||
/* ---------- Dashboard: Meine Projekte + Monatskalender (Entwurf B) ---------- */
|
||||
.dash-zonen { grid-template-columns: minmax(0, 1fr) 340px; }
|
||||
.dash-proj { margin-bottom: 10px; }
|
||||
.dash-proj-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 12px 16px 4px; }
|
||||
.dash-proj-kopf { align-items: center; padding-bottom: 10px; }
|
||||
.dash-proj.ist-zu .dash-proj-kopf { padding-top: 10px; }
|
||||
.dash-proj-toggle { flex: 1 1 260px; min-width: 0; display: flex; align-items: baseline; gap: 0; padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
|
||||
.dash-proj-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }
|
||||
.dash-proj-titel { font-weight: 650; font-size: 14px; }
|
||||
/* Die allgemeine Knopfregel (button:hover → Akzentfläche, :active →
|
||||
Stauchen) ist spezifischer als eine einzelne Klasse und färbte den
|
||||
Projektkopf beim Zeigen blau ein — der Titel verschwand darin. Diese
|
||||
Knöpfe sind Textschalter, keine Aktionsknöpfe: Sie bekommen eine eigene,
|
||||
ruhige Rückmeldung (Kopfzeile hellt auf, Pfeil und Titel in Akzentfarbe). */
|
||||
button.dash-proj-toggle, button.dash-proj-toggle:hover, button.dash-proj-toggle:active,
|
||||
button.dash-proj-alle, button.dash-proj-alle:hover, button.dash-proj-alle:active {
|
||||
background: none; transform: none; box-shadow: none;
|
||||
}
|
||||
button.dash-kal-nav:hover { background: var(--surface-sunk); }
|
||||
button.dash-kal-nav:active, button.dash-kal-tag:active { transform: none; }
|
||||
.dash-proj-kopf, .dash-proj-sub { transition: background var(--dur, 150ms) var(--ease-out, ease); }
|
||||
.dash-proj:has(.dash-proj-toggle:hover) .dash-proj-kopf,
|
||||
.dash-proj:has(.dash-proj-toggle:hover) .dash-proj-sub { background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
|
||||
.dash-proj-toggle:hover .dash-proj-titel,
|
||||
.dash-proj-toggle:hover .dash-proj-chev { color: var(--accent); }
|
||||
button.dash-proj-alle:hover { text-decoration: underline; }
|
||||
.dash-proj-chev { display: inline-block; width: 16px; margin-right: 6px; font-size: 17px; line-height: 1; text-align: center; color: var(--text-subtle); transform: rotate(90deg); transition: transform var(--dur, 150ms) var(--ease-out, ease); }
|
||||
.dash-proj.ist-zu .dash-proj-chev { transform: rotate(0deg); }
|
||||
.dash-proj.ist-zu .dash-proj-inhalt { display: none; }
|
||||
.dash-proj-kurz { display: none; gap: 6px; }
|
||||
.dash-proj.ist-zu .dash-proj-kurz { display: flex; }
|
||||
.dash-proj-zahl { font-size: 10.5px; padding: 1px 7px; border-radius: var(--r-pill); background: var(--surface-sunk); color: var(--text-muted); white-space: nowrap; }
|
||||
.dash-proj-zahl.ist-rot { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); font-weight: 600; }
|
||||
.dash-proj-oeffnen { font-size: 11.5px; color: var(--accent); text-decoration: none; }
|
||||
.dash-proj-oeffnen:hover { text-decoration: underline; }
|
||||
.dash-proj-alle { margin-left: auto; padding: 2px 4px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 11.5px; cursor: pointer; }
|
||||
@media (prefers-reduced-motion: reduce) { .dash-proj-chev { transition: none; } }
|
||||
.dash-proj-nr { font-family: ui-monospace, 'SF Mono', monospace; font-size: 11px; color: var(--text-subtle); font-weight: 500; margin-right: 8px; }
|
||||
.dash-rollen { display: flex; gap: 4px; flex-wrap: wrap; }
|
||||
.dash-rolle { font-size: 10.5px; font-weight: 600; padding: 1px 8px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); }
|
||||
.dash-rolle.ist-neben { background: transparent; border: 1px dashed var(--line); color: var(--text-muted); }
|
||||
.dash-proj-sub { padding: 2px 16px 8px; }
|
||||
.dash-proj-phase { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-muted); max-width: 320px; }
|
||||
.dash-proj-phase .dash-auf-bar i { background: var(--green); }
|
||||
.dash-proj-phase.is-leer { color: var(--text-subtle); }
|
||||
.dash-proj-termine { border-top: 1px solid var(--line-soft); }
|
||||
.dash-proj-mehr { display: block; padding: 8px 16px; font-size: 11.5px; color: var(--accent); text-decoration: none; border-top: 1px solid var(--line-soft); }
|
||||
.dash-termin { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-bottom: 1px solid var(--line-soft); color: inherit; text-decoration: none; }
|
||||
.dash-termin:last-child { border-bottom: none; }
|
||||
a.dash-termin:hover { background: var(--surface-sunk); }
|
||||
.dash-termin-art { flex: 0 0 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--surface-sunk); color: var(--text-muted); }
|
||||
.dash-termin-art.ist-meins { background: var(--accent-soft); color: var(--accent); }
|
||||
.dash-termin-art.ist-ms { background: color-mix(in srgb, var(--meilenstein) 14%, transparent); color: var(--meilenstein); }
|
||||
.dash-termin-text { flex: 1; min-width: 0; }
|
||||
.dash-termin-titel { display: block; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.dash-termin-meta { display: block; font-size: 11px; color: var(--text-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.dash-termin-datum { flex: 0 0 auto; text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
|
||||
.dash-termin-datum em { display: block; font-style: normal; font-size: 10.5px; color: var(--text-subtle); }
|
||||
.dash-termin-datum.ist-ueberfaellig, .dash-termin-datum.ist-ueberfaellig em { color: var(--red); }
|
||||
.dash-termin-datum.ist-bald { color: var(--amber); }
|
||||
.dash-kal { padding: 12px 14px 10px; }
|
||||
.dash-kal-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
|
||||
.dash-kal-kopf b { font-size: 13.5px; }
|
||||
.dash-kal-nav { width: 26px; height: 26px; padding: 0; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: var(--r-sm); cursor: pointer; }
|
||||
.dash-kal-raster { display: grid; grid-template-columns: 26px repeat(7, 1fr); gap: 2px; font-variant-numeric: tabular-nums; }
|
||||
.dash-kal-wt { font-size: 10.5px; color: var(--text-subtle); text-align: center; padding-bottom: 4px; }
|
||||
.dash-kal-kw { font-size: 10px; color: var(--text-subtle); display: grid; place-items: center; }
|
||||
.dash-kal-tag { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--text); font: inherit; font-size: 12.5px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
|
||||
.dash-kal-tag:hover { background: var(--surface-sunk); }
|
||||
.dash-kal-tag.ist-fremd, .dash-kal-tag.ist-frei { color: var(--text-subtle); }
|
||||
.dash-kal-tag.ist-heute { color: var(--accent); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--accent); }
|
||||
.dash-kal-tag.ist-gewaehlt { background: var(--accent); color: var(--surface); }
|
||||
.dash-kal-tag:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
||||
.dash-kal-punkte { display: flex; gap: 2px; height: 5px; }
|
||||
.dash-kal-punkte i, .dash-kal-legende i { width: 5px; height: 5px; border-radius: 50%; display: inline-block; background: var(--accent); }
|
||||
.dash-kal-legende i { width: 7px; height: 7px; }
|
||||
i.ist-fremd { background: color-mix(in srgb, var(--accent) 45%, transparent); }
|
||||
i.ist-ms { background: var(--meilenstein); }
|
||||
i.ist-rot { background: var(--red); }
|
||||
i.ist-ab { background: var(--text-subtle); }
|
||||
.dash-kal-tag.ist-gewaehlt .dash-kal-punkte i { background: currentColor; }
|
||||
.dash-kal-legende { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 10.5px; color: var(--text-muted); }
|
||||
.dash-kal-legende span { display: flex; align-items: center; gap: 5px; }
|
||||
.dash-kal-liste { border-top: 1px solid var(--line-soft); }
|
||||
.dash-kal-liste-titel { padding: 10px 16px 4px; font-size: 11.5px; font-weight: 600; color: var(--text-muted); }
|
||||
.dash-kal-hinweis { padding: 2px 16px 6px; font-size: 11.5px; color: var(--amber); }
|
||||
.dash-kal-liste .dash-termin { padding: 7px 16px; }
|
||||
|
||||
/* Griff zum Ändern der Spaltenbreite im GANTT (js/gantt.js). Ein breiter,
|
||||
unsichtbarer Greifbereich über der Spaltengrenze; sichtbar wird er erst
|
||||
beim Zeigen und Ziehen, wie die Spaltengrenze in Excel. */
|
||||
.gantt-spalten-griff {
|
||||
position: absolute; top: 0; right: -4px; width: 9px; height: 100%;
|
||||
cursor: col-resize; z-index: 20; touch-action: none;
|
||||
}
|
||||
.gantt-spalten-griff::after {
|
||||
content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: 3px;
|
||||
border-radius: 2px; background: var(--accent); opacity: 0; transition: opacity .15s;
|
||||
}
|
||||
.gantt-spalten-griff:hover::after,
|
||||
.gantt-spalte-zieht .gantt-spalten-griff::after { opacity: .7; }
|
||||
.gantt-spalte-zieht, .gantt-spalte-zieht * { cursor: col-resize !important; user-select: none !important; }
|
||||
|
||||
/* ---------- Glocke: Benachrichtigungen (js/benachrichtigungen.js) ---------- */
|
||||
.glocke { position: relative; }
|
||||
#glockeBtn { position: relative; }
|
||||
#glockeBtn.hat-neue { color: var(--accent); }
|
||||
.glocke-zahl {
|
||||
position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px;
|
||||
border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
|
||||
line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--bg);
|
||||
}
|
||||
.glocke-menue {
|
||||
position: absolute; right: 0; top: calc(100% + 8px); z-index: 260;
|
||||
width: min(360px, calc(100vw - 32px)); max-height: min(520px, 70vh); overflow: auto;
|
||||
background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
|
||||
box-shadow: var(--sh-3);
|
||||
}
|
||||
.glocke-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 8px; position: sticky; top: 0; background: inherit; }
|
||||
.glocke-kopf b { font-size: 13px; }
|
||||
.glocke-alle { padding: 2px 4px; border: 0; background: none !important; color: var(--accent); font: inherit; font-size: 11.5px; cursor: pointer; box-shadow: none !important; }
|
||||
.glocke-alle:hover { text-decoration: underline; }
|
||||
.glocke-leer { padding: 10px 14px 16px; font-size: 12.5px; color: var(--text-subtle); line-height: 1.5; }
|
||||
.glocke-eintrag {
|
||||
display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 10px 14px;
|
||||
border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; background: none; color: var(--text);
|
||||
font: inherit; text-align: left; cursor: pointer; box-shadow: none;
|
||||
}
|
||||
.glocke-eintrag:hover { background: var(--surface-sunk); }
|
||||
.glocke-eintrag:active { transform: none; }
|
||||
.glocke-punkt { flex: 0 0 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: transparent; }
|
||||
.glocke-eintrag.ist-neu .glocke-punkt { background: var(--accent); }
|
||||
.glocke-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
|
||||
.glocke-titel { font-size: 13px; font-weight: 500; }
|
||||
.glocke-eintrag.ist-neu .glocke-titel { font-weight: 650; }
|
||||
.glocke-meta { font-size: 11px; color: var(--text-subtle); }
|
||||
.dash-neu .glocke-eintrag:first-child { border-top: 0; }
|
||||
#dashNeu:empty { display: none; }
|
||||
/* Löschen je Benachrichtigung: Zeile = Öffnen-Knopf + ×. */
|
||||
.glocke-zeile { display: flex; align-items: stretch; border-top: 1px solid var(--line-soft); }
|
||||
.glocke-zeile .glocke-eintrag { border-top: 0; flex: 1 1 auto; min-width: 0; }
|
||||
.dash-neu .glocke-zeile:first-child { border-top: 0; }
|
||||
.glocke-aktionen { display: flex; gap: 6px; }
|
||||
.glocke-loeschen {
|
||||
flex: 0 0 34px; padding: 0; border: 0; border-radius: 0; background: none !important; box-shadow: none !important;
|
||||
color: var(--text-subtle); font-size: 18px; line-height: 1; cursor: pointer; opacity: .55;
|
||||
}
|
||||
.glocke-zeile:hover .glocke-loeschen, .glocke-loeschen:focus-visible { opacity: 1; }
|
||||
.glocke-loeschen:hover { color: var(--red); }
|
||||
@media (hover: none) { .glocke-loeschen { opacity: 1; } }
|
||||
|
||||
/* ===========================================================================
|
||||
WANDTAFEL IN GLAS (js/wand/wand.js, wt*-Funktionen) — Eriks Wahl aus dem
|
||||
Entwurf: derselbe Hintergrund wie die Glas-App (Lichtflächen in den
|
||||
Logo-Blautönen + Logo als Wasserzeichen), Felder halbdeckend OHNE
|
||||
backdrop-filter (Kiosk-Rechner), Schrift Outfit für Ziffern und
|
||||
Überschriften. Größen in Container-Einheiten (cqw von #wandContent), damit
|
||||
die Tafel auf jedem Bildschirm gleich aufgeteilt ist.
|
||||
=========================================================================== */
|
||||
body.wandtafel-aktiv {
|
||||
--wt-tief: #0f5a85; --wt-hell: #94b0cc; --wt-grund: #e8eef3; --wt-mint: #7fc3b6;
|
||||
--wt-tinte: #14212b; --wt-tinte-2: #4b5d6b; --wt-tinte-3: #6f8291;
|
||||
--wt-gruen: #1f8a4c; --wt-gelb: #b4780a; --wt-rot: #c8242f; --wt-ms: #6d4bb3;
|
||||
--wt-feld: rgba(255,255,255,.68); --wt-feld-2: rgba(255,255,255,.46);
|
||||
--wt-kante: rgba(255,255,255,.85); --wt-kante-2: rgba(255,255,255,.4);
|
||||
--wt-linie: rgba(20,45,65,.09);
|
||||
--wt-schatten: 0 calc(1.2 * var(--u)) calc(3.4 * var(--u)) rgba(21,58,86,.12), 0 calc(.2 * var(--u)) calc(.6 * var(--u)) rgba(21,58,86,.06);
|
||||
--wt-logo: .17;
|
||||
--wt-zahl: 'Outfit', -apple-system, 'SF Pro Display', system-ui, sans-serif;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html:not([data-theme="light"]) body.wandtafel-aktiv {
|
||||
--wt-tief: #8cc9e6; --wt-hell: #2c5675; --wt-grund: #0b141b; --wt-mint: #2f6b62;
|
||||
--wt-tinte: #e8f0f5; --wt-tinte-2: #a9bccb; --wt-tinte-3: #7790a2;
|
||||
--wt-gruen: #5fd394; --wt-gelb: #f0c05e; --wt-rot: #ff7b72; --wt-ms: #c3a6ff;
|
||||
--wt-feld: rgba(26,40,52,.72); --wt-feld-2: rgba(30,46,60,.5);
|
||||
--wt-kante: rgba(255,255,255,.16); --wt-kante-2: rgba(255,255,255,.06); --wt-linie: rgba(255,255,255,.08);
|
||||
--wt-schatten: 0 calc(1.2 * var(--u)) calc(3.4 * var(--u)) rgba(0,0,0,.4), 0 calc(.2 * var(--u)) calc(.6 * var(--u)) rgba(0,0,0,.3);
|
||||
--wt-logo: .10;
|
||||
}
|
||||
}
|
||||
html[data-theme="dark"] body.wandtafel-aktiv {
|
||||
--wt-tief: #8cc9e6; --wt-hell: #2c5675; --wt-grund: #0b141b; --wt-mint: #2f6b62;
|
||||
--wt-tinte: #e8f0f5; --wt-tinte-2: #a9bccb; --wt-tinte-3: #7790a2;
|
||||
--wt-gruen: #5fd394; --wt-gelb: #f0c05e; --wt-rot: #ff7b72; --wt-ms: #c3a6ff;
|
||||
--wt-feld: rgba(26,40,52,.72); --wt-feld-2: rgba(30,46,60,.5);
|
||||
--wt-kante: rgba(255,255,255,.16); --wt-kante-2: rgba(255,255,255,.06); --wt-linie: rgba(255,255,255,.08);
|
||||
--wt-schatten: 0 calc(1.2 * var(--u)) calc(3.4 * var(--u)) rgba(0,0,0,.4), 0 calc(.2 * var(--u)) calc(.6 * var(--u)) rgba(0,0,0,.3);
|
||||
--wt-logo: .10;
|
||||
}
|
||||
/* Hintergrund: wie die Glas-App, auch wenn die Glas-Darstellung abgeschaltet ist. */
|
||||
body.wandtafel-aktiv .container {
|
||||
position: relative; isolation: isolate;
|
||||
background:
|
||||
radial-gradient(52% 48% at 8% 4%, color-mix(in srgb, var(--wt-hell) 72%, transparent), transparent 70%),
|
||||
radial-gradient(42% 46% at 94% 10%, color-mix(in srgb, var(--wt-tief) 26%, transparent), transparent 70%),
|
||||
radial-gradient(48% 55% at 72% 98%, color-mix(in srgb, var(--wt-mint) 30%, transparent), transparent 70%),
|
||||
radial-gradient(38% 40% at 28% 84%, color-mix(in srgb, var(--wt-hell) 44%, transparent), transparent 70%),
|
||||
var(--wt-grund);
|
||||
}
|
||||
body.wandtafel-aktiv .container::before {
|
||||
content: ""; position: absolute; z-index: -1; left: -3vw; bottom: -11vw; width: 62vw; aspect-ratio: 256 / 216;
|
||||
background: url("/logo.svg") no-repeat center / contain; opacity: var(--wt-logo); pointer-events: none;
|
||||
}
|
||||
/* #wandContent ist Abfrage-Container in Breite UND Höhe. Alle Maße der Tafel
|
||||
laufen über --u: 1 % der Breite, aber nie mehr, als die Höhe bei 16:9
|
||||
hergäbe. Auf einem flacheren Fenster (Browserleiste, 16:10-Laptop,
|
||||
21:9-Monitor) schrumpft so alles gleichmäßig, statt unten abgeschnitten zu
|
||||
werden; die Spalten füllen die Breite trotzdem über fr-Einheiten. */
|
||||
body.wandtafel-aktiv .wand-grid-wrap { background: transparent; container-type: size; }
|
||||
body.wandtafel-aktiv .wand-grid-wrap > * { --u: min(1cqw, 1.7778cqh); }
|
||||
body.wandtafel-aktiv .wand-kopfzeile { padding-bottom: 6px; }
|
||||
|
||||
/* Genau einen Bildschirm hoch (nicht nur mindestens): Die Felder teilen
|
||||
sich die Höhe, statt den Fuß unter den Rand zu schieben. Die Projektliste
|
||||
folgt darunter und wird gewischt. */
|
||||
.wand-ambient.wt { height: 100%; min-height: 0; color: var(--wt-tinte); font-size: calc(1.05 * var(--u)); gap: calc(1.2 * var(--u)); padding-bottom: calc(.4 * var(--u)); }
|
||||
.wt-gewerke { overflow: hidden; }
|
||||
.wt-feld { background: var(--wt-feld); border: 1px solid var(--wt-kante-2); border-radius: calc(1.5 * var(--u));
|
||||
box-shadow: var(--wt-schatten), inset 0 1px 0 var(--wt-kante); }
|
||||
.wt .ist-klickbar { cursor: pointer; }
|
||||
|
||||
.wt-kopf { flex-shrink: 0; display: flex; align-items: center; gap: calc(1.6 * var(--u)); padding: calc(.9 * var(--u)) calc(1.4 * var(--u)); }
|
||||
.wt-marke { display: flex; align-items: center; gap: calc(.8 * var(--u)); }
|
||||
.wt-marke img { width: calc(3.4 * var(--u)); height: auto; }
|
||||
.wt-marke b { font-family: var(--wt-zahl); font-weight: 500; font-size: calc(2 * var(--u)); letter-spacing: -.01em; }
|
||||
.wt-sitzung { font-size: calc(1 * var(--u)); font-weight: 650; padding: calc(.3 * var(--u)) calc(.9 * var(--u)); border-radius: calc(99 * var(--u)); background: color-mix(in srgb, var(--wt-tief) 12%, transparent); color: var(--wt-tief); }
|
||||
.wt-abw { display: flex; align-items: center; gap: calc(.5 * var(--u)); margin-left: auto; font-size: calc(1 * var(--u)); color: var(--wt-tinte-2); cursor: pointer; }
|
||||
.wt-abw.ist-leer { cursor: default; color: var(--wt-tinte-3); }
|
||||
.wt-ava { width: calc(2.5 * var(--u)); height: calc(2.5 * var(--u)); border-radius: 50%; display: grid; place-items: center; font-size: calc(.85 * var(--u)); font-weight: 700;
|
||||
background: var(--wt-feld); border: 1px solid var(--wt-kante-2); color: var(--wt-tinte-2); }
|
||||
.wt-uhr { font-family: var(--wt-zahl); font-weight: 300; font-size: calc(3.4 * var(--u)); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; text-align: right; }
|
||||
.wt-uhr small { display: block; font-family: inherit; font-weight: 400; font-size: calc(.9 * var(--u)); color: var(--wt-tinte-3); letter-spacing: 0; margin-top: calc(.25 * var(--u)); }
|
||||
|
||||
.wt-kpis { flex-shrink: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(1.2 * var(--u)); }
|
||||
.wt-kpi { padding: calc(1.1 * var(--u)) calc(1.4 * var(--u)); display: flex; align-items: center; gap: calc(1.2 * var(--u)); transition: transform .15s; }
|
||||
.wt-kpi.ist-klickbar:active { transform: scale(.98); }
|
||||
.wt-wert { font-family: var(--wt-zahl); font-weight: 500; font-size: calc(4.2 * var(--u)); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
|
||||
.wt-wert small { font-size: calc(2 * var(--u)); margin-left: calc(.15 * var(--u)); }
|
||||
.wt-lab { font-size: calc(1.05 * var(--u)); color: var(--wt-tinte-2); line-height: 1.35; }
|
||||
.wt-lab b { display: block; color: var(--wt-tinte); font-size: calc(1.15 * var(--u)); }
|
||||
.wt-kpi.ist-rot .wt-wert { color: var(--wt-rot); }
|
||||
.wt-ring { flex: none; width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); border-radius: 50%;
|
||||
background: conic-gradient(var(--c) calc(var(--p) * 1%), color-mix(in srgb, var(--wt-tinte-3) 20%, transparent) 0);
|
||||
-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - calc(.55 * var(--u))), #000 calc(100% - calc(.5 * var(--u))));
|
||||
mask: radial-gradient(farthest-side, transparent calc(100% - calc(.55 * var(--u))), #000 calc(100% - calc(.5 * var(--u)))); }
|
||||
|
||||
.wt-felder { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 2.08fr); gap: calc(1.2 * var(--u)); }
|
||||
.wt-panel { padding: calc(1.1 * var(--u)) calc(1.3 * var(--u)); display: flex; flex-direction: column; min-height: 0; }
|
||||
.wt-panel h2 { margin: 0 0 calc(.9 * var(--u)); font-family: var(--wt-zahl); font-size: calc(1.45 * var(--u)); font-weight: 500; letter-spacing: -.005em; color: var(--wt-tinte);
|
||||
display: flex; align-items: baseline; gap: calc(.6 * var(--u)); }
|
||||
.wt-panel h2 span { margin-left: auto; font-family: inherit; font-size: calc(.95 * var(--u)); font-weight: 400; color: var(--wt-tinte-3); }
|
||||
|
||||
.wt-gw { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: calc(5 * var(--u)) minmax(0, 1fr); gap: calc(1 * var(--u)); align-items: center; padding: calc(.9 * var(--u)) 0; border-top: 1px solid var(--wt-linie); }
|
||||
.wt-gw:first-of-type { border-top: 0; }
|
||||
.wt-gew { font-family: var(--wt-zahl); font-weight: 500; font-size: calc(1.7 * var(--u)); }
|
||||
.wt-gew small { display: block; font-family: inherit; font-weight: 400; font-size: calc(.85 * var(--u)); color: var(--wt-tinte-3); }
|
||||
.wt-gw-werte { display: flex; flex-direction: column; gap: calc(.5 * var(--u)); min-width: 0; }
|
||||
.wt-gw-zeile { display: grid; grid-template-columns: calc(6.6 * var(--u)) minmax(0, 1fr) calc(4.6 * var(--u)); align-items: center; gap: calc(.8 * var(--u)); padding: calc(.25 * var(--u)) calc(.4 * var(--u)); margin: 0 -calc(.4 * var(--u)); border-radius: calc(.8 * var(--u)); }
|
||||
.wt-gw-zeile:hover { background: color-mix(in srgb, var(--wt-tief) 7%, transparent); }
|
||||
.wt-gw-lab { font-size: calc(.92 * var(--u)); color: var(--wt-tinte-3); }
|
||||
.wt-balken { height: calc(1.1 * var(--u)); border-radius: calc(99 * var(--u)); background: color-mix(in srgb, var(--wt-tinte-3) 16%, transparent); overflow: hidden; display: block; }
|
||||
.wt-balken i { display: block; height: 100%; border-radius: inherit; }
|
||||
.wt-zahl { font-family: var(--wt-zahl); font-weight: 500; font-size: calc(1.6 * var(--u)); text-align: right; font-variant-numeric: tabular-nums; }
|
||||
.wt-zahl.klein { font-size: calc(1.25 * var(--u)); color: var(--wt-tinte-2); }
|
||||
/* Besprochen-Stand: immer EINE Reihe. Bei wenigen Projekten Kästchen, bei
|
||||
vielen werden sie schmaler und bilden einen Segmentbalken (ein Segment je
|
||||
Projekt) — umbrechende Kästchen liefen sonst bei ELT (25 Projekte) über
|
||||
die Trennlinie zum nächsten Gewerk. */
|
||||
.wt-punkte { display: flex; flex-wrap: nowrap; gap: calc(.22 * var(--u)); min-width: 0; }
|
||||
.wt-punkte i { flex: 1 1 0; min-width: 2px; max-width: calc(.95 * var(--u)); height: calc(.95 * var(--u));
|
||||
border-radius: calc(.25 * var(--u)); background: color-mix(in srgb, var(--wt-tinte-3) 22%, transparent); }
|
||||
.wt-punkte i.ja { background: var(--wt-gruen); }
|
||||
.wt-leer { font-size: calc(.95 * var(--u)); color: var(--wt-tinte-3); }
|
||||
|
||||
.wt-tage-raster { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(.8 * var(--u)); }
|
||||
.wt-tag { display: flex; flex-direction: column; gap: calc(.55 * var(--u)); min-height: 0; padding: calc(.8 * var(--u)); border-radius: calc(1.1 * var(--u)); overflow: hidden;
|
||||
background: color-mix(in srgb, var(--wt-feld) 55%, transparent); border: 1px solid var(--wt-kante-2); }
|
||||
.wt-tag.ist-heute { background: color-mix(in srgb, var(--wt-tief) 9%, var(--wt-feld)); border-color: color-mix(in srgb, var(--wt-tief) 30%, transparent); }
|
||||
.wt-tag-kopf { display: flex; align-items: baseline; gap: calc(.55 * var(--u)); padding-bottom: calc(.45 * var(--u)); border-bottom: 1px solid var(--wt-linie); }
|
||||
.wt-tag-kopf b { font-family: var(--wt-zahl); font-weight: 500; font-size: calc(1.75 * var(--u)); letter-spacing: -.01em; }
|
||||
.wt-tag-kopf span { font-size: calc(.95 * var(--u)); color: var(--wt-tinte-3); }
|
||||
.wt-tag.ist-heute .wt-tag-kopf b { color: var(--wt-tief); }
|
||||
.wt-ein { display: grid; grid-template-columns: calc(.35 * var(--u)) minmax(0, 1fr); gap: calc(.6 * var(--u)); font-size: calc(1 * var(--u)); line-height: 1.3; border-radius: calc(.5 * var(--u)); }
|
||||
.wt-ein.ist-klickbar:hover { background: color-mix(in srgb, var(--wt-tief) 6%, transparent); }
|
||||
.wt-ein > i { border-radius: calc(99 * var(--u)); background: var(--c); }
|
||||
.wt-ein > div { min-width: 0; }
|
||||
.wt-ein b { font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
||||
.wt-ein span { display: block; color: var(--wt-tinte-3); font-size: calc(.88 * var(--u)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.wt-ein.wt-ab b { font-weight: 500; color: var(--wt-tinte-2); }
|
||||
.wt-ueber { --c: var(--wt-rot); } .wt-aufgabe { --c: var(--wt-tief); } .wt-ms { --c: var(--wt-ms); }
|
||||
.wt-kommentar { --c: var(--wt-gruen); } .wt-ab { --c: var(--wt-tinte-3); }
|
||||
.wt-gruppe { font-size: calc(.78 * var(--u)); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c); margin-top: calc(.15 * var(--u)); }
|
||||
.wt-tag-liste { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: calc(.55 * var(--u)); }
|
||||
.wt-mehr { flex-shrink: 0; font-size: calc(.9 * var(--u)); color: var(--wt-tief); font-weight: 600; cursor: pointer; }
|
||||
.wt-legende { display: flex; flex-wrap: wrap; gap: calc(.4 * var(--u)) calc(1.4 * var(--u)); margin-top: calc(.8 * var(--u)); font-size: calc(.9 * var(--u)); color: var(--wt-tinte-2); }
|
||||
.wt-legende span { display: flex; align-items: center; gap: calc(.45 * var(--u)); }
|
||||
.wt-legende i { width: calc(.9 * var(--u)); height: calc(.9 * var(--u)); border-radius: calc(.3 * var(--u)); background: var(--c); }
|
||||
|
||||
.wt-fuss { flex-shrink: 0; display: flex; align-items: center; gap: calc(1 * var(--u)); padding: calc(.6 * var(--u)) calc(1.4 * var(--u)); font-size: calc(1.05 * var(--u)); color: var(--wt-tinte-2); }
|
||||
.wt-pfeil { font-family: var(--wt-zahl); font-weight: 300; font-size: calc(1.7 * var(--u)); color: var(--wt-tief); }
|
||||
@media (prefers-reduced-motion: reduce) { .wt-kpi { transition: none; } }
|
||||
|
||||
/* Hinweis nach dem Zusammenführen gleichzeitiger Änderungen (js/store.js,
|
||||
zeigeHinweis()) — kein Fehler, deshalb nicht rot wie .sync-problem-bar. */
|
||||
.sync-problem-bar.sync-hinweis { background: var(--accent); color: #fff; bottom: 70px; }
|
||||
|
||||
/* ===========================================================================
|
||||
DUNKELMODUS NACHGESCHÄRFT (Eriks Wahl „A“ aus dem Kontrast-Vergleich):
|
||||
Kalender auf „Meine Aufgaben“ und die Farben im Sitzungskommentar.
|
||||
Alles über Tokens: :root = hell (unverändert bzw. gleichwertig), die
|
||||
beiden Dunkel-Blöcke (System-Einstellung / ausdrücklich gewählt) setzen
|
||||
die helleren Fassungen.
|
||||
=========================================================================== */
|
||||
:root {
|
||||
/* „Meine Aufgabe“ und „Projektaufgabe“ waren derselbe Blauton (einmal
|
||||
halbtransparent) — jetzt zwei klar verschiedene Farben. */
|
||||
--kal-meine: var(--accent);
|
||||
--kal-projekt: #138a6e;
|
||||
--kal-abw: var(--text-subtle);
|
||||
--kal-wt: var(--text-subtle);
|
||||
--kal-frei: var(--text-subtle);
|
||||
--kal-fremd: var(--text-subtle);
|
||||
--kal-kw: var(--text-subtle);
|
||||
--kal-legende: var(--text-muted);
|
||||
--kal-punkt: 5px;
|
||||
/* Farben der Kommentar-Werkzeugleiste (gespeichert als feste Werte,
|
||||
siehe richtextToolbarHtml() in js/utils.js). */
|
||||
--rt-rot: #d70015;
|
||||
--rt-gruen: #248a3d;
|
||||
--rt-blau: #0071e3;
|
||||
--rt-orange: #b25000;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html:not([data-theme="light"]) {
|
||||
--meilenstein: #c19cf0;
|
||||
--kal-projekt: #6fd6b4;
|
||||
--kal-abw: #b4c3cf;
|
||||
--kal-wt: #93aabb;
|
||||
--kal-frei: #93aabb;
|
||||
--kal-fremd: #6d8597;
|
||||
--kal-kw: #8299aa;
|
||||
--kal-legende: #b8c8d4;
|
||||
--kal-punkt: 6px;
|
||||
--rt-rot: #ff8a7f;
|
||||
--rt-gruen: #5fd38d;
|
||||
--rt-blau: #7cc0ff;
|
||||
--rt-orange: #f2a65a;
|
||||
--kommentar-ansicht-bg: #1b2730;
|
||||
}
|
||||
}
|
||||
html[data-theme="dark"] {
|
||||
--meilenstein: #c19cf0; /* fehlte hier bisher: blieb das dunkle Lila */
|
||||
--kal-projekt: #6fd6b4;
|
||||
--kal-abw: #b4c3cf;
|
||||
--kal-wt: #93aabb;
|
||||
--kal-frei: #93aabb;
|
||||
--kal-fremd: #6d8597;
|
||||
--kal-kw: #8299aa;
|
||||
--kal-legende: #b8c8d4;
|
||||
--kal-punkt: 6px;
|
||||
--rt-rot: #ff8a7f;
|
||||
--rt-gruen: #5fd38d;
|
||||
--rt-blau: #7cc0ff;
|
||||
--rt-orange: #f2a65a;
|
||||
--kommentar-ansicht-bg: #1b2730;
|
||||
}
|
||||
|
||||
/* Kalender */
|
||||
.dash-kal-wt { color: var(--kal-wt); }
|
||||
.dash-kal-kw { color: var(--kal-kw); }
|
||||
.dash-kal-tag.ist-frei { color: var(--kal-frei); }
|
||||
.dash-kal-tag.ist-fremd { color: var(--kal-fremd); }
|
||||
.dash-kal-legende { color: var(--kal-legende); }
|
||||
.dash-kal-punkte { height: var(--kal-punkt); }
|
||||
.dash-kal-punkte i { width: var(--kal-punkt); height: var(--kal-punkt); background: var(--kal-meine); }
|
||||
.dash-kal-legende i { background: var(--kal-meine); }
|
||||
.dash-kal-punkte i.ist-fremd, .dash-kal-legende i.ist-fremd { background: var(--kal-projekt); }
|
||||
.dash-kal-punkte i.ist-ms, .dash-kal-legende i.ist-ms { background: var(--meilenstein); }
|
||||
.dash-kal-punkte i.ist-rot, .dash-kal-legende i.ist-rot { background: var(--red); }
|
||||
.dash-kal-punkte i.ist-ab, .dash-kal-legende i.ist-ab { background: var(--kal-abw); }
|
||||
.dash-kal-tag.ist-gewaehlt .dash-kal-punkte i { background: currentColor; }
|
||||
|
||||
/* Kommentar als Text (Projekt-Dashboard, Projektliste, Wochenbericht
|
||||
gesperrt): heller Fließtext auf satter Fläche. */
|
||||
.status-edit.is-ansicht { color: var(--text); background: var(--kommentar-ansicht-bg, var(--surface-sunk)); }
|
||||
|
||||
/* Farbige Stellen im Kommentar: Die Farbe steht als Inline-Stil im Text
|
||||
(mal "#d70015", mal vom Browser als "rgb(215, 0, 21)" geschrieben, alt
|
||||
auch <font color>). Im Dunkelmodus auf die helle Fassung umsetzen; im
|
||||
hellen Modus sind die Tokens identisch mit den gespeicherten Werten.
|
||||
:not([style*="background"]) hält Farbflächen (Werkzeugleiste, Gantt)
|
||||
heraus. Gespeichert wird weiterhin der Originalwert, das PDF bleibt gleich. */
|
||||
[style*="color"][style*="d70015" i]:not([style*="background"]),
|
||||
[style*="color"][style*="215, 0, 21"]:not([style*="background"]),
|
||||
font[color="#d70015" i] { color: var(--rt-rot) !important; }
|
||||
[style*="color"][style*="248a3d" i]:not([style*="background"]),
|
||||
[style*="color"][style*="36, 138, 61"]:not([style*="background"]),
|
||||
font[color="#248a3d" i] { color: var(--rt-gruen) !important; }
|
||||
[style*="color"][style*="0071e3" i]:not([style*="background"]),
|
||||
[style*="color"][style*="0, 113, 227"]:not([style*="background"]),
|
||||
font[color="#0071e3" i] { color: var(--rt-blau) !important; }
|
||||
[style*="color"][style*="b25000" i]:not([style*="background"]),
|
||||
[style*="color"][style*="178, 80, 0"]:not([style*="background"]),
|
||||
font[color="#b25000" i] { color: var(--rt-orange) !important; }
|
||||
|
||||
/* Auslastung als Personenkarten mit Wochenvorschau (Eriks Wahl "B",
|
||||
renderLoad() in js/load/load.js). Je Person: Projektanzahl, Wert dieser
|
||||
Woche, zwölf Wochensäulen mit gestrichelter 100-%-Linie, Hinweis auf die
|
||||
Spitze und die größten Projekte. */
|
||||
.load-erklaerung { margin: 4px 0 14px; max-width: 900px; line-height: 1.5; }
|
||||
.load-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
|
||||
.load-karte {
|
||||
background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
|
||||
padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
|
||||
}
|
||||
.load-karte.ist-ohne { opacity: .75; }
|
||||
.load-karte-kopf { display: flex; align-items: center; gap: 12px; }
|
||||
.load-ava {
|
||||
width: 36px; height: 36px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
|
||||
font-size: 11.5px; font-weight: 700; background: var(--accent); color: #fff;
|
||||
}
|
||||
.load-karte-wer { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
|
||||
.load-karte-wer b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.load-karte-wer > span { font-size: 12px; color: var(--text-muted); }
|
||||
.load-karte-wer .load-capacity { align-self: flex-start; margin: 2px 0 0; }
|
||||
.load-jetzt { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: none; }
|
||||
.load-jetzt b { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
|
||||
.load-jetzt span { font-size: 11px; color: var(--text-muted); }
|
||||
.load-saeulen {
|
||||
position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px;
|
||||
align-items: end; height: 86px; padding-top: 4px;
|
||||
}
|
||||
.load-saeule { display: block; border-radius: 4px 4px 2px 2px; opacity: .85; min-height: 0; }
|
||||
.load-saeule.ist-jetzt { opacity: 1; }
|
||||
.load-saeule.ist-teil { background-image: repeating-linear-gradient(135deg, transparent 0 4px, rgba(255,255,255,.35) 4px 7px); }
|
||||
.load-saeule.ist-abwesend { height: 100%; opacity: 1; background: repeating-linear-gradient(135deg, var(--surface-sunk) 0 5px, var(--line) 5px 10px); }
|
||||
.load-linie { position: absolute; left: 0; right: 0; border-top: 1.5px dashed var(--text-muted); opacity: .55; pointer-events: none; }
|
||||
.load-kws { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; font-size: 10px; color: var(--text-muted); text-align: center; font-variant-numeric: tabular-nums; }
|
||||
.load-kws .ist-jetzt { color: var(--accent); font-weight: 700; }
|
||||
.load-hinweis { font-size: 12.5px; padding: 8px 10px; border-radius: 10px; line-height: 1.4; }
|
||||
.load-hinweis.ist-rot { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
|
||||
.load-hinweis.ist-gelb { background: color-mix(in srgb, var(--amber) 12%, transparent); color: var(--amber); }
|
||||
.load-hinweis.ist-ok { background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); }
|
||||
.load-hinweis.ist-leer { background: var(--surface-sunk); color: var(--text-muted); }
|
||||
.load-chips { display: flex; flex-wrap: wrap; gap: 6px; }
|
||||
.load-chip {
|
||||
display: inline-flex; align-items: center; min-height: 24px; max-width: 100%; padding: 0 9px; border-radius: 999px;
|
||||
background: var(--surface-sunk); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
||||
}
|
||||
.load-chip.ist-mehr { color: var(--text-muted); border: 0; font: inherit; font-size: 11.5px; cursor: pointer; }
|
||||
.load-chip.ist-mehr:hover { color: var(--accent); }
|
||||
.load-chips:not(.ist-offen) .load-chip.ist-weitere { display: none; }
|
||||
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .load-ava { color: #0b141b; } }
|
||||
html[data-theme="dark"] .load-ava { color: #0b141b; }
|
||||
|
||||
/* =========================================================================
|
||||
ROLLEN & RECHTE (Admin, js/admin/rollen.js) — Eriks Wahl „B“: links die
|
||||
Rollen mit „+ Neue Rolle“ darunter, rechts die gewählte Rolle mit Schaltern
|
||||
je Gruppe.
|
||||
========================================================================= */
|
||||
.rr-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px; align-items: start; }
|
||||
@media (max-width: 820px) { .rr-layout { grid-template-columns: 1fr; } }
|
||||
.rr-rollen { display: flex; flex-direction: column; gap: 6px; }
|
||||
.rr-rolle {
|
||||
display: flex; flex-direction: column; gap: 2px; text-align: left; width: 100%;
|
||||
border: 1px solid var(--line); background: var(--surface); color: var(--text);
|
||||
border-radius: 12px; padding: 10px 12px; font: inherit; cursor: pointer;
|
||||
}
|
||||
.rr-rolle:hover { border-color: var(--accent); }
|
||||
.rr-rolle.ist-aktiv { border-color: var(--accent); background: var(--accent-soft); }
|
||||
.rr-rolle b { font-weight: 600; }
|
||||
.rr-rolle small { color: var(--text-muted); font-size: 12px; }
|
||||
.rr-balken { display: block; height: 4px; border-radius: 2px; background: var(--surface-sunk); overflow: hidden; margin-top: 4px; }
|
||||
.rr-balken i { display: block; height: 100%; background: var(--accent); }
|
||||
.rr-plus {
|
||||
border: 1.5px dashed var(--line) !important; background: transparent; color: var(--accent);
|
||||
border-radius: 12px; padding: 10px 12px; text-align: left; font: inherit; font-weight: 600; cursor: pointer; width: 100%;
|
||||
}
|
||||
.rr-plus:hover { border-color: var(--accent) !important; background: var(--accent-soft); }
|
||||
.rr-neu { border: 1.5px solid var(--accent); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
|
||||
.rr-neu input, .rr-neu select { width: 100%; box-sizing: border-box; }
|
||||
.rr-neu label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-muted); }
|
||||
.rr-neu-knoepfe { display: flex; gap: 6px; }
|
||||
.rr-detail { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
|
||||
.rr-detail-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
||||
.rr-titel {
|
||||
font: inherit; font-size: 18px; font-weight: 600; flex: 1 1 180px; min-width: 0;
|
||||
border: 1px solid transparent !important; background: transparent !important; color: var(--text); border-radius: 8px; padding: 4px 8px;
|
||||
}
|
||||
.rr-titel:hover:not(:disabled), .rr-titel:focus { border-color: var(--line) !important; background: var(--surface-sunk) !important; }
|
||||
.rr-titel:disabled { color: var(--text); opacity: 1; }
|
||||
.rr-vergleich-wahl { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
|
||||
.rr-meldung { font-size: 12.5px; color: var(--text-muted); min-width: 80px; }
|
||||
.rr-gruppen { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; align-items: start; }
|
||||
.rr-gruppe { background: var(--surface-sunk); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
|
||||
.rr-gruppe-kopf { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
|
||||
.rr-gruppe-kopf small { color: var(--text-muted); }
|
||||
.rr-luecke { flex: 1; }
|
||||
.rr-zeile { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
|
||||
.rr-name { flex: 1; min-width: 0; }
|
||||
.rr-name small { display: block; color: var(--text-muted); font-size: 11.5px; }
|
||||
.rr-schalter {
|
||||
width: 36px; height: 20px; border-radius: 999px; border: 0 !important; padding: 0; flex: none; position: relative; cursor: pointer;
|
||||
background: color-mix(in srgb, var(--text) 22%, transparent); transition: background var(--dur, 150ms);
|
||||
}
|
||||
.rr-schalter::after {
|
||||
content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
|
||||
background: #fff; transition: transform var(--dur, 150ms) var(--ease-out, ease);
|
||||
}
|
||||
.rr-schalter.ist-an { background: var(--accent); }
|
||||
.rr-schalter.ist-an::after { transform: translateX(16px); }
|
||||
.rr-schalter:disabled { opacity: .55; cursor: not-allowed; }
|
||||
.rr-schalter:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
||||
.rr-vergleich { font-size: 11px; color: var(--text-muted); min-width: 34px; text-align: right; }
|
||||
.rr-vergleich.ist-anders { color: var(--accent); font-weight: 700; }
|
||||
|
||||
/* =========================================================================
|
||||
RUNDGANG (js/einfuehrung.js) — abgedunkelte Ebene mit Aussparung um das
|
||||
Ziel und eine Sprechblase. Liegt über allem (auch über Dialogen, 300),
|
||||
aber unter der Anmeldeseite (400) bewusst nicht: der Rundgang startet erst
|
||||
nach der Anmeldung.
|
||||
========================================================================= */
|
||||
.tour { position: fixed; inset: 0; z-index: 450; }
|
||||
.tour-loch {
|
||||
position: fixed; border-radius: 12px; pointer-events: none;
|
||||
box-shadow: 0 0 0 9999px rgba(6, 14, 20, .62), 0 0 0 2px var(--accent);
|
||||
transition: left .25s var(--ease-out, ease), top .25s var(--ease-out, ease), width .25s var(--ease-out, ease), height .25s var(--ease-out, ease);
|
||||
}
|
||||
.tour.ohne-ziel { background: rgba(6, 14, 20, .62); }
|
||||
.tour.ohne-ziel .tour-loch { display: none; }
|
||||
.tour-blase {
|
||||
position: fixed; width: min(360px, calc(100vw - 24px)); box-sizing: border-box;
|
||||
background: var(--surface); color: var(--text); border-radius: 16px; padding: 16px 18px;
|
||||
box-shadow: var(--sh-3); display: flex; flex-direction: column; gap: 8px; outline: none;
|
||||
transition: left .25s var(--ease-out, ease), top .25s var(--ease-out, ease);
|
||||
}
|
||||
html.glas .tour-blase { background: var(--glas-dicht, var(--surface)); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
|
||||
.tour-blase.ist-unten { left: 12px !important; right: 12px; width: auto; top: auto !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
|
||||
.tour-kopf { display: flex; align-items: center; justify-content: space-between; }
|
||||
.tour-schritt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
|
||||
.tour-x { border: 0 !important; background: transparent; color: var(--text-muted); font-size: 20px; line-height: 1; padding: 0 4px; cursor: pointer; }
|
||||
.tour-x:hover { color: var(--text); }
|
||||
.tour-blase h3 { margin: 0; font-size: 17px; font-weight: 650; text-wrap: balance; }
|
||||
.tour-text { font-size: 13.5px; line-height: 1.55; color: var(--text); }
|
||||
.tour-hinweise { margin: 8px 0 0; padding-left: 18px; color: var(--text-muted); }
|
||||
.tour-punkte { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
|
||||
.tour-punkte i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
|
||||
.tour-punkte i.ist-erledigt { background: color-mix(in srgb, var(--accent) 45%, transparent); }
|
||||
.tour-punkte i.ist-aktiv { background: var(--accent); width: 16px; border-radius: 3px; }
|
||||
.tour-knoepfe { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
|
||||
.tour-luecke { flex: 1; }
|
||||
.tour-skip { border: 0 !important; background: transparent; color: var(--text-muted); font: inherit; font-size: 12.5px; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
|
||||
.tour-skip:hover { color: var(--text); }
|
||||
@media (prefers-reduced-motion: reduce) { .tour-loch, .tour-blase { transition: none; } }
|
||||
|
||||
/* ============================================================
|
||||
ABWESENHEITEN (js/abwesenheit/abwesenheit.js) — Eriks Wahl
|
||||
„Variante 2 im Stil der Projektübersicht“: nutzt .bericht-titelzeile,
|
||||
.legend/.swatch, .board-list, .board-row(-main), .board-nr, .board-name,
|
||||
.board-status-line, .phase-pill, .board-row-actions und .board-avatar
|
||||
der Projektliste; hier nur, was es dort nicht gibt.
|
||||
Artfarben sind mittlere Töne, in beiden Themen lesbar.
|
||||
============================================================ */
|
||||
:root {
|
||||
--abw-urlaub: #2f7fb8;
|
||||
--abw-krank: #c4553d;
|
||||
--abw-fortbildung: #7a5fc0;
|
||||
--abw-sonstiges: #7d8450;
|
||||
--abw-verdeckt: #8d9aa6;
|
||||
}
|
||||
/* showTab() setzt display:block inline — Abstände deshalb über Geschwister. */
|
||||
#abwesenheit > * + * { margin-top: 14px; }
|
||||
#abwesenheit .legend { margin: 6px 0 0; }
|
||||
.abw-u { --abw-c: var(--abw-urlaub); }
|
||||
.abw-k { --abw-c: var(--abw-krank); }
|
||||
.abw-f { --abw-c: var(--abw-fortbildung); }
|
||||
.abw-s { --abw-c: var(--abw-sonstiges); }
|
||||
.swatch.abw-u, .swatch.abw-k, .swatch.abw-f, .swatch.abw-s { background: var(--abw-c); }
|
||||
.swatch.abw-verdeckt, .abw-balken.abw-verdeckt {
|
||||
background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--abw-verdeckt) 50%, transparent) 0 3px, transparent 3px 6px);
|
||||
box-shadow: inset 0 0 0 1px var(--abw-verdeckt);
|
||||
}
|
||||
|
||||
/* Zwei Spalten: Neue Abwesenheit | Liste */
|
||||
/* Beide Kacheln gleich breit und gleich hoch; die Überschrift steht in der
|
||||
Kachel. Die Liste rechts bestimmt die Höhe nicht mit (height 0 +
|
||||
min-height 100 %), sie scrollt innen, wenn die Erfassung kürzer ist. */
|
||||
.abw-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
|
||||
.abw-spalte { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
||||
.abw-spalte > .board-list { flex: 1; }
|
||||
.abw-karten-titel { margin: 0 !important; }
|
||||
.abw-listen-karte { height: 0; min-height: 100%; }
|
||||
.abw-listen-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 16px 16px 12px; border-bottom: 1px solid var(--line-soft); }
|
||||
.abw-listen-zeilen { flex: 1; min-height: 0; overflow-y: auto; }
|
||||
.abw-karte { padding: 16px; gap: 12px; }
|
||||
.abw-fuer { display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap; }
|
||||
.abw-kreis { cursor: default; }
|
||||
.abw-fuer-wahl { margin-left: auto; border-radius: var(--r-pill); font-size: 12.5px; padding: 4px 10px; max-width: 220px; }
|
||||
.abw-datumzeile { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
|
||||
.abw-datum {
|
||||
display: grid; text-align: left; gap: 0; padding: 10px 13px; cursor: pointer;
|
||||
border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface-alt); color: var(--text);
|
||||
font: inherit;
|
||||
}
|
||||
.abw-datum:hover { background: var(--surface-sunk); }
|
||||
.abw-datum small { font-size: 10.5px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
|
||||
.abw-datum b { font-size: 21px; font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-weight: 600; letter-spacing: -.01em; }
|
||||
.abw-datum span { font-size: 12px; color: var(--text-muted); }
|
||||
.abw-pfeil { color: var(--text-subtle); }
|
||||
.abw-arten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
|
||||
.abw-arten button {
|
||||
display: grid; justify-items: center; gap: 5px; padding: 8px 6px; cursor: pointer; font: inherit; font-size: 12.5px;
|
||||
border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface-alt); color: var(--text);
|
||||
}
|
||||
.abw-arten button i { width: 18px; height: 6px; border-radius: 3px; background: var(--abw-c); }
|
||||
.abw-arten button.ist-an { background: color-mix(in srgb, var(--abw-c) 18%, transparent); border-color: var(--abw-c); font-weight: 600; }
|
||||
.abw-unten { display: flex; gap: 8px; align-items: center; }
|
||||
.abw-notiz { flex: 1; min-width: 0; border-radius: var(--r-pill); }
|
||||
.abw-fehler { font-size: 12.5px; color: var(--red); }
|
||||
.abw-warnung { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; border-radius: 12px; padding: 8px 12px; background: color-mix(in srgb, var(--amber) 15%, transparent); }
|
||||
.abw-warnung::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); margin-top: 6px; }
|
||||
|
||||
/* Liste: Zeilen der Projektliste, mit Punkt in Artfarbe und Kapsel */
|
||||
.abw-zeile.ist-aktiv .board-row-main { background: var(--accent-soft); }
|
||||
.abw-zeile-name { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||
.abw-punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--abw-c); flex: none; }
|
||||
.abw-tag { font-size: 11px; font-weight: 500; padding: 1px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text-muted); }
|
||||
.board-row-actions.abw-fragt { opacity: 1; }
|
||||
.abw-leer { padding: 14px 16px; font-size: 12.5px; color: var(--text-muted); }
|
||||
.abw-reiter { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--surface-sunk); }
|
||||
.abw-reiter button { border: 0; background: none; padding: 3px 11px; border-radius: var(--r-pill); font: inherit; font-size: 12px; color: var(--text-muted); cursor: pointer; }
|
||||
.abw-reiter button.ist-an { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
|
||||
|
||||
/* Team je Gewerk */
|
||||
.abw-team-kopf {
|
||||
margin-top: 26px !important; flex-wrap: wrap; gap: 10px;
|
||||
/* Hinterlegt wie die Karten darunter (.board-list) */
|
||||
background: var(--surface); border: 1px solid var(--line-soft);
|
||||
border-radius: var(--r-xl); box-shadow: var(--sh-2);
|
||||
padding: 12px 16px; margin-bottom: 14px;
|
||||
}
|
||||
.abw-team-steuer { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
|
||||
.abw-monat { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
|
||||
.abw-monat strong { min-width: 120px; text-align: center; font-weight: 600; }
|
||||
.abw-rund { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; padding: 0; }
|
||||
.abw-gewerk-kopf { display: flex; align-items: baseline; gap: 10px; }
|
||||
.abw-gewerk-kopf small { color: var(--text-muted); font-size: 12.5px; }
|
||||
#abwesenheit .abw-gewerk-kopf + .abw-tl-karte { margin-top: 8px; }
|
||||
.abw-tl-karte { overflow-x: auto; }
|
||||
.abw-tl { display: grid; min-width: 880px; font-size: 11px; }
|
||||
.abw-tl > div { position: relative; height: 52px; border-bottom: 1px solid var(--line-soft); }
|
||||
.abw-tl { margin-bottom: -1px; }
|
||||
.abw-tl-tag, .abw-tl-kopf { height: 36px !important; }
|
||||
.abw-tl-tag { display: grid; align-content: center; justify-items: center; line-height: 1.1; color: var(--text-subtle); font-variant-numeric: tabular-nums; }
|
||||
.abw-tl-tag small { font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
|
||||
.abw-tl-tag b { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
|
||||
.abw-tl-tag.ist-heute b { background: var(--red); color: #fff; border-radius: var(--r-pill); padding: 0 5px; }
|
||||
.abw-tl-wer { position: sticky; left: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--surface); }
|
||||
html.glas .abw-tl-wer { background: var(--glas-deckend, var(--surface)); }
|
||||
.abw-tl-kopf { color: var(--text-subtle); font-size: 11px; }
|
||||
.abw-tl-wer.ist-gewaehlt { box-shadow: inset 3px 0 0 var(--accent); }
|
||||
.abw-tl-wer.ist-klickbar { cursor: pointer; transition: background var(--dur) var(--ease-out); }
|
||||
.abw-tl-wer.ist-klickbar:hover { background-image: linear-gradient(var(--surface-alt), var(--surface-alt)); } /* Tönung über dem deckenden Grund, die Spalte ist sticky */
|
||||
.abw-tl-wer.ist-klickbar:hover .abw-tl-wer-name { color: var(--accent); }
|
||||
.abw-tl-wer.ist-klickbar:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
||||
.abw-tl-wer-text { display: flex; flex-direction: column; min-width: 0; }
|
||||
.abw-tl-wer-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.abw-tl-wer-meta { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.abw-tl .ist-frei { background: color-mix(in srgb, var(--text-subtle) 7%, transparent); }
|
||||
.abw-tl-zelle.ist-heute::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--red); opacity: .5; z-index: 1; }
|
||||
.abw-tl-zelle.ist-klickbar { cursor: pointer; }
|
||||
.abw-tl-zelle.ist-klickbar:hover { background: var(--surface-sunk); }
|
||||
.abw-balken {
|
||||
position: absolute; top: 14px; bottom: 14px; left: 2px; z-index: 2; cursor: pointer;
|
||||
display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden;
|
||||
border-radius: var(--r-pill); font-size: 11px; font-weight: 600; color: var(--text);
|
||||
background: color-mix(in srgb, var(--abw-c) 20%, transparent); box-shadow: inset 0 0 0 1px var(--abw-c);
|
||||
}
|
||||
.abw-balken::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--abw-c); margin-right: 6px; }
|
||||
.abw-balken.abw-verdeckt { cursor: default; }
|
||||
.abw-balken.abw-verdeckt::before { display: none; }
|
||||
|
||||
@media (max-width: 980px) { .abw-zwei { grid-template-columns: 1fr; } .abw-listen-karte { height: auto; min-height: 0; } .abw-listen-zeilen { overflow: visible; } }
|
||||
@media (max-width: 768px) {
|
||||
.abw-arten { grid-template-columns: repeat(2, 1fr); }
|
||||
}
|
||||
/* Verdeckte Abwesenheit einer anderen Person: nur „abwesend“, neutral, nicht änderbar */
|
||||
.abw-verdeckt-zeile { --abw-c: var(--text-subtle); }
|
||||
.abw-verdeckt-zeile .board-row-main { cursor: default; }
|
||||
Reference in new issue
Block a user