feat(mobile): two calm round controls a side on the map, no extra buttons

The phone map stacked four controls on the right and one on the left, in
three different looks. Now each side has two at most, all in one frosted
style, 20px off the edge and 8px apart: the whole-trip overview and locate on
the right, the base layer and the Dawarich route on the left, with the compass
appearing only while the map is turned off north.

The map's own places filter button and sheet are gone: the places tab carries
the same filter, and the map's pins follow it. The jump-to-today button beside
the day rail is gone too, since today's chip is already marked.

Also fixes a leftover of the segmented-control change that broke the parse.
This commit is contained in:
Maurice
2026-11-06 12:31:57 +01:00
parent b07b38b5b7
commit 01ddcc63bb
13 changed files with 73 additions and 374 deletions
+7 -2
View File
@@ -69,14 +69,19 @@ export default function LocationButton({ mode, error, errorCode, onClick, bottom
style={{
position: 'absolute',
bottom: bottomOffset,
right: 12,
// The map's base-layer switcher sits 20px off the left edge; this mirrors it.
right: 20,
zIndex: 1000,
width: 42,
height: 42,
borderRadius: '50%',
border: 'none',
cursor: 'pointer',
background: isActive ? '#3b82f6' : 'var(--bg-card, white)',
// Off, it wears the same frosted glass as the map's other round controls;
// on, the location blue says it is tracking.
background: isActive ? '#3b82f6' : 'var(--sidebar-bg)',
backdropFilter: isActive ? undefined : 'blur(20px) saturate(180%)',
WebkitBackdropFilter: isActive ? undefined : 'blur(20px) saturate(180%)',
color: isActive ? 'white' : (error ? '#ef4444' : 'var(--text-muted, #6b7280)'),
boxShadow: MAP_CONTROL_SHADOW,
display: 'flex',