From e697b522f2d869f335aa8db074b43362aff1e29a Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Thu, 28 Nov 2024 15:07:16 +0100 Subject: Dashboard CSS fixes and archival of a partial treemap view (#242) * Input boxes' text was unreadable when using the dark theme * Change from margins to padding top/bottom - easier to reason about vertical styling. * A treemap. Not used anywhere and not finished. Submitting so it isn't lost * Prevent tables' first content columns from collapsing * Dashboardk .zip archive update --- src/zenserver/frontend/html/zen.css | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'src/zenserver/frontend/html/zen.css') diff --git a/src/zenserver/frontend/html/zen.css b/src/zenserver/frontend/html/zen.css index c9dc0d83e..532b71571 100644 --- a/src/zenserver/frontend/html/zen.css +++ b/src/zenserver/frontend/html/zen.css @@ -59,6 +59,7 @@ pre { } input { + color: var(--theme_g0); background-color: var(--theme_g3); border: 1px solid var(--theme_g2); } @@ -68,12 +69,14 @@ input { } #container { - max-width: 130em; - min-width: 80em; - margin: auto; + max-width: 130em; + min-width: 80em; + margin: auto; > div { - margin: 1.0em 2.2em 1.5em 2.2em; + margin: 0.0em 2.2em 0.0em 2.2em; + padding-top: 1.0em; + padding-bottom: 1.5em; } } @@ -467,3 +470,20 @@ a { content: "\\"; } } + +/* map ---------------------------------------------------------------------- */ + +html:has(#map) { + height: 100%; + body, #container, #map { + height: 100%; + } +} +#map { + #treemap { + position: relative; + canvas { + width: 100%; + } + } +} -- cgit v1.2.3