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,
|
||||
.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 {
|
||||
|
||||
Reference in new issue
Block a user