feat(notices): the release notes present 5.0.0

The update dialog now shows the 5.0.0 headliners, Tours, TREK Studio, the assistant and help on every screen in 27 languages, each with a drawing of its own, translated into every language TREK ships. The 4.3.3 cards and their drawings are gone.
This commit is contained in:
Maurice
2026-10-25 10:41:16 +01:00
parent daaa6c425d
commit 9fc98b5d49
35 changed files with 1144 additions and 712 deletions
@@ -380,223 +380,6 @@
flex: none;
}
/* ── The card pictures ─────────────────────────────────────────────────── */
.rn-vis {
position: absolute;
inset: 0;
color: #f5f5f7;
font-family: var(--font-system);
}
.rn-vis-road > svg,
.rn-vis-trail > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rn-vis-icon {
display: flex;
align-items: center;
justify-content: center;
color: oklch(1 0 0 / 0.55);
}
/* Places API: the index answering a search while it is typed. */
.rn-vis-places {
padding: 9px 12px;
display: flex;
flex-direction: column;
gap: 6px;
}
/* The same wordmark the API keys card leads with, centred; its pill text inverts against the tile. */
.rn-vis-trekbadge { align-self: center; display: flex; align-items: center; height: 24px; }
.rn-vis-trekmark { display: block; height: 20px; width: auto; color: #f5f5f7; }
.rn-vis-places .trek-mark .pill-fg { fill: #101013; }
.rn-vis-search {
display: flex;
align-items: center;
gap: 6px;
height: 22px;
padding: 0 9px;
border-radius: 8px;
background: oklch(1 0 0 / 0.08);
border: 1px solid oklch(1 0 0 / 0.16);
font-size: 10px;
font-weight: 500;
white-space: nowrap;
}
.rn-vis-search svg { width: 11px; height: 11px; flex: none; color: oklch(1 0 0 / 0.55); }
/* The query types itself out once, then the answer arrives under it. */
.rn-vis-typed {
display: inline-block;
max-width: 90px;
overflow: hidden;
white-space: nowrap;
animation: rn-type 1.3s steps(13, end) 0.7s both;
}
@keyframes rn-type { from { max-width: 0; } to { max-width: 90px; } }
.rn-vis-caret {
width: 1px;
height: 12px;
margin-inline-start: -4px;
background: #f5f5f7;
animation: rn-caret 1s steps(1) infinite;
}
@keyframes rn-caret { 50% { opacity: 0; } }
.rn-vis-result {
display: flex;
align-items: center;
gap: 7px;
padding: 5px 8px;
border-radius: 8px;
background: oklch(1 0 0 / 0.07);
animation: rn-answer 0.3s ease 2.1s both;
}
@keyframes rn-answer { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.rn-vis-cat {
width: 18px;
height: 18px;
border-radius: 50%;
border: 1.5px solid #ffffff;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
flex: none;
box-sizing: border-box;
}
.rn-vis-place { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.rn-vis-place span {
font-size: 10px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.rn-vis-place small { font-size: 8.5px; color: oklch(1 0 0 / 0.5); }
@media (prefers-reduced-motion: reduce) {
.rn-vis-typed, .rn-vis-caret, .rn-vis-result { animation: none; }
}
[data-reduce-motion='true'] .rn-vis-typed,
[data-reduce-motion='true'] .rn-vis-caret,
[data-reduce-motion='true'] .rn-vis-result { animation: none; }
/* Road trip: the drive on the map, in the planner's route blue and marker style. */
.rn-vis-road-casing { fill: none; stroke: #0a5cc2; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.rn-vis-road-line { fill: none; stroke: #0a84ff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rn-vis-marker {
position: absolute;
width: 18px;
height: 18px;
margin: -9px 0 0 -9px;
border-radius: 50%;
border: 2px solid #ffffff;
box-sizing: border-box;
box-shadow: 0 1px 4px oklch(0 0 0 / 0.35);
color: #ffffff;
font-size: 8.5px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
font-variant-numeric: tabular-nums;
}
.rn-vis-distance {
position: absolute;
right: 9px;
bottom: 8px;
display: flex;
align-items: center;
gap: 4px;
padding: 2px 7px;
border-radius: 99px;
background: #f5f5f7;
color: #101013;
font-size: 9px;
font-weight: 600;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
/* Dawarich: a recorded day, in the trail colour the map draws it with. */
.rn-vis-trail-line { fill: none; stroke: #2563eb; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rn-vis-trail-stay { fill: #ffffff; stroke: #2563eb; stroke-width: 2; }
/* Document sync: the wordmark, the two-way arrow under it, and the five stores in a row. */
.rn-vis-docs {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
padding: 8px 12px;
}
.rn-vis-docs .rn-vis-trekbadge { height: 22px; }
.rn-vis-docs .rn-vis-trekmark { height: 19px; }
.rn-vis-docs-flow { display: flex; color: oklch(1 0 0 / 0.55); transform: rotate(90deg); }
.rn-vis-docs-stores {
display: flex;
gap: 8px;
}
.rn-vis-docs-store {
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: 10px;
background: oklch(1 0 0 / 0.1);
box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.18), inset 0 0 0 1px oklch(1 0 0 / 0.1);
}
/* The mark itself, unframed, with its corners rounded like an app icon. */
.rn-vis-brand {
position: absolute;
top: 12px;
left: 12px;
width: 58px;
height: 58px;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 4px 14px oklch(0 0 0 / 0.45), 0 0 0 1px oklch(1 0 0 / 0.14);
}
/* A glass sheen over the mark: a soft light from the top and a bright inner edge. */
.rn-vis-brand::after {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
background: linear-gradient(160deg, oklch(1 0 0 / 0.42) 0%, oklch(1 0 0 / 0.08) 38%, transparent 55%, oklch(0 0 0 / 0.12) 100%);
box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.55), inset 0 0 0 1px oklch(1 0 0 / 0.22);
pointer-events: none;
}
.rn-vis-brand img { display: block; width: 100%; height: 100%; }
/* ── Right: the note ───────────────────────────────────────────────────── */
.rn-note {