From 88741d097b124661ce1703286a741a7c0f4a0152 Mon Sep 17 00:00:00 2001 From: Eric Gideon Date: Sat, 22 May 2021 11:16:11 -0700 Subject: [PATCH] ol-layerswitcher pinned to global vars, adjusted margin/padding for consistent spacing --- public_html_merged/ol/ol-layerswitcher.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/public_html_merged/ol/ol-layerswitcher.css b/public_html_merged/ol/ol-layerswitcher.css index 9c7fd97..92cd483 100644 --- a/public_html_merged/ol/ol-layerswitcher.css +++ b/public_html_merged/ol/ol-layerswitcher.css @@ -18,11 +18,11 @@ } .layer-switcher .panel { - padding: 0 1em 0 0; + padding: 1em; margin: 0; - border: 4px solid #eee; + border: 4px solid var(--modal-bgcolor); border-radius: 4px; - background-color: white; + background-color: var(--body-bgcolor); display: none; max-height: 100%; overflow-y: auto; @@ -60,10 +60,14 @@ } .layer-switcher ul { - padding-left: 2em; + padding: 0; + margin:0; list-style: none; } +.layer-switcher li.group label { + color: var(--body-text); +} .layer-switcher li.group > label { font-weight: bold; }