diff options
-rw-r--r-- | modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css | 6 | ||||
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 18 |
2 files changed, 19 insertions, 5 deletions
diff --git a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css index 62ef169fb5..8db3bbbe14 100644 --- a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css +++ b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css @@ -120,13 +120,15 @@ .Dashboard .settings-info p span:nth-child(2){ display: inline-block; word-break: break-all; - max-width: 150px; overflow: hidden; - max-height: 16px; position: relative; top:2px; } +.Dashboard .settings-info p span:nth-child(2).label { + font-size: 8px; +} + .Dashboard .router-status-info .settings-info p span:nth-child(2){ max-width: 283px; } 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..18ae319d7e 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; @@ -1892,7 +1905,6 @@ td > .ifacebadge, #syslog { font-size: small; - line-height: 1.25; overflow-y: hidden; width: 100%; min-height: 15rem; |