mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-25 06:13:04 +00:00
release notes: the 5.1.0 popup, and dataforest cloud in Settings > About
The release popup now shows 5.1.0: place search, shared place details and faster routing as three cards side by side, each with its own drawing. The support band is set as a card like the promise above it (optional supportLabelKey; a release without it keeps the plain line), and the two support buttons get the same glass look in their colours. Settings > About gets a full-width panel for dataforest cloud, who sponsor the servers behind place search, address search and routing. Both logos ship in client/public/brands, so opening Settings reaches no third party. Wherever a line names dataforest cloud it links to https://cloud.dataforest.net/?mtm_campaign=trek, the link dataforest gave us; the README moves to it too. All 28 locales carry the new copy, and the old 5.0 card keys are gone.
This commit is contained in:
@@ -536,6 +536,264 @@
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Place search: the query typed into the field, the right place on top. */
|
||||
.rn-vis-search {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
padding: 10px 11px;
|
||||
background:
|
||||
radial-gradient(110% 80% at 100% 0%, oklch(0.62 0.15 200 / 0.32) 0%, transparent 62%),
|
||||
linear-gradient(165deg, #172025 0%, #11171b 100%);
|
||||
}
|
||||
|
||||
.rn-vis-search-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 4px 8px;
|
||||
border-radius: 99px;
|
||||
background: #f5f5f7;
|
||||
color: #101013;
|
||||
font-size: 9.5px;
|
||||
font-weight: 600;
|
||||
box-shadow: 0 4px 12px oklch(0 0 0 / 0.4);
|
||||
}
|
||||
|
||||
.rn-vis-search-query {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
max-width: 0;
|
||||
animation: rn-type 0.9s steps(10, end) 0.3s both;
|
||||
}
|
||||
|
||||
.rn-vis-search-caret {
|
||||
width: 1.5px;
|
||||
height: 10px;
|
||||
background: #0ea5e9;
|
||||
animation: rn-caret 0.9s step-end infinite;
|
||||
}
|
||||
|
||||
.rn-vis-search-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.rn-vis-search-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 3px 7px;
|
||||
border-radius: 7px;
|
||||
font-size: 9.5px;
|
||||
line-height: 1.3;
|
||||
animation: rn-rise 0.34s ease both;
|
||||
}
|
||||
|
||||
.rn-vis-search-row-top {
|
||||
background: oklch(1 0 0 / 0.1);
|
||||
border: 1px solid oklch(1 0 0 / 0.16);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.rn-vis-search-pin {
|
||||
flex: none;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 50%;
|
||||
color: #ffffff;
|
||||
}
|
||||
.rn-vis-search-pin-sight {
|
||||
background: #f59e0b;
|
||||
}
|
||||
.rn-vis-search-pin-air {
|
||||
background: #3b82f6;
|
||||
}
|
||||
.rn-vis-search-pin-food {
|
||||
background: #ef4444;
|
||||
}
|
||||
|
||||
.rn-vis-search-name {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
/* Place details, shared: one place's card, its details travelling out to other TREKs. */
|
||||
.rn-vis-share {
|
||||
background:
|
||||
radial-gradient(90% 90% at 25% 50%, oklch(0.66 0.16 160 / 0.3) 0%, transparent 65%),
|
||||
linear-gradient(165deg, #16211c 0%, #101814 100%);
|
||||
}
|
||||
|
||||
.rn-vis-share-links {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.rn-vis-share-links path {
|
||||
fill: none;
|
||||
stroke: oklch(0.8 0.14 160 / 0.6);
|
||||
stroke-width: 1.4;
|
||||
stroke-dasharray: 3 4;
|
||||
animation: rn-flow 1.4s linear infinite;
|
||||
}
|
||||
|
||||
.rn-vis-share-card {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
inset-inline-start: 12px;
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
padding: 6px;
|
||||
border-radius: 9px;
|
||||
background: #f5f5f7;
|
||||
color: #101013;
|
||||
transform: translateY(-50%);
|
||||
box-shadow: 0 6px 16px oklch(0 0 0 / 0.45);
|
||||
}
|
||||
|
||||
.rn-vis-share-pin {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 6px;
|
||||
background: #10b981;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.rn-vis-share-fields {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.rn-vis-share-field {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
color: #059669;
|
||||
animation: rn-rise 0.3s ease both;
|
||||
}
|
||||
|
||||
.rn-vis-share-field i {
|
||||
width: 22px;
|
||||
height: 3px;
|
||||
border-radius: 2px;
|
||||
background: oklch(0.4 0.02 160 / 0.35);
|
||||
}
|
||||
|
||||
.rn-vis-share-node {
|
||||
position: absolute;
|
||||
inset-inline-end: 12px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 7px;
|
||||
background: #101013;
|
||||
border: 1px solid oklch(1 0 0 / 0.22);
|
||||
box-shadow: 0 3px 10px oklch(0 0 0 / 0.45);
|
||||
animation: rn-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
|
||||
}
|
||||
.rn-vis-share-node img {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
.rn-vis-share-node-top {
|
||||
top: 10%;
|
||||
}
|
||||
.rn-vis-share-node-mid {
|
||||
top: 50%;
|
||||
margin-top: -11px;
|
||||
inset-inline-end: 8px;
|
||||
}
|
||||
.rn-vis-share-node-bottom {
|
||||
bottom: 10%;
|
||||
}
|
||||
|
||||
/* Routing: a day's stops joined in one go. */
|
||||
.rn-vis-route {
|
||||
background: linear-gradient(165deg, #1b1d22 0%, #131418 100%);
|
||||
}
|
||||
|
||||
.rn-vis-route-map {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.rn-vis-route-street {
|
||||
fill: none;
|
||||
stroke: oklch(1 0 0 / 0.08);
|
||||
stroke-width: 3;
|
||||
}
|
||||
|
||||
.rn-vis-route-water {
|
||||
fill: oklch(0.55 0.1 240 / 0.28);
|
||||
}
|
||||
|
||||
.rn-vis-route-line {
|
||||
fill: none;
|
||||
stroke: #3b82f6;
|
||||
stroke-width: 3;
|
||||
stroke-linecap: round;
|
||||
stroke-dasharray: 1;
|
||||
stroke-dashoffset: 1;
|
||||
filter: drop-shadow(0 0 4px oklch(0.62 0.19 255 / 0.7));
|
||||
animation: rn-draw 1.3s cubic-bezier(0.6, 0, 0.3, 1) 0.3s forwards;
|
||||
}
|
||||
|
||||
.rn-vis-route-stop {
|
||||
fill: #f5f5f7;
|
||||
stroke: #131418;
|
||||
stroke-width: 2;
|
||||
transform-box: fill-box;
|
||||
transform-origin: center;
|
||||
animation: rn-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
|
||||
}
|
||||
|
||||
.rn-vis-route-badge {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
inset-inline-start: 9px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
padding: 2px 7px;
|
||||
border-radius: 99px;
|
||||
background: #facc15;
|
||||
color: #1a1400;
|
||||
font-size: 9.5px;
|
||||
font-weight: 800;
|
||||
font-variant-numeric: tabular-nums;
|
||||
animation: rn-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s both;
|
||||
}
|
||||
|
||||
@keyframes rn-type {
|
||||
to {
|
||||
max-width: 80px;
|
||||
}
|
||||
}
|
||||
@keyframes rn-caret {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
@keyframes rn-flow {
|
||||
to {
|
||||
stroke-dashoffset: -14;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.rn-vis-tours-trail,
|
||||
.rn-vis-tours-flag,
|
||||
@@ -544,9 +802,24 @@
|
||||
.rn-vis-assist-typing i,
|
||||
.rn-vis-assist-row,
|
||||
.rn-vis-assist-apply,
|
||||
.rn-vis-hello-row {
|
||||
.rn-vis-hello-row,
|
||||
.rn-vis-search-query,
|
||||
.rn-vis-search-caret,
|
||||
.rn-vis-search-row,
|
||||
.rn-vis-share-links path,
|
||||
.rn-vis-share-field,
|
||||
.rn-vis-share-node,
|
||||
.rn-vis-route-line,
|
||||
.rn-vis-route-stop,
|
||||
.rn-vis-route-badge {
|
||||
animation: none;
|
||||
}
|
||||
.rn-vis-search-query {
|
||||
max-width: 80px;
|
||||
}
|
||||
.rn-vis-route-line {
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
.rn-vis-tours-trail {
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
@@ -565,10 +838,27 @@
|
||||
[data-reduce-motion='true'] .rn-vis-assist-typing i,
|
||||
[data-reduce-motion='true'] .rn-vis-assist-row,
|
||||
[data-reduce-motion='true'] .rn-vis-assist-apply,
|
||||
[data-reduce-motion='true'] .rn-vis-hello-row {
|
||||
[data-reduce-motion='true'] .rn-vis-hello-row,
|
||||
[data-reduce-motion='true'] .rn-vis-search-query,
|
||||
[data-reduce-motion='true'] .rn-vis-search-caret,
|
||||
[data-reduce-motion='true'] .rn-vis-search-row,
|
||||
[data-reduce-motion='true'] .rn-vis-share-links path,
|
||||
[data-reduce-motion='true'] .rn-vis-share-field,
|
||||
[data-reduce-motion='true'] .rn-vis-share-node,
|
||||
[data-reduce-motion='true'] .rn-vis-route-line,
|
||||
[data-reduce-motion='true'] .rn-vis-route-stop,
|
||||
[data-reduce-motion='true'] .rn-vis-route-badge {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
[data-reduce-motion='true'] .rn-vis-search-query {
|
||||
max-width: 80px;
|
||||
}
|
||||
|
||||
[data-reduce-motion='true'] .rn-vis-route-line {
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
|
||||
[data-reduce-motion='true'] .rn-vis-tours-trail {
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user