diff --git a/src/scss/leaflet/_controls.scss b/src/scss/leaflet/_controls.scss index 8246bf9..609fe29 100644 --- a/src/scss/leaflet/_controls.scss +++ b/src/scss/leaflet/_controls.scss @@ -27,6 +27,12 @@ @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 { display: none !important; }