Notizen je Projekt statt Reiter Leistungsphasen
- Neuer Reiter „Notizen“ im Projektbereich: Liste mit Suche und angehefteten Notizen, Editor mit Formatierung, automatisches Speichern, Mail per Drag & Drop oder Strg+V als neue Notiz, live bei allen - Reiter „Leistungsphasen“ entfernt (Phasen weiter im Terminplan) - Behoben: Umlaute in .eml-Dateien ohne Transfer-Kodierung gingen verloren (betraf auch „Termin aus Mail“) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
51dfbe8cd8
commit
7d65ff813f
10 files changed
+697
-265
No files matched your search
+70
-69
@@ -1669,74 +1669,6 @@ html.glas[data-theme="light"] #planSection-terminplan .tp-menue-liste { backgrou
|
||||
.tp-sym-phase { width: 14px; height: 6px; border-radius: 999px; background: var(--accent); flex: none; opacity: .75; }
|
||||
#todoEditPhaseAbs select { width: 100%; }
|
||||
|
||||
/* ===================== Bereich Leistungsphasen =====================
|
||||
Eriks Wahl "B": Ablaufbalken über alle Phasen, darunter eine Kachel je
|
||||
Phase (renderPlanPhasen(), js/plan/plan-phasen.js). Text auf Akzent-
|
||||
flächen in festem Weiß — unter Glas ist var(--surface) durchscheinend. */
|
||||
.phasen-zusammenfassung {
|
||||
display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
|
||||
font-size: 13px; color: var(--text-muted); margin: 0 2px 12px;
|
||||
}
|
||||
.phasen-zusammenfassung span { font-size: 12px; color: var(--text-subtle); }
|
||||
.phasen-kopf { font-size: 11px; font-weight: 650; letter-spacing: .02em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; }
|
||||
.phasen-ablauf { margin-bottom: 16px; }
|
||||
.phasen-ablauf-spur { position: relative; height: 30px; }
|
||||
.phasen-ablauf-seg {
|
||||
position: absolute; top: 0; bottom: 0; min-width: 0;
|
||||
display: flex; align-items: center; padding: 0 8px; overflow: hidden;
|
||||
border: 0; border-radius: var(--r-md); cursor: pointer;
|
||||
font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap;
|
||||
color: var(--text); background: var(--surface-sunk);
|
||||
}
|
||||
.phasen-ablauf-seg + .phasen-ablauf-seg { box-shadow: -2px 0 0 var(--surface); }
|
||||
.phasen-ablauf-seg.is-fertig { background: var(--green); color: #fff; }
|
||||
.phasen-ablauf-seg.is-laeuft {
|
||||
color: #fff;
|
||||
background: linear-gradient(90deg, var(--accent) var(--fort), color-mix(in srgb, var(--accent) 45%, transparent) var(--fort));
|
||||
}
|
||||
.phasen-ablauf-seg span { overflow: hidden; text-overflow: ellipsis; }
|
||||
.phasen-ablauf-heute { position: absolute; top: -4px; bottom: -4px; border-left: 2px solid var(--red); pointer-events: none; }
|
||||
.phasen-ablauf-achse { position: relative; display: flex; justify-content: space-between; margin-top: 6px; font-size: 11.5px; color: var(--text-muted); }
|
||||
.phasen-ablauf-heute-text { position: absolute; top: 0; transform: translateX(-50%); color: var(--red); font-weight: 600; white-space: nowrap; }
|
||||
|
||||
.phasen-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
|
||||
.phasen-kachel {
|
||||
display: flex; flex-direction: column; gap: 12px;
|
||||
background: var(--surface); border: 1px solid var(--line-soft);
|
||||
border-radius: var(--r-lg); padding: 14px 16px;
|
||||
}
|
||||
.phasen-kachel.is-laeuft { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
|
||||
.phasen-kachel.is-fertig { opacity: .8; }
|
||||
.phasen-kachel.ist-markiert { animation: phasen-markiert 1.2s var(--ease-out, ease-out); }
|
||||
@keyframes phasen-markiert { 0%, 40% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: none; } }
|
||||
.phasen-kachel-kopf { display: flex; align-items: flex-start; gap: 12px; }
|
||||
.phasen-ring {
|
||||
--ring: var(--text-subtle);
|
||||
width: 52px; height: 52px; border-radius: 50%; flex: none;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
background: conic-gradient(var(--ring) var(--fort), var(--surface-sunk) 0);
|
||||
}
|
||||
.phasen-kachel.is-laeuft .phasen-ring { --ring: var(--accent); }
|
||||
.phasen-kachel.is-fertig .phasen-ring { --ring: var(--green); }
|
||||
.phasen-ring span {
|
||||
width: 42px; height: 42px; border-radius: 50%; background: var(--surface-alt);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.phasen-kachel-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
||||
.phasen-kachel-name b { font-size: 15px; }
|
||||
.phasen-kachel-name span { font-size: 12.5px; color: var(--text-muted); }
|
||||
.phasen-chip { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--surface-sunk); color: var(--text-muted); white-space: nowrap; }
|
||||
.phasen-chip.is-laeuft { background: var(--accent); color: #fff; }
|
||||
.phasen-chip.is-fertig { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); }
|
||||
.phasen-hinweis { font-size: 12px; color: var(--amber); margin-top: -4px; }
|
||||
.phasen-werte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 12.5px; }
|
||||
.phasen-werte > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
||||
.phasen-werte small { font-size: 11.5px; color: var(--text-muted); }
|
||||
.phasen-werte b { font-weight: 600; font-variant-numeric: tabular-nums; }
|
||||
.phasen-leer { color: var(--text-subtle); font-weight: 400; font-style: italic; }
|
||||
.phasen-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
|
||||
/* Aufgabenliste: Phasen-Kennzeichen je Aufgabe und Filter */
|
||||
.plan-task-phase {
|
||||
flex-shrink: 0; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px;
|
||||
@@ -1750,7 +1682,6 @@ html.glas[data-theme="light"] #planSection-terminplan .tp-menue-liste { backgrou
|
||||
border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
|
||||
}
|
||||
.plan-task-filter-btn.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
|
||||
@media (max-width: 600px) { .phasen-werte { grid-template-columns: 1fr 1fr; } }
|
||||
|
||||
/* Leistungsphasen farblich von Aufgaben getrennt (Eriks Wunsch): Phasen-
|
||||
balken in Blauviolett (bewusst bläulicher als das Lila der Meilensteine), Aufgaben bleiben im Akzentblau, erledigte grün,
|
||||
@@ -1859,3 +1790,73 @@ html[data-theme="dark"] { --gantt-phase: #a59ef2; }
|
||||
#todoEditExterneWahl { max-width: 100%; }
|
||||
.person-chip-x { margin-left: 4px; opacity: .6; }
|
||||
.person-chip:hover .person-chip-x { opacity: 1; }
|
||||
|
||||
/* ---------- Notizen (Eriks Wahl „A – Liste + Editor“, js/plan/plan-notizen.js) ----------
|
||||
Links die Liste, rechts der Editor. Knöpfe tragen eigene Klassen bzw.
|
||||
all: unset, damit die allgemeine (Glas-)Knopfregel sie nicht färbt. */
|
||||
.notizen {
|
||||
display: grid; grid-template-columns: minmax(240px, 300px) 1fr; min-height: 480px;
|
||||
border: 1px solid var(--line); border-radius: var(--r-lg, 14px); background: var(--surface); overflow: hidden;
|
||||
}
|
||||
#planSection-notizen.notizen-zieht .notizen { outline: 2px dashed var(--accent); outline-offset: 4px; }
|
||||
.notizen-liste { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--surface-alt); border-right: 1px solid var(--line-soft); min-width: 0; }
|
||||
.notizen-suchzeile { display: flex; gap: 8px; }
|
||||
.notizen-suche {
|
||||
flex: 1; min-width: 0; padding: 7px 12px; border: 1px solid var(--line) !important; border-radius: 999px !important;
|
||||
background: var(--surface) !important; color: var(--text); font: inherit; font-size: 12.5px; box-shadow: none !important;
|
||||
}
|
||||
.notizen-suche:focus { outline: none; border-color: var(--accent) !important; }
|
||||
button.notizen-neu { white-space: nowrap; padding: 6px 14px; font-size: 12.5px; }
|
||||
.notizen-eintraege { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; max-height: 62vh; }
|
||||
.notizen-gruppe { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--text-subtle); margin: 8px 4px 4px; }
|
||||
.notizen-pin-punkt { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
|
||||
button.notizen-eintrag, button.notizen-eintrag:hover, button.notizen-eintrag:active {
|
||||
all: unset; box-sizing: border-box; display: grid; gap: 2px; padding: 9px 11px; border-radius: 10px; cursor: pointer; width: 100%;
|
||||
transition: background var(--dur, 150ms);
|
||||
}
|
||||
button.notizen-eintrag:hover { background: var(--surface-sunk); }
|
||||
button.notizen-eintrag:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
||||
button.notizen-eintrag.ist-aktiv { background: var(--surface); box-shadow: inset 3px 0 0 var(--accent), var(--sh-1, 0 1px 2px rgba(0,0,0,.06)); }
|
||||
.notizen-eintrag-titel { font-weight: 600; font-size: 13px; color: var(--text); display: flex; gap: 6px; align-items: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.notizen-eintrag-text { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.notizen-eintrag-meta { font-size: 11px; color: var(--text-subtle); }
|
||||
.notizen-chip { flex: none; font-size: 10.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 0 7px; }
|
||||
.notizen-leer { font-size: 12.5px; color: var(--text-subtle); padding: 10px 4px; }
|
||||
.notizen-leer.ist-fehler { color: var(--red); }
|
||||
.notizen-ablage { margin-top: auto; border: 1.5px dashed var(--line); border-radius: 10px; padding: 9px; text-align: center; font-size: 12px; color: var(--text-subtle); }
|
||||
.notizen-laedt { padding: 24px; color: var(--text-subtle); }
|
||||
|
||||
.notizen-editor { display: flex; flex-direction: column; gap: 12px; padding: 18px 22px; min-width: 0; }
|
||||
.notizen-editor-leer { margin: auto; display: grid; gap: 6px; text-align: center; color: var(--text-muted); max-width: 320px; }
|
||||
.notizen-editor-kopf { display: flex; align-items: center; gap: 8px; }
|
||||
.notizen-titel {
|
||||
flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 2px 0 !important;
|
||||
font: 600 20px/1.3 var(--font-display, inherit); color: var(--text);
|
||||
}
|
||||
.notizen-titel:focus { outline: none; }
|
||||
.notizen-titel::placeholder { color: var(--text-subtle); }
|
||||
button.notizen-symbol, button.notizen-symbol:hover, button.notizen-symbol:active {
|
||||
all: unset; box-sizing: border-box; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line);
|
||||
font-size: 12px; color: var(--text-muted); cursor: pointer; white-space: nowrap; transition: background var(--dur, 150ms);
|
||||
}
|
||||
button.notizen-symbol:hover { background: var(--surface-sunk); color: var(--text); }
|
||||
button.notizen-symbol:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
||||
button.notizen-symbol.ist-an { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 50%, var(--line)); font-weight: 600; }
|
||||
button.notizen-symbol.ist-gefahr:hover { color: var(--red); }
|
||||
button.notizen-symbol.ist-fragend { background: var(--red); color: #fff; border-color: var(--red); }
|
||||
.notizen-richtext { display: flex; flex-direction: column; gap: 8px; flex: 1; }
|
||||
.notizen-text {
|
||||
flex: 1; min-height: 260px; outline: none; line-height: 1.55; font-size: 14px; color: var(--text);
|
||||
padding: 4px 2px; overflow-wrap: anywhere;
|
||||
}
|
||||
.notizen-text:empty::before { content: attr(data-placeholder); color: var(--text-subtle); }
|
||||
.notizen-fuss { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: 10px; font-size: 12px; color: var(--text-subtle); }
|
||||
.notizen-status.ist-ok { color: var(--green); }
|
||||
.notizen-status.ist-warnung { color: var(--amber); }
|
||||
.notizen-status.ist-fehler { color: var(--red); }
|
||||
button.notizen-link, button.notizen-link:hover { all: unset; cursor: pointer; color: var(--accent); text-decoration: underline; margin-left: 6px; }
|
||||
@media (max-width: 760px){
|
||||
.notizen { grid-template-columns: 1fr; }
|
||||
.notizen-liste { border-right: 0; border-bottom: 1px solid var(--line-soft); }
|
||||
.notizen-eintraege { max-height: 240px; }
|
||||
}
|
||||
Reference in new issue
Block a user