diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-09-03 10:46:47 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-09-18 14:38:29 +0200 |
commit | 19a0522a121fdaa7dfaca4164e8331416573dea0 (patch) | |
tree | 887e9a4a3f46a7008ca64d845a69da3f0750a0ab /themes/luci-theme-material/htdocs/luci-static/material/custom.css | |
parent | 2cbc3932e9dd8309560384631859199069f33e6f (diff) |
luci-theme-material: make colors configurable
The var() css function can be used to insert the value of a custom property.
A custom.css file is added to change the colors. This file will get included
in the cascade.css file.
The following colors could be costomized in the file costom.css.
--header-bg
--header-color
--menu-bg-color
--menu-color
--submenu-bg-hover
--submenu-bg-hover-active
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'themes/luci-theme-material/htdocs/luci-static/material/custom.css')
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/custom.css | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/custom.css b/themes/luci-theme-material/htdocs/luci-static/material/custom.css new file mode 100644 index 0000000000..b32eb2af1b --- /dev/null +++ b/themes/luci-theme-material/htdocs/luci-static/material/custom.css @@ -0,0 +1,9 @@ + +:root { + --header-bg: #0099CC; + --header-color: #FFFFFF; + --menu-bg-color: #FFFFFF; + --menu-color: #404040; + --submenu-bg-hover: #D4D4D4; + --submenu-bg-hover-active: #0099CC; +} |