From 5aa7ea6a7f9315c3c9b397494f0edc072fcb279d Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Wed, 15 Nov 2023 17:51:35 +0100 Subject: [PATCH] More targeted CSS rule for button color Otherwise it override forms button (which are in dark mode and thus need to keep the clear grey color) --- umap/static/umap/content.css | 12 ------------ umap/static/umap/map.css | 3 +++ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/umap/static/umap/content.css b/umap/static/umap/content.css index 50f3a9cd..909501c1 100644 --- a/umap/static/umap/content.css +++ b/umap/static/umap/content.css @@ -311,18 +311,6 @@ table.maps thead tr { } - -/* **************************** */ -/* Override Leaflet.Storage */ -/* **************************** */ -#id_editors + br + span.helptext { - display: none; -} -.leaflet-container a.button { - color: #323737; - font-size: 13.3px; -} - /* ************************************************* */ /* ********************* MOBILE ******************** */ /* ************************************************* */ diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index b28026d6..69e59440 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -1619,6 +1619,9 @@ a.add-datalayer:hover, height: 36px; line-height: 34px; } +.leaflet-container a { + color: #323737; +} /* ****** */ /* Mobile */