summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/htdocs/luci-static/material
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-09-03 21:05:53 +0200
committerAnsuel Smith <ansuelsmth@gmail.com>2021-09-03 21:05:53 +0200
commit78de736a95d7eab0ccbd9753efc516dfc0e4a995 (patch)
treeefcc78d4d300b8cf55ae5fd68731779df3da13eb /themes/luci-theme-material/htdocs/luci-static/material
parent0ce25b08b0a169456bfbbaad2151055102a03af9 (diff)
luci-theme-material: improve support for dashboard module
Fix sidebar styling to improve support for dashboard module. Signed-off-by: Ansuel Smith <ansuelsmth@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.css17
1 files changed, 15 insertions, 2 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 dbb2d148c5..48b9c6fb16 100644
--- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
+++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css
@@ -536,7 +536,6 @@ header > .fill > .container > .status > * {
}
.main > .main-left > .nav > li {
- padding: .5rem 1rem;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
@@ -557,6 +556,19 @@ header > .fill > .container > .status > * {
color: var(--menu-color);
}
+.main > .main-left > .nav > li.active > a {
+ color: #fff;
+}
+
+.main > .main-left > .nav > li.active {
+ background-color: #09c;
+ background-color: var(--submenu-bg-hover-active);
+}
+
+.main > .main-left > .nav > li.slide.active {
+ background-color: unset;
+}
+
.main > .main-left > .nav > .slide {
padding: 0;
}
@@ -570,7 +582,8 @@ header > .fill > .container > .status > * {
}
.main > .main-left > .nav > .slide > .menu,
-.main > .main-left > .nav > li > [data-title="Logout"] {
+.main > .main-left > .nav > li > [data-title="Logout"],
+.main > .main-left > .nav > li > [data-title="Dashboard"] {
font-size: 1.15rem;
font-weight: 500;
display: flex;