mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Add --nbx-color-* variables for theme colors
Preparatory work for moving row styling to CSS
This commit is contained in:
parent
d76ede17d3
commit
41e1f24cf7
BIN
netbox/project-static/dist/netbox-dark.css
vendored
BIN
netbox/project-static/dist/netbox-dark.css
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox-light.css
vendored
BIN
netbox/project-static/dist/netbox-light.css
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox-print.css
vendored
BIN
netbox/project-static/dist/netbox-print.css
vendored
Binary file not shown.
@ -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
|
||||
// assigned to interfaces.
|
||||
table .table-badge-group {
|
||||
|
Loading…
Reference in New Issue
Block a user