diff --git a/public/css/style.css b/public/css/style.css index a3acc04..59a600f 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -342,10 +342,10 @@ html, body { } .sidebar-group-label { - width: 28px; + align-self: stretch; height: 1px; - margin: 4px 0; - background: #ddd; + margin: 6px 0; + background: #ccc; } .sidebar-group-label:first-child { @@ -3198,3 +3198,32 @@ html.night .maplibregl-marker { height: 22px; flex-shrink: 0; } + +/* List dividers as in OsmAnd: a hairline between rows (an inset shadow, + so the 44 px rows don't grow) and each section heading on a gray band, so it's + clear what belongs together, not just text spaced apart. */ +.overlays-panel__item + .overlays-panel__item, +.gpx-tree__file, +.gpx-tree__point + .gpx-tree__point, +.sidebar-flyout__option + .sidebar-flyout__option, +.gpx-tree__download-menu-item + .gpx-tree__download-menu-item { + box-shadow: inset 0 1px #e6e6e6; +} + +.gpx-tree__download-menu-item + .gpx-tree__download-menu-item, +.sidebar-flyout__option + .sidebar-flyout__option { + border-radius: 0; +} + +.overlays-panel__group { + margin: 10px -12px 0; + padding: 8px 16px 6px; + background: #f3f3f1; + border-top: 1px solid #e2e2e2; + border-bottom: 1px solid #e2e2e2; +} + +.overlays-panel__group:first-child { + margin-top: -8px; + border-top: none; +}