diff options
author | shunjou <shunjou@gmail.com> | 2019-02-18 20:46:26 -0500 |
---|---|---|
committer | shunjou <shunjou@gmail.com> | 2019-04-07 03:04:48 -0400 |
commit | 731a2d3a0febfaefdd7f92f107c939714693630a (patch) | |
tree | a7cdc754c2635f116c39ca368d4d106bc54f8640 /themes/luci-theme-material | |
parent | 6c83231b19467b8866552ea1b735d8575e5ccf6f (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')
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 3 | ||||
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/custom.css | 1 |
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 db5304b43..1fa7b50a7 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 6acd5aa3d..7a5bbb93e 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"; |