Navigation: rerouting off the route (30 m for 3 fixes, HDOP ≤ 5, every 15 s at most) from the position to the points not reached yet; lanes as SVG arrows, the ones to take bold; dashboard background see-through with a slider; the GNSS simulation starts at a random place in the offline countries, the map jumping there
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 18s

This commit is contained in:
randy committed 2026-11-30 19:11:07 +01:00
1 parent fbccb2acc9
commit 5f4c7c6ee8
9 files changed
+176 -35

No files matched your search

+13 -5
View File
@@ -3293,10 +3293,13 @@ html.night .maplibregl-marker {
z-index: 3;
padding: 8px;
border-radius: 12px;
background: #fff;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
background: rgb(255 255 255 / var(--dash-alpha, 0.45));
backdrop-filter: blur(2px);
box-shadow: 0 1px 6px rgb(0 0 0 / calc(var(--dash-alpha, 0.45) * 0.5));
text-align: center;
pointer-events: none;
/* readable over the map whatever the background */
text-shadow: 0 0 3px #fff, 0 0 3px #fff;
}
.dash-incl {
@@ -3307,7 +3310,8 @@ html.night .maplibregl-marker {
}
.dash-incl text { text-anchor: middle; dominant-baseline: middle; fill: #222; }
.dash-face { fill: #f6f6f4; stroke: #bbb; stroke-width: 2; }
.dash-face { fill: rgb(246 246 244 / var(--dash-alpha, 0.45)); stroke: #999; stroke-width: 2; }
.dash-incl text { paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.dash-ring line { stroke: #555; stroke-width: 2; }
.dash-ring text { font-size: 14px; font-weight: 600; }
.dash-ring .dash-n { fill: #c62828; }
@@ -3343,7 +3347,11 @@ html.night .maplibregl-marker {
radial-gradient(circle at 50% 83%, #43a047 2.5px, transparent 3px), #222;
}
.dash-lanes { display: flex; gap: 3px; }
.dash-lanes span { min-width: 22px; padding: 1px 3px; border-radius: 4px; background: #eee; color: #999; text-align: center; font-size: 16px; }
.dash-lanes .dash-lane--go { background: #1d6fdc; color: #fff; }
.dash-card--over { box-shadow: 0 0 0 4px #d32f2f, 0 1px 6px rgba(0, 0, 0, 0.25); }
.dash-card--over .dash-speed span { color: #d32f2f; }
.dash-lanes svg.dash-lane { width: 26px; height: 34px; border-radius: 4px; background: #eee; }
.dash-lane__arrow { fill: none; stroke: #aaa; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dash-lane--go { background: #1d6fdc !important; }
.dash-lane--go .dash-lane__arrow { stroke: #cfe0f7; }
.dash-lane--go .dash-lane__take { stroke: #fff; stroke-width: 3; }
.dash-offroute { color: #c62828; font-weight: 600; }