Mobile-Update + Bericht
release-tag / release-image (push) Successful in 2m6s

This commit is contained in:
2026-08-14 18:17:38 +02:00
parent 2d384046dd
commit 57f7470310
9 changed files with 608 additions and 16 deletions
+88
View File
@@ -138,6 +138,7 @@ button { border: 0; cursor: pointer; }
.export-compact { align-self: end; min-height: 42px; padding-bottom: 9px; }
.export-preview { margin: -2px 0 0; padding: 10px 12px; border-radius: 11px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.export-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-report-button { grid-column: 1 / -1; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.toast { position: fixed; z-index: 30; bottom: 24px; left: 50%; transform: translateX(-50%); background: #25292e; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; }
@@ -198,3 +199,90 @@ button { border: 0; cursor: pointer; }
.history-actions .btn { padding-inline: 10px; }
.auth-card { padding: 23px; }
}
/* Mobile compact view: timer first, overview as a separate screen. */
.mobile-view-nav, .mobile-compact-only { display: none; }
@media (max-width: 820px) {
body.mobile-compact .topbar { display: none; }
body.mobile-compact .app-shell { height: 100dvh; }
body.mobile-compact .main-grid { min-height: 0; flex: 1 1 auto; }
body.mobile-compact .tracker-pane,
body.mobile-compact .history-pane { height: 100%; min-height: 0; }
body.mobile-compact .tracker-pane { padding: 15px; gap: 14px; }
body.mobile-compact .mobile-pane-head,
body.mobile-compact .sidebar-footer { display: none; }
body.mobile-compact .tracker-card {
flex: 1 1 auto;
min-height: 0;
display: flex;
flex-direction: column;
gap: 18px;
padding: 24px 26px;
border-radius: 28px;
}
body.mobile-compact .tracker-date { font-size: 15px; }
body.mobile-compact .field-label { gap: 10px; font-size: 15px; }
body.mobile-compact .tracker-card input,
body.mobile-compact .tracker-card textarea { border-radius: 18px; padding: 15px 16px; font-size: 16px; }
body.mobile-compact .tracker-card input { min-height: 58px; }
body.mobile-compact .activity-field { display: flex; flex: 1 1 180px; min-height: 0; flex-direction: column; }
body.mobile-compact .activity-field textarea { flex: 1 1 auto; min-height: 120px; resize: none; }
body.mobile-compact .timer-display { padding-top: 4px; font-size: clamp(40px, 11vw, 58px); }
body.mobile-compact .timer-btn { min-height: 64px; border-radius: 18px; font-size: 18px; }
body.mobile-compact .metric-grid { gap: 12px; }
body.mobile-compact .metric-card { min-height: 92px; justify-content: center; border-radius: 22px; padding: 18px 20px; }
body.mobile-compact .metric-card span { font-size: 13px; }
body.mobile-compact .metric-card strong { font-size: 24px; }
body.mobile-compact .history-title .mobile-only { display: none; }
body.mobile-compact .history-actions #history-export { display: inline-block; }
body.mobile-compact .mobile-view-nav {
flex: 0 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 5px;
padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
background: rgba(17, 19, 22, .98);
border-top: 1px solid var(--divider);
}
body.mobile-compact .mobile-nav-button {
min-height: 48px;
display: flex;
align-items: center;
justify-content: center;
gap: 7px;
border-radius: 13px;
background: transparent;
color: var(--muted);
font-size: 12px;
font-weight: 750;
}
body.mobile-compact .mobile-nav-button:hover { background: var(--raised); color: var(--text); }
body.mobile-compact .mobile-nav-button.active { background: var(--raised); color: var(--amber); }
body.mobile-compact .mobile-nav-icon { font-size: 18px; line-height: 1; }
body.mobile-compact .mobile-compact-only { display: inline-flex; }
}
@media (max-width: 430px) {
body.mobile-compact .tracker-card { padding: 20px; gap: 15px; border-radius: 24px; }
body.mobile-compact .tracker-card input,
body.mobile-compact .tracker-card textarea { padding: 13px 14px; }
body.mobile-compact .tracker-card input { min-height: 52px; }
body.mobile-compact .timer-btn { min-height: 58px; }
body.mobile-compact .metric-card { min-height: 82px; padding: 14px 16px; }
body.mobile-compact .mobile-nav-button { gap: 5px; }
}
@media (max-height: 720px) and (max-width: 820px) {
body.mobile-compact .tracker-pane { gap: 9px; padding: 9px; }
body.mobile-compact .tracker-card { gap: 10px; padding: 15px; border-radius: 20px; }
body.mobile-compact .tracker-card input { min-height: 44px; padding-block: 10px; }
body.mobile-compact .activity-field textarea { min-height: 80px; padding-block: 10px; }
body.mobile-compact .timer-display { font-size: 36px; }
body.mobile-compact .timer-btn { min-height: 48px; }
body.mobile-compact .metric-card { min-height: 66px; padding: 10px 13px; border-radius: 16px; }
body.mobile-compact .mobile-nav-button { min-height: 42px; }
}