tweak leaflet section controls

This commit is contained in:
Laura Klünder 2017-05-15 00:16:28 +02:00
parent 02b9fa8c50
commit 26f131f5e7

View file

@ -40,13 +40,15 @@ form button.invisiblesubmit {
.leaflet-control-sections a, .leaflet-control-sections a:hover {
width: auto;
font-size: 14px;
padding: 0 6px;
padding: 0 7px;
}
.leaflet-control-sections a, .leaflet-control-sections a:hover {
display:none;
opacity:0;
margin-top:-26px;
}
.leaflet-control-sections a.current, .leaflet-control-sections-expanded a, .leaflet-control-sections-expanded a:hover {
display:block;
opacity:1;
margin-top:0;
}
.leaflet-control-sections:not(.leaflet-control-sections-expanded) a.current {
border-radius:4px;