Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/4764'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed May 8, 2024
2 parents 88ca76e + d934d6f commit 9907215
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -457,13 +457,17 @@ body.small-nav {
border-top: 0px !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip,
.leaflet-contextmenu,
.leaflet-contextmenu-item {
.leaflet-popup-content-wrapper, .leaflet-popup-tip,
.leaflet-contextmenu, .leaflet-contextmenu-item,
.leaflet-control-attribution, .leaflet-control-scale-line {
@extend .bg-body, .text-body;
}

.leaflet-control-attribution, .leaflet-control-scale-line {
@extend .bg-opacity-75;
text-shadow: none !important;
}

.leaflet-contextmenu-item.over {
@extend .bg-body-secondary, .border-secondary, .border-opacity-10;
}
Expand All @@ -481,6 +485,14 @@ body.small-nav {
.mapkey-table-entry td:first-child > * {
filter: brightness(.8);
}

.leaflet-control-attribution a {
color: var(--bs-link-color);
}

.leaflet-control-scale-line {
@extend .border-light, .border-opacity-75;
}
}

/* Rules for attribution text under the main map shown on printouts */
Expand Down

0 comments on commit 9907215

Please sign in to comment.