Handy: Leiste unten, Tabellen als Karten, Heute und Baustelle für Mitarbeiter (0.24.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:
@@ -1518,3 +1518,83 @@ td.fehler-zelle .zelle-ed { border-color: var(--warn); background: var(--warnung
|
||||
.lk-hilfe { font-size: 13px; margin-top: 8px; }
|
||||
@media (max-width: 1100px) { .lk-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
|
||||
@media (max-width: 500px) { .lk-kachel b { font-size: 22px; } .lk-hilfe { display: none; } }
|
||||
|
||||
/* Handy (Henning, 21.10.2026, Entwurf handy/entwurf): Leiste unten, dunkler Kopf, Tabellen als Karten */
|
||||
.nur-handy, #unten { display: none; }
|
||||
.heute-seite { display: flex; flex-direction: column; gap: 12px; }
|
||||
.heute-seite h3.abschnitt { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin: 6px 0 -4px; }
|
||||
.heute-karte { border-left: 4px solid var(--akzent); }
|
||||
.heute-karte .zeile { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
|
||||
.heute-karte h2 { margin: 0; font-size: 18px; }
|
||||
.heute-karte p { margin: 6px 0; }
|
||||
.heute-karte .marke, .heute-stunden .marke { background: var(--akzent-hell); color: var(--akzent); }
|
||||
.heute-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
|
||||
.heute-knoepfe a { text-align: center; padding: 11px 10px; }
|
||||
.naechste-tage { list-style: none; margin: 0; padding: 0; }
|
||||
.naechste-tage li { display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid var(--linie); }
|
||||
.naechste-tage li:last-child { border-bottom: 0; }
|
||||
.naechste-tage span { color: var(--leise); font-size: 14px; }
|
||||
a.heute-stunden { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
|
||||
.heute-stunden span:first-child { display: flex; flex-direction: column; }
|
||||
.heute-stunden small { color: var(--leise); }
|
||||
.heute-stunden b { font-size: 20px; font-variant-numeric: tabular-nums; }
|
||||
.mehr-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; }
|
||||
.mehr-raster button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px; border: 1px solid var(--linie); border-radius: 10px; background: var(--fl); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
|
||||
.mehr-raster svg { width: 24px; height: 24px; color: var(--akzent); }
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.nur-handy { display: flex; }
|
||||
#dialog-huelle { z-index: 40; }
|
||||
/* oben nur noch Logo und Konto, die Bereiche wandern nach unten */
|
||||
#seitenleiste { position: sticky; top: 0; z-index: 20; overflow: visible; padding: max(8px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 4px max(16px, env(safe-area-inset-left, 0px)); }
|
||||
#reiter { display: none; }
|
||||
main { padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(88px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
|
||||
#unten { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--fl); border-top: 1px solid var(--linie);
|
||||
padding: 4px max(4px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(4px, env(safe-area-inset-left, 0px)); box-shadow: 0 -4px 14px rgb(0 0 0 / 0.06); }
|
||||
#unten button { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; color: var(--leise); font: inherit; font-size: 11px; padding: 7px 0 5px; cursor: pointer; }
|
||||
#unten button svg { width: 23px; height: 23px; }
|
||||
#unten button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
#unten button.aktiv { color: var(--akzent); font-weight: 700; }
|
||||
/* dunkler Seitenkopf wie im Entwurf, der Hauptknopf schwebt unten rechts */
|
||||
#inhalt > .kopf { background: var(--leiste); color: #fff; margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))) 14px; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); gap: 8px; }
|
||||
#inhalt > .kopf h1 { color: #fff; font-size: 21px; }
|
||||
#inhalt > .kopf h1 .datum, #inhalt > .kopf h1 .nummer { color: var(--leiste-text); display: block; margin: 2px 0 0; font-size: 14px; }
|
||||
#inhalt > .kopf > button.haupt { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 15; border-radius: 999px; padding: 13px 20px; box-shadow: 0 6px 18px rgb(0 0 0 / 0.25); }
|
||||
/* Übersicht: drei Zahlen, dann Warnungen vor Aufgaben */
|
||||
.handy-band { gap: 0; background: var(--leiste); border-radius: 12px; margin: -6px 0 14px; padding: 12px 6px; }
|
||||
.handy-band a { flex: 1; display: flex; flex-direction: column; align-items: center; color: #fff; text-decoration: none; min-width: 0; }
|
||||
.handy-band b { font-size: 24px; font-variant-numeric: tabular-nums; }
|
||||
.handy-band b.warn { color: #ffb4a8; }
|
||||
.handy-band small { color: var(--leiste-text); font-size: 12px; }
|
||||
.start { display: flex; flex-direction: column; gap: 12px; }
|
||||
.start .start-warnungen { order: -1; }
|
||||
.handy-aktionen { gap: 10px; margin: 0 0 12px; }
|
||||
.handy-aktionen a { flex: 1; text-align: center; padding: 11px; font-weight: 600; color: var(--akzent); border-color: var(--akzent); }
|
||||
.mehr-menue .mehr-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
||||
/* Tabellen als Karten: Titel groß, Nebeninfos klein darunter, Zahl und Status rechts */
|
||||
.liste table.karten-handy, .liste table.karten-handy tbody, .liste table.karten-handy tfoot { display: block; }
|
||||
.liste table.karten-handy thead { display: none; }
|
||||
.liste table.karten-handy tr[data-i] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; align-items: start; padding: 11px 12px; border-bottom: 1px solid var(--linie); }
|
||||
.liste table.karten-handy tr[data-i] > td { display: block; grid-column: 2; padding: 0; border: 0; text-align: left; }
|
||||
.liste table.karten-handy tr[data-i] > td.h-links { grid-column: 1; grid-row: 1 / span 4; padding-top: 2px; }
|
||||
.liste table.karten-handy tr[data-i] > td.h-titel { font-weight: 600; font-size: 16px; }
|
||||
.liste table.karten-handy tr[data-i] > td.h-unter { color: var(--leise); font-size: 13px; margin-top: 2px; }
|
||||
.liste table.karten-handy tr[data-i] > td.h-unter[data-t]:not(:empty)::before { content: attr(data-t) " "; }
|
||||
.liste table.karten-handy tr[data-i] > td.h-rechts { grid-column: 3; text-align: right; white-space: nowrap; }
|
||||
.liste table.karten-handy tr[data-i] > td.auge-spalte { grid-column: 3; width: auto; padding: 0; text-align: right; }
|
||||
.liste table.karten-handy td:empty, .liste table.karten-handy .griff-spalte { display: none; }
|
||||
.liste table.karten-handy tr.gruppen-kopf, .liste table.karten-handy tr.summen-zeile, .liste table.karten-handy tr.gruppen-neu { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 12px; border-bottom: 1px solid var(--linie); }
|
||||
.liste table.karten-handy tr.gruppen-kopf td, .liste table.karten-handy tr.summen-zeile td, .liste table.karten-handy tr.gruppen-neu td { display: block; padding: 0; border: 0; }
|
||||
.liste table.karten-handy tr.gruppen-kopf td:first-child { flex-basis: 100%; }
|
||||
.liste table.karten-handy tr.leer { display: block; }
|
||||
.liste table.karten-handy tr.leer td { display: block; }
|
||||
.liste-leiste .leiste-rechts { margin-left: 0; }
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
body:not(:has(.am-summenleiste)) #test-leiste { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); right: auto; left: max(12px, env(safe-area-inset-left, 0px)); }
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.liste table.karten-handy td { width: auto !important; min-width: 0; }
|
||||
.liste table.karten-handy tr[data-i] > td.optional { display: none; }
|
||||
}
|
||||
@media (max-width: 640px) { .liste table.karten-handy tr[data-i] { grid-auto-flow: row dense; } }
|
||||
|
||||
Reference in New Issue
Block a user