From 402455c4940029c608260000b01b5dfe3ac3bfc3 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 31 Oct 2023 17:57:01 +0100 Subject: [PATCH] Change edit toolbar secondary button style --- umap/static/umap/map.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 23a44b45..1a1d1d19 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -475,13 +475,18 @@ ul.photon-autocomplete { } .leaflet-container .leaflet-control-edit-cancel, .leaflet-container .leaflet-control-edit-disable { - border: 0.5px solid #f2f2f2; + border: 0.5px solid rgba(153, 153, 153, 0.40); +} +.leaflet-container .leaflet-control-edit-cancel:hover, +.leaflet-container .leaflet-control-edit-disable:hover { + border: 0.5px solid rgba(153, 153, 153, 0.80); + text-decoration: none; } .leaflet-container .leaflet-control-edit-save { opacity: 0.5; cursor: not-allowed; border-radius: 16px; - border: 1px solid rgba(153, 153, 153, 0.40); + border: 0.5px solid rgba(153, 153, 153, 0.40); background: rgba(153, 153, 153, 0.10); } .dark [type="button"].leaflet-control-edit-save:hover { @@ -491,7 +496,7 @@ ul.photon-autocomplete { .umap-is-dirty .leaflet-control-edit-save { opacity: 1; cursor: pointer; - border: 1px solid rgba(66, 236, 230, 0.40); + border: 0.5px solid rgba(66, 236, 230, 0.40); background: rgba(66, 236, 230, 0.10); color: #42ECE6; }