Skip to content

Commit

Permalink
fix: popup background color in dark mode (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie authored Dec 15, 2024
1 parent b375333 commit bee9db1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions proxy/css/ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,21 @@ body {
background: rgba(var(--bs-body-bg-rgb), 0.8);
color: var(--bs-body-color);
}
.maplibregl-popup-content {
background: var(--bs-body-bg);
}
.maplibregl-popup-anchor-top .maplibregl-popup-tip {
border-bottom-color: var(--bs-body-bg);
}
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
border-top-color: var(--bs-body-bg);
}
.maplibregl-popup-anchor-right .maplibregl-popup-tip {
border-left-color: var(--bs-body-bg);
}
.maplibregl-popup-anchor-left .maplibregl-popup-tip {
border-right-color: var(--bs-body-bg);
}
[data-bs-theme="dark"] .maplibregl-ctrl-scale {
border-top-color: var(--bs-border-color);
border-right-color: var(--bs-light);
Expand Down

0 comments on commit bee9db1

Please sign in to comment.