summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLutty Yang <lutty@wcan.in>2015-10-24 10:14:11 +0800
committerLutty Yang <lutty@wcan.in>2015-10-24 10:14:11 +0800
commit1328b89ef875671d973835f19675166248df5674 (patch)
tree5c8e4c1f9d3c4390aecc4728038cd2c5173f0b91
parent8296a47c1ad8ed4ca5b6bc1032593c607242e913 (diff)
luci-theme-material: fix some style bugs
Signed-off-by: Lutty Yang <lutty@wcan.in>
-rwxr-xr-xthemes/luci-theme-material/htdocs/luci-static/material/css/style.css8
-rwxr-xr-xthemes/luci-theme-material/htdocs/luci-static/material/js/script.js2
2 files changed, 5 insertions, 5 deletions
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 () {