X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/258964f5fa27b7dafe17850f91ce3c22862314d0..28a39c645fd3addaeb8d00921b40308588934865:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index fd12d7e6b..6c1a65e7b 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -66,6 +66,21 @@ time[title] { color: $blue; } +/* Bootstrap contextual table classes overrides in dark mode */ + +@include color-mode(dark) { + .table-primary { + --bs-table-bg: rgb(var(--bs-primary-rgb), .25); + } + .table-secondary { + --bs-table-bg: rgb(var(--bs-secondary-rgb), .25); + } + .table-primary, .table-secondary { + --bs-table-color: initial; + border-color: inherit; + } +} + /* Rules for the header */ #menu-icon {