Premise: zabbix system has been deployed.
1, find assets / styles zabbix directory on your system, create css file with the extension:
cp blue-theme.css custom-theme.css
2, modify the contents of custom-theme.css, since the test, I changed the background color of the navigation bar:
Comment out the original css code, and then modified to background-color: aqua
3, find the include / classes / core zabbix directory on your system, add the following php code Z.php file:
vim Z.php
public static function getThemes() {
return arraymerge(parent::getThemes(), array(
'custom-theme' => ('Custom theme')
));
}
Note: If you want to add more custom themes, separated by a comma on the line, for example:
4, select the newly added theme in zabbix web interface and view the results: