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: var
(--font-body
, "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
,
158 .cbi-dynlist > .item:focus {
159 border-color: var
(--main-color
, #0099CC);
162 select
[multiple
="multiple"] {
167 color: var
(--main-color
, #0099CC);
172 text-decoration: underline
;
188 box-shadow: 0 2px 5px rgba
(0, 0, 0, .26);
189 transition: box-shadow
.2s;
200 text-shadow: 0px 0px 2px #BBB;
205 text-decoration: none
;
213 height: calc
(100% - 4rem);
222 background-color: rgb
(240, 240, 240);
226 .main > .loading > span {
234 .main > .loading > span > .loading-img:before {
238 .main > .loading > span > .loading-img {
239 animation: anim-rotate
2s infinite linear
;
240 display: inline-block
;
244 @keyframes anim-rotate
{
246 -webkit-transform: rotate
(0);
247 -ms-transform: rotate
(0);
248 transform: rotate
(0);
251 -webkit-transform: rotate
(360deg);
252 -ms-transform: rotate
(360deg);
253 transform: rotate
(360deg)
261 width: calc
(0% + 15rem);
263 height: calc
(100% - 4rem);
264 background-color: var
(--menu-bg-color
, #FFFFFF);
271 width: calc
(100% - 15rem);
274 background-color: #EEE;
277 .main-right > #maincontent {
278 background-color: #EEE;
290 background: var
(--header-bg
, #0099CC);
291 color: var
(--header-color
, #FFFFFF);
295 header
> .fill
> .container
{
296 padding-top: 0.25rem;
298 padding-bottom: 0.25rem;
304 header
> .fill
> .container
> .brand
{
306 color: var
(--header-color
, #FFFFFF);
307 text-decoration: none
;
312 header
> .fill
> .container
> img
{
314 width: calc
(0% + 13rem);
318 header
> .fill
> .container
> .status
{
320 justify-content: flex-end
;
325 background-color: #FA8072 !important
;
330 background-color: #F0E68C !important
;
335 background-color: #90EE90 !important
;
346 font-family: inherit
;
350 background-color: #FFF;
351 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
358 .alert-message > h4 {
367 #maincontent > .container
> div:nth-child
(1).alert-message
.warning
> a
{
370 text-transform: none
;
371 display: inline-block
;
376 vertical-align: middle
;
377 touch-action: manipulation
;
379 -webkit-user-select: none
;
380 -moz-user-select: none
;
381 -ms-user-select: none
;
383 background-image: none
;
385 padding: 0.5rem 1rem;
387 line-height: 1.42857143;
389 background-color: #5bc0de;
390 border-color: #46b8da;
392 text-decoration: inherit
;
395 .main > .main-left > .nav {
399 .main > .main-left > .nav > li a {
400 color: var
(--menu-color
, #404040);
404 .main > .main-left > .nav > li:nth-last-child(1) {
410 .main > .main-left > .nav > li {
411 padding: 0.5rem 1rem;
415 .main > .main-left > .nav > .slide {
419 .main > .main-left > .nav > .slide > ul {
423 .main > .main-left > .nav > .slide > .menu {
425 padding: 0.5rem 1rem;
426 text-decoration: none
;
431 .main
> .main-left
> .nav
> li:hover
,
432 .main > .main-left > .nav > .slide > .menu:hover {
433 background: var
(--submenu-bg-hover
, #D4D4D4)
436 .main > .main-left > .nav > .slide:hover {
440 .main > .main-left > .nav > .slide > .slide-menu > li {
441 padding: 0.4rem 2rem;
444 .main > .main-left > .nav > .slide > .slide-menu > .active {
445 background-color: var
(--submenu-bg-hover-active
, #0099CC);
448 .main > .main-left > .nav > .slide > .slide-menu > li > a {
449 text-decoration: none
;
453 .main > .main-left > .nav > .slide > .slide-menu > .active > a {
457 .main > .main-left > .nav > .slide > .slide-menu > li:hover {
458 background: var
(--submenu-bg-hover
, #D4D4D4)
461 .main > .main-left > .nav > .slide > .slide-menu > .active:hover {
462 background-color: var
(--main-color
, #0099CC);
467 list-style-type: none
;
470 #maincontent > .container
{
471 margin: 0 2rem 1rem 2rem;
476 padding-bottom: 10px;
477 border-bottom: 1px solid
#eee;
483 padding-bottom: 10px;
484 border-bottom: 1px solid
#eee;
490 padding-bottom: 10px;
496 padding-bottom: 10px;
506 font-family: inherit
;
509 background-color: #FFF;
510 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
512 -webkit-overflow-scrolling: touch
;
515 .cbi-map-descr + fieldset {
519 .cbi-section > legend {
520 display: none
!important
;
523 fieldset
> fieldset
{
530 .cbi-section
> h3:first-child
,
537 padding-bottom: 1rem;
538 border-bottom: 1px solid
#eee;
544 border-collapse: collapse
;
549 border: 1px solid
#eee;
552 table
> tbody
> tr
> td
, table
> tbody
> tr
> th
, table
> tfoot
> tr
> td
, table
> tfoot
> tr
> th
, table
> thead
> tr
> td
, table
> thead
> tr
> th
,
553 .table > .tbody > .tr > .td, .table > .tbody > .tr > .th, .table > .tfoot > .tr > .td, .table > .tfoot > .tr > .th, .table > .thead > .tr > .td, .table > .thead > .tr > .th {
555 border-top: 1px solid
#ddd;
559 .cbi-section-table-cell {
561 align-self: flex-end
;
569 .cbi-section-table-row {
573 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
576 .cbi-section-table-row:last-child {
580 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
581 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
582 .cbi-section-table-row
> .cbi-value-field
.cbi-input-password
,
583 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
587 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
588 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
589 width: calc
(100% - 1.5rem);
592 div
> table
> tbody
> tr:nth-of-type
(2n),
593 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
594 background-color: #f9f9f9;
597 div
> table
> tbody
> tr:nth-of-type
(2n),
598 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
599 background-color: #f9f9f9;
602 /* fix progress bar */
609 width: 100% !important
;
610 height: 1.2rem !important
;
613 #swaptotal > div
> div
,
614 #swapfree > div
> div
,
615 #memfree > div
> div
,
616 #membuff > div
> div
,
618 #memtotal > div
> div
{
619 height: 100% !important
;
620 background-color: var
(--main-color
, #0099CC) !important
;
623 /* fix multiple table */
630 .cbi-value-field table
,
631 .cbi-value-field .table {
635 td
> table
> tbody
> tr
> td
,
636 .td > .table > .tbody > .tr > .td {
640 .cbi-value-field
> table
> tbody
> tr
> td
,
641 .cbi-value-field > .table > .tbody > .tr > .td {
647 .btn, .cbi-button, .item::after {
648 -webkit-appearance: none
;
649 text-transform: uppercase
;
650 color: rgba
(0, 0, 0, 0.87);
651 background-color: #F0F0F0;
652 transition: all
0.2s ease-in-out
;
653 display: inline-block
;
656 border-radius: 0.2rem;
658 -ms-touch-action: manipulation
;
659 touch-action: manipulation
;
660 background-image: none
;
662 vertical-align: middle
;
664 -webkit-user-select: none
;
665 -moz-user-select: none
;
666 -ms-user-select: none
;
669 width: auto
!important
;
670 display: inline-block
;
671 text-decoration: none
;
681 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
682 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
683 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
685 text-decoration: none
;
686 background-color: rgba
(250, 250, 250, 0.7);
693 box-shadow: 0 0px 2px rgba
(0, 0, 0, 0.12), 0 2px 2px rgba
(0, 0, 0, 0.2);
698 box-shadow: 0 10px 20px rgba
(0, 0, 0, 0.19), 0 6px 6px rgba
(0, 0, 0, 0.23);
702 .cbi-button:disabled {
704 pointer-events: none
;
709 .cbi-page-actions
.cbi-button-apply
,
710 .cbi-section-actions
.cbi-button-edit
,
711 .cbi-button-edit
.important
,
712 .cbi-button-apply
.important
,
713 .cbi-button-reload
.important
,
714 .cbi-button-action.important {
716 background-color: #337ab7;
719 .cbi-page-actions
.cbi-button-save
,
720 .cbi-button-add
.important
,
721 .cbi-button-save
.important
,
722 .cbi-button-positive.important {
724 background-color: #5bc0de;
727 .cbi-button-remove
.important
,
728 .cbi-button-reset
.important
,
729 .cbi-button-negative.important {
731 background-color: #d9534f;
738 .cbi-button-neutral {
739 border: 1px solid
#bfbfbf;
740 background-color: transparent
;
748 border: 1px solid
#2e6da4;
749 background-color: transparent
;
752 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
755 .cbi-button-positive {
757 border: 1px solid
#46b8da;
758 background-color: transparent
;
761 .cbi-section-remove
> .cbi-button
,
764 .cbi-button-negative {
766 border: 1px solid
#d43f3a;
767 background-color: transparent
;
770 .cbi-page-actions .cbi-button-link:first-child {
775 text-decoration: none
;
782 padding-left: 0.5rem;
783 background-color: #FFFFFF;
788 display: inline-block
;
789 padding: 0.6rem 0rem;
792 .cbi-tabmenu
> li
> a
,
794 text-decoration: none
;
796 padding: 0.5rem 0.8rem;
799 .tabs
> li
[class
~="active"],
802 border-bottom: 0.2rem solid var
(--main-color
, #0099CC);
803 color: var
(--main-color
, #0099CC);
804 margin-bottom: -0.18751rem;
807 .tabs > li[class~="active"] > a {
808 color: var
(--main-color
, #0099CC);
812 border-bottom: 0.18751rem solid
#C9C9C9;
816 border-top: 1px solid
#D4D4D4;
817 border-left: 1px solid
#D4D4D4;
818 border-right: 1px solid
#D4D4D4;
821 .cbi-tabmenu > li:hover {
822 background-color: #F1F1F1;
825 .cbi-tabmenu > li[class~="cbi-tab"] {
826 background-color: white
;
830 background-color: #D4D4D4;
833 .cbi-section-remove:nth-of-type
(2n),
834 .cbi-section-node:nth-of-type(2n){
835 background-color: #f9f9f9;
838 .cbi-section-node-tabbed {
841 border-bottom: 1px solid
#D4D4D4;
842 border-left: 1px solid
#D4D4D4;
843 border-right: 1px solid
#D4D4D4;
846 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
847 background-color: #f9f9f9;
851 .cbi-value-description {
856 .cbi-value-helpicon > img {
860 .cbi-value-helpicon:before {
864 .cbi-value-description {
867 padding: 0.5rem 0 0 0;
871 word-wrap: break-word
;
881 padding: 0.3rem 1rem;
882 display: inline-block
;
886 .cbi-section-table-descr
> .cbi-section-table-cell
,
887 .cbi-section-table-titles > .cbi-section-table-cell {
891 .td[data-title]::before {
892 content: attr
(data-title
) ":\20";
900 .tr.placeholder .td[data-title]::before {
904 .tr
[data-title
]::before
,
905 .tr.cbi-section-table-titles.named::before {
906 content: attr
(data-title
) "\20";
914 word-wrap: break-word
;
915 vertical-align: middle
;
919 background-color: #f9f9f9;
923 background-color: #eee;
926 .cbi-rowstyle-2
.cbi-button-up
,
927 .cbi-rowstyle-2 .cbi-button-down {
928 background-color: #FFF !important
;
931 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
932 width: auto
!important
;
935 .td.cbi-section-actions {
937 vertical-align: middle
;
940 .td.cbi-section-actions > * {
944 .td
.cbi-section-actions
> * > *,
945 .td.cbi-section-actions > * > form > * {
950 .td.cbi-section-actions > * > form {
951 display: inline-flex
;
966 display: inline-flex
;
974 margin: 0 !important
;
983 .cbi-dropdown > ul.preview {
987 .cbi-dropdown > .open {
988 border: 2px outset
#eee;
993 .cbi-dropdown
> .open
,
994 .cbi-dropdown > .more {
998 flex-direction: column
;
999 justify-content: center
;
1005 .cbi-dropdown
> .more
,
1006 .cbi-dropdown > ul > li[placeholder] {
1009 text-shadow: 1px 1px 0px #fff;
1013 .cbi-dropdown > ul > li {
1016 white-space: nowrap
;
1018 text-overflow: ellipsis
;
1021 align-items: center
;
1026 .cbi-dropdown > ul > li .hide-open { display: initial
; }
1027 .cbi-dropdown > ul > li .hide-close { display: none
; }
1029 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1030 border-left: 1px solid
#ccc;
1033 .cbi-dropdown[empty] > ul {
1037 .cbi-dropdown > ul > li > form {
1041 pointer-events: none
;
1044 .cbi-dropdown > ul > li img {
1045 vertical-align: middle
;
1046 margin-right: .25em;
1049 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1054 .cbi-dropdown > ul > li input[type="text"] {
1058 .cbi-dropdown[open] {
1062 .cbi-dropdown[open] > ul.dropdown {
1064 background: #f6f6f5;
1065 border: 1px solid
#918e8c;
1066 box-shadow: 0 0 4px #918e8c;
1074 .cbi-dropdown
> ul
> li
[display
],
1075 .cbi-dropdown
[open
] > ul
.preview
,
1076 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1077 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1078 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1079 .cbi-dropdown
[multiple
][more
] > .more
,
1080 .cbi-dropdown[multiple][empty] > .more {
1083 align-items: center
;
1086 .cbi-dropdown
[empty
] > ul
> li
,
1087 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1088 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1092 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none
; }
1093 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial
; }
1095 .cbi-dropdown[open] > ul.dropdown > li {
1096 border-bottom: 1px solid
#ccc;
1099 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1100 background: #b0d0f0;
1103 .cbi-dropdown[open] > ul.dropdown > li.focus {
1104 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1107 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1109 border-bottom: none
;
1112 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1116 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1120 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1124 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1128 .cbi-dropdown[disabled] {
1129 pointer-events: none
;
1133 .cbi-dropdown .zonebadge {
1137 .cbi-dropdown[open] .zonebadge {
1144 display: inline-flex
;
1145 flex-direction: column
;
1148 .cbi-dynlist > .item {
1149 margin: 0 2em 4px 0;
1151 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1153 pointer-events: none
;
1157 .cbi-dynlist > .item::after {
1160 display: inline-flex
;
1161 align-items: center
;
1166 border: 1px solid
#c44;
1169 pointer-events: auto
;
1175 display: inline-flex
;
1176 flex-direction: column
;
1179 .cbi-dynlist > .item {
1180 margin: 0 2em 4px 0;
1182 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1184 pointer-events: none
;
1188 .cbi-dynlist > .item::after {
1191 display: inline-flex
;
1192 align-items: center
;
1197 border: 1px solid
#c44;
1200 pointer-events: auto
;
1210 .left, .left::before {
1211 text-align: left
!important
;
1214 .right, .right::before {
1215 text-align: right
!important
;
1218 .center, .center::before {
1219 text-align: center
!important
;
1223 align-self: flex-start
!important
;
1224 vertical-align: top
!important
;
1228 align-self: flex-end
!important
;
1229 vertical-align: bottom
!important
;
1237 border-top: 1px solid
#eee;
1243 .cbi-value input
[type
="password"],
1244 .cbi-value input[type="text"] {
1249 .cbi-value-field .cbi-dropdown {
1253 .cbi-value-field .cbi-input-select {
1257 .th
[data-type
="button"], .td
[data-type
="button"],
1258 .th[data-type="fvalue"], .td[data-type="fvalue"] {
1264 display: inline-flex
;
1265 border-bottom: 1px solid
#CCCCCC;
1266 padding: 0.5rem 1rem;
1267 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, 0.2), 0 1px 2px rgba
(0, 0, 0, 0.05);
1273 background-color: #F0F0F0;
1279 display: inline-block
;
1281 align-self: flex-start
;
1284 .ifacebadge > img + img {
1285 margin: 0 .2rem 0 0;
1288 .network-status-table {
1293 .network-status-table .ifacebox {
1298 .network-status-table .ifacebox-body {
1300 flex-direction: column
;
1304 .network-status-table .ifacebox-body > span {
1308 .network-status-table .ifacebox-body > div {
1313 .network-status-table .ifacebox-body .ifacebadge {
1315 margin: .5em .25em 0 .25em;
1318 background-color: #fff;
1319 align-items: center
;
1324 .cbi-input-textarea {
1329 font-family: monospace
;
1340 margin-bottom: 20px;
1342 background-color: #FFF;
1343 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1350 font-family: monospace
;
1353 .uci-change-list ins
,
1354 .uci-change-legend-label ins {
1355 text-decoration: none
;
1356 border: 1px solid
#00FF00;
1357 background-color: #CCFFCC;
1362 .uci-change-list del
,
1363 .uci-change-legend-label del {
1364 text-decoration: none
;
1365 border: 1px solid
#FF0000;
1366 background-color: #FFCCCC;
1372 .uci-change-list var
,
1373 .uci-change-legend-label var {
1374 text-decoration: none
;
1375 border: 1px solid
#CCCCCC;
1376 background-color: #EEEEEE;
1382 .uci-change-list var ins
,
1383 .uci-change-list var del {
1390 .uci-change-legend {
1394 .uci-change-legend-label {
1399 .uci-change-legend-label
> ins
,
1400 .uci-change-legend-label
> del
,
1401 .uci-change-legend-label > var {
1409 .uci-change-legend-label var ins
,
1410 .uci-change-legend-label var del {
1415 .uci-change-list var
,
1416 .uci-change-list del
,
1417 .uci-change-list ins {
1425 border: 1px solid
#D4D4D4 !important
;
1426 border-top: none
!important
;
1430 box-shadow: inset
0 1px 0 rgba
(255, 255, 255, 0.4), 0 1px 2px rgba
(0, 0, 0, 0.2);
1431 border-bottom: 1px solid
#ccc;
1432 background-color: #f9f9f9;
1433 display: inline-flex
;
1434 flex-direction: column
;
1444 .ifacebox-head.active {
1445 background: #90c0e0;
1453 margin-left: 0.5rem;
1457 padding: 0.2rem 0.5rem;
1458 display: inline-block
;
1461 .zonebadge .ifacebadge {
1462 padding: .2rem .3rem;
1463 margin: 0.1rem 0.2rem;
1464 border: 1px solid
#6C6C6C;
1467 .zonebadge > input[type="text"] {
1468 padding: 0.16rem 1rem;
1474 .zonebadge > strong {
1476 display: inline-block
;
1479 .cbi-value-field
.cbi-input-checkbox
,
1480 .cbi-value-field .cbi-input-radio {
1485 .td
.cbi-input-checkbox
,
1486 .td .cbi-input-radio {
1490 .cbi-value-field > input + .cbi-value-description {
1494 .cbi-value-field > ul > li {
1498 .cbi-value-field > ul > li > label {
1502 .cbi-value-field > ul > li .ifacebadge {
1503 background-color: #eee;
1504 margin-left: 0.4rem;
1505 margin-top: -0.5rem;
1508 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1512 .cbi-section-create {
1514 display: inline-flex
;
1515 align-items: center
;
1518 .cbi-section-create > * {
1522 .cbi-section-remove {
1526 div
.cbi-value var
, td
.cbi-value-field var
, .td
.cbi-value-field var
{
1533 white-space: normal
;
1534 line-height: 1.42857143;
1539 display: inline-block
;
1541 padding: 0.2rem 0.3rem;
1546 padding: 1rem 1rem 0 1rem;
1547 border-top: 1px solid
#CCC;
1550 .cbi-dropdown-container {
1554 .cbi-tooltip-container {
1567 transition: opacity
.25s ease-out
;
1568 pointer-events: none
;
1569 box-shadow: 0 0 2px #444;
1572 .cbi-tooltip-container:hover .cbi-tooltip {
1575 transition: opacity
.25s ease-in
;
1578 .zonebadge .cbi-tooltip {
1580 background: inherit
;
1581 margin: -1.5rem 0 0 -.5rem;
1585 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);
1594 .zone-forwards > * {
1598 .zone-forwards > span {
1604 .zone-forwards
.zone-src
,
1605 .zone-forwards .zone-dest {
1607 flex-direction: column
;
1610 #diag-rc-output > pre
{
1611 background-color: #f5f5f5;
1615 line-height: 1.5rem;
1616 -moz-border-radius: 3px;
1617 white-space: pre-wrap
;
1618 word-wrap: break-word
;
1624 input
[name
="traceroute"],
1625 input
[name
="nslookup"] {
1629 header
> .container
> .pull-right
> * {
1635 #xhr_poll_status > .label
.success
{
1636 background-color: #14CE14;
1644 padding: 0.3rem 0.8rem;
1647 color: #ffffff !important
;
1648 text-transform: uppercase
;
1649 white-space: nowrap
;
1650 background-color: #bfbfbf;
1651 -webkit-border-radius: 3px;
1652 -moz-border-radius: 3px;
1655 text-decoration: none
;
1659 background-color: #5BC0DE;
1670 background-color: rgba
(0, 0, 0, 0.56);
1677 .node-main-login > .main > .main-left {
1681 .node-main-login > .main > .main-right {
1685 .node-main-login > .main fieldset {
1687 margin-bottom: 1rem;
1695 .node-main-login > .main .cbi-value-title {
1699 .node-main-login > .main #maincontent {
1704 .node-main-login > .main .container {
1705 display: inline-block
;
1707 margin-top: 2rem !important
;
1708 background-color: #FFF;
1709 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1713 .node-main-login > .main form > div:nth-last-child(1) {
1717 .node-main-login > .main .cbi-value {
1721 .node-main-login > .main .cbi-value > * {
1722 display: inline-block
!important
;
1725 .node-main-login
> .main
.cbi-input-user
,
1726 .node-main-login > .main .cbi-input-password {
1730 .node-main-login footer {
1736 /* fix status overview */
1738 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
1739 white-space: normal
;
1742 /* fix status processes */
1744 .node-status-processes > .main .table .tr .td:nth-child(3) {
1745 white-space: normal
;
1748 .node-status-iptables > .main div > .cbi-map > form {
1749 margin: 2rem 2rem 0 0;
1752 /* fix system reboot */
1754 .node-system-reboot
> .main
> .main-right p
,
1755 .node-system-reboot > .main > .main-right h3 {
1759 /* fix Services Network Shares*/
1760 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
1761 margin-bottom: 1rem;
1765 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field {
1769 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description {
1773 /* fix System Software*/
1774 .node-system-packages > .main table tr td:nth-child(1) {
1775 width: auto
!important
;
1778 .node-system-packages > .main table tr td:nth-last-child(1) {
1779 white-space: normal
;
1784 .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a {
1785 padding: 0.5rem 0.8rem;
1788 .node-system-packages > .main .cbi-value > pre {
1789 background-color: #eee;
1794 .cbi-tabmenu + .cbi-section {
1798 .node-status-iptables fieldset
,
1799 .node-system-packages fieldset
,
1800 .node-system-flashops fieldset {
1804 .node-status-iptables
.cbi-tabmenu
,
1805 .node-system-packages
.cbi-tabmenu
,
1806 .node-system-flashops .cbi-tabmenu {
1808 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
1811 .node-system-flashops form.inline + form.inline {
1815 #cbi-firewall-redirect table
*,
1816 #cbi-network-switch_vlan table
*,
1817 #cbi-firewall-zone table
* {
1821 #cbi-firewall-redirect table input
[type
="text"],
1822 #cbi-network-switch_vlan table input
[type
="text"],
1823 #cbi-firewall-zone table input
[type
="text"] {
1827 #cbi-firewall-redirect table select
,
1828 #cbi-network-switch_vlan table select
,
1829 #cbi-firewall-zone table select
{
1833 #cbi-network-switch_vlan .th
,
1834 #cbi-network-switch_vlan .td
{
1839 body
.lang_pl
.node-main-login
.cbi-value-title
{
1843 /* applyreboot fix */
1845 #applyreboot-container {
1849 #applyreboot-section {
1854 @media screen and
(max-width: 1600px) {
1857 padding: 0.3rem 0.6rem;
1861 header
> .container
> .pull-right
> * {
1866 padding: 0.2rem 0.6rem;
1871 padding-right: 0.6rem;
1878 .cbi-input-textarea {
1882 .node-status-iptables > .main fieldset li > a {
1883 padding: 0.3rem 0.6rem;
1887 @media screen and
(max-width: 1280px) {
1888 header
> .container
{
1889 margin-top: 0.25rem;
1892 .cbi-tabmenu > li > a, .tabs > li > a {
1893 padding: 0.2rem 0.5rem;
1898 padding-bottom: 1rem;
1902 font-size: 0.7rem !important
;
1903 width: 100% !important
;
1907 @media screen and
(max-width: 992px) {
1908 header
> .fill
> .container
> img
{
1924 margin-right: 0.5rem;
1925 display: inline-block
;
1933 .node-main-login .showSide {
1934 display: none
!important
;
1939 padding-right: 1rem;
1942 .node-network-diagnostics > .main .cbi-map fieldset > div * {
1943 width: 100% !important
;
1946 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="text"] {
1947 margin: 3rem 0 0 0 !important
;
1950 .node-network-diagnostics > .main .cbi-map fieldset > div:nth-child(4) input[type="text"] {
1951 margin: 0 !important
;
1954 .node-network-diagnostics
> .main
.cbi-map fieldset
> div select
,
1955 .node-network-diagnostics > .main .cbi-map fieldset > div input[type="button"] {
1959 .node-network-diagnostics > .main .cbi-map fieldset > div {
1960 width: 100% !important
;
1963 #diag-rc-output > pre
{
1967 .node-main-login > .main .cbi-value-title {
1973 flex-direction: row
;
1979 align-self: flex-start
;
1981 text-overflow: ellipsis
;
1982 word-wrap: break-word
;
1983 display: inline-block
;
1987 .td input[type="text"] {
1992 .td
[data-dynlist
] > input
,
1993 .td input.cbi-input-password {
1994 width: calc
(100% - 1.5rem);
1997 .td
[data-type
="button"],
1998 .td[data-type="fvalue"] {
2003 .th
.cbi-value-field
,
2004 .td
.cbi-value-field
,
2005 .th
.cbi-section-table-cell
,
2006 .td.cbi-section-table-cell {
2010 .cbi-section-table-row {
2013 flex-direction: row
;
2014 justify-content: space-between
;
2017 .td
.cbi-value-field
,
2018 .cbi-section-table-cell {
2020 display: inline-block
;
2024 .td.cbi-section-actions {
2026 align-self: flex-end
;
2027 vertical-align: bottom
;
2031 .tr
.cbi-section-table-titles
,
2032 .tr.cbi-section-table-descr {
2036 .tr
[data-title
]::before
,
2037 .tr.cbi-section-table-titles.named::before {
2042 border-bottom: 1px solid rgba
(0, 0, 0, .26);
2049 .td[data-title]::before {
2059 @media screen and
(max-width: 480px) {
2073 #maincontent > .container
{
2074 margin: 0 1rem 1.5rem 1rem;
2077 .main > .main-left > .nav > .slide > .menu {
2081 .main > .main-left > .nav > .slide > .slide-menu > li > a {
2087 min-width: 0rem !important
;
2090 margin-bottom: 0.5rem;
2094 .cbi-value-field, .cbi-value-description {
2098 .cbi-value > .cbi-value-field {
2099 display: inline-block
;
2102 .cbi-tabmenu > li, .tabs > li {
2103 padding: 0.6rem 0rem;
2106 .cbi-tabmenu > li > a, .tabs > li > a {
2107 padding: 0.2rem 0.3rem;
2111 .cbi-page-actions > div > input {
2115 .node-main-login > .main .container {
2116 padding: 0.5rem 1rem 2rem 1rem;
2119 .node-main-login > .main .cbi-value {
2123 .node-main-login > .main form > div:nth-last-child(1) {
2127 .node-main-login > .main .cbi-value-title {
2128 width: 100% !important
;
2132 .node-main-login > .main fieldset {
2156 padding-bottom: 1rem;
2159 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2160 width: 100% !important
;
2163 .node-system-packages > .main .cbi-value .cbi-value-field input {
2167 .node-status-iptables > .main div > .cbi-map > form {
2168 position: static
!important
;
2172 font-weight: normal
;
2175 font-family: inherit
;
2178 background-color: #FFF;
2179 box-shadow: 0 2px 2px 0 rgba
(0, 0, 0, .16), 0 0 2px 0 rgba
(0, 0, 0, .12);
2180 -webkit-overflow-scrolling: touch
;
2183 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] {
2184 width: 100% !important
;
2188 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"] {
2196 .td.cbi-value-field {
2200 .td.cbi-value-field[data-type="dvalue"] {
2204 .td
.cbi-value-field
[data-type
="button"],
2205 .td.cbi-value-field[data-type="fvalue"] {
2210 .tr
[data-title
]::before
,
2211 .tr.cbi-section-table-titles.named::before {
2220 @media screen and
(min-width: 992px) {
2221 .cbi-value input
[type
="password"],
2222 .cbi-value input
[type
="text"],
2223 .cbi-value-field .cbi-input-select {
2227 .cbi-value-field .cbi-dropdown {
2232 @media screen and
(min-width: 1280px) {
2233 .cbi-value input
[type
="password"],
2234 .cbi-value input
[type
="text"],
2235 .cbi-value-field .cbi-input-select {
2239 .cbi-value-field .cbi-dropdown {
2244 @media screen and
(min-width: 1600px) {
2245 .cbi-value input
[type
="password"],
2246 .cbi-value input
[type
="text"],
2247 .cbi-value-field .cbi-input-select {
2251 .cbi-value-field .cbi-dropdown {