Tracks and routes as containers of points: listed (collapsed) under them in the tree, added via a point's popup, a new note or the route planner's navigation pins, and written as course points into the FIT course
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 18s

This commit is contained in:
randy committed 2026-11-18 12:39:04 +01:00
1 parent 6aa7b34f92
commit 4265421457
10 files changed
+354 -20

No files matched your search

+69
View File
@@ -979,6 +979,63 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
outline: 1px dashed #4a90d9;
}
/* A track/route holding points: its row is the summary, a small
triangle (not the browser's marker, gone with display:flex) opens the
point list. */
.gpx-tree__track > summary {
display: flex;
align-items: center;
font-weight: normal;
list-style: none;
margin-left: -12px;
}
.gpx-tree__track > summary::-webkit-details-marker {
display: none;
}
.gpx-tree__track > summary::before {
content: "▸";
width: 12px;
flex: none;
color: #888;
font-size: 10px;
transition: transform 0.15s;
}
.gpx-tree__track[open] > summary::before {
transform: rotate(90deg);
}
.gpx-tree__track > summary > .gpx-tree__file {
flex: 1;
min-width: 0;
}
.gpx-tree__point {
display: flex;
align-items: center;
gap: 4px;
}
.gpx-tree__point-name {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 1px 0;
border: none;
background: none;
font: inherit;
text-align: left;
cursor: pointer;
}
.gpx-tree__point-name:hover {
text-decoration: underline;
}
.gpx-tree__file {
display: flex;
align-items: center;
@@ -2402,6 +2459,18 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
color: #e63946;
}
/* 📍 off: a faded pin; on: saved as a navigation point. */
.route-panel__nav {
filter: grayscale(1);
opacity: 0.35;
font-size: 12px;
}
.route-panel__nav.active {
filter: none;
opacity: 1;
}
.route-panel__buttons {
display: flex;
gap: 6px;