From 4c446998e78c4f5cfb219fbcc9bdc9d94f001734 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 7 Sep 2018 22:49:06 +0200 Subject: [PATCH] Fix control hover color (fix #586) --- umap/static/umap/map.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index c93a40b2..5736f169 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -18,10 +18,13 @@ .leaflet-control-zoom, .umap-control { - background: none no-repeat scroll center center #F8F8F9; + background: none no-repeat scroll center center #fff; border-radius: 4px; border: 1px solid #bbb; } +.umap-control a:hover { + background-color: #f4f4f4; +} .leaflet-control-fullscreen a:hover, .leaflet-control-fullscreen a { height: 36px; @@ -64,7 +67,7 @@ a.umap-control-less { display: none; } .leaflet-control-embed a { - background-position: -82px -122px; + background-position: -81px -121px; } .leaflet-control-tilelayers a { background-position: -82px -2px; @@ -76,7 +79,7 @@ a.umap-control-less { background-position: -2px -122px; } .leaflet-control-search a { - background-position: -42px -122px; + background-position: -41px -121px; display: block; } .leaflet-control-search a.loading {