mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
feat(places): notes, visits, tours, history, tags and location in the place sheet, saved lists on the trip map
Both the desktop sheet and the phone sheet of All places show the place's location as a badge, its notes per list, its visits from trips (hidden without any), linked tours and bookings, its change history and the reader's own tags with a tag filter. A trip map can show the places of linked lists and add one to the trip. All places reloads after a list is added or removed.
This commit is contained in:
@@ -735,3 +735,14 @@
|
||||
.trek-dash .col-lrow-caticon svg { display: block; }
|
||||
/* The average vote on the tile's other corner: an amber star, as on the map's pins, its figure inside. */
|
||||
.trek-dash .col-lrow-ratebadge { position: absolute; bottom: -5px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 10px; display: grid; place-items: center; background: #f59e0b; border: 1.5px solid var(--surface); box-sizing: border-box; font-size: 10px; font-weight: 700; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 1px rgba(0, 0, 0, .45); }
|
||||
/* A small action at the end of a sheet section's label, such as confirming a visit. */
|
||||
.trek-dash .col-detail-action { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); transition: background .12s, color .12s; }
|
||||
.trek-dash .col-detail-action:hover { background: var(--surface-2); color: var(--ink); }
|
||||
.trek-dash .col-detail-action:disabled { opacity: .5; }
|
||||
/* Trips and lists side by side: equal columns of cards of one height, each two lines. */
|
||||
.trek-dash .col-origin-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
|
||||
.trek-dash .col-origin-pair > .col-detail-field { min-width: 0; }
|
||||
/* The origin tiles: a trip's cover filling its tile, a list's symbol in the list's own colour. */
|
||||
.trek-dash .col-origin-ico { overflow: hidden; }
|
||||
.trek-dash .col-origin-cover { width: 100%; height: 100%; object-fit: cover; }
|
||||
.trek-dash .col-origin-ico-list { background: color-mix(in srgb, var(--list) 16%, var(--surface)); color: var(--list); }
|
||||
|
||||
Reference in New Issue
Block a user