+/* 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-success {
+ --bs-table-bg: rgb(var(--bs-success-rgb), .25);
+ }
+ .table-primary, .table-secondary, .table-success {
+ --bs-table-color: initial;
+ border-color: inherit;
+ }
+}
+
+/* Utility for delayed loading spinner */
+
+.delayed-fade-in {
+ animation: 300ms linear forwards delayed-fade-in;
+}
+
+@keyframes delayed-fade-in {
+ 0% { opacity: 0 }
+ 66% { opacity: 0 }
+ 100% { opacity: 1 }
+}
+
+/* Bootstrap close button overrides for nested light/dark themes */
+
+[data-bs-theme="dark"] .btn-close {
+ filter: var(--bs-btn-close-white-filter);
+}
+
+[data-bs-theme="light"] .btn-close {
+ filter: none;
+}
+