From: Tom Hughes Date: Tue, 30 Apr 2024 17:46:14 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/4712' X-Git-Tag: live~569 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9ee3df33bd577c65f08db5f68d301f7e8f34298c Merge remote-tracking branch 'upstream/pull/4712' --- 9ee3df33bd577c65f08db5f68d301f7e8f34298c diff --cc app/assets/stylesheets/common.scss index 7c31b3cb1,abd696603..84d78814b --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@@ -455,25 -470,17 +455,32 @@@ body.small-nav border-top: 0px !important; } +.leaflet-popup-content-wrapper, +.leaflet-popup-tip, +.leaflet-contextmenu, +.leaflet-contextmenu-item { + @extend .bg-body, .text-body; +} + +.leaflet-contextmenu-item.over { + @extend .bg-body-secondary, .border-secondary, .border-opacity-10; +} + .leaflet-popup-content-wrapper { - border-radius: 4px !important; + @extend .rounded-1; + + a { + color: var(--bs-link-color) !important; + } } + @include color-mode(dark) { + .leaflet-tile-container, + .mapkey-table-entry td:first-child > * { + filter: brightness(.8); + } + } + /* Rules for attribution text under the main map shown on printouts */ .donate-attr { color: darken($green, 10%) !important; }