From c08abce252758af13b5999ab3f4a6de7c36346d3 Mon Sep 17 00:00:00 2001 From: David Larlet Date: Mon, 1 May 2023 14:52:29 -0400 Subject: [PATCH] Make visible titles from the control bar on hover --- umap/static/umap/map.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 91371c83..9e2b9538 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -117,6 +117,17 @@ a.umap-control-text { .leaflet-control-edit-enable a:hover { background-color: #4d5759; } +.leaflet-control-toolbar .leaflet-toolbar-icon.dark:hover::before, +.leaflet-control-edit-enable a:hover::before { + content: attr(title); + background: #4d5759; + position: relative; + display: inline-block; + margin-left: -222px; + min-width: 170px; + padding: .4rem; + color: white; +} .umap-permanent-credits-container { max-width: 20rem; margin-left: 5px!important;