Wetter-Chip auf Karte + Bugfix private Routen zählen für km-Stats
- GET /api/weather?lat=&lon= (Open-Meteo, 30-min TTL-Cache) - Zecken-Warnung regelbasiert: März–Okt + Temp > 7°C - Karte: Wetterchip oben rechts nach GPS-Fix - stats.py + achievements.py: is_public-Filter entfernt — private Routen zählen jetzt für eigene km/Achievements - SW by-v320, APP_VER 308
This commit is contained in:
parent
43d33c0fd1
commit
0461f936ce
9 changed files with 185 additions and 13 deletions
|
|
@ -2723,6 +2723,42 @@ html.modal-open {
|
|||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Wetter-Chip — oben rechts auf der Karte */
|
||||
.map-weather-chip {
|
||||
position: absolute;
|
||||
top: var(--space-3);
|
||||
right: var(--space-3);
|
||||
z-index: 1000;
|
||||
background: rgba(255,255,255,0.92);
|
||||
backdrop-filter: blur(4px);
|
||||
border: 1px solid var(--c-border-light);
|
||||
border-radius: var(--radius-full);
|
||||
padding: 5px 12px;
|
||||
font-size: 13px;
|
||||
color: var(--c-text);
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.12);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
.map-weather-chip--hidden { display: none; }
|
||||
.map-weather-chip__temp { font-weight: 700; }
|
||||
.map-weather-chip__desc { color: var(--c-text-secondary); font-size: 12px; }
|
||||
.map-weather-chip__zecken {
|
||||
background: #FEF3C7;
|
||||
color: #92400E;
|
||||
border-radius: var(--radius-full);
|
||||
padding: 1px 7px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.map-weather-chip__zecken--hoch {
|
||||
background: #FEE2E2;
|
||||
color: #991B1B;
|
||||
}
|
||||
|
||||
/* Giftköder-Marker — pulsierend, rot, sofort erkennbar */
|
||||
.poison-marker {
|
||||
position: relative;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue