diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index fc27a79e7..3e332c0cb 100644 Binary files a/netbox/project-static/dist/netbox.css and b/netbox/project-static/dist/netbox.css differ diff --git a/netbox/project-static/styles/overrides/_tabler.scss b/netbox/project-static/styles/overrides/_tabler.scss index 120f37990..92c536e02 100644 --- a/netbox/project-static/styles/overrides/_tabler.scss +++ b/netbox/project-static/styles/overrides/_tabler.scss @@ -66,6 +66,19 @@ table th.orderable a { background: var(--tblr-bg-surface-secondary)!important; } +// Altering dashboard card colors +.grid-stack { + .card-header { + // Default color of card header changes depending on theme + &.bg-default { + background: var(--tblr-bg-surface-secondary)!important; + } + a { + color: inherit!important; + } + } +} + .footer .text-primary { color: $rich-black!important; } diff --git a/netbox/templates/extras/dashboard/widget.html b/netbox/templates/extras/dashboard/widget.html index 39be16145..2025c2c2d 100644 --- a/netbox/templates/extras/dashboard/widget.html +++ b/netbox/templates/extras/dashboard/widget.html @@ -9,14 +9,14 @@ gs-id="{{ widget.id }}" >
-
+
- +
{% if widget.title %} @@ -29,7 +29,7 @@ data-bs-toggle="modal" data-bs-target="#htmx-modal" > - +