2 * Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI
5 * Copyright 2015 Lutty Yang <lutty@wcan.in>
7 * Have a bug? Please create an issue here on GitHub!
8 * https://github.com/LuttyYang/luci-theme-material/issues
10 * luci-theme-bootstrap:
11 * Copyright 2008 Steven Barth <steven@midlink.org>
12 * Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
13 * Copyright 2012 David Menting <david@nut-bolt.nl>
16 * https://github.com/muicss/mui
18 * Licensed to the public under the Apache License 2.0
22 * Font generate by Icomoon<icomoon.io>
25 font-family: 'icomoon';
26 src: url('../fonts/font.eot');
27 src: url('../fonts/font.eot') format('embedded-opentype'),
28 url('../fonts/font.ttf') format('truetype'),
29 url('../fonts/font.woff') format('woff'),
30 url('../fonts/font.svg') format('svg');
39 [class^="icon-"], [class*=" icon-"] {
40 font-family: 'icomoon' !important;
42 font-style: normal !important;
43 font-weight: normal !important;
44 font-variant: normal !important;
45 text-transform: none !important;
48 -webkit-font-smoothing: antialiased;
49 -moz-osx-font-smoothing: grayscale;
57 box-sizing: border-box;
60 .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
71 font-family: "Helvetica Neue", Helvetica, Microsoft Yahei, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif;
75 padding: 0.36rem 0.8rem;
77 background-color: #fff;
78 background-image: none;
79 border: 1px solid #ccc;
83 padding: 0.36rem 0.5rem;
92 text-decoration: underline;
96 header, footer, .main {
103 box-shadow: 0 2px 5px rgba(0, 0, 0, .26);
104 transition: box-shadow .2s;
118 width: calc(0% + 17rem);
121 background-color: white;
126 width: calc(100% - 17rem);
130 background-color: #EEE;
146 header > .container {
148 padding: 0.5rem 1rem 0 1rem;
151 header > .container > .brand {
154 text-decoration: none;
156 vertical-align: text-bottom;
160 background-color: #FF7D60 !important;
173 font-family: inherit;
177 background-color: #FFF;
178 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
183 background-color: #f0ad4e;
184 border-color: #eea236;
187 #maincontent > .container > div:nth-child(1).alert-message.warning > a {
188 box-sizing: border-box;
191 text-transform: none;
192 display: inline-block;
197 vertical-align: middle;
198 touch-action: manipulation;
200 -webkit-user-select: none;
201 -moz-user-select: none;
202 -ms-user-select: none;
204 background-image: none;
206 padding: 0.5rem 1rem;
208 line-height: 1.42857143;
210 background-color: #5bc0de;
211 border-color: #46b8da;
213 text-decoration: inherit;
216 .main > .main-left > .nav {
220 .main > .main-left > .nav > li a {
225 .main > .main-left > .nav > li:nth-last-child(1) {
230 .main > .main-left > .nav > li {
231 padding: 0.5rem 1rem;
235 .main > .main-left > .nav > .slide {
239 .main > .main-left > .nav > .slide > ul {
243 .main > .main-left > .nav > .slide > .menu {
245 padding: 0.5rem 1rem;
246 text-decoration: none;
251 .main > .main-left > .nav > li:hover,
252 .main > .main-left > .nav > .slide > .menu:hover {
256 .main > .main-left > .nav > .slide:hover {
260 .main > .main-left > .nav > .slide > .slide-menu > li {
261 padding: 0.4rem 2rem;
264 .main > .main-left > .nav > .slide > .slide-menu > .active {
265 background-color: #0099CC;
268 .main > .main-left > .nav > .slide > .slide-menu > li > a {
269 text-decoration: none;
273 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
277 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
281 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
282 background-color: #0099CC;
287 list-style-type: none;
290 #maincontent > .container {
291 margin: 0 2rem 3rem 2rem;
296 padding-bottom: 10px;
297 border-bottom: 1px solid #eee;
303 padding-bottom: 10px;
304 border-bottom: 1px solid #eee;
310 padding-bottom: 10px;
325 font-family: inherit;
331 background-color: #FFF;
332 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
336 display: none !important;
339 fieldset > fieldset {
352 padding-bottom: 2rem;
353 border-bottom: 1px solid #eee;
358 border-collapse: collapse;
360 border: 1px solid #eee;
363 table > tbody > tr > td, table > tbody > tr > th, table > tfoot > tr > td, table > tfoot > tr > th, table > thead > tr > td, table > thead > tr > th {
365 line-height: 1.42857143;
366 border-top: 1px solid #ddd;
371 .cbi-section-table-cell {
375 .cbi-section-table-row {
379 fieldset > table > tbody > tr:nth-of-type(odd) {
380 background-color: #f9f9f9;
390 /* fix progress bar */
395 width: 100% !important;
396 height: 1.4rem !important;
399 #memfree > div > div,
400 #membuff > div > div,
402 #memtotal > div > div {
403 height: 1.4rem !important;
404 background-color: #0099CC !important;
407 /* fix multiple table */
413 .cbi-value-field table {
417 td > table > tbody > tr > td {
421 .cbi-value-field > table > tbody > tr > td {
428 box-sizing: border-box;
431 text-transform: none;
432 display: inline-block;
437 vertical-align: middle;
438 touch-action: manipulation;
440 -webkit-user-select: none;
441 -moz-user-select: none;
442 -ms-user-select: none;
444 background-image: none;
445 border: 1px solid transparent;
447 background-color: #fff;
450 padding: 0.5rem 1rem;
452 line-height: 1.42857143;
458 background-color: #f0ad4e;
459 border-color: #eea236;
468 color: #fff !important;
469 background-color: #337ab7 !important;
470 border-color: #2e6da4 !important;
476 color: #fff !important;
477 background-color: #5bc0de !important;
478 border-color: #46b8da !important;
483 color: #fff !important;
484 background-color: #d9534f !important;
485 border-color: #d43f3a !important;
492 padding-left: 0.5rem;
493 background-color: #FFFFFF;
498 display: inline-block;
499 padding: 0.9rem 0rem;
502 .cbi-tabmenu > li > a,
504 text-decoration: none;
506 padding: 0.9rem 1.5rem;
509 .tabs > li[class~="active"],
512 background-color: white;
513 border-bottom: 0.2rem solid #0099CC;
517 .tabs > li[class~="active"] > a {
522 border-bottom: 0.2rem solid #C9C9C9;
526 border-top: 1px solid #D4D4D4;
527 border-left: 1px solid #D4D4D4;
528 border-right: 1px solid #D4D4D4;
531 .cbi-tabmenu > li:hover {
532 background-color: #F1F1F1;
535 .cbi-tabmenu > li[class~="cbi-tab"] {
536 background-color: white;
540 background-color: #D4D4D4;
543 .cbi-section-node-tabbed {
546 border-bottom: 1px solid #D4D4D4;
547 border-left: 1px solid #D4D4D4;
548 border-right: 1px solid #D4D4D4;
551 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
552 background-color: #f9f9f9;
556 .cbi-value-description {
560 .cbi-value-helpicon > img {
564 .cbi-value-helpicon:before {
568 .cbi-value-description {
571 padding: 0.5rem 0 0 0;
575 word-wrap: break-word;
588 .cbi-section-table-descr > .cbi-section-table-cell,
589 .cbi-section-table-titles > .cbi-section-table-cell {
594 background-color: #eee;
597 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
598 width: auto !important;
615 text-align: left !important;
619 text-align: right !important;
623 display: inline-block;
627 border-top: 1px solid #eee;
633 .cbi-value input[type="password"],
634 .cbi-value input[type="text"] {
635 box-sizing: border-box;
636 padding: 0.36rem 1rem;
639 background-color: #fff;
640 background-image: none;
641 border: 1px solid #ccc;
642 margin-bottom: 0.3rem;
645 .cbi-value-field input[type="password"],
646 .cbi-value-field input[type="text"] {
647 box-sizing: border-box;
648 padding: 0.36rem 1rem;
650 background-color: #fff;
651 background-image: none;
652 border: 1px solid #ccc;
656 .cbi-value-field .cbi-input-select {
659 padding: 0.36rem 0.8rem;
661 background-color: #fff;
662 background-image: none;
663 border: 1px solid #ccc;
667 display: inline-block;
669 border: 1px solid #CCCCCC;
670 padding: 0.5rem 1rem;
671 -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
672 -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
673 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
683 .cbi-input-textarea {
684 box-sizing: border-box;
693 width: calc(100% - 2rem);
701 background-color: #FFF;
702 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
709 font-family: monospace;
712 .uci-change-list ins,
713 .uci-change-legend-label ins {
714 text-decoration: none;
715 border: 1px solid #00FF00;
716 background-color: #CCFFCC;
721 .uci-change-list del,
722 .uci-change-legend-label del {
723 text-decoration: none;
724 border: 1px solid #FF0000;
725 background-color: #FFCCCC;
731 .uci-change-list var,
732 .uci-change-legend-label var {
733 text-decoration: none;
734 border: 1px solid #CCCCCC;
735 background-color: #EEEEEE;
741 .uci-change-list var ins,
742 .uci-change-list var del {
753 .uci-change-legend-label {
758 .uci-change-legend-label > ins,
759 .uci-change-legend-label > del,
760 .uci-change-legend-label > var {
768 .uci-change-legend-label var ins,
769 .uci-change-legend-label var del {
774 .uci-change-list var,
775 .uci-change-list del,
776 .uci-change-list ins {
784 border: 1px solid #D4D4D4 !important;
785 border-top: none !important;
789 border: 1px solid #999;
790 background-color: #f9f9f9;
798 padding: 0.2rem 0.5rem;
799 display: inline-block;
803 .zonebadge > .ifacebadge {
804 padding: 0.2rem 1rem;
806 border: 1px solid #6C6C6C;
809 .zonebadge > input[type="text"] {
810 padding: 0.16rem 1rem;
815 .cbi-value-field .cbi-input-checkbox,
816 .cbi-value-field .cbi-input-radio {
820 .cbi-section-table-row > .cbi-value-field .cbi-input-select {
824 .cbi-section-create > .cbi-button-add {
828 div.cbi-value var, td.cbi-value-field var {
840 display: inline-block;
842 padding: 0.2rem 0.3rem;
846 #diag-rc-output > pre {
847 background-color: #f5f5f5;
852 -moz-border-radius: 3px;
853 white-space: pre-wrap;
854 word-wrap: break-word;
860 input[name="traceroute"],
861 input[name="nslookup"] {
865 header > .container > .pull-right > *{
871 #xhr_poll_status > .label.success {
872 background-color: #14CE14;
876 padding: 0.3rem 0.8rem;
878 box-sizing: border-box;
880 color: #ffffff !important;
881 text-transform: uppercase;
883 background-color: #bfbfbf;
884 -webkit-border-radius: 3px;
885 -moz-border-radius: 3px;
888 text-decoration: none;
892 background-color: #5BC0DE;
903 background-color: rgba(0, 0, 0, 0.56);
910 .node-main-login > .main > .main-left {
914 .node-main-login > .main > .main-right {
918 .node-main-login > .main fieldset {
927 .node-main-login > .main .cbi-value-title {
931 .node-main-login > .main #maincontent {
936 .node-main-login > .main .container {
937 display: inline-block;
939 margin-top: 2rem !important;
940 background-color: #FFF;
941 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
945 .node-main-login > .main form > div:nth-last-child(1) {
949 /* fix status processes */
951 .node-status-processes > .main table tr td:nth-child(3) {
955 .node-status-firewall > .main fieldset li {
956 display: inline-block;
959 .node-status-firewall > .main fieldset li > a {
960 box-sizing: border-box;
963 text-transform: none;
968 vertical-align: middle;
969 touch-action: manipulation;
971 -webkit-user-select: none;
972 -moz-user-select: none;
973 -ms-user-select: none;
975 background-image: none;
976 border: 1px solid transparent;
979 padding: 0.5rem 1rem;
981 line-height: 1.42857143;
982 background-color: #f0ad4e;
983 border-color: #eea236;
986 text-decoration: none;
989 /* fix system reboot */
991 .node-system-reboot > .main > .main-right p,
992 .node-system-reboot > .main > .main-right h3 {
996 .node-system-reboot > .main > .main-right p > a {
998 text-decoration: none;
999 box-sizing: border-box;
1002 text-transform: none;
1003 display: inline-block;
1007 white-space: nowrap;
1008 vertical-align: middle;
1009 touch-action: manipulation;
1011 -webkit-user-select: none;
1012 -moz-user-select: none;
1013 -ms-user-select: none;
1015 background-image: none;
1016 border: 1px solid transparent;
1018 padding: 0.5rem 1rem;
1020 line-height: 1.42857143;
1021 text-decoration: none;
1023 background-color: #d9534f !important;
1024 border-color: #d43f3a !important;
1027 /* fix Services Network Shares*/
1028 .node-services-network_shares > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
1029 margin-bottom: 1rem;
1032 .node-services-network_shares > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field {
1036 .node-services-network_shares > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description {
1040 /* fix System Software*/
1041 .node-system-software > .main table tr td:nth-child(4) {
1042 white-space: normal;
1047 .node-system-software > .main .cbi-tabmenu > li > a, .tabs > li > a {
1048 padding: 0.5rem 1rem;
1051 .node-system-software > .main .cbi-value > pre{
1052 background-color: #eee;
1057 .node-status-firewall fieldset,
1058 .node-system-software fieldset,
1059 .node-system-backup_flash_firmware fieldset {
1063 .node-status-firewall .cbi-tabmenu,
1064 .node-system-software .cbi-tabmenu,
1065 .node-system-backup_flash_firmware .cbi-tabmenu {
1067 box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
1071 body.lang_pl.node-main-login .cbi-value-title{
1075 @media screen and (max-width: 1600px) {
1077 width: calc(0% + 15rem);
1081 width: calc(100% - 15rem);
1085 padding: 0.3rem 0.6rem;
1090 header > .container > .pull-right > * {
1095 padding: 0.2rem 0.6rem;
1107 @media screen and (max-width: 1280px) {
1108 .cbi-tabmenu > li > a, .tabs > li > a {
1109 padding: 0.2rem 0.5rem;
1113 @media screen and (max-width: 992px) {
1130 margin-right: 0.5rem;
1131 display: inline-block;
1139 .node-main-login .showSide {
1140 display: none !important;
1145 padding-right: 1rem;
1149 .node-network-diagnostics > .main .cbi-map fieldset > div *{
1150 width: 100% !important;
1153 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="text"]{
1154 margin: 3rem 0 0 0 !important;
1157 .node-network-diagnostics > .main .cbi-map fieldset > div:nth-child(4) input[type="text"]{
1158 margin: 0 !important;
1161 .node-network-diagnostics > .main .cbi-map fieldset > div select,
1162 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="button"]{
1166 .node-network-diagnostics > .main .cbi-map fieldset > div{
1167 width: 100% !important;
1171 #diag-rc-output > pre {
1175 .node-main-login > .main .cbi-value-title{
1180 @media screen and (max-width: 480px) {
1194 #maincontent > .container {
1195 margin: 0 1rem 1.5rem 1rem;
1198 .main > .main-left > .nav > .slide > .menu {
1202 .main > .main-left > .nav > .slide > .slide-menu > li > a {
1208 min-width: 0rem !important;
1211 margin-bottom: 0.5rem;
1215 .cbi-value-field, .cbi-value-description {
1217 box-sizing: border-box;
1220 .cbi-value > .cbi-value-field {
1221 display: inline-block;
1224 .cbi-tabmenu > li, .tabs > li {
1225 padding: 0.6rem 0rem;
1228 .cbi-tabmenu > li > a, .tabs > li > a {
1229 padding: 0.2rem 0.7rem;
1232 .cbi-page-actions > div > input {
1236 .node-main-login > .main .container {
1237 padding: 0.5rem 1rem 2rem 1rem;
1240 .node-main-login > .main .cbi-value {
1244 .node-main-login > .main form > div:nth-last-child(1) {
1248 .node-main-login > .main .cbi-value-title {
1249 width: 100% !important;
1253 .node-main-login > .main fieldset {
1270 header > .container {
1271 margin-top: 0.25rem;
1289 padding-bottom: 1rem;
1292 .node-system-software > .main .cbi-value.cbi-value-last > div{
1293 width: 100% !important;
1296 .node-system-software > .main .cbi-value .cbi-value-field input{