From 285af64a6561826b2c1f74bfe82395b87c291322 Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Thu, 3 Dec 2026 10:02:35 +0100 Subject: [PATCH] On the map: the toggles plain checkboxes again (16 px, at the row's end), not circles that read as radio buttons; rows, names and section gaps smaller --- public/css/style.css | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 6999efe..233b95d 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -4171,7 +4171,7 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; } .overlays-panel__group, .onthemap-map .overlays-panel__group, .overlays-panel__group:first-child { - margin: 14px 0 2px; + margin: 10px 0 0; padding: 0 4px; border: none; background: none; @@ -4201,36 +4201,40 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; } font-weight: 600; } -/* the checkbox drawn as the artboard's eye, at the row's end */ -.overlays-panel__toggle { +/* on/off: a plain checkbox, small, at the row's end */ +.basemap-panel input.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; + width: 16px; + height: 16px; + accent-color: var(--accent); cursor: pointer; } -.overlays-panel__toggle:checked { - border-color: var(--accent); - background: var(--accent); - box-shadow: inset 0 0 0 3px var(--ui-bg); +/* compact rows */ +.basemap-panel .overlays-panel__row, +.basemap-panel .overlays-panel__item > label, +.basemap-panel .overlays-panel__item label, +.basemap-panel .overlays-panel__name { + min-height: 34px; } -.overlays-panel__toggle:disabled { - opacity: 0.35; - cursor: default; +.overlays-panel__row { + padding: 2px 4px; +} + +.overlays-panel__name, +.overlays-panel__item label { + font-size: 14px; + font-weight: 500; } .onthemap-row { display: flex; align-items: center; gap: 10px; - min-height: 48px; + min-height: 40px; padding: 0 4px; } @@ -4252,7 +4256,8 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; } } .onthemap-row__text b { - font-size: 15px; + font-size: 14px; + font-weight: 500; } .onthemap-row__text small {