Sortieren und Filtern wie in Excel in jeder Tabelle, Ansichten je Benutzer (0.13.0)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
@@ -313,8 +313,6 @@ dl.werte dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums;
|
||||
.g-trenner:hover, .g-trenner.zieht { background: var(--akzent-hell); border-color: var(--akzent); }
|
||||
|
||||
/* Zoom an der Zeitskala und Abschläge als Meilensteine (Henning, 20.10.2026) */
|
||||
.g-zoom { display: inline-flex; align-items: center; gap: 4px; }
|
||||
.g-zoom button { min-width: 32px; padding-inline: 8px; }
|
||||
.g-zeit { cursor: ew-resize; touch-action: none; user-select: none; }
|
||||
.zahlung-ms { position: absolute; top: 19px; width: 18px; height: 18px; pointer-events: auto; cursor: pointer; z-index: 2;
|
||||
clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); display: grid; place-items: center; font-size: 11px; font-weight: 700;
|
||||
@@ -562,3 +560,73 @@ button.haupt.gross { padding: 14px 22px; font-size: 17px; flex: 1; }
|
||||
.last.leer { background: repeating-linear-gradient(135deg, rgb(120 130 150 / 0.18) 0 4px, transparent 4px 8px); color: var(--leise); border: 1px solid var(--linie); }
|
||||
.dialog .b-dauer { border-bottom: 1px solid var(--linie); padding-bottom: 10px; margin-bottom: 10px; }
|
||||
.dialog .b-dauer .schalter { margin-top: 8px; color: var(--text); }
|
||||
|
||||
/* Sortieren und Filtern wie in Excel (alle Tabellen) */
|
||||
.liste { margin-bottom: 8px; }
|
||||
.liste-leiste { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
|
||||
.liste-leiste .ansicht-knopf { padding: 6px 12px; font-size: 14px; }
|
||||
.liste-leiste .ansicht-knopf i { font-style: normal; color: var(--holz); font-size: 12px; }
|
||||
.liste-leiste .nur-schmal { padding: 6px 12px; font-size: 14px; }
|
||||
.chip { display: inline-flex; align-items: center; gap: 2px; background: var(--akzent-hell); color: var(--akzent); border-radius: 999px; font-size: 13px; padding: 2px 4px 2px 10px; max-width: 100%; }
|
||||
.chip.sort { background: var(--bg); color: var(--text); border: 1px solid var(--linie); }
|
||||
.chip > span, .chip-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.chip button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 3px 6px; border-radius: 999px; }
|
||||
.chip button:hover { background: rgb(0 0 0 / 0.06); }
|
||||
.chip-text { display: inline-flex; align-items: center; gap: 5px; padding-left: 0 !important; }
|
||||
.chip svg, .th-zeichen svg, .fm-zeile svg { width: 11px; height: 11px; flex: none; }
|
||||
th .th-knopf { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font: inherit; color: inherit; border-radius: 4px; }
|
||||
th .th-knopf:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
|
||||
th .th-zeichen { display: inline-flex; align-items: center; gap: 2px; color: var(--akzent); font-weight: 700; }
|
||||
th .th-zeichen i { font-style: normal; color: var(--leise); opacity: 0.45; font-weight: 400; font-size: 11px; }
|
||||
th:hover .th-zeichen i, th.aktiv .th-zeichen i { opacity: 1; }
|
||||
th.aktiv { color: var(--akzent); }
|
||||
th.zahl .th-knopf { flex-direction: row-reverse; }
|
||||
td.auge-spalte, th.auge-spalte { width: 34px; padding-left: 0; padding-right: 8px; text-align: right; }
|
||||
button.auge { background: none; border: 0; padding: 4px; color: var(--leise); cursor: pointer; opacity: 0; border-radius: 6px; line-height: 0; }
|
||||
button.auge svg { width: 17px; height: 17px; }
|
||||
tr:hover button.auge, button.auge:focus-visible, tr.ausgeblendet button.auge { opacity: 1; }
|
||||
button.auge:hover { color: var(--akzent); background: var(--akzent-hell); }
|
||||
@media (hover: none) { button.auge { opacity: 0.5; } }
|
||||
tr.ausgeblendet td { opacity: 0.45; }
|
||||
tr.ausgeblendet td.auge-spalte { opacity: 1; }
|
||||
tr.leer td { color: var(--leise); text-align: center; padding: 22px; }
|
||||
.filter-menue { position: fixed; z-index: 30; background: var(--fl); color: var(--text); border: 1px solid var(--linie); border-radius: 10px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.2); width: 290px; padding: 6px; font-size: 14px; }
|
||||
.filter-menue.ansichten-menue { width: 320px; }
|
||||
.filter-menue.blatt { left: 0; right: 0; bottom: 0; width: auto; border-radius: 14px 14px 0 0; max-height: 85vh; overflow: auto; padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); }
|
||||
.filter-menue hr { border: 0; border-top: 1px solid var(--linie); margin: 4px 0; }
|
||||
.fm-kopf { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 6px; }
|
||||
.fm-zu { background: none; border: 0; color: var(--leise); cursor: pointer; font-size: 15px; padding: 4px 6px; }
|
||||
.fm-zeile { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; background: none; border: 0; color: inherit; font: inherit; padding: 7px 8px; border-radius: 6px; cursor: pointer; }
|
||||
.fm-zeile > span { width: 16px; display: inline-flex; justify-content: center; color: var(--leise); flex: none; }
|
||||
.fm-zeile:hover:not(:disabled) { background: var(--bg); }
|
||||
.fm-zeile.an { color: var(--akzent); font-weight: 600; }
|
||||
.fm-zeile:disabled { color: var(--leise); opacity: 0.6; cursor: default; }
|
||||
.fm-weitere { display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 32px; color: var(--leise); }
|
||||
.fm-weitere span { flex: 1; }
|
||||
.fm-weitere button.neben { padding: 2px 10px; }
|
||||
.fm-zeit { display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: var(--leise); }
|
||||
.fm-zeit select { flex: 1; padding: 6px; border: 1px solid var(--linie); border-radius: 6px; background: var(--fl); color: var(--text); font: inherit; }
|
||||
.fm-suche { width: 100%; margin: 6px 0; padding: 7px 9px; border: 1px solid var(--linie); border-radius: 6px; background: var(--fl); color: var(--text); font: inherit; }
|
||||
.fm-werte { border: 1px solid var(--linie); border-radius: 6px; max-height: 240px; overflow: auto; padding: 4px 0; }
|
||||
.blatt .fm-werte { max-height: 38vh; }
|
||||
.fm-werte label { display: flex; align-items: center; gap: 8px; padding: 5px 8px; cursor: pointer; }
|
||||
.fm-werte label:hover { background: var(--bg); }
|
||||
.fm-werte label span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.fm-werte label small { color: var(--leise); }
|
||||
.fm-werte .hinweis { padding: 4px 8px; margin: 0; }
|
||||
.filter-menue .knoepfe { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 2px 2px; }
|
||||
.filter-menue .knoepfe button:disabled { opacity: 0.5; cursor: default; }
|
||||
.filter-menue > .hinweis { font-size: 12px; padding: 4px 8px; margin: 0; }
|
||||
.g-links .auge-g { background: none; border: 0; color: var(--leise); cursor: pointer; padding: 0; width: 22px; height: 22px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
|
||||
.g-links .auge-g svg { width: 15px; height: 15px; }
|
||||
.g-links .auge-g:hover { background: var(--akzent-hell); color: var(--akzent); }
|
||||
.g-zeile.ausgeblendet .g-links > *:not(.name), .g-zeile.ausgeblendet .name .text { opacity: 0.45; }
|
||||
.g-zeile.ausgeblendet .aktionen { opacity: 1; }
|
||||
.leiste .g-aus { font-size: 14px; color: var(--leise); }
|
||||
.leiste .chip button { padding: 5px 6px; }
|
||||
td .unter.nur-schmal, .liste-leiste .nur-schmal { display: none; }
|
||||
@media (max-width: 800px) {
|
||||
td .unter.nur-schmal { display: block; }
|
||||
.liste-leiste .nur-schmal { display: inline-block; }
|
||||
td.auge-spalte, th.auge-spalte { width: 28px; padding-right: 4px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user