luci-theme-material: fix some bug
[project/luci.git] / themes / luci-theme-material / htdocs / luci-static / material / css / style.css
index 9dbfcae..6cd78d2 100755 (executable)
@@ -1,3 +1,26 @@
+/**
+ *  Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI
+ *
+ *  luci-theme-material
+ *      Copyright 2015 Lutty Yang <lutty@wcan.in>
+ *
+ *  Have a bug? Please create an issue here on GitHub!
+ *      https://github.com/LuttyYang/luci-theme-material/issues
+ *
+ *  luci-theme-bootstrap:
+ *      Copyright 2008 Steven Barth <steven@midlink.org>
+ *      Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
+ *      Copyright 2012 David Menting <david@nut-bolt.nl>
+ *
+ *  MUI:
+ *      https://github.com/muicss/mui
+ *
+ *  Licensed to the public under the Apache License 2.0
+ */
+
+/*
+ *  Font generate by Icomoon<icomoon.io>
+ */
 @font-face {
     font-family: 'icomoon';
     src: url('../fonts/font.eot');
@@ -134,7 +157,7 @@ header > .container > .brand {
 }
 
 .warning {
-    background-color: #FF7D60;
+    background-color: #FF7D60 !important;
     color: #FFF;
 }
 
@@ -196,10 +219,12 @@ header > .container > .brand {
 
 .main > .main-left > .nav > li a {
     color: #404040;
+    display: block;
 }
 
 .main > .main-left > .nav > li:nth-last-child(1) {
     margin-top: 2rem;
+    font-size: 1.2rem;
 }
 
 .main > .main-left > .nav > li {
@@ -362,7 +387,7 @@ footer {
     left: 0;
 }
 
-/* 进度条fix */
+/* fix progress bar */
 #memfree > div,
 #membuff > div,
 #conns > div,
@@ -379,7 +404,7 @@ footer {
     background-color: #0099CC !important;
 }
 
-/* 多重table fix*/
+/* fix multiple table */
 
 table table {
     border: none;
@@ -397,7 +422,7 @@ td > table > tbody > tr > td {
     border: none;
 }
 
-/* button 样式 */
+/* button style */
 
 .cbi-button {
     box-sizing: border-box;
@@ -714,7 +739,6 @@ td > table > tbody > tr > td {
 
 .uci-change-list var ins,
 .uci-change-list var del {
-    /*display: inline;*/
     border: none;
     white-space: pre;
     font-style: normal;
@@ -837,7 +861,7 @@ input[name="nslookup"] {
     width: 80%;
 }
 
-#xhr_poll_status {
+header > .container > .pull-right > *{
     position: relative;
     top: 0.45rem;
     cursor: pointer;
@@ -847,7 +871,7 @@ input[name="nslookup"] {
     background-color: #14CE14;
 }
 
-#xhr_poll_status > .label {
+.label {
     padding: 0.3rem 0.8rem;
     font-size: 1rem;
     box-sizing: border-box;
@@ -860,6 +884,11 @@ input[name="nslookup"] {
     -moz-border-radius: 3px;
     border-radius: 3px;
     text-shadow: none;
+    text-decoration: none;
+}
+
+.notice{
+    background-color: #5BC0DE;
 }
 
 .showSide {
@@ -1046,11 +1075,11 @@ input[name="nslookup"] {
         line-height: 1.5;
     }
 
-    #xhr_poll_status {
+    header > .container > .pull-right > * {
         top: 0.35rem;
     }
 
-    #xhr_poll_status > .label {
+    .label {
         padding: 0.2rem 0.6rem;
     }
 
@@ -1181,7 +1210,7 @@ input[name="nslookup"] {
         padding: 0.2rem 0.7rem;
     }
 
-    .cbi-page-actions > div {
+    .cbi-page-actions > div > input {
         display: none;
     }
 
@@ -1229,4 +1258,8 @@ input[name="nslookup"] {
     input {
         font-size: 1.2rem;
     }
+    
+    .mobile-hide{
+        display: none;
+    }
 }