Merge pull request #5331 from Ansuel/fixmaterial
authorJo-Philipp Wich <jo@mein.io>
Mon, 6 Sep 2021 20:29:43 +0000 (22:29 +0200)
committerGitHub <noreply@github.com>
Mon, 6 Sep 2021 20:29:43 +0000 (22:29 +0200)
Minor fix for material theme

modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/css/custom.css
themes/luci-theme-material/htdocs/luci-static/material/cascade.css

index 62ef169fb58a0d426bc4836b2eaf85054ca64725..8db3bbbe1406906c68cf6ac29a6d10a4d9bf15f1 100644 (file)
 .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;
 }
index dbb2d148c5131abd112cb9ffb9f93f1c631de5b0..18ae319d7ec181420c147165035103de5e64d044 100644 (file)
@@ -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;