Fix control hover color (fix #586)

This commit is contained in:
Yohan Boniface 2018-09-07 22:49:06 +02:00
parent 7941e8fa60
commit 4c446998e7

View file

@ -18,10 +18,13 @@
.leaflet-control-zoom, .leaflet-control-zoom,
.umap-control { .umap-control {
background: none no-repeat scroll center center #F8F8F9; background: none no-repeat scroll center center #fff;
border-radius: 4px; border-radius: 4px;
border: 1px solid #bbb; border: 1px solid #bbb;
} }
.umap-control a:hover {
background-color: #f4f4f4;
}
.leaflet-control-fullscreen a:hover, .leaflet-control-fullscreen a:hover,
.leaflet-control-fullscreen a { .leaflet-control-fullscreen a {
height: 36px; height: 36px;
@ -64,7 +67,7 @@ a.umap-control-less {
display: none; display: none;
} }
.leaflet-control-embed a { .leaflet-control-embed a {
background-position: -82px -122px; background-position: -81px -121px;
} }
.leaflet-control-tilelayers a { .leaflet-control-tilelayers a {
background-position: -82px -2px; background-position: -82px -2px;
@ -76,7 +79,7 @@ a.umap-control-less {
background-position: -2px -122px; background-position: -2px -122px;
} }
.leaflet-control-search a { .leaflet-control-search a {
background-position: -42px -122px; background-position: -41px -121px;
display: block; display: block;
} }
.leaflet-control-search a.loading { .leaflet-control-search a.loading {