luci-theme-material: correct main menu color variable

* Also declare default color above as fallback

Signed-off-by: Shun Jou <shunjou@gmail.com>
This commit is contained in:
shunjou 2019-02-18 20:46:26 -05:00
parent 6c83231b19
commit 731a2d3a0f
2 changed files with 3 additions and 1 deletions

View file

@ -563,7 +563,8 @@ body[class*="node-"] > .main > .main-left > .nav > .slide > .menu.active::before
display: block;
padding: .5rem 1rem;
text-decoration: none;
color: var(--menu-color);
color: #202124;
color: var(--main-menu-color);
}
.main > .main-left > .nav > li:hover,

View file

@ -6,6 +6,7 @@
--menu-bg-color: #fff;
--menu-color: #5f6368;
--menu-color-hover: #202124;
--main-menu-color: #202124;
--submenu-bg-hover: #d4d4d4;
--submenu-bg-hover-active: #09c;
--font-body: "Microsoft Yahei", "WenQuanYi Micro Hei", "sans-serif", "Helvetica Neue", "Helvetica", "Hiragino Sans GB";