make map legend styling more in line with other controls
This commit is contained in:
parent
4e54103953
commit
bece878aa2
1 changed files with 6 additions and 8 deletions
|
@ -1561,7 +1561,7 @@ blink {
|
|||
.leaflet-control-key {
|
||||
background-color: white;
|
||||
border-radius: 0.5rem;
|
||||
border: 2px solid rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 1px 5px var(--color-control-shadow);
|
||||
background-clip: padding-box;
|
||||
|
||||
&.leaflet-control-key-expanded > .collapsed-toggle {
|
||||
|
@ -1591,19 +1591,17 @@ blink {
|
|||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
line-height: 2.2rem;
|
||||
border: 1px solid #DCDCDC;
|
||||
box-shadow: inset 0 0 2px black;
|
||||
border-radius: 0.5rem;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
box-shadow: inset 0 0 2px black;
|
||||
&.active {
|
||||
background: #DCDCDC;
|
||||
}
|
||||
|
||||
&.active {
|
||||
border-color: black;
|
||||
background: #DCDCDC;
|
||||
box-shadow: inset 0 0 2px black;
|
||||
&:hover {
|
||||
background: #D0D0D0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue