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 {
|
.leaflet-control-key {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 0.5rem;
|
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;
|
background-clip: padding-box;
|
||||||
|
|
||||||
&.leaflet-control-key-expanded > .collapsed-toggle {
|
&.leaflet-control-key-expanded > .collapsed-toggle {
|
||||||
|
@ -1591,19 +1591,17 @@ blink {
|
||||||
width: 2.5rem;
|
width: 2.5rem;
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
line-height: 2.2rem;
|
line-height: 2.2rem;
|
||||||
border: 1px solid #DCDCDC;
|
box-shadow: inset 0 0 2px black;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&.active {
|
||||||
box-shadow: inset 0 0 2px black;
|
background: #DCDCDC;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&:hover {
|
||||||
border-color: black;
|
background: #D0D0D0;
|
||||||
background: #DCDCDC;
|
|
||||||
box-shadow: inset 0 0 2px black;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue