mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 00:28:16 -06:00
Move dashboard styling
This commit is contained in:
parent
9917979ade
commit
c6ff601b85
12
netbox/project-static/styles/custom/_dashboard.scss
Normal file
12
netbox/project-static/styles/custom/_dashboard.scss
Normal file
@ -0,0 +1,12 @@
|
||||
// Alter default color for dashboard widget headings
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
@ -6,7 +6,6 @@
|
||||
|
||||
// Overrides of external libraries
|
||||
@import 'overrides/bootstrap';
|
||||
@import 'overrides/gridstack';
|
||||
@import 'overrides/tabler';
|
||||
@import 'overrides/tomselect';
|
||||
|
||||
@ -22,6 +21,7 @@
|
||||
|
||||
// Custom styling
|
||||
@import 'custom/code';
|
||||
@import 'custom/dashboard';
|
||||
@import 'custom/interfaces';
|
||||
@import 'custom/markdown';
|
||||
@import 'custom/misc';
|
||||
|
@ -1,12 +0,0 @@
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user