Web-Push mit VAPID und Erinnerungs-Endpoint

This commit is contained in:
OpenCode 2026-11-13 01:03:54 +01:00
parent 67a1614081
commit b50267e4f0
24 changed files with 1703 additions and 50 deletions

View file

@ -59,6 +59,7 @@
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
@ -724,6 +725,28 @@ a .ico, button .ico { pointer-events: none; }
/* --------------------------------------------------------------- Account */
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.ico--inline { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: 2px; }
.push-card { margin-top: 16px; }
.push-browser-hint {
display: flex; align-items: flex-start; gap: 11px;
padding: 13px 15px; border-radius: 12px;
background: var(--ice-50); border: 1px solid var(--ice-200); color: var(--brand-800);
font-size: .86rem;
}
.push-browser-hint .ico { width: 20px; height: 20px; margin-top: 1px; }
.push-browser-hint p { color: var(--ink-2); margin-top: 3px; }
.push-controls { display: grid; gap: 12px; }
.push-controls[hidden] { display: none; }
.push-toggle { width: 100%; padding: 14px 15px; }
.push-toggle > span { display: flex; flex-direction: column; gap: 2px; }
.push-toggle strong { font-size: .9rem; color: var(--ink); }
.push-toggle small { font-size: .77rem; color: var(--muted); font-weight: 500; }
.push-status { min-height: 0; font-size: .82rem; color: var(--muted); }
.push-status:empty { display: none; }
.push-status.is-error { color: #9e2f25; font-weight: 600; }
.push-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.push-actions .muted { font-size: .76rem; }
/* --------------------------------------------------------------- Auth */
.auth-page { background: var(--white); margin: 0; }
.auth-shell { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }