Side panels: OsmAnd-style list dividers between rows, section headings on a gray band, full-width group separators in the sidebar rail
This commit is contained in:
1 parent
49900c1703
commit
3561cb2f45
1 file changed
+32
-3
+32
-3
@@ -342,10 +342,10 @@ html, body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-group-label {
|
.sidebar-group-label {
|
||||||
width: 28px;
|
align-self: stretch;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
margin: 4px 0;
|
margin: 6px 0;
|
||||||
background: #ddd;
|
background: #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-group-label:first-child {
|
.sidebar-group-label:first-child {
|
||||||
@@ -3198,3 +3198,32 @@ html.night .maplibregl-marker {
|
|||||||
height: 22px;
|
height: 22px;
|
||||||
flex-shrink: 0;
|
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;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user