Skip to content

Commit

Permalink
421ce6118d162981a14d91b5c1af665c41028de9 Fix: Bootstrap 5 dark mode i…
Browse files Browse the repository at this point in the history
…ntegration didn't show the info popover as dark

DataTables/Buttons#210

Sync to source repo @421ce6118d162981a14d91b5c1af665c41028de9
  • Loading branch information
dtbuild committed Nov 18, 2024
1 parent 6eb5f8a commit 85e07e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions css/buttons.bootstrap5.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,6 @@ div.dt-button-collection span.dt-button-spacer.bar {
box-shadow: none !important;
}
}
html.dark div.dt-button-info {
background-color: var(--dt-html-background);
border: 1px solid rgba(255, 255, 255, 0.15);
}

div.dt-buttons div.btn-group {
position: initial;
}
Expand Down Expand Up @@ -388,8 +383,12 @@ div.dt-button-background {
float: none;
}
}
div.dt-button-info {
background-color: var(--bs-body-bg);
border: 1px solid var(--bs-border-color-translucent);
}

:root[data-bs-theme=dark] div.dropdown-menu.dt-button-collection.fixed {
background-color: rgb(33, 37, 41);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 8px;
background-color: var(--bs-body-bg);
border: 1px solid var(--bs-border-color-translucent);
}
2 changes: 1 addition & 1 deletion css/buttons.bootstrap5.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
],
"src-repo": "http://github.com/DataTables/Buttons",
"last-tag": "3.2.0",
"last-sync": "24a3dd12626c70152100444eebb1c5ab3be6c7fe"
"last-sync": "421ce6118d162981a14d91b5c1af665c41028de9"
}

0 comments on commit 85e07e3

Please sign in to comment.