mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-19 11:52:22 -06:00
Add --nbx-color-* variables for theme colors
Preparatory work for moving row styling to CSS
This commit is contained in:
2
netbox/project-static/dist/netbox-dark.css
vendored
2
netbox/project-static/dist/netbox-dark.css
vendored
File diff suppressed because one or more lines are too long
2
netbox/project-static/dist/netbox-light.css
vendored
2
netbox/project-static/dist/netbox-light.css
vendored
File diff suppressed because one or more lines are too long
2
netbox/project-static/dist/netbox-print.css
vendored
2
netbox/project-static/dist/netbox-print.css
vendored
File diff suppressed because one or more lines are too long
@@ -835,6 +835,13 @@ table tbody {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Expose theme colors as variables. (Useful for dynamic styling of choices etc.)
|
||||||
|
:root {
|
||||||
|
@each $color, $value in $theme-colors {
|
||||||
|
--nbx-color-#{$color}: #{$value};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Style objects with statuses/roles within a table. As of implementation, used for IP addresses
|
// Style objects with statuses/roles within a table. As of implementation, used for IP addresses
|
||||||
// assigned to interfaces.
|
// assigned to interfaces.
|
||||||
table .table-badge-group {
|
table .table-badge-group {
|
||||||
|
|||||||
Reference in New Issue
Block a user