827 lines
35 KiB
CSS
827 lines
35 KiB
CSS
/* ===========================================================================
|
|
Projektbereich — Stile des Projektplan-Bereichs
|
|
---------------------------------------------------------------------------
|
|
Diese Regeln standen früher als <style>-Block in der eigenständigen Seite
|
|
public/project-plan.html. Seit der Projektbereich ein normaler Bereich der
|
|
Hauptseite ist (Test.html, Bereich #plan — er wird wie jeder andere über
|
|
showTab() eingeblendet), liegen sie in einer eigenen Datei, die Test.html
|
|
zusaetzlich zu styles.css laedt. Die Klassennamen sind unveraendert
|
|
(.plan-page, .plan-nav, .plan-section, .plan-kpi-*, .gantt-*, …), damit die
|
|
Module unter public/js/plan/ nichts davon wissen muessen.
|
|
=========================================================================== */
|
|
|
|
.plan-page { display: flex; flex-direction: column; }
|
|
.plan-header {
|
|
display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
|
|
padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--line-soft);
|
|
}
|
|
.plan-header h1 { font-size: 16px; margin: 0; font-weight: 600; white-space: nowrap; }
|
|
.plan-header .plan-id {
|
|
font-family: ui-monospace, 'SF Mono', monospace; font-size: 12.5px; color: var(--text-muted); white-space: nowrap;
|
|
}
|
|
.plan-header .subtitle { color: var(--text-muted); font-size: 12.5px; white-space: nowrap; }
|
|
.plan-header-spacer { flex: 1; min-width: 12px; }
|
|
.plan-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
|
|
.plan-body { flex: 1; display: flex; gap: 0; }
|
|
.plan-main { flex: 1; display: flex; flex-direction: column; background: var(--bg); min-width: 0; }
|
|
.plan-main-header {
|
|
padding: 0 0 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
|
|
}
|
|
.plan-main-content { flex: 1; padding: 20px 20px 20px; min-width: 0; }
|
|
.todo-row:last-child { margin-bottom: 0; }
|
|
/* .plan-avatar-stack: leicht überlappende Avatar-Kreise der Beteiligten in
|
|
der kompakten Titelzeile (siehe .board-avatar in styles.css für die
|
|
Kreis-/Farb-Definitionen selbst). */
|
|
.plan-avatar-stack { display: flex; flex-shrink: 0; }
|
|
.plan-avatar-stack .board-avatar { margin-left: -7px; border: 2px solid var(--surface); }
|
|
.plan-avatar-stack .board-avatar:first-child { margin-left: 0; }
|
|
.todo-row-item.done { opacity: .55; text-decoration: line-through; }
|
|
/* Farben aus den Theme-Variablen: `background: var(--text)` mit fester
|
|
weißer Schrift ergab im Dunkelmodus weiß auf weiß. */
|
|
/* Die Regeln der früheren TODO-Liste (.todo-item, .todo-list-main, .milestone-row …)
|
|
sind entfallen: Der Bereich "Aufgaben" rendert seit dem Umbau .plan-task-*
|
|
(siehe weiter unten und js/plan/plan-tasks.js). */
|
|
|
|
.plan-toast {
|
|
position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
|
|
background: var(--surface); color: var(--text); border: 1px solid var(--line);
|
|
padding: 10px 18px; border-radius: var(--r-pill);
|
|
font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
|
|
z-index: 1000; box-shadow: var(--sh-3);
|
|
}
|
|
.plan-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
|
|
.plan-resource-grid {
|
|
display: grid !important;
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, max-content)) !important;
|
|
gap: 10px !important;
|
|
justify-content: start !important;
|
|
}
|
|
.plan-resource-card {
|
|
padding: 8px 10px !important;
|
|
min-height: 0 !important;
|
|
width: 140px !important;
|
|
max-width: 140px !important;
|
|
}
|
|
.plan-resource-card h3 {
|
|
font-size: 12px !important;
|
|
margin-bottom: 2px !important;
|
|
}
|
|
.plan-resource-clickable { cursor: pointer; transition: box-shadow .15s, transform .15s; }
|
|
.plan-resource-clickable:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
|
|
.todo-depends-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
max-height: 180px;
|
|
overflow-y: auto;
|
|
border: 1px solid var(--line-soft);
|
|
border-radius: var(--r-md);
|
|
padding: 8px;
|
|
background: var(--surface-alt);
|
|
}
|
|
.todo-depends-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 5px 6px;
|
|
border-radius: var(--r-sm);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: background .15s;
|
|
}
|
|
.todo-depends-item:hover { background: var(--surface-sunk); }
|
|
.todo-depends-item input { flex-shrink: 0; }
|
|
.todo-depends-group {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
margin-top: 6px;
|
|
margin-bottom: 2px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .03em;
|
|
}
|
|
.todo-depends-group:first-child { margin-top: 0; }
|
|
/* Im eingeklappten Bereich trägt bereits das <details> den Rahmen */
|
|
.todo-depends-list.flat {
|
|
border: none;
|
|
background: transparent;
|
|
padding: 0;
|
|
max-height: 168px;
|
|
}
|
|
/* Vorgänger, die einen Zirkelbezug erzeugen würden (siehe
|
|
cyclicDependencyIds() in js/plan/plan-modals.js) */
|
|
.todo-depends-item.is-blocked { color: var(--text-subtle); cursor: not-allowed; opacity: .6; }
|
|
.todo-depends-item.is-blocked:hover { background: transparent; }
|
|
.todo-depends-note {
|
|
margin-left: auto;
|
|
font-size: 10.5px;
|
|
color: var(--amber);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* === TODO-Modal (Stufe B) =================================================
|
|
Kopfzeile mit Tastaturhinweis, Fehlermeldung am Feld, Dauer-Badge,
|
|
Zuständige als Personen-Chips, Status-Segment und eingeklappte
|
|
Abhängigkeiten. Befüllt von openTodoModal() in js/plan/plan-modals.js. */
|
|
|
|
.modal-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 18px;
|
|
}
|
|
.modal-head h2 { margin: 0; }
|
|
.modal-kbd { font-size: 11px; color: var(--text-subtle); white-space: nowrap; }
|
|
|
|
/* Etwas breiter als die 500 px der Standard-Maske, damit die vier
|
|
Schaltflächen der Fußzeile in eine Zeile passen (gleiche Ausnahme wie
|
|
#lpModal/#newProjModal in styles.css). */
|
|
#todoModal .modal { max-width: 560px; }
|
|
|
|
/* Fußzeile bleibt stehen, wenn die Abhängigkeiten aufgeklappt sind */
|
|
.modal-footer {
|
|
position: sticky;
|
|
bottom: -28px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin: 20px -28px -28px;
|
|
padding: 16px 28px;
|
|
border-top: 1px solid var(--line-soft);
|
|
background: var(--surface-alt);
|
|
border-radius: 0 0 var(--r-xl) var(--r-xl);
|
|
}
|
|
|
|
/* Validierungshinweis direkt am Feld statt im alert() */
|
|
/* .field-error steht in styles.css: der Passwort-Dialog (js/auth.js) nutzt
|
|
sie auch ausserhalb des Projektbereichs. */
|
|
.modal input.is-error,
|
|
.modal textarea.is-error {
|
|
border-color: var(--red);
|
|
box-shadow: 0 0 0 3px rgba(215,0,21,.15);
|
|
}
|
|
|
|
.field-inline { display: flex; align-items: center; gap: 8px; }
|
|
.field-inline .range-picker-display { flex: 1; }
|
|
.field-badge {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: var(--text-muted);
|
|
background: var(--surface-sunk);
|
|
border-radius: var(--r-pill);
|
|
padding: 3px 9px;
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* Zuständige: Kürzel + Name, gleiche Lesart wie die Board-Spalten */
|
|
.person-chips { display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.person-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
background: var(--surface);
|
|
color: var(--text-muted);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--r-pill);
|
|
padding: 4px 12px 4px 4px;
|
|
font-size: 12.5px;
|
|
font-weight: 500;
|
|
transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
|
|
}
|
|
.person-chip:hover { background: var(--surface); border-color: var(--text-subtle); }
|
|
.person-chip-ini {
|
|
width: 21px;
|
|
height: 21px;
|
|
border-radius: 50%;
|
|
background: var(--surface-sunk);
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
}
|
|
.person-chip[aria-pressed="true"] {
|
|
background: var(--accent-soft);
|
|
border-color: var(--accent);
|
|
color: var(--accent);
|
|
}
|
|
.person-chip[aria-pressed="true"]:hover { background: var(--accent-soft); }
|
|
.person-chip[aria-pressed="true"] .person-chip-ini { background: var(--accent); color: #fff; }
|
|
|
|
/* Hover-Fläche im Status-Segment: eigene Abstufung, weil das Segment auf
|
|
--surface-sunk sitzt. Gleiche Drei-Zustands-Logik wie in styles.css —
|
|
:root deckt hell ab, die Media Query das System-Dunkel (außer bei
|
|
ausdrücklich hell), [data-theme="dark"] die manuelle Umschaltung. */
|
|
:root { --seg-hover: rgba(0,0,0,.06); }
|
|
@media (prefers-color-scheme: dark) {
|
|
html:not([data-theme="light"]) { --seg-hover: rgba(255,255,255,.10); }
|
|
}
|
|
html[data-theme="dark"] { --seg-hover: rgba(255,255,255,.10); }
|
|
|
|
/* Status: ersetzt das frühere Paar aus "Erledigt" und Fortschrittsregler */
|
|
.segmented {
|
|
display: inline-flex;
|
|
background: var(--surface-sunk);
|
|
border-radius: var(--r-pill);
|
|
padding: 2px;
|
|
gap: 2px;
|
|
width: fit-content;
|
|
}
|
|
.segmented button {
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
padding: 5px 14px;
|
|
font-size: 12.5px;
|
|
border-radius: var(--r-pill);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.segmented button:hover { background: var(--seg-hover); }
|
|
.segmented button[aria-pressed="true"] {
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
box-shadow: var(--sh-1);
|
|
}
|
|
.segmented-dot {
|
|
width: 7px; height: 7px; border-radius: 50%;
|
|
background: currentColor; opacity: .45;
|
|
}
|
|
.segmented button[aria-pressed="true"] .segmented-dot { opacity: 1; }
|
|
.segmented button[data-status="offen"][aria-pressed="true"] .segmented-dot { background: var(--text-subtle); }
|
|
.segmented button[data-status="arbeit"][aria-pressed="true"] .segmented-dot { background: var(--amber); }
|
|
.segmented button[data-status="fertig"][aria-pressed="true"] .segmented-dot { background: var(--green); }
|
|
|
|
.progress-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
|
|
.progress-row[hidden] { display: none; }
|
|
.progress-row input[type=range] { flex: 1; accent-color: var(--accent); }
|
|
.progress-row output {
|
|
font-variant-numeric: tabular-nums;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
min-width: 42px;
|
|
text-align: right;
|
|
}
|
|
|
|
/* Abhängigkeiten: selten gebraucht, daher eingeklappt mit Anzahl im Kopf */
|
|
.fold {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--r-md);
|
|
overflow: hidden;
|
|
background: var(--surface);
|
|
}
|
|
.fold > summary {
|
|
cursor: pointer;
|
|
list-style: none;
|
|
padding: 9px 11px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
font-size: 12.5px;
|
|
user-select: none;
|
|
}
|
|
.fold > summary::-webkit-details-marker { display: none; }
|
|
.fold > summary:hover { background: var(--surface-alt); }
|
|
.fold-caret {
|
|
color: var(--text-subtle);
|
|
font-size: 10px;
|
|
transition: transform .18s var(--ease);
|
|
}
|
|
.fold[open] > summary .fold-caret { transform: rotate(90deg); }
|
|
.fold-count {
|
|
margin-left: auto;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
background: var(--accent-soft);
|
|
color: var(--accent);
|
|
border-radius: var(--r-pill);
|
|
padding: 1px 9px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.fold-count.zero { background: var(--surface-sunk); color: var(--text-subtle); }
|
|
.fold-body {
|
|
padding: 9px 11px 11px;
|
|
border-top: 1px solid var(--line-soft);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
}
|
|
.fold-search { position: relative; }
|
|
.fold-search input { width: 100%; padding-left: 28px; }
|
|
.fold-search-icon {
|
|
position: absolute;
|
|
left: 9px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--text-subtle);
|
|
font-size: 13px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Drag-Handle für TODO- und Meilenstein-Zeilen direkt im GANTT */
|
|
.gantt-row.gantt-todo,
|
|
.gantt-row.gantt-milestone-row { cursor: default; }
|
|
.gantt-row.gantt-todo .gantt-label,
|
|
.gantt-row.gantt-milestone-row .gantt-label { display: flex; align-items: center; gap: 8px; }
|
|
.gantt-todo-drag {
|
|
color: var(--text-subtle); cursor: grab; font-size: 13px; line-height: 1;
|
|
user-select: none; flex-shrink: 0;
|
|
}
|
|
.gantt-row.gantt-todo.dragging,
|
|
.gantt-row.gantt-milestone-row.dragging { opacity: .5; }
|
|
.gantt-todo-drag:active { cursor: grabbing; }
|
|
.gantt-row.gantt-milestone-row .gantt-todo-drag { color: var(--text-subtle); }
|
|
|
|
/* Cockpit: KPI-Kacheln über dem GANTT (Gesamtfortschritt, offene Aufgaben,
|
|
nächster Meilenstein, Team-Auslastung) — siehe renderPlanKpis() in
|
|
js/plan/plan-gantt.js. */
|
|
.plan-kpi-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.plan-kpi-tile {
|
|
background: var(--surface);
|
|
border: 1px solid var(--line-soft);
|
|
border-radius: var(--r-lg);
|
|
padding: 12px 16px;
|
|
box-shadow: var(--sh-1);
|
|
}
|
|
.plan-kpi-tile .kpi-label {
|
|
font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em;
|
|
color: var(--text-subtle); font-weight: 600; margin-bottom: 4px;
|
|
}
|
|
.plan-kpi-tile .kpi-value {
|
|
font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--text);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.plan-kpi-tile .kpi-sub { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
|
|
.plan-kpi-tile.warn .kpi-value { color: var(--amber); }
|
|
|
|
/* Kompakt-Karten im Dashboard (Ressourcen-Auslastung, Dateien & Freigaben,
|
|
Verlauf) — springen in den zugehörigen Bereich bzw. öffnen den Verlauf,
|
|
siehe showPlanSection()/openHistoryModal(). */
|
|
.plan-card-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
|
|
gap: 14px;
|
|
margin-top: 18px;
|
|
}
|
|
.plan-mini-card {
|
|
background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
|
|
padding: 14px 16px; cursor: pointer; transition: box-shadow .15s, transform .15s;
|
|
}
|
|
.plan-mini-card:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
|
|
.plan-mini-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
|
|
.plan-mini-card-title { font-size: 13px; font-weight: 600; }
|
|
.plan-mini-card-expand { font-size: 11px; color: var(--accent); font-weight: 500; flex-shrink: 0; }
|
|
.plan-mini-card-preview {
|
|
font-size: 12.5px; color: var(--text-muted); line-height: 1.5;
|
|
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
|
|
}
|
|
.plan-mini-chip-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
|
|
.plan-mini-chip { font-size: 10.5px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--surface-sunk); color: var(--text-muted); }
|
|
.plan-mini-chip.warn { background: rgba(178,80,0,.12); color: var(--amber); }
|
|
.plan-heat-row { display: flex; gap: 4px; }
|
|
.plan-heat-cell { flex: 1; height: 18px; border-radius: 4px; background: var(--accent); }
|
|
|
|
@media (max-width: 760px) {
|
|
.plan-kpi-row { grid-template-columns: repeat(2, 1fr); }
|
|
}
|
|
|
|
/* --- Geister-Balken: Termine der Vorwoche (plan-build-gantt.js) ---
|
|
Bewusst ohne Füllung und ohne Zeiger-Ereignisse: sie sind reine
|
|
Referenz-Anzeige und dürfen Drag/Resize des echten Balkens darunter
|
|
nicht abfangen. */
|
|
.gantt-bar.ghost {
|
|
background: transparent;
|
|
border: 1.5px dashed var(--text-subtle);
|
|
opacity: .7;
|
|
pointer-events: none;
|
|
box-shadow: none;
|
|
}
|
|
.gantt-milestone.ghost {
|
|
background: transparent;
|
|
border: 1.5px dashed var(--text-subtle);
|
|
opacity: .7;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* --- Urlaubs-Kollision (plan-build-gantt.js) --- */
|
|
.gantt-bar.todo.conflict-absence {
|
|
outline: 2px solid var(--amber);
|
|
outline-offset: 1px;
|
|
}
|
|
.gantt-conflict-badge {
|
|
color: var(--amber);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
margin-left: 4px;
|
|
cursor: help;
|
|
}
|
|
|
|
/* Hinweisband über dem GANTT (renderPlanWarnings in plan-gantt.js) */
|
|
.plan-warning-band {
|
|
background: var(--surface);
|
|
border: 1px solid var(--line-soft);
|
|
border-left: 3px solid var(--amber);
|
|
border-radius: var(--r-md);
|
|
padding: 10px 14px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.plan-warning-head {
|
|
display: flex; align-items: center; gap: 7px;
|
|
font-size: 12.5px; font-weight: 600; color: var(--amber);
|
|
}
|
|
.plan-warning-list {
|
|
margin: 6px 0 0; padding-left: 26px;
|
|
font-size: 12.5px; color: var(--text-muted); line-height: 1.55;
|
|
}
|
|
|
|
/* Projektübergreifende Auslastung in der Ressourcen-Karte */
|
|
.plan-resource-other {
|
|
font-size: 10px; margin-top: 4px; font-weight: 600; color: var(--amber);
|
|
cursor: help;
|
|
}
|
|
.plan-resource-other.muted { color: var(--text-subtle); font-weight: 400; cursor: default; }
|
|
|
|
/* --- Verlaufs-Modal (plan-history.js) --- */
|
|
.history-list {
|
|
display: flex; flex-direction: column; gap: 10px;
|
|
max-height: 58vh; overflow-y: auto;
|
|
}
|
|
.history-entry {
|
|
border: 1px solid var(--line-soft); border-radius: var(--r-md);
|
|
background: var(--surface-alt); padding: 10px 12px;
|
|
}
|
|
.history-entry.current { border-color: var(--accent); background: var(--surface); }
|
|
.history-entry-head {
|
|
display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px;
|
|
}
|
|
.history-week { font-size: 12.5px; font-weight: 600; }
|
|
.history-date { font-size: 11.5px; color: var(--text-subtle); }
|
|
.history-badge {
|
|
font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-pill);
|
|
background: var(--accent-soft); color: var(--accent);
|
|
}
|
|
.history-badge.muted { background: var(--surface-sunk); color: var(--text-subtle); }
|
|
.history-entry-text { font-size: 12.5px; line-height: 1.5; color: var(--text); }
|
|
.history-entry-text p { margin: 0 0 4px; }
|
|
.history-entry-text p:last-child { margin-bottom: 0; }
|
|
|
|
/* --- Vorlagen-Modal (plan-templates.js) --- */
|
|
.template-head-grid {
|
|
display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
|
|
}
|
|
.template-admin-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
|
|
.template-admin-row {
|
|
display: flex; align-items: center; gap: 8px;
|
|
font-size: 12.5px; padding: 4px 6px;
|
|
background: var(--surface-alt); border-radius: var(--r-sm);
|
|
}
|
|
.template-admin-title { flex: 1; min-width: 0; }
|
|
.template-add-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
.template-add-row input[type=text] { flex: 1 1 200px; min-width: 140px; }
|
|
.template-add-row input[type=number] { width: 70px; }
|
|
|
|
/* --- Honorar-Terminplan (plan-honorar.js) --- */
|
|
.honorar-check { display: flex; align-items: center; gap: 7px; font-size: 12.5px; cursor: help; }
|
|
.honorar-plan-wrap { overflow-x: auto; margin-top: 4px; }
|
|
.honorar-table { font-size: 12.5px; }
|
|
.honorar-table th.num, .honorar-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
.honorar-table td.nowrap { white-space: nowrap; }
|
|
.honorar-table input[type=number] { width: 58px; padding: 3px 6px; font-size: 12px; text-align: center; }
|
|
.honorar-table tfoot th, .honorar-table tfoot td {
|
|
border-top: 2px solid var(--line); font-weight: 600; background: var(--surface-alt);
|
|
}
|
|
|
|
.honorar-anteil-grid {
|
|
display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
|
|
gap: 8px; margin-bottom: 10px;
|
|
}
|
|
.honorar-anteil-field { display: flex; align-items: center; gap: 6px; font-size: 12px; }
|
|
.honorar-anteil-field span { width: 46px; flex-shrink: 0; color: var(--text-muted); }
|
|
.honorar-anteil-field input { width: 100%; min-width: 0; padding: 4px 6px; font-size: 12px; text-align: right; }
|
|
.honorar-admin-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
|
|
.honorar-satz-field { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
|
|
.honorar-satz-field input { width: 78px; padding: 4px 7px; font-size: 12.5px; text-align: right; }
|
|
.honorar-sum { font-size: 12.5px; font-weight: 600; }
|
|
.honorar-sum.ok { color: var(--green); }
|
|
.honorar-sum.warn { color: var(--amber); }
|
|
|
|
/* Beauftragte Leistungsphasen im Projektinfo */
|
|
@media (max-width: 620px) {
|
|
.template-head-grid { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
/* Dateien-Modal (Upload, Freigabe, Kommentare) */
|
|
/* Upload-Maske des Bereichs "Dateien": oben ausgerichtet, damit
|
|
Dateiauswahl und Prüferliste in der breiten Karte auf gleicher Höhe
|
|
beginnen (im früheren Modal war sie unten ausgerichtet). */
|
|
.plan-files-upload { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; margin-bottom: 4px; }
|
|
.plan-files-upload .form-row { margin-bottom: 0; }
|
|
.plan-files-upload #fileUploadReviewers { width: 240px; }
|
|
.files-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; max-height: 50vh; overflow-y: auto; }
|
|
.file-item {
|
|
border: 1px solid var(--line-soft); border-radius: var(--r-md);
|
|
background: var(--surface-alt); padding: 10px 12px;
|
|
}
|
|
.file-item-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
.file-item-name { font-weight: 500; font-size: 13px; word-break: break-all; }
|
|
.file-item-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
|
|
.file-status-badge {
|
|
font-size: 11px; padding: 2px 8px; border-radius: var(--r-pill); color: #fff; flex-shrink: 0;
|
|
}
|
|
.file-status-badge.pending, .file-reviewer-chip.pending { background: #d18b00; }
|
|
.file-status-badge.approved, .file-reviewer-chip.approved { background: var(--green); }
|
|
.file-status-badge.rejected, .file-reviewer-chip.rejected { background: var(--red); }
|
|
.file-reviewer-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
|
|
.file-reviewer-chip { font-size: 11px; padding: 2px 8px; border-radius: var(--r-pill); color: #fff; }
|
|
.file-item-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
|
|
.file-comments { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
|
|
.file-comment-list { display: flex; flex-direction: column; gap: 6px; max-height: 160px; overflow-y: auto; }
|
|
.file-comment { font-size: 12px; background: var(--surface-sunk); border-radius: var(--r-sm); padding: 6px 8px; }
|
|
.file-comment-date { color: var(--text-subtle); font-size: 11px; margin-left: 6px; }
|
|
.file-comment-form { display: flex; gap: 6px; margin-top: 6px; }
|
|
.file-comment-form input { flex: 1; }
|
|
|
|
/* === Projektbereich: Bereichs-Navigation und Bereiche ====================
|
|
Die Seite ist der EIGENE BEREICH eines Projekts und gliedert sich in fünf
|
|
Unterbereiche (Dashboard, Terminplan, Aufgaben, Dateien, Einstellungen),
|
|
zwischen denen die Leiste .plan-nav umschaltet (showPlanSection() in
|
|
js/plan/plan-sections.js). Alle Bereiche liegen gleichzeitig im DOM und
|
|
werden nur ein-/ausgeblendet. */
|
|
.plan-nav {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 0 24px;
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--line-soft);
|
|
overflow-x: auto;
|
|
}
|
|
.plan-nav-item {
|
|
background: transparent;
|
|
color: var(--text-muted);
|
|
border: none;
|
|
border-bottom: 2px solid transparent;
|
|
border-radius: 0;
|
|
padding: 10px 14px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
}
|
|
.plan-nav-item:hover { color: var(--text); background: var(--surface-alt); }
|
|
.plan-nav-item.is-active {
|
|
color: var(--accent);
|
|
border-bottom-color: var(--accent);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.plan-section { display: none; }
|
|
.plan-section.is-active { display: block; }
|
|
|
|
/* Kartenraster der Bereiche (Dashboard, Einstellungen) */
|
|
.plan-panel-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 14px;
|
|
margin-top: 16px;
|
|
}
|
|
.plan-panel {
|
|
background: var(--surface);
|
|
border: 1px solid var(--line-soft);
|
|
border-radius: var(--r-lg);
|
|
padding: 14px 16px;
|
|
}
|
|
.plan-panel-wide { grid-column: 1 / -1; }
|
|
.plan-panel-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
margin: 0 0 10px;
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
}
|
|
.plan-panel-count {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: var(--text-subtle);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.settings-static {
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
padding: 6px 0;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
/* --- Aufgaben-Bereich: Listendarstellung von TODOs und Meilensteinen
|
|
(renderPlanTasks() in js/plan/plan-tasks.js). Ein Klick auf eine Zeile
|
|
öffnet denselben Dialog wie im GANTT (openTodoModal/openMilestoneModal). */
|
|
.plan-task-list { display: flex; flex-direction: column; gap: 6px; }
|
|
.plan-task-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 10px;
|
|
background: var(--surface-alt);
|
|
border: 1px solid var(--line-soft);
|
|
border-radius: var(--r-md);
|
|
cursor: pointer;
|
|
transition: border-color .15s, background .15s;
|
|
}
|
|
.plan-task-row:hover { border-color: var(--accent); }
|
|
.plan-task-row.is-done .plan-task-title { text-decoration: line-through; color: var(--text-subtle); }
|
|
.plan-task-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--text-subtle); }
|
|
.plan-task-dot.arbeit { background: var(--amber); }
|
|
.plan-task-dot.fertig { background: var(--green); }
|
|
.plan-task-title { flex: 1; font-size: 13px; font-weight: 500; min-width: 0; }
|
|
.plan-task-meta {
|
|
font-size: 11.5px;
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.plan-task-meta.overdue { color: var(--red); font-weight: 600; }
|
|
.plan-task-no-schedule { color: var(--text-subtle); font-style: italic; }
|
|
.plan-task-assignees { display: flex; flex-shrink: 0; }
|
|
.plan-task-assignees .board-avatar { margin-left: -7px; border: 2px solid var(--surface-alt); }
|
|
.plan-task-assignees .board-avatar:first-child { margin-left: 0; }
|
|
.plan-task-empty { font-size: 12.5px; color: var(--text-subtle); padding: 10px 0; }
|
|
|
|
/* --- Dashboard: Liste der nächsten Termine (renderPlanDashboard()) --- */
|
|
.plan-upcoming-list { display: flex; flex-direction: column; gap: 7px; }
|
|
.plan-upcoming-item { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; }
|
|
.plan-upcoming-date {
|
|
color: var(--text-muted);
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
min-width: 82px;
|
|
}
|
|
.plan-upcoming-item.overdue .plan-upcoming-date { color: var(--red); font-weight: 600; }
|
|
.plan-upcoming-kind {
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .04em;
|
|
color: var(--text-subtle);
|
|
}
|
|
.plan-dash-team { display: flex; flex-direction: column; gap: 7px; }
|
|
.plan-dash-team-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
|
|
|
|
/* === Bereich "Protokolle" (js/plan/plan-protokoll.js) ===
|
|
Listenansicht (.protokoll-row je Protokoll) und Detailansicht
|
|
(.protokoll-field-grid Kopf, Teilnehmer- und Punkte-Block). Der
|
|
Punkte-Block gruppiert in .protokoll-gruppe-Abschnitte (freier Text,
|
|
keine feste Liste, siehe CLAUDE.md "### Protokolle"); neue Punkte tragen
|
|
.is-neu (eigenes Gelb-Token --protokoll-neu-bg/-border, siehe styles.css —
|
|
bewusst nicht --band-neu, das im Wochenbericht schon blau "neu
|
|
kommentiert" bedeutet). */
|
|
|
|
.protokoll-list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
|
|
|
|
.protokoll-row {
|
|
display: grid;
|
|
grid-template-columns: 64px 1fr 140px 170px 100px;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 11px 4px;
|
|
border-bottom: 1px solid var(--line-soft);
|
|
cursor: pointer;
|
|
transition: background .12s var(--ease);
|
|
}
|
|
.protokoll-row:last-child { border-bottom: none; }
|
|
.protokoll-row:hover { background: var(--surface-alt); }
|
|
.protokoll-nr { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--text-muted); font-size: 13px; }
|
|
.protokoll-betreff { font-weight: 560; font-size: 13px; }
|
|
.protokoll-datum { display: block; font-weight: 400; color: var(--text-subtle); font-size: 11.5px; margin-top: 2px; }
|
|
.protokoll-verfasser { color: var(--text-muted); font-size: 12.5px; }
|
|
.protokoll-punkte-status { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
|
|
.protokoll-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex-shrink: 0; }
|
|
.protokoll-punkte-status.ist-leer .protokoll-status-dot { background: var(--green); }
|
|
.protokoll-teilnehmer-count { color: var(--text-subtle); font-size: 12.5px; text-align: right; }
|
|
|
|
.protokoll-back-link { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px;
|
|
margin-bottom: 14px; cursor: pointer; width: fit-content; }
|
|
.protokoll-back-link:hover { color: var(--text); }
|
|
|
|
.protokoll-import-banner { background: var(--protokoll-neu-bg); border: 1px solid var(--protokoll-neu-border);
|
|
border-radius: var(--r-md); padding: 10px 14px; font-size: 12.5px; color: var(--text); margin-bottom: 14px; }
|
|
|
|
/* KI-Erkennung angefordert, aber fehlgeschlagen (kein Schlüssel, Netzwerk-
|
|
fehler, unerwartete Antwort …) — eigene, wärmere Farbe als der neutrale
|
|
Import-Hinweis darüber, damit ein echter Fehlschlag nicht im selben Ton
|
|
wie eine normale Information untergeht. Rein clientseitig für GENAU den
|
|
Import, der ihn ausgelöst hat (currentProtokoll._kiFallbackHinweis,
|
|
js/plan/plan-protokoll.js) — beim erneuten Öffnen des Protokolls vom
|
|
Server aus ist er wieder weg, das einmalige Ereignis ist dann bereits
|
|
zur Kenntnis genommen. */
|
|
.protokoll-ki-fallback-banner { background: color-mix(in srgb, var(--amber) 10%, transparent); border: 1px solid var(--amber);
|
|
border-radius: var(--r-md); padding: 10px 14px; font-size: 12.5px; color: var(--text); margin-bottom: 14px; }
|
|
|
|
/* Ladehinweis im Import-Dialog (#protokollImportLoading, Test.html): ohne
|
|
ihn wirkte der Dialog während eines länger laufenden KI-Aufrufs (bis zu
|
|
KI_TIMEOUT_MS_LOKAL = 5 Minuten bei einem eigenen Server, server.js) wie
|
|
hängengeblieben — Felder und Knöpfe werden während der Anfrage zusätzlich
|
|
gesperrt (setzeProtokollImportLadezustand(), plan-protokoll.js), damit
|
|
kein zweiter Import gleichzeitig losgeschickt wird.
|
|
[hidden] MUSS hier explizit auf display:none gesetzt werden: das
|
|
HTML-Attribut hidden bewirkt das nur über eine UA-Regel niedrigster
|
|
Priorität, die eigene display:flex-Regel direkt darunter hätte sie sonst
|
|
überschrieben und den Kasten dauerhaft sichtbar gemacht — genau das ist
|
|
beim ersten Versuch ohne diese Zeile passiert. */
|
|
.protokoll-import-loading[hidden] { display: none; }
|
|
.protokoll-import-loading { display: flex; align-items: center; gap: 10px; margin-top: 12px;
|
|
padding: 10px 12px; background: var(--surface-alt); border: 1px solid var(--line-soft);
|
|
border-radius: var(--r-md); font-size: 12.5px; color: var(--text-muted); }
|
|
.protokoll-import-spinner { width: 15px; height: 15px; flex-shrink: 0; border-radius: 50%;
|
|
border: 2px solid var(--line); border-top-color: var(--accent);
|
|
animation: protokoll-import-spin .8s linear infinite; }
|
|
@keyframes protokoll-import-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
|
|
|
|
.protokoll-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
|
|
padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; }
|
|
.protokoll-detail-meta { color: var(--text-muted); font-size: 12.5px; }
|
|
|
|
.protokoll-field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
|
|
.protokoll-field { display: flex; flex-direction: column; gap: 5px; }
|
|
.protokoll-field label { font-size: 11.5px; color: var(--text-subtle); text-transform: uppercase; letter-spacing: .04em; }
|
|
|
|
.protokoll-block { margin-top: 20px; }
|
|
.protokoll-block-head { margin-bottom: 10px; }
|
|
.protokoll-block-head h4 { margin: 0; font-size: 13.5px; font-weight: 650; }
|
|
|
|
.protokoll-teilnehmer-row { display: grid; grid-template-columns: 1fr 160px 100px 24px; gap: 10px; align-items: center;
|
|
padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
|
|
.protokoll-teilnehmer-row:last-of-type { border-bottom: none; }
|
|
.protokoll-anwesend-toggle { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-muted); }
|
|
.protokoll-anwesend-toggle input { accent-color: var(--green); }
|
|
.protokoll-row-remove { color: var(--text-subtle); text-align: center; cursor: pointer; opacity: .6; flex-shrink: 0; }
|
|
.protokoll-row-remove:hover { opacity: 1; color: var(--red); }
|
|
|
|
.protokoll-gruppe { margin-bottom: 18px; }
|
|
.protokoll-gruppe:last-of-type { margin-bottom: 8px; }
|
|
.protokoll-gruppe-head { display: flex; align-items: center; justify-content: space-between;
|
|
padding: 2px 2px 8px; border-bottom: 1px solid var(--line-soft); margin-bottom: 10px; }
|
|
.protokoll-gruppe-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
|
|
color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: var(--r-pill); }
|
|
.protokoll-gruppe-name.is-leer { color: var(--text-subtle); background: var(--surface-sunk); }
|
|
.protokoll-gruppe-add { font-size: 12px; color: var(--accent); font-weight: 600; cursor: pointer; }
|
|
.protokoll-gruppe-add:hover { color: var(--accent-hover); }
|
|
.protokoll-gruppe-move,
|
|
.protokoll-punkt-move { display: inline-flex; gap: 4px; flex-shrink: 0; }
|
|
.protokoll-gruppe-move button,
|
|
.protokoll-punkt-move button { padding: 2px 7px; line-height: 1.4; }
|
|
.protokoll-gruppe-move button:disabled,
|
|
.protokoll-punkt-move button:disabled { opacity: .3; cursor: default; }
|
|
|
|
.protokoll-punkt { position: relative; border: 1px solid var(--line-soft); border-radius: var(--r-md);
|
|
padding: 10px 12px; margin-bottom: 8px; background: var(--surface); }
|
|
.protokoll-punkt:last-child { margin-bottom: 0; }
|
|
.protokoll-punkt.is-neu { background: var(--protokoll-neu-bg); border-color: var(--protokoll-neu-border);
|
|
border-left: 3px solid var(--protokoll-neu-border); padding-left: 9px; }
|
|
.protokoll-punkt.is-erledigt { opacity: .6; }
|
|
.protokoll-punkt-top-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
|
|
.protokoll-punkt-nr { display: inline-block; width: 46px; flex-shrink: 0; font-variant-numeric: tabular-nums;
|
|
font-weight: 650; font-size: 12.5px; text-align: center; padding: 5px 4px; color: var(--text-muted);
|
|
background: var(--surface-sunk); border-radius: var(--r-sm); }
|
|
.protokoll-punkt.is-neu .protokoll-punkt-nr { background: rgba(0,0,0,.06); color: var(--text); }
|
|
.protokoll-punkt-gruppe { width: 110px; flex-shrink: 0; font-size: 12px; }
|
|
.protokoll-chip-neu { background: var(--protokoll-neu-border); color: #3d2e00; font-size: 10px; font-weight: 700;
|
|
letter-spacing: .03em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--r-pill); flex-shrink: 0; }
|
|
.protokoll-punkt-thema { flex: 1; min-width: 160px; font-weight: 600; font-size: 13px; }
|
|
.protokoll-punkt-erledigt-toggle { display: flex; align-items: center; gap: 5px; font-size: 12px;
|
|
color: var(--text-muted); flex-shrink: 0; }
|
|
.protokoll-punkt-text { width: 100%; resize: vertical; font: inherit; font-size: 12.5px; color: var(--text-muted);
|
|
margin: 0 0 8px; box-sizing: border-box; }
|
|
.protokoll-punkt-foot { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--text-subtle); }
|
|
.protokoll-punkt-foot label { display: flex; align-items: center; gap: 6px; }
|
|
.protokoll-punkt-foot input[type=text] { font-size: 12px; padding: 5px 8px; }
|
|
.protokoll-punkt-foot .range-picker-display { width: 100px; font-size: 12px; padding: 5px 8px; }
|
|
/* Reines Anzeigefeld (kein Input) — erstellt_am ist serverseitig maßgeblich
|
|
und beim Fortschreiben unveränderlich, siehe legeProtokollAn()/PUT
|
|
.../:id in server.js; rechtsbündig, damit es nicht wie ein drittes
|
|
Eingabefeld neben Zuständig/Termin wirkt. */
|
|
.protokoll-punkt-erstellt { margin-left: auto; align-self: center; white-space: nowrap; }
|
|
|
|
@media (max-width: 900px){
|
|
.protokoll-row { grid-template-columns: 1fr; gap: 4px; }
|
|
.protokoll-field-grid { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
.add-row-btn { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px;
|
|
font-weight: 600; cursor: pointer; padding: 8px 0; width: fit-content; }
|
|
.add-row-btn:hover { color: var(--accent-hover); }
|
|
|
|
.legend-swatch { width: 13px; height: 13px; border-radius: 4px; flex-shrink: 0; display: inline-block; }
|
|
.legend-swatch.neu { background: var(--protokoll-neu-bg); border: 1.5px solid var(--protokoll-neu-border); }
|
|
.legend-swatch.fortgeschrieben,
|
|
.legend-swatch.erledigt { background: var(--surface); border: 1.5px solid var(--line); }
|
|
.legend-swatch.erledigt { opacity: .6; }
|