Avoid applying the base background colour twice to buttons in leaflet-controls

This commit is contained in:
James Lyne 2021-07-22 20:48:01 +01:00
parent 01907f22a0
commit dd17bc63bd

View File

@ -27,6 +27,12 @@
@extend %button; @extend %button;
} }
/* Avoid applying the base background colour twice, in case its semi-transparent */
> a:not(:hover):not(:focus):not(:active):not([aria-expanded=true]),
> button:not(:hover):not(:focus):not(:active):not([aria-expanded=true]) {
background-color: transparent;
}
@media print { @media print {
display: none !important; display: none !important;
} }