mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 13:06:30 -06:00
Add 15% alpha variants of --nbx-color
Preparatory work for factoring row styling out of Python
This commit is contained in:
parent
41e1f24cf7
commit
d44f67aea5
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.
@ -836,9 +836,11 @@ table tbody {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Expose theme colors as variables. (Useful for dynamic styling of choices etc.)
|
// Expose theme colors as variables. (Useful for dynamic styling of choices etc.)
|
||||||
|
// Both as opaque colour and translucent (alpha 15%)
|
||||||
:root {
|
:root {
|
||||||
@each $color, $value in $theme-colors {
|
@each $color, $value in $theme-colors {
|
||||||
--nbx-color-#{$color}: #{$value};
|
--nbx-color-#{$color}: #{$value};
|
||||||
|
--nbx-color-#{$color}-a15: #{rgba($value, 0.15)};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user