From: Anton Khorev Date: Thu, 25 Apr 2024 00:47:07 +0000 (+0300) Subject: Adapt Leaflet popups to dark mode X-Git-Tag: live~121^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/aa2380b6a25ca6f8e2024ab38033cb26cea6cfd0 Adapt Leaflet popups to dark mode --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index d3399420b..526fef99e 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -473,8 +473,17 @@ body.small-nav { border-top: 0px !important; } +.leaflet-popup-content-wrapper, +.leaflet-popup-tip { + @extend .bg-body, .text-body; +} + .leaflet-popup-content-wrapper { - border-radius: 4px !important; + @extend .rounded-1; + + a { + color: var(--bs-link-color) !important; + } } /* Rules for attribution text under the main map shown on printouts */