Library as on the artboard (after Locus Map), renamed from Tracks & Points: find on top (text, kind chips with counts, shown on the map only, Folders | List), one folder level at a time with ← up and the path (the up button takes a dragged item a level up), folders first, an eye per row (● shown, ◐ some of a folder, ○ none; a folder's eye shows or hides everything in it), a track's points open from its ›; while searching or in List every match flat with its folder; totals and Hide all at the foot; uploads, new folders and drops on blank space go to the folder open. The elevation profile docked under the map: the map gives up its height; a route shows its own profile once the terrain is sampled (not while driving) and hides it when cleared
This commit is contained in:
1 parent
fc8564fe3b
commit
91fa9cec41
6 files changed
+545
-155
No files matched your search
@@ -4370,3 +4370,242 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; }
|
||||
padding: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
/* ---- Library, as on the artboard (gpx.js): find on top, one level of
|
||||
folders or a flat list, an eye per row, totals and Hide all at the foot. */
|
||||
.lib-find {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding: 12px 16px 10px;
|
||||
border-bottom: 1px solid var(--ui-line);
|
||||
}
|
||||
|
||||
.lib-find__input {
|
||||
height: 40px;
|
||||
padding: 0 12px;
|
||||
border: 2px solid var(--accent);
|
||||
border-radius: 8px;
|
||||
background: var(--ui-bg);
|
||||
color: var(--ui-fg);
|
||||
font-family: inherit;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.lib-find__kinds,
|
||||
.lib-find__bar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.gpx-panel .lib-chip {
|
||||
min-height: 30px;
|
||||
height: 30px;
|
||||
padding: 0 10px;
|
||||
border: 1px solid var(--ui-line);
|
||||
border-radius: 15px;
|
||||
background: var(--ui-bg);
|
||||
color: var(--ui-fg);
|
||||
font-family: inherit;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gpx-panel .lib-chip[aria-pressed="true"] {
|
||||
border-color: var(--accent);
|
||||
background: var(--accent-bg);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.lib-chip small {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.lib-seg {
|
||||
display: flex;
|
||||
margin-left: auto;
|
||||
border: 1px solid var(--ui-line);
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.gpx-panel .lib-seg button {
|
||||
min-height: 30px;
|
||||
height: 30px;
|
||||
padding: 0 12px;
|
||||
border: none;
|
||||
background: none;
|
||||
color: var(--ui-fg);
|
||||
font-family: inherit;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gpx-panel .lib-seg button[aria-pressed="true"] {
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.lib-crumb {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 8px 16px;
|
||||
border-bottom: 1px solid var(--ui-line);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.lib-crumb[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.gpx-panel .lib-crumb__up {
|
||||
min-height: 32px;
|
||||
width: 32px;
|
||||
border: 1px solid var(--ui-line);
|
||||
border-radius: 6px;
|
||||
background: none;
|
||||
color: var(--ui-fg);
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.lib-crumb__path {
|
||||
color: var(--ui-muted);
|
||||
}
|
||||
|
||||
.lib-crumb b {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.lib-crumb small {
|
||||
margin-left: auto;
|
||||
color: var(--ui-muted);
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.gpx-panel .gpx-tree {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.lib-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.lib-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-height: 52px;
|
||||
padding: 0 8px 0 16px;
|
||||
border-bottom: 1px solid var(--ui-line);
|
||||
}
|
||||
|
||||
.lib-row:hover {
|
||||
background: var(--ui-bg-2);
|
||||
}
|
||||
|
||||
.lib-row.gpx-drop-hover {
|
||||
background: var(--accent-bg);
|
||||
}
|
||||
|
||||
.lib-row__icon {
|
||||
width: 26px;
|
||||
flex: none;
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
color: var(--ui-muted);
|
||||
}
|
||||
|
||||
.lib-row__text {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.lib-row__name {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.lib-row__name--folder {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.lib-row__meta {
|
||||
font-size: 12px;
|
||||
color: var(--ui-muted);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.lib-row__aside {
|
||||
color: var(--ui-muted);
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gpx-panel .lib-eye {
|
||||
width: 36px;
|
||||
min-height: 36px;
|
||||
flex: none;
|
||||
border: none;
|
||||
background: none;
|
||||
color: var(--accent);
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.gpx-panel .lib-eye--none {
|
||||
color: var(--ui-muted);
|
||||
}
|
||||
|
||||
.lib-foot {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-top: auto;
|
||||
padding: 8px 16px;
|
||||
border-top: 1px solid var(--ui-line);
|
||||
font-size: 13px;
|
||||
color: var(--ui-muted);
|
||||
}
|
||||
|
||||
.gpx-panel .lib-foot button {
|
||||
min-height: 32px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid var(--ui-line);
|
||||
border-radius: 6px;
|
||||
background: none;
|
||||
color: var(--ui-fg);
|
||||
font-family: inherit;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* the profile docked under the map: the map ends above it (track_profile.js) */
|
||||
#map {
|
||||
margin-bottom: var(--profile-h, 0px);
|
||||
}
|
||||
|
||||
html.driving #map {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
Reference in new issue
Block a user