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
24 @import url
("custom.css");
27 * Font generate by Icomoon<icomoon.io>
30 font-family: 'icomoon';
31 src: url
('fonts/font.eot');
32 src: url
('fonts/font.eot') format
('embedded-opentype'),
33 url
('fonts/font.ttf') format
('truetype'),
34 url
('fonts/font.woff') format
('woff'),
35 url
('fonts/font.svg') format
('svg');
40 .table { display: table
; position: relative
; }
41 .tr { display: table-row
; }
42 .thead { display: table-header-group
; }
43 .tbody { display: table-row-group
; }
44 .tfoot { display: table-footer-group
; }
46 vertical-align: middle
;
60 .tr.placeholder > .td {
70 .table[width="33%"], .th[width="33%"], .td[width="33%"] { width: 33%; }
71 .table[width="100%"], .th[width="100%"], .td[width="100%"] { width: 100%; }
73 .col-1 { flex: 1 1 30px !important
; -webkit-flex: 1 1 30px !important
; }
74 .col-2 { flex: 2 2 60px !important
; -webkit-flex: 2 2 60px !important
; }
75 .col-3 { flex: 3 3 90px !important
; -webkit-flex: 3 3 90px !important
; }
76 .col-4 { flex: 4 4 120px !important
; -webkit-flex: 4 4 120px !important
; }
77 .col-5 { flex: 5 5 150px !important
; -webkit-flex: 5 5 150px !important
; }
78 .col-6 { flex: 6 6 180px !important
; -webkit-flex: 6 6 180px !important
; }
79 .col-7 { flex: 7 7 210px !important
; -webkit-flex: 7 7 210px !important
; }
80 .col-8 { flex: 8 8 240px !important
; -webkit-flex: 8 8 240px !important
; }
81 .col-9 { flex: 9 9 270px !important
; -webkit-flex: 9 9 270px !important
; }
82 .col-10 { flex: 10 10 300px !important
; -webkit-flex: 10 10 300px !important
; }
88 .main > .loading > span {
89 font-family: 'icomoon' !important
;
91 font-style: normal
!important
;
92 font-weight: normal
!important
;
93 font-variant: normal
!important
;
94 text-transform: none
!important
;
97 -webkit-font-smoothing: antialiased
;
98 -moz-osx-font-smoothing: grayscale
;
104 box-sizing: border-box
;
107 .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
108 font-family: inherit
;
115 -webkit-text-size-adjust: 100%;
116 -ms-text-size-adjust: 100%;
121 background-color: #EEE;
128 font-family: Microsoft Yahei
, WenQuanYi Micro Hei
, sans-serif
, "Helvetica Neue", Helvetica
, Hiragino Sans GB
;
132 padding: 0.36rem 0.8rem;
134 background-color: #fff;
135 background-image: none
;
136 border: 1px solid
#ccc;
142 background-color: transparent
;
143 color: rgba
(0, 0, 0, .87);
145 border-bottom: 2px solid rgba
(0, 0, 0, .26);
150 background-image: none
;
155 select:not
([multiple
="multiple"]):focus
,
157 border-color: #0099CC;
160 select
[multiple
="multiple"] {
170 text-decoration: underline
;
187 box-shadow: 0 2px 5px rgba
(0, 0, 0, .26);
188 transition: box-shadow
.2s;
199 text-shadow: 0px 0px 2px #BBB;
204 text-decoration: none
;
212 height: calc
(100% - 4rem);
221 background-color: rgb
(240, 240, 240);
225 .main > .loading > span {
233 .main > .loading > span > .loading-img:before {
237 .main > .loading > span > .loading-img {
238 animation: anim-rotate
2s infinite linear
;
239 margin-right: 0.2rem;
240 display: inline-block
;
243 @keyframes anim-rotate
{
245 -webkit-transform: rotate
(0);
246 -ms-transform: rotate
(0);
247 transform: rotate
(0);
250 -webkit-transform: rotate
(360deg);
251 -ms-transform: rotate
(360deg);
252 transform: rotate
(360deg)
260 width: calc
(0% + 15rem);
262 height: calc
(100% - 4rem);
263 background-color: var
(--menu-bg-color
, #FFFFFF);
270 width: calc
(100% - 15rem);
273 background-color: #EEE;
276 .main-right > #maincontent {
277 background-color: #EEE;
289 background: var
(--header-bg
, #0099CC);
290 color: var
(--header-color
, #FFFFFF);
293 header
> .fill
> .container
{
295 padding: 0.5rem 1rem 0 1rem;
298 header
> .fill
> .container
> .brand
{
300 color: var
(--header-color
, #FFFFFF);
301 text-decoration: none
;
303 vertical-align: text-bottom
;
307 background-color: #FA8072 !important
;
312 background-color: #F0E68C !important
;
317 background-color: #90EE90 !important
;
328 font-family: inherit
;
332 background-color: #FFF;
333 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
340 .alert-message > h4 {
349 #maincontent > .container
> div:nth-child
(1).alert-message
.warning
> a
{
352 text-transform: none
;
353 display: inline-block
;
358 vertical-align: middle
;
359 touch-action: manipulation
;
361 -webkit-user-select: none
;
362 -moz-user-select: none
;
363 -ms-user-select: none
;
365 background-image: none
;
367 padding: 0.5rem 1rem;
369 line-height: 1.42857143;
371 background-color: #5bc0de;
372 border-color: #46b8da;
374 text-decoration: inherit
;
377 .main > .main-left > .nav {
381 .main > .main-left > .nav > li a {
382 color: var
(--menu-color
, #404040);
386 .main > .main-left > .nav > li:nth-last-child(1) {
391 .main > .main-left > .nav > li {
392 padding: 0.5rem 1rem;
396 .main > .main-left > .nav > .slide {
400 .main > .main-left > .nav > .slide > ul {
404 .main > .main-left > .nav > .slide > .menu {
406 padding: 0.5rem 1rem;
407 text-decoration: none
;
412 .main
> .main-left
> .nav
> li:hover
,
413 .main > .main-left > .nav > .slide > .menu:hover {
414 background: var
(--submenu-bg-hover
, #D4D4D4)
417 .main > .main-left > .nav > .slide:hover {
421 .main > .main-left > .nav > .slide > .slide-menu > li {
422 padding: 0.4rem 2rem;
425 .main > .main-left > .nav > .slide > .slide-menu > .active {
426 background-color: var
(--submenu-bg-hover-active
, #0099CC);
429 .main > .main-left > .nav > .slide > .slide-menu > li > a {
430 text-decoration: none
;
434 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
438 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
439 background: var
(--submenu-bg-hover
, #D4D4D4)
442 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
443 background-color: #0099CC;
448 list-style-type: none
;
451 #maincontent > .container
{
452 margin: 0 2rem 1rem 2rem;
457 padding-bottom: 10px;
458 border-bottom: 1px solid
#eee;
464 padding-bottom: 10px;
465 border-bottom: 1px solid
#eee;
471 padding-bottom: 10px;
477 padding-bottom: 10px;
487 font-family: inherit
;
490 background-color: #FFF;
491 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
493 -webkit-overflow-scrolling: touch
;
496 .cbi-map-descr + fieldset {
500 .cbi-section > legend {
501 display: none
!important
;
504 fieldset
> fieldset
{
511 .cbi-section
> h3:first-child
,
518 padding-bottom: 1rem;
519 border-bottom: 1px solid
#eee;
525 border-collapse: collapse
;
530 border: 1px solid
#eee;
533 table
> tbody
> tr
> td
, table
> tbody
> tr
> th
, table
> tfoot
> tr
> td
, table
> tfoot
> tr
> th
, table
> thead
> tr
> td
, table
> thead
> tr
> th
,
534 .table > .tbody > .tr > .td, .table > .tbody > .tr > .th, .table > .tfoot > .tr > .td, .table > .tfoot > .tr > .th, .table > .thead > .tr > .td, .table > .thead > .tr > .th {
536 border-top: 1px solid
#ddd;
540 .cbi-section-table-cell {
542 align-self: flex-end
;
550 .cbi-section-table-row {
554 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
557 .cbi-section-table-row:last-child {
561 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
562 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
563 .cbi-section-table-row
> .cbi-value-field
.cbi-input-password
,
564 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
568 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
569 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
570 width: calc
(100% - 1.5rem);
573 div
> table
> tbody
> tr:nth-of-type
(2n),
574 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
575 background-color: #f9f9f9;
578 div
> table
> tbody
> tr:nth-of-type
(2n),
579 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
580 background-color: #f9f9f9;
583 /* fix progress bar */
590 width: 100% !important
;
591 height: 1.2rem !important
;
594 #swaptotal > div
> div
,
595 #swapfree > div
> div
,
596 #memfree > div
> div
,
597 #membuff > div
> div
,
599 #memtotal > div
> div
{
600 height: 100% !important
;
601 background-color: #0099CC !important
;
604 /* fix multiple table */
611 .cbi-value-field table
,
612 .cbi-value-field .table {
616 td
> table
> tbody
> tr
> td
,
617 .td > .table > .tbody > .tr > .td {
621 .cbi-value-field
> table
> tbody
> tr
> td
,
622 .cbi-value-field > .table > .tbody > .tr > .td {
629 -webkit-appearance: none
;
630 text-transform: uppercase
;
631 color: rgba
(0, 0, 0, 0.87);
632 background-color: #F0F0F0;
633 transition: all
0.2s ease-in-out
;
634 display: inline-block
;
637 border-radius: 0.2rem;
639 -ms-touch-action: manipulation
;
640 touch-action: manipulation
;
641 background-image: none
;
643 vertical-align: middle
;
645 -webkit-user-select: none
;
646 -moz-user-select: none
;
647 -ms-user-select: none
;
650 width: auto
!important
;
651 display: inline-block
;
652 text-decoration: none
;
661 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
662 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
663 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
665 text-decoration: none
;
666 background-color: rgba
(250, 250, 250, 0.7);
673 box-shadow: 0 0px 2px rgba
(0, 0, 0, 0.12), 0 2px 2px rgba
(0, 0, 0, 0.2);
678 box-shadow: 0 10px 20px rgba
(0, 0, 0, 0.19), 0 6px 6px rgba
(0, 0, 0, 0.23);
682 .cbi-button:disabled {
684 pointer-events: none
;
689 .cbi-page-actions
.cbi-button-apply
,
690 .cbi-section-actions
.cbi-button-edit
,
691 .cbi-button-edit
.important
,
692 .cbi-button-apply
.important
,
693 .cbi-button-reload
.important
,
694 .cbi-button-action.important {
696 background-color: #337ab7;
699 .cbi-page-actions
.cbi-button-save
,
700 .cbi-button-add
.important
,
701 .cbi-button-save
.important
,
702 .cbi-button-positive.important {
704 background-color: #5bc0de;
707 .cbi-button-remove
.important
,
708 .cbi-button-reset
.important
,
709 .cbi-button-negative.important {
711 background-color: #d9534f;
718 .cbi-button-neutral {
719 border: 1px solid
#bfbfbf;
720 background-color: transparent
;
728 border: 1px solid
#2e6da4;
729 background-color: transparent
;
732 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
735 .cbi-button-positive {
737 border: 1px solid
#46b8da;
738 background-color: transparent
;
741 .cbi-section-remove
> .cbi-button
,
744 .cbi-button-negative {
746 border: 1px solid
#d43f3a;
747 background-color: transparent
;
750 .cbi-page-actions .cbi-button-link:first-child {
755 text-decoration: none
;
762 padding-left: 0.5rem;
763 background-color: #FFFFFF;
768 display: inline-block
;
769 padding: 0.6rem 0rem;
772 .cbi-tabmenu
> li
> a
,
774 text-decoration: none
;
776 padding: 0.5rem 0.8rem;
779 .tabs
> li
[class
~="active"],
782 border-bottom: 0.2rem solid
#0099CC;
784 margin-bottom: -0.18751rem;
787 .tabs > li[class~="active"] > a {
792 border-bottom: 0.18751rem solid
#C9C9C9;
796 border-top: 1px solid
#D4D4D4;
797 border-left: 1px solid
#D4D4D4;
798 border-right: 1px solid
#D4D4D4;
801 .cbi-tabmenu > li:hover {
802 background-color: #F1F1F1;
805 .cbi-tabmenu > li[class~="cbi-tab"] {
806 background-color: white
;
810 background-color: #D4D4D4;
813 .cbi-section-remove:nth-of-type
(2n),
814 .cbi-section-node:nth-of-type(2n){
815 background-color: #f9f9f9;
818 .cbi-section-node-tabbed {
821 border-bottom: 1px solid
#D4D4D4;
822 border-left: 1px solid
#D4D4D4;
823 border-right: 1px solid
#D4D4D4;
826 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
827 background-color: #f9f9f9;
831 .cbi-value-description {
836 .cbi-value-helpicon > img {
840 .cbi-value-helpicon:before {
844 .cbi-value-description {
847 padding: 0.5rem 0 0 0;
851 word-wrap: break-word
;
861 padding: 0.3rem 1rem;
862 display: inline-block
;
866 .cbi-section-table-descr
> .cbi-section-table-cell
,
867 .cbi-section-table-titles > .cbi-section-table-cell {
871 .td[data-title]::before {
872 content: attr
(data-title
) ":\20";
880 .tr.placeholder .td[data-title]::before {
884 .tr
[data-title
]::before
,
885 .tr.cbi-section-table-titles.named::before {
886 content: attr
(data-title
) "\20";
894 word-wrap: break-word
;
895 vertical-align: middle
;
899 background-color: #f9f9f9;
903 background-color: #eee;
906 .cbi-rowstyle-2
.cbi-button-up
,
907 .cbi-rowstyle-2 .cbi-button-down {
908 background-color: #FFF !important
;
911 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
912 width: auto
!important
;
915 .td.cbi-section-actions {
917 vertical-align: middle
;
920 .td.cbi-section-actions > * {
924 .td
.cbi-section-actions
> * > *,
925 .td.cbi-section-actions > * > form > * {
930 .td.cbi-section-actions > * > form {
931 display: inline-flex
;
945 display: inline-flex
;
952 .cbi-dropdown:focus {
953 outline: 2px solid
#4b6e9b;
957 margin: 0 !important
;
966 .cbi-dropdown > ul.preview {
970 .cbi-dropdown > .open {
971 border: 2px outset
#eee;
976 .cbi-dropdown
> .open
,
977 .cbi-dropdown > .more {
981 flex-direction: column
;
982 justify-content: center
;
988 .cbi-dropdown
> .more
,
989 .cbi-dropdown > ul > li[placeholder] {
992 text-shadow: 1px 1px 0px #fff;
996 .cbi-dropdown > ul > li {
1001 text-overflow: ellipsis
;
1004 align-items: center
;
1009 .cbi-dropdown > ul > li .hide-open { display: initial
; }
1010 .cbi-dropdown > ul > li .hide-close { display: none
; }
1012 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1013 border-left: 1px solid
#ccc;
1016 .cbi-dropdown[empty] > ul {
1020 .cbi-dropdown > ul > li > form {
1024 pointer-events: none
;
1027 .cbi-dropdown > ul > li img {
1028 vertical-align: middle
;
1029 margin-right: .25em;
1032 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1037 .cbi-dropdown > ul > li input[type="text"] {
1041 .cbi-dropdown[open] {
1045 .cbi-dropdown[open] > ul.dropdown {
1047 background: #f6f6f5;
1048 border: 1px solid
#918e8c;
1049 box-shadow: 0 0 4px #918e8c;
1057 .cbi-dropdown
> ul
> li
[display
],
1058 .cbi-dropdown
[open
] > ul
.preview
,
1059 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1060 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1061 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1062 .cbi-dropdown
[multiple
][more
] > .more
,
1063 .cbi-dropdown[multiple][empty] > .more {
1066 align-items: center
;
1069 .cbi-dropdown
[empty
] > ul
> li
,
1070 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1071 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1075 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none
; }
1076 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial
; }
1078 .cbi-dropdown[open] > ul.dropdown > li {
1079 border-bottom: 1px solid
#ccc;
1082 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1083 background: #b0d0f0;
1086 .cbi-dropdown[open] > ul.dropdown > li.focus {
1087 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1090 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1092 border-bottom: none
;
1095 .cbi-dropdown[disabled] {
1096 pointer-events: none
;
1100 .cbi-dropdown .zonebadge {
1104 .cbi-dropdown[open] .zonebadge {
1115 .left, .left::before {
1116 text-align: left
!important
;
1119 .right, .right::before {
1120 text-align: right
!important
;
1123 .center, .center::before {
1124 text-align: center
!important
;
1128 align-self: flex-start
!important
;
1129 vertical-align: top
!important
;
1133 align-self: flex-end
!important
;
1134 vertical-align: bottom
!important
;
1142 border-top: 1px solid
#eee;
1148 .cbi-value input
[type
="password"],
1149 .cbi-value input[type="text"] {
1154 .cbi-value-field .cbi-dropdown {
1158 .cbi-value-field .cbi-input-select {
1162 .th
[data-type
="button"], .td
[data-type
="button"],
1163 .th[data-type="fvalue"], .td[data-type="fvalue"] {
1169 display: inline-flex
;
1170 border-bottom: 1px solid
#CCCCCC;
1171 padding: 0.5rem 1rem;
1172 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, 0.2), 0 1px 2px rgba
(0, 0, 0, 0.05);
1178 background-color: #F0F0F0;
1184 display: inline-block
;
1186 align-self: flex-start
;
1189 .ifacebadge > img + img {
1190 margin: 0 .2rem 0 0;
1193 .network-status-table {
1198 .network-status-table .ifacebox {
1203 .network-status-table .ifacebox-body {
1205 flex-direction: column
;
1209 .network-status-table .ifacebox-body > span {
1213 .network-status-table .ifacebox-body > div {
1218 .network-status-table .ifacebox-body .ifacebadge {
1220 margin: .5em .25em 0 .25em;
1223 background-color: #fff;
1224 align-items: center
;
1229 .cbi-input-textarea {
1234 font-family: "Helvetica Neue", Helvetica
, Arial
, sans-serif
;
1245 margin-bottom: 20px;
1247 background-color: #FFF;
1248 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1255 font-family: monospace
;
1258 .uci-change-list ins
,
1259 .uci-change-legend-label ins {
1260 text-decoration: none
;
1261 border: 1px solid
#00FF00;
1262 background-color: #CCFFCC;
1267 .uci-change-list del
,
1268 .uci-change-legend-label del {
1269 text-decoration: none
;
1270 border: 1px solid
#FF0000;
1271 background-color: #FFCCCC;
1277 .uci-change-list var
,
1278 .uci-change-legend-label var {
1279 text-decoration: none
;
1280 border: 1px solid
#CCCCCC;
1281 background-color: #EEEEEE;
1287 .uci-change-list var ins
,
1288 .uci-change-list var del {
1295 .uci-change-legend {
1299 .uci-change-legend-label {
1304 .uci-change-legend-label
> ins
,
1305 .uci-change-legend-label
> del
,
1306 .uci-change-legend-label > var {
1314 .uci-change-legend-label var ins
,
1315 .uci-change-legend-label var del {
1320 .uci-change-list var
,
1321 .uci-change-list del
,
1322 .uci-change-list ins {
1330 border: 1px solid
#D4D4D4 !important
;
1331 border-top: none
!important
;
1335 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, 0.4), 0 1px 2px rgba
(0, 0, 0, 0.2);
1336 border-bottom: 1px solid
#ccc;
1337 background-color: #f9f9f9;
1338 display: inline-flex
;
1339 flex-direction: column
;
1349 .ifacebox-head.active {
1350 background: #90c0e0;
1358 margin-left: 0.5rem;
1362 padding: 0.2rem 0.5rem;
1363 display: inline-block
;
1366 .zonebadge .ifacebadge {
1367 padding: .2rem .3rem;
1368 margin: 0.1rem 0.2rem;
1369 border: 1px solid
#6C6C6C;
1372 .zonebadge > input[type="text"] {
1373 padding: 0.16rem 1rem;
1379 .zonebadge > strong {
1381 display: inline-block
;
1384 .cbi-value-field
.cbi-input-checkbox
,
1385 .cbi-value-field .cbi-input-radio {
1390 .td
.cbi-input-checkbox
,
1391 .td .cbi-input-radio {
1395 .cbi-value-field > input + .cbi-value-description {
1399 .cbi-value-field > ul > li {
1403 .cbi-value-field > ul > li > label {
1407 .cbi-value-field > ul > li .ifacebadge {
1408 background-color: #eee;
1409 margin-left: 0.4rem;
1410 margin-top: -0.5rem;
1413 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1417 .cbi-section-create {
1419 display: inline-flex
;
1420 align-items: center
;
1423 .cbi-section-create > * {
1427 .cbi-section-remove {
1431 div
.cbi-value var
, td
.cbi-value-field var
, .td
.cbi-value-field var
{
1438 white-space: normal
;
1439 line-height: 1.42857143;
1444 display: inline-block
;
1446 padding: 0.2rem 0.3rem;
1451 padding: 1rem 1rem 0 1rem;
1452 border-top: 1px solid
#CCC;
1455 .cbi-dropdown-container {
1459 .cbi-tooltip-container {
1468 transition: opacity
.25s ease-out
;
1469 pointer-events: none
;
1470 box-shadow: 0 0 2px #444;
1473 .cbi-tooltip-container:hover .cbi-tooltip {
1476 transition: opacity
.25s ease-in
;
1479 .zonebadge .cbi-tooltip {
1481 background: inherit
;
1482 margin: -1.5rem 0 0 -.5rem;
1486 background: repeating-linear-gradient
(45deg,rgba
(204,204,204,0.5),rgba
(204,204,204,0.5) 5px,rgba
(255,255,255,0.5) 5px,rgba
(255,255,255,0.5) 10px);
1495 .zone-forwards > * {
1499 .zone-forwards > span {
1505 .zone-forwards
.zone-src
,
1506 .zone-forwards .zone-dest {
1508 flex-direction: column
;
1511 #diag-rc-output > pre
{
1512 background-color: #f5f5f5;
1516 line-height: 1.5rem;
1517 -moz-border-radius: 3px;
1518 white-space: pre-wrap
;
1519 word-wrap: break-word
;
1525 input
[name
="traceroute"],
1526 input
[name
="nslookup"] {
1530 header
> .container
> .pull-right
> * {
1536 #xhr_poll_status > .label
.success
{
1537 background-color: #14CE14;
1541 padding: 0.3rem 0.8rem;
1544 color: #ffffff !important
;
1545 text-transform: uppercase
;
1546 white-space: nowrap
;
1547 background-color: #bfbfbf;
1548 -webkit-border-radius: 3px;
1549 -moz-border-radius: 3px;
1552 text-decoration: none
;
1556 background-color: #5BC0DE;
1567 background-color: rgba
(0, 0, 0, 0.56);
1574 .node-main-login > .main > .main-left {
1578 .node-main-login > .main > .main-right {
1582 .node-main-login > .main fieldset {
1584 margin-bottom: 1rem;
1592 .node-main-login > .main .cbi-value-title {
1596 .node-main-login > .main #maincontent {
1601 .node-main-login > .main .container {
1602 display: inline-block
;
1604 margin-top: 2rem !important
;
1605 background-color: #FFF;
1606 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1610 .node-main-login > .main form > div:nth-last-child(1) {
1614 .node-main-login > .main .cbi-value {
1618 .node-main-login > .main .cbi-value > * {
1619 display: inline-block
!important
;
1622 .node-main-login
> .main
.cbi-input-user
,
1623 .node-main-login > .main .cbi-input-password {
1627 .node-main-login footer {
1633 /* fix status overview */
1635 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
1636 white-space: normal
;
1639 /* fix status processes */
1641 .node-status-processes > .main .table .tr .td:nth-child(3) {
1642 white-space: normal
;
1645 .node-status-iptables > .main div > .cbi-map > form {
1646 margin: 2rem 2rem 0 0;
1649 /* fix system reboot */
1651 .node-system-reboot
> .main
> .main-right p
,
1652 .node-system-reboot > .main > .main-right h3 {
1656 /* fix Services Network Shares*/
1657 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
1658 margin-bottom: 1rem;
1662 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field {
1666 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description {
1670 /* fix System Software*/
1671 .node-system-packages > .main table tr td:nth-child(1) {
1672 width: auto
!important
;
1675 .node-system-packages > .main table tr td:nth-last-child(1) {
1676 white-space: normal
;
1681 .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a {
1682 padding: 0.5rem 0.8rem;
1685 .node-system-packages > .main .cbi-value > pre {
1686 background-color: #eee;
1691 .cbi-tabmenu + .cbi-section {
1695 .node-status-iptables fieldset
,
1696 .node-system-packages fieldset
,
1697 .node-system-flashops fieldset {
1701 .node-status-iptables
.cbi-tabmenu
,
1702 .node-system-packages
.cbi-tabmenu
,
1703 .node-system-flashops .cbi-tabmenu {
1705 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1708 .node-system-flashops form.inline + form.inline {
1712 #cbi-firewall-redirect table
*,
1713 #cbi-network-switch_vlan table
*,
1714 #cbi-firewall-zone table
* {
1718 #cbi-firewall-redirect table input
[type
="text"],
1719 #cbi-network-switch_vlan table input
[type
="text"],
1720 #cbi-firewall-zone table input
[type
="text"] {
1724 #cbi-firewall-redirect table select
,
1725 #cbi-network-switch_vlan table select
,
1726 #cbi-firewall-zone table select
{
1730 #cbi-network-switch_vlan .th
,
1731 #cbi-network-switch_vlan .td
{
1736 body
.lang_pl
.node-main-login
.cbi-value-title
{
1740 /* applyreboot fix */
1742 #applyreboot-container {
1746 #applyreboot-section {
1751 @media screen and
(max-width: 1600px) {
1753 width: calc
(0% + 13rem);
1757 width: calc
(100% - 13rem);
1762 padding: 0.3rem 0.6rem;
1766 header
> .container
> .pull-right
> * {
1771 padding: 0.2rem 0.6rem;
1776 padding-right: 0.6rem;
1783 .cbi-input-textarea {
1787 .node-status-iptables > .main fieldset li > a {
1788 padding: 0.3rem 0.6rem;
1792 @media screen and
(max-width: 1280px) {
1797 header
> .container
{
1798 margin-top: 0.25rem;
1803 height: calc
(100% - 3.5rem);
1807 width: calc
(0% + 13rem);
1809 height: calc
(100% - 3.5rem);
1813 width: calc
(100% - 13rem);
1816 .cbi-tabmenu > li > a, .tabs > li > a {
1817 padding: 0.2rem 0.5rem;
1822 padding-bottom: 1rem;
1826 font-size: 0.7rem !important
;
1827 width: 100% !important
;
1830 .main
> .main-left
> .nav
> li
,
1831 .main
> .main-left
> .nav
> li a
,
1832 .main > .main-left > .nav > .slide > .menu {
1836 .main > .main-left > .nav > .slide > .slide-menu > li > a {
1841 @media screen and
(max-width: 992px) {
1854 margin-right: 0.5rem;
1855 display: inline-block
;
1863 .node-main-login .showSide {
1864 display: none
!important
;
1869 padding-right: 1rem;
1872 .node-network-diagnostics > .main .cbi-map fieldset > div * {
1873 width: 100% !important
;
1876 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="text"] {
1877 margin: 3rem 0 0 0 !important
;
1880 .node-network-diagnostics > .main .cbi-map fieldset > div:nth-child(4) input[type="text"] {
1881 margin: 0 !important
;
1884 .node-network-diagnostics
> .main
.cbi-map fieldset
> div select
,
1885 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="button"] {
1889 .node-network-diagnostics > .main .cbi-map fieldset > div {
1890 width: 100% !important
;
1893 #diag-rc-output > pre
{
1897 .node-main-login > .main .cbi-value-title {
1903 flex-direction: row
;
1909 align-self: flex-start
;
1911 text-overflow: ellipsis
;
1912 word-wrap: break-word
;
1913 display: inline-block
;
1917 .td input[type="text"] {
1922 .td
[data-dynlist
] > input
,
1923 .td input.cbi-input-password {
1924 width: calc
(100% - 1.5rem);
1927 .td
[data-type
="button"],
1928 .td[data-type="fvalue"] {
1933 .th
.cbi-value-field
,
1934 .td
.cbi-value-field
,
1935 .th
.cbi-section-table-cell
,
1936 .td.cbi-section-table-cell {
1940 .cbi-section-table-row {
1943 flex-direction: row
;
1944 justify-content: space-between
;
1947 .td
.cbi-value-field
,
1948 .cbi-section-table-cell {
1950 display: inline-block
;
1954 .td.cbi-section-actions {
1956 align-self: flex-end
;
1957 vertical-align: bottom
;
1961 .tr
.cbi-section-table-titles
,
1962 .tr.cbi-section-table-descr {
1966 .tr
[data-title
]::before
,
1967 .tr.cbi-section-table-titles.named::before {
1972 border-bottom: 1px solid rgba
(0, 0, 0, .26);
1979 .td[data-title]::before {
1989 @media screen and
(max-width: 480px) {
2003 #maincontent > .container
{
2004 margin: 0 1rem 1.5rem 1rem;
2007 .main > .main-left > .nav > .slide > .menu {
2011 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2017 min-width: 0rem !important
;
2020 margin-bottom: 0.5rem;
2024 .cbi-value-field, .cbi-value-description {
2028 .cbi-value > .cbi-value-field {
2029 display: inline-block
;
2032 .cbi-tabmenu > li, .tabs > li {
2033 padding: 0.6rem 0rem;
2036 .cbi-tabmenu > li > a, .tabs > li > a {
2037 padding: 0.2rem 0.3rem;
2041 .cbi-page-actions > div > input {
2045 .node-main-login > .main .container {
2046 padding: 0.5rem 1rem 2rem 1rem;
2049 .node-main-login > .main .cbi-value {
2053 .node-main-login > .main form > div:nth-last-child(1) {
2057 .node-main-login > .main .cbi-value-title {
2058 width: 100% !important
;
2062 .node-main-login > .main fieldset {
2086 padding-bottom: 1rem;
2089 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2090 width: 100% !important
;
2093 .node-system-packages > .main .cbi-value .cbi-value-field input {
2097 .node-status-iptables > .main div > .cbi-map > form {
2098 position: static
!important
;
2102 font-weight: normal
;
2105 font-family: inherit
;
2108 background-color: #FFF;
2109 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2110 -webkit-overflow-scrolling: touch
;
2113 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] {
2114 width: 100% !important
;
2118 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"] {
2126 .td.cbi-value-field {
2130 .td.cbi-value-field[data-type="dvalue"] {
2134 .td
.cbi-value-field
[data-type
="button"],
2135 .td.cbi-value-field[data-type="fvalue"] {
2140 .tr
[data-title
]::before
,
2141 .tr.cbi-section-table-titles.named::before {
2150 @media screen and
(min-width: 992px) {
2151 .cbi-value input
[type
="password"],
2152 .cbi-value input
[type
="text"],
2153 .cbi-value-field .cbi-input-select {
2157 .cbi-value-field .cbi-dropdown {
2162 @media screen and
(min-width: 1280px) {
2163 .cbi-value input
[type
="password"],
2164 .cbi-value input
[type
="text"],
2165 .cbi-value-field .cbi-input-select {
2169 .cbi-value-field .cbi-dropdown {
2174 @media screen and
(min-width: 1600px) {
2175 .cbi-value input
[type
="password"],
2176 .cbi-value input
[type
="text"],
2177 .cbi-value-field .cbi-input-select {
2181 .cbi-value-field .cbi-dropdown {