Navigation, Karten-FABs, Nearby-Alerts

- Bottom-Nav neu: Karte | Routen | + | Tagebuch | Forum
- + reduziert auf: Giftköder, Gassi-Treffen, Verlorener Hund
- Notification-Badge auf User-Avatar (Header)
- Nearby-Alerts: Nav-Leiste pulsiert rot/orange bei Giftköder/vermisstm Hund in 20km
- SW postMessage bei poison/lost_alert → sofortiger Alert-Check
- Karten-FABs: nur Marker setzen + Standort (Route aufzeichnen + Offline entfernt)
- SW by-v272, APP_VER 262
This commit is contained in:
rene 2026-04-20 19:46:34 +02:00
parent 5141ba9969
commit 65d1cf6c7f
7 changed files with 105 additions and 27 deletions

View file

@ -176,6 +176,22 @@
display: flex;
align-items: stretch;
box-shadow: 0 -2px 12px rgba(42, 31, 20, 0.08);
transition: border-top-color 0.4s ease;
}
@keyframes nav-alert-pulse {
0%, 100% { box-shadow: 0 -2px 12px rgba(42,31,20,0.08); }
50% { box-shadow: 0 -4px 20px var(--nav-alert-color, rgba(220,38,38,0.4)); }
}
#bottom-nav.alert-poison {
border-top: 3px solid var(--c-danger);
--nav-alert-color: rgba(220, 38, 38, 0.4);
animation: nav-alert-pulse 2s ease-in-out infinite;
}
#bottom-nav.alert-lost {
border-top: 3px solid #f59e0b;
--nav-alert-color: rgba(245, 158, 11, 0.4);
animation: nav-alert-pulse 2s ease-in-out infinite;
}
.nav-item {