fixed zoom buttons

This commit is contained in:
muerwre 2018-08-27 16:33:10 +07:00
parent 6b52f58462
commit 0f368b189f
3 changed files with 23 additions and 2 deletions

View file

@ -2,3 +2,5 @@
@blue_secondary: #7137c8; @blue_secondary: #7137c8;
@router_line: #4597d0; @router_line: #4597d0;
@bar_shadow: rgba(0,0,0,0.3) 0 2px 0, inset rgba(255, 255, 255, 0.05) 1px 1px;

View file

@ -39,3 +39,22 @@
.leaflet-control-container .leaflet-routing-container-hide { .leaflet-control-container .leaflet-routing-container-hide {
display: none; display: none;
} }
.leaflet-bar {
box-shadow: @bar_shadow !important;
border: none !important;
}
.leaflet-bar a {
background: #333333;
color: white;
text-shadow: none;
user-select: none;
border-bottom: none;
&:hover {
background: #444444;
color: white;
border-bottom: none;
}
}

View file

@ -2,7 +2,7 @@
background: #333333; background: #333333;
border-radius: 3px; border-radius: 3px;
display: flex; display: flex;
box-shadow: rgba(0,0,0,0.3) 0 2px 0, inset rgba(255, 255, 255, 0.05) 1px 1px; box-shadow: @bar_shadow;
} }
.control-dist { .control-dist {
@ -15,7 +15,7 @@
font-weight: 200; font-weight: 200;
color: #cccccc; color: #cccccc;
user-select: none; user-select: none;
box-shadow: rgba(0,0,0,0.3) 0 2px 0, inset rgba(255, 255, 255, 0.05) 1px 1px; box-shadow: @bar_shadow;
svg { svg {
fill: #cccccc; fill: #cccccc;