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
This commit is contained in:
1 parent
91fa9cec41
commit
285af64a65
1 file changed
+23
-18
+23
-18
@@ -4171,7 +4171,7 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; }
|
|||||||
.overlays-panel__group,
|
.overlays-panel__group,
|
||||||
.onthemap-map .overlays-panel__group,
|
.onthemap-map .overlays-panel__group,
|
||||||
.overlays-panel__group:first-child {
|
.overlays-panel__group:first-child {
|
||||||
margin: 14px 0 2px;
|
margin: 10px 0 0;
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
border: none;
|
border: none;
|
||||||
background: none;
|
background: none;
|
||||||
@@ -4201,36 +4201,40 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; }
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* the checkbox drawn as the artboard's eye, at the row's end */
|
/* on/off: a plain checkbox, small, at the row's end */
|
||||||
.overlays-panel__toggle {
|
.basemap-panel input.overlays-panel__toggle {
|
||||||
order: 99;
|
order: 99;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
flex: none;
|
flex: none;
|
||||||
appearance: none;
|
width: 16px;
|
||||||
width: 20px;
|
height: 16px;
|
||||||
height: 20px;
|
accent-color: var(--accent);
|
||||||
border: 2px solid var(--ui-muted);
|
|
||||||
border-radius: 50%;
|
|
||||||
background: none;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlays-panel__toggle:checked {
|
/* compact rows */
|
||||||
border-color: var(--accent);
|
.basemap-panel .overlays-panel__row,
|
||||||
background: var(--accent);
|
.basemap-panel .overlays-panel__item > label,
|
||||||
box-shadow: inset 0 0 0 3px var(--ui-bg);
|
.basemap-panel .overlays-panel__item label,
|
||||||
|
.basemap-panel .overlays-panel__name {
|
||||||
|
min-height: 34px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overlays-panel__toggle:disabled {
|
.overlays-panel__row {
|
||||||
opacity: 0.35;
|
padding: 2px 4px;
|
||||||
cursor: default;
|
}
|
||||||
|
|
||||||
|
.overlays-panel__name,
|
||||||
|
.overlays-panel__item label {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.onthemap-row {
|
.onthemap-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
min-height: 48px;
|
min-height: 40px;
|
||||||
padding: 0 4px;
|
padding: 0 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4252,7 +4256,8 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; }
|
|||||||
}
|
}
|
||||||
|
|
||||||
.onthemap-row__text b {
|
.onthemap-row__text b {
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.onthemap-row__text small {
|
.onthemap-row__text small {
|
||||||
|
|||||||
Reference in new issue
Block a user