Merge /conditions into the app as a Station tab
- New Station tab (top tabs, bottom nav, swipe order) carrying the old /conditions look: radar-ring hero, condition pill, wind compass, atmosphere/precip/solar cards, indoor - Scoped sl-* styles and station-live.js; units follow the app's metric/imperial setting - Empty/error states when no station is connected - /conditions now 301-redirects to /?tab=station; removed conditions.html, /api/conditions/public and the old My Station drawer - /api/ambient-config also returns the station name - Dashboard and settings links updated; SW cache v8; manifest shortcut for Station - Drops an indoor-temp block in applyStationOverlay that referenced an out-of-scope helper Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7dea2734ea
commit
1830fb2e2b
11 files changed
+361
-917
No files matched your search
@@ -2532,20 +2532,6 @@ body.map-fs #unified-map {
|
||||
|
||||
|
||||
/* ── My Station (Ambient Weather) ──────────────────────────────────────────── */
|
||||
.station-drawer { margin-top: 1rem; }
|
||||
.station-drawer-peek { font-size: 0.8rem; color: var(--ink-light); margin-left: 0.5rem; font-weight: 400; }
|
||||
.station-loading { color: var(--ink-light); font-size: 0.9rem; padding: 0.5rem 0; }
|
||||
.station-error { color: #e57373; font-size: 0.88rem; padding: 0.4rem 0; }
|
||||
.station-name-row {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 0.6rem;
|
||||
margin-bottom: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.station-name { font-weight: 600; font-size: 0.95rem; }
|
||||
.station-updated { font-size: 0.75rem; color: var(--ink-light); }
|
||||
|
||||
.station-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in new issue
Block a user