diff options
Diffstat (limited to 'themes/luci-theme-material/htdocs')
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 20 | ||||
-rwxr-xr-x | themes/luci-theme-material/htdocs/luci-static/material/js/script.js | 2 |
2 files changed, 20 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 f3922c00f9..10d8a02bdd 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -754,7 +754,6 @@ fieldset > fieldset, border-bottom: thin solid #eee; } -.cbi-section > h3:first-child, .cbi-section > h4:first-child, .cbi-section > p:first-child, [data-tab-title] > h3:first-child, @@ -1415,6 +1414,23 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child { outline: 0; } +.cbi-dropdown.btn { + min-height: 1.8rem; + padding-top: 0px; + padding-bottom: 0px; + padding-right: 0px; +} + +.cbi-dropdown.btn > .open { + font-size: 0.8rem; + padding: 0px; + margin: 0 5px; +} + +.cbi-dropdown.btn > div { + margin: 0px; +} + .cbi-dropdown > .more, .cbi-dropdown > ul > li[placeholder] { font-weight: bold; @@ -2547,6 +2563,7 @@ input[name="nslookup"] { padding: .2rem .5rem; } + .cbi-section > h3:first-child, .panel-title { font-size: 1.1rem; padding-bottom: 1rem; @@ -2951,6 +2968,7 @@ input[name="nslookup"] { display: none; } + .cbi-section > h3:first-child, .panel-title { font-size: 1.4rem; padding-bottom: 1rem; diff --git a/themes/luci-theme-material/htdocs/luci-static/material/js/script.js b/themes/luci-theme-material/htdocs/luci-static/material/js/script.js index 1a5fce4e2d..8ffb6b923f 100755 --- a/themes/luci-theme-material/htdocs/luci-static/material/js/script.js +++ b/themes/luci-theme-material/htdocs/luci-static/material/js/script.js @@ -68,7 +68,7 @@ document.addEventListener('luci-loaded', function(ev) { var that = $(this); var href = that.attr("href"); - if (href.indexOf(nodeUrl) != -1) { + if (href.endsWith(nodeUrl) || href.indexOf('/' + nodeUrl + '/') != -1) { ulNode.click(); ulNode.next(".slide-menu").stop(true, true); lastNode = that.parent(); |