summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs/luci-static/material
diff options
context:
space:
mode:
authorshunjou <shunjou@gmail.com>2019-02-18 20:46:26 -0500
committershunjou <shunjou@gmail.com>2019-04-07 03:04:48 -0400
commit731a2d3a0febfaefdd7f92f107c939714693630a (patch)
treea7cdc754c2635f116c39ca368d4d106bc54f8640 /themes/luci-theme-material/htdocs/luci-static/material
parent6c83231b19467b8866552ea1b735d8575e5ccf6f (diff)
luci-theme-material: correct main menu color variable
* Also declare default color above as fallback Signed-off-by: Shun Jou <shunjou@gmail.com>
Diffstat (limited to 'themes/luci-theme-material/htdocs/luci-static/material')
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/cascade.css3
-rw-r--r--themes/luci-theme-material/htdocs/luci-static/material/custom.css1
2 files changed, 3 insertions, 1 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
index db5304b430..1fa7b50a74 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -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,
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/custom.css b/themes/luci-theme-material/htdocs/luci-static/material/custom.css
index 6acd5aa3dd..7a5bbb93e8 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/custom.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/custom.css
@@ -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";