From: Lutty Yang Date: Sat, 24 Oct 2015 02:14:11 +0000 (+0800) Subject: luci-theme-material: fix some style bugs X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F522%2Fhead;p=oweals%2Fluci.git luci-theme-material: fix some style bugs Signed-off-by: Lutty Yang --- diff --git a/themes/luci-theme-material/htdocs/luci-static/material/css/style.css b/themes/luci-theme-material/htdocs/luci-static/material/css/style.css index 6b5a0bae3..d4feb368b 100755 --- a/themes/luci-theme-material/htdocs/luci-static/material/css/style.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/css/style.css @@ -807,7 +807,7 @@ form.inline + form.inline, width: 100%; min-height: 15rem; padding: 1rem; - font-size: smaller; + font-size: small; color: #5F5F5F; margin-bottom: 20px; @@ -945,7 +945,7 @@ div.cbi-value var, td.cbi-value-field var { } small { - font-size: smaller; + font-size: small; white-space: normal; } @@ -1166,7 +1166,7 @@ header > .container > .pull-right > * { #cbi-firewall-redirect table *, #cbi-network-switch_vlan table *, #cbi-firewall-zone table *{ - font-size: smaller; + font-size: small; } #cbi-firewall-redirect table input[type="text"], @@ -1220,7 +1220,7 @@ body.lang_pl.node-main-login .cbi-value-title { } .cbi-input-textarea { - font-size: smaller; + font-size: small; } .node-status-iptables > .main fieldset li > a { 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 d402728e5..03e5739ad 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 @@ -57,7 +57,7 @@ var ret = false; if (!$('body').hasClass('logged-in')) { luciLocation = ["Main", "Login"]; - return false; + return true; } $(".main > .main-left > .nav > .slide > .menu").each(function () {