diff --git a/netbox/project-static/dist/netbox.css b/netbox/project-static/dist/netbox.css index d5faacb5a..55c93ba2c 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/netbox.scss b/netbox/project-static/styles/netbox.scss index af2905312..46d8da9aa 100644 --- a/netbox/project-static/styles/netbox.scss +++ b/netbox/project-static/styles/netbox.scss @@ -6,6 +6,7 @@ // Overrides of external libraries @import 'overrides/bootstrap'; +@import 'overrides/gridstack'; @import 'overrides/tabler'; @import 'overrides/tomselect'; diff --git a/netbox/project-static/styles/overrides/_gridstack.scss b/netbox/project-static/styles/overrides/_gridstack.scss new file mode 100644 index 000000000..ecb5d9a4c --- /dev/null +++ b/netbox/project-static/styles/overrides/_gridstack.scss @@ -0,0 +1,12 @@ +// 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; + } + } +} diff --git a/netbox/project-static/styles/overrides/_tabler.scss b/netbox/project-static/styles/overrides/_tabler.scss index f566377ca..20ebabab0 100644 --- a/netbox/project-static/styles/overrides/_tabler.scss +++ b/netbox/project-static/styles/overrides/_tabler.scss @@ -66,19 +66,6 @@ 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 2025c2c2d..51b40342e 100644 --- a/netbox/templates/extras/dashboard/widget.html +++ b/netbox/templates/extras/dashboard/widget.html @@ -9,14 +9,14 @@ gs-id="{{ widget.id }}" >