On the map as on the artboard: section titles as small caps on white (no gray bands), compact rows with a bold name, the on/off as the eye at the row's end (● on, ○ off) instead of a checkbox at its start; the map as one row with an Online | Offline switch, a Theme row (the topbar's night cycle), the legend as a row. The map's buttons in the artboard's three cards (zoom; compass, north lock, 3D, my position; measure, note, home). Topbar: the offline state as a pill (Offline ready / Online only), Drive filled. Status bar: the ground's height under the cursor once the mouse rests
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-12-03 09:34:16 +01:00
1 parent d559f76b4a
commit fc8564fe3b
3 files changed
+258 -14

No files matched your search

+207 -2
View File
@@ -4161,7 +4161,212 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; }
flex: none;
}
.onthemap-map .overlays-panel__group {
.onthemap-map {
padding: 0 12px;
}
/* ---- On the map, as on the artboard: section titles as small caps on the
panel's own white (no gray bands), compact rows — icon, a bold name with
a line under it, the value or the eye (● on, ○ off) at the right. */
.overlays-panel__group,
.onthemap-map .overlays-panel__group,
.overlays-panel__group:first-child {
margin: 14px 0 2px;
padding: 0 4px;
border: none;
background: none;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--ui-muted);
}
.overlays-panel__list {
padding-top: 0;
}
.overlays-panel__item + .overlays-panel__item {
box-shadow: none;
}
.overlays-panel__row,
.overlays-panel__item > label {
gap: 10px;
}
.overlays-panel__name,
.overlays-panel__item label {
font-size: 15px;
font-weight: 600;
}
/* the checkbox drawn as the artboard's eye, at the row's end */
.overlays-panel__toggle {
order: 99;
margin-left: auto;
flex: none;
appearance: none;
width: 20px;
height: 20px;
border: 2px solid var(--ui-muted);
border-radius: 50%;
background: none;
cursor: pointer;
}
.overlays-panel__toggle:checked {
border-color: var(--accent);
background: var(--accent);
box-shadow: inset 0 0 0 3px var(--ui-bg);
}
.overlays-panel__toggle:disabled {
opacity: 0.35;
cursor: default;
}
.onthemap-row {
display: flex;
align-items: center;
gap: 10px;
min-height: 48px;
padding: 0 4px;
}
.onthemap-row__icon {
width: 24px;
flex: none;
text-align: center;
font-size: 17px;
color: var(--ui-muted);
}
.onthemap-row__text {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
color: var(--ui-fg);
text-decoration: none;
}
.onthemap-row__text b {
font-size: 15px;
}
.onthemap-row__text small {
font-size: 12px;
color: var(--ui-muted);
}
/* Online | Offline, a segmented switch */
.onthemap-seg {
display: flex;
border: 1px solid var(--ui-line);
border-radius: 6px;
overflow: hidden;
}
.onthemap-seg[hidden] {
display: none;
}
.basemap-panel .onthemap-seg .basemap-panel__option {
min-height: 30px;
height: 30px;
margin: 0;
border-top: none;
padding: 0 10px;
border: none;
border-radius: 0;
background: none;
color: var(--ui-muted);
font-size: 13px;
font-weight: 600;
}
.basemap-panel .onthemap-seg .basemap-panel__option.active {
background: var(--accent-bg);
color: var(--accent);
}
.basemap-panel .onthemap-theme {
min-height: 30px;
border: none;
background: none;
color: var(--accent);
font-size: 13px;
font-weight: 600;
cursor: pointer;
}
/* The map's buttons in the artboard's three cards (map.js): the controls
inside lose their own card look. */
.map-card {
display: flex;
flex-direction: column;
border-radius: 8px;
background: var(--ui-bg);
box-shadow: 0 1px 6px rgb(0 0 0 / 0.25);
overflow: hidden;
}
.map-card > .maplibregl-ctrl,
.map-card > .maplibregl-ctrl-group {
margin: 0;
border-radius: 0;
box-shadow: none;
background: none;
}
.map-card > * + * {
border-top: 1px solid var(--ui-line);
}
.map-card > .maplibregl-ctrl-compass {
width: 40px;
height: 40px;
border: none;
background-color: transparent;
}
.map-card button {
width: 40px;
height: 40px;
}
/* the overview map below the cards, smaller */
.maplibregl-ctrl-top-right .maplibregl-ctrl-overview-map {
margin-top: 4px;
}
/* topbar: offline state as a pill, Drive filled */
.topbar .topbar__offline-status {
width: auto;
height: auto;
padding: 3px 9px;
border-radius: 10px;
background: rgb(255 255 255 / 0.1);
color: #bdbab0;
font-size: 12px;
white-space: nowrap;
}
.topbar .topbar__offline-status::before {
content: "● ";
}
.topbar .topbar__offline-status--ready {
color: #a5b84f;
}
.topbar__drive {
border-color: var(--accent);
background: var(--accent);
color: #fff;
}
.onthemap-row .basemap-panel__link {
padding: 0;
min-height: 0;
}