mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-15 16:22:18 -06:00
Add grayscale image filter
Hat tip to @pheus. Thanks! I did end up leaving the filter function arguments as the Sass processor complains when you try calling a filter function without an argument. :/
This commit is contained in:
2
netbox/project-static/dist/netbox.css
vendored
2
netbox/project-static/dist/netbox.css
vendored
File diff suppressed because one or more lines are too long
@@ -84,6 +84,6 @@ img.plugin-icon {
|
||||
body[data-bs-theme=dark] {
|
||||
// Assuming icon is black/white line art, invert it and tone down brightness
|
||||
img.plugin-icon {
|
||||
filter: invert(100%) brightness(80%);
|
||||
filter: grayscale(100%) invert(100%) brightness(80%);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user