luci-theme-material: correct main menu color variable
authorshunjou <shunjou@gmail.com>
Tue, 19 Feb 2019 01:46:26 +0000 (20:46 -0500)
committershunjou <shunjou@gmail.com>
Sun, 7 Apr 2019 07:04:48 +0000 (03:04 -0400)
* Also declare default color above as fallback

Signed-off-by: Shun Jou <shunjou@gmail.com>
themes/luci-theme-material/htdocs/luci-static/material/cascade.css
themes/luci-theme-material/htdocs/luci-static/material/custom.css

index db5304b430882899551b93206fd8db155c0510ab..1fa7b50a7417df737f0cea55fa52a9382f5ee5ab 100644 (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,
index 6acd5aa3dd64e38fce7f03163b12734c3dd5122f..7a5bbb93e81ae8bdd722b56524bde18addcac38f 100644 (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";