luci-theme-material: fix some style bugs 522/head
authorLutty Yang <lutty@wcan.in>
Sat, 24 Oct 2015 02:14:11 +0000 (10:14 +0800)
committerLutty Yang <lutty@wcan.in>
Sat, 24 Oct 2015 02:14:11 +0000 (10:14 +0800)
Signed-off-by: Lutty Yang <lutty@wcan.in>
themes/luci-theme-material/htdocs/luci-static/material/css/style.css
themes/luci-theme-material/htdocs/luci-static/material/js/script.js

index 6b5a0ba..d4feb36 100755 (executable)
@@ -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 {
index d402728..03e5739 100755 (executable)
@@ -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 () {