tweak leaflet section controls
This commit is contained in:
parent
02b9fa8c50
commit
26f131f5e7
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue