2 * Rosy is a theme for LuCI. It is based on luci-theme-bootstrap
5 * Copyright 2018 Rosy Song <rosysong@rosinson.com>
6 * Copyright 2018 Yan Lan Shen <yanlan.shen@rosinson.com>
8 * Have a bug? Please create an issue here on GitHub!
9 * https://github.com/rosywrt/luci-theme-rosy/issues
11 * luci-theme-bootstrap:
12 * Copyright 2008 Steven Barth <steven@midlink.org>
13 * Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
14 * Copyright 2012 David Menting <david@nut-bolt.nl>
16 * Licensed to the public under the Apache License 2.0
20 font-family: 'icomoon';
21 src: url
('fonts/font.eot');
22 src: url
('fonts/font.eot') format
('embedded-opentype'),
23 url
('fonts/font.ttf') format
('truetype'),
24 url
('fonts/font.woff') format
('woff'),
25 url
('fonts/font.svg') format
('svg');
34 .table { display: table
; position: relative
; }
35 .tr { display: table-row
; }
36 .thead { display: table-header-group
; }
37 .tbody { display: table-row-group
; }
38 .tfoot { display: table-footer-group
; }
40 vertical-align: middle
;
52 background-color: #f9f9f9;
55 .tr.placeholder > .td {
65 .table[width="33%"], .th[width="33%"], .td[width="33%"] { width: 33%; }
66 .table[width="100%"], .th[width="100%"], .td[width="100%"] { width: 100%; }
68 .col-1 { flex: 1 1 30px !important
; -webkit-flex: 1 1 30px !important
; }
69 .col-2 { flex: 2 2 60px !important
; -webkit-flex: 2 2 60px !important
; }
70 .col-3 { flex: 3 3 90px !important
; -webkit-flex: 3 3 90px !important
; }
71 .col-4 { flex: 4 4 120px !important
; -webkit-flex: 4 4 120px !important
; }
72 .col-5 { flex: 5 5 150px !important
; -webkit-flex: 5 5 150px !important
; }
73 .col-6 { flex: 6 6 180px !important
; -webkit-flex: 6 6 180px !important
; }
74 .col-7 { flex: 7 7 210px !important
; -webkit-flex: 7 7 210px !important
; }
75 .col-8 { flex: 8 8 240px !important
; -webkit-flex: 8 8 240px !important
; }
76 .col-9 { flex: 9 9 270px !important
; -webkit-flex: 9 9 270px !important
; }
77 .col-10 { flex: 10 10 300px !important
; -webkit-flex: 10 10 300px !important
; }
82 .main > .loading > span {
83 font-family: 'icomoon' !important
;
85 font-style: normal
!important
;
86 font-weight: normal
!important
;
87 font-variant: normal
!important
;
88 text-transform: none
!important
;
91 -webkit-font-smoothing: antialiased
;
92 -moz-osx-font-smoothing: grayscale
;
98 box-sizing: border-box
;
101 .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
102 font-family: inherit
;
109 -webkit-text-size-adjust: 100%;
110 -ms-text-size-adjust: 100%;
116 background-color: #EEE;
124 font-family: Microsoft Yahei
, WenQuanYi Micro Hei
, sans-serif
, "Helvetica Neue", Helvetica
, Hiragino Sans GB
;
128 padding: 0.36rem 0.8rem;
130 background-color: #fff;
131 background-image: none
;
132 border: 1px solid
#ccc;
138 background-color: transparent
;
139 color: rgba
(0, 0, 0, .87);
141 border-bottom: 2px solid rgba
(0, 0, 0, .26);
146 background-image: none
;
151 select:not
([multiple
="multiple"]):focus
,
153 border-color: #0099CC;
156 select
[multiple
="multiple"] {
166 text-decoration: underline
;
178 text-decoration: none
;
187 background-color: #354057;
191 .main > .loading > span {
200 .main > .loading > span > .loading-img {
201 margin-right: 0.2rem;
202 display: inline-block
;
205 .main > .loading > span > .loading-img img {
206 vertical-align: middle
;
217 list-style-type: none
;
222 padding-bottom: 10px;
223 border-bottom: 1px solid
#eee;
230 padding-bottom: 10px;
231 border-bottom: 1px solid
#eee;
237 padding-bottom: 10px;
243 padding-bottom: 10px;
247 display: inline-block
;
262 font-family: inherit
;
265 background-color: #FFF;
267 -webkit-overflow-scrolling: touch
;
270 .cbi-section > legend {
271 display: none
!important
;
274 .cbi-section
> h3:first-child
,
281 padding-bottom: 1rem;
291 .table
> .tbody
> .tr
> .td
,
292 .table
> .tbody
> .tr
> .th
,
293 .table
> .tfoot
> .tr
> .td
,
294 .table
> .tfoot
> .tr
> .th
,
295 .table
> .thead
> .tr
> .td
,
296 .table > .thead > .tr > .th {
298 border-top: 1px solid
#ddd;
302 .cbi-section-table-cell {
304 align-self: flex-end
;
312 .cbi-section-table-row {
318 .cbi-section-table-row:last-child {
322 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
323 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
324 .cbi-section-table-row
> .cbi-value-field
.cbi-input-password
,
325 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
329 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
330 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
331 width: calc
(100% - 1.5rem);
334 div
> table
> tbody
> tr:nth-of-type
(2n),
335 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
336 background-color: #f9f9f9;
339 div
> table
> tbody
> tr:nth-of-type
(2n),
340 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
341 background-color: #f9f9f9;
344 .cbi-section
.table #memtotal
> div
,
345 .cbi-section
.table #memfree
> div
,
346 .cbi-section
.table #membuff
> div
,
347 .cbi-section .table #conns > div {
350 border: none
!important
;
351 background-color: #9bc1cc;
354 .cbi-section
.table #memtotal
> div
> div
> div
,
355 .cbi-section
.table #memfree
> div
> div
> div
,
356 .cbi-section
.table #membuff
> div
> div
> div
,
357 .cbi-section .table #conns > div > div > div {
358 color: #fff !important
;
361 .cbi-section .table .tr.table-titles {
362 background-color: #eee;
365 .cbi-section .table .cbi-section-table-titles {
366 background-color: #e0e0e0;
369 .table
.tr
.cbi-rowstyle-1:nth-child
(n
),
370 .table .tr:nth-child(n) {
371 background-color: #f9f9f9;
374 .table .tr:nth-child(2n) {
375 background-color: #fff;
378 /* fix progress bar */
385 width: 100% !important
;
386 height: 1.2rem !important
;
389 #swaptotal > div
> div
,
390 #swapfree > div
> div
,
391 #memfree > div
> div
,
392 #membuff > div
> div
,
394 #memtotal > div
> div
{
395 height: 100% !important
;
396 background-color: #468ea4 !important
;
399 /* fix multiple table */
406 .cbi-value-field table
,
407 .cbi-value-field .table {
411 td
> table
> tbody
> tr
> td
,
412 .td > .table > .tbody > .tr > .td {
416 .cbi-value-field
> table
> tbody
> tr
> td
,
417 .cbi-value-field > .table > .tbody > .tr > .td {
424 margin: 0 .8rem .5rem 0;
425 -webkit-appearance: none
;
426 color: rgba
(0, 0, 0, 0.87);
427 background-color: #F0F0F0;
428 transition: all
0.2s ease-in-out
;
429 display: inline-block
;
430 padding: .5rem .8rem;
434 -ms-touch-action: manipulation
;
435 touch-action: manipulation
;
436 background-image: none
;
438 vertical-align: middle
;
440 -webkit-user-select: none
;
441 -moz-user-select: none
;
442 -ms-user-select: none
;
446 display: inline-block
;
447 text-decoration: none
;
451 .cbi-button:disabled {
453 pointer-events: none
;
458 .cbi-page-actions
.cbi-button-apply
,
459 .cbi-section-actions
.cbi-button-edit
,
460 .cbi-button-edit
.important
,
461 .cbi-button-apply
.important
,
462 .cbi-button-reload
.important
,
463 .cbi-button-action.important {
465 background-color: #337ab7;
468 .cbi-page-actions
.cbi-button-save
,
469 .cbi-button-add
.important
,
470 .cbi-button-save
.important
,
471 .cbi-button-positive.important {
473 background-color: #5bc0de;
476 .cbi-button-remove
.important
,
477 .cbi-button-reset
.important
,
478 .cbi-button-negative.important {
480 background-color: #d9534f;
487 .cbi-button-neutral {
488 background-color: #468ea4;
497 background-color: #468ea4;
500 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
503 .cbi-button-positive {
505 background-color: #354057;
508 .cbi-section-remove
> .cbi-button
,
511 .cbi-button-negative {
513 background-color: #F24C7C;
516 .cbi-page-actions .cbi-button-link:first-child {
521 text-decoration: none
;
527 .container
> .tabs
> li
[class
~="active"],
528 .container
> .tabs
> li:hover
,
529 .container
> .cbi-tabmenu
,
530 .container
> .cbi-tabmenu
> li
[class
~="cbi-tab"],
531 .container > .cbi-tabmenu > li:hover {
535 .container
.cbi-map
.cbi-tabmenu
,
536 .container
.cbi-map
.cbi-tabmenu
> li
[class
~="cbi-tab"],
537 .container .cbi-map .cbi-tabmenu > li:hover {
538 border-top-left-radius: 10px;
539 border-top-right-radius: 10px;
542 .container
.cbi-map
.cbi-tabmenu
,
544 .container > .cbi-tabmenu {
548 .container .cbi-map .cbi-tabmenu + div {
549 border-bottom-left-radius: 10px;
550 border-bottom-right-radius: 10px;
555 background-color: #FFFFFF;
562 display: inline-block
;
563 padding: 0.6rem 0rem;
566 .cbi-tabmenu
> li
> a
,
568 text-decoration: none
;
570 padding: 0.5rem 0.8rem;
573 .tabs
> li
[class
~="active"],
576 background-color: #337ab7;
579 .tabs
> li
[class
~="active"] > a
,
580 .tabs > li:hover > a {
585 border-top: 1px solid
#D4D4D4;
586 border-left: 1px solid
#D4D4D4;
587 border-right: 1px solid
#D4D4D4;
590 .cbi-tabmenu > li:hover {
591 background-color: #F1F1F1;
594 .cbi-tabmenu > li[class~="cbi-tab"] {
595 background-color: #fff;
599 background-color: #D4D4D4;
602 .cbi-section-remove:nth-of-type(2n){
603 background-color: #f9f9f9;
606 .cbi-section-node-tabbed {
609 border-bottom: 1px solid
#D4D4D4;
610 border-left: 1px solid
#D4D4D4;
611 border-right: 1px solid
#D4D4D4;
614 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
615 background-color: #f9f9f9;
619 .cbi-value-description {
624 .cbi-value-helpicon > img {
628 .cbi-value-helpicon:before {
632 .cbi-value-description {
635 padding: 0.5rem 0 0 0;
639 word-wrap: break-word
;
640 padding: 0.6rem 2rem .6rem 0;
648 display: inline-block
;
652 .cbi-section-table-descr
> .cbi-section-table-cell
,
653 .cbi-section-table-titles > .cbi-section-table-cell {
657 .td[data-title]::before {
658 content: attr
(data-title
) ":\20";
666 .tr.placeholder .td[data-title]::before {
670 .tr
[data-title
]::before
,
671 .tr.cbi-section-table-titles.named::before {
672 content: attr
(data-title
) "\20";
680 word-wrap: break-word
;
681 vertical-align: middle
;
685 background-color: #f9f9f9;
689 background-color: #eee;
692 .cbi-rowstyle-2
.cbi-button-up
,
693 .cbi-rowstyle-2 .cbi-button-down {
694 background-color: #FFF !important
;
697 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
698 width: auto
!important
;
701 .td.cbi-section-actions {
703 vertical-align: middle
;
706 .td.cbi-section-actions > * {
710 .td
.cbi-section-actions
> * > *,
711 .td.cbi-section-actions > * > form > * {
716 .td.cbi-section-actions > * > form {
717 display: inline-flex
;
731 display: inline-flex
;
738 .cbi-dropdown:focus {
739 outline: 2px solid
#4b6e9b;
743 margin: 0 !important
;
752 .cbi-dropdown > ul.preview {
756 .cbi-dropdown > .open {
757 border: 2px outset
#eee;
762 .cbi-dropdown
> .open
,
763 .cbi-dropdown > .more {
767 flex-direction: column
;
768 justify-content: center
;
774 .cbi-dropdown
> .more
,
775 .cbi-dropdown > ul > li[placeholder] {
778 text-shadow: 1px 1px 0px #fff;
782 .cbi-dropdown > ul > li {
787 text-overflow: ellipsis
;
795 .cbi-dropdown > ul > li .hide-open { display: initial
; }
796 .cbi-dropdown > ul > li .hide-close { display: none
; }
798 .cbi-dropdown > ul > li[display]:not([display="0"]) {
799 border-left: 1px solid
#ccc;
802 .cbi-dropdown[empty] > ul {
806 .cbi-dropdown > ul > li > form {
810 pointer-events: none
;
813 .cbi-dropdown > ul > li img {
814 vertical-align: middle
;
818 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
823 .cbi-dropdown > ul > li input[type="text"] {
827 .cbi-dropdown[open] {
831 .cbi-dropdown[open] > ul.dropdown {
834 border: 1px solid
#918e8c;
842 .cbi-dropdown
> ul
> li
[display
],
843 .cbi-dropdown
[open
] > ul
.preview
,
844 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
845 .cbi-dropdown
[multiple
] > ul
> li
> label
,
846 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
847 .cbi-dropdown
[multiple
][more
] > .more
,
848 .cbi-dropdown[multiple][empty] > .more {
854 .cbi-dropdown
[empty
] > ul
> li
,
855 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
856 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
860 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none
; }
861 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial
; }
863 .cbi-dropdown[open] > ul.dropdown > li {
864 border-bottom: 1px solid
#ccc;
867 .cbi-dropdown[open] > ul.dropdown > li[selected] {
871 .cbi-dropdown[open] > ul.dropdown > li.focus {
872 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
875 .cbi-dropdown[open] > ul.dropdown > li:last-child {
880 .cbi-dropdown[disabled] {
881 pointer-events: none
;
885 .cbi-dropdown .zonebadge {
888 background-color: #468ea4 !important
;
891 .cbi-dropdown[open] .zonebadge {
902 .left, .left::before {
903 text-align: left
!important
;
906 .right, .right::before {
907 text-align: right
!important
;
910 .center, .center::before {
911 text-align: center
!important
;
915 align-self: flex-start
!important
;
916 vertical-align: top
!important
;
920 align-self: flex-end
!important
;
921 vertical-align: bottom
!important
;
929 border-top: 1px solid
#eee;
935 .cbi-value-field .cbi-dropdown {
939 .cbi-value-field .cbi-input-select {
943 .th
[data-type
="button"], .td
[data-type
="button"],
944 .th[data-type="fvalue"], .td[data-type="fvalue"] {
950 display: inline-flex
;
951 border: 1px solid
#CCCCCC;
952 padding: 0.5rem 1rem;
959 background-color: #F0F0F0;
965 display: inline-block
;
967 align-self: flex-start
;
970 .ifacebadge > img + img {
974 .network-status-table {
979 .network-status-table .ifacebox {
984 .network-status-table .ifacebox-body {
986 flex-direction: column
;
990 .network-status-table .ifacebox-body > span {
994 .network-status-table .ifacebox-body > div {
999 .network-status-table .ifacebox-body .ifacebadge {
1001 margin: .5em .25em 0 .25em;
1004 background-color: #fff;
1005 align-items: center
;
1010 .cbi-input-textarea {
1015 font-family: "Helvetica Neue", Helvetica
, Arial
, sans-serif
;
1018 border-radius: 20px;
1027 margin-bottom: 20px;
1028 border-radius: 20px;
1029 background-color: #FFF;
1037 font-family: monospace
;
1040 .uci-change-list ins
,
1041 .uci-change-legend-label ins {
1042 text-decoration: none
;
1043 border: 1px solid
#00FF00;
1044 background-color: #CCFFCC;
1049 .uci-change-list del
,
1050 .uci-change-legend-label del {
1051 text-decoration: none
;
1052 border: 1px solid
#FF0000;
1053 background-color: #FFCCCC;
1059 .uci-change-list var
,
1060 .uci-change-legend-label var {
1061 text-decoration: none
;
1062 border: 1px solid
#CCCCCC;
1063 background-color: #EEEEEE;
1069 .uci-change-list var ins
,
1070 .uci-change-list var del {
1077 .uci-change-legend {
1081 .uci-change-legend-label {
1086 .uci-change-legend-label
> ins
,
1087 .uci-change-legend-label
> del
,
1088 .uci-change-legend-label > var {
1096 .uci-change-legend-label var ins
,
1097 .uci-change-legend-label var del {
1102 .uci-change-list var
,
1103 .uci-change-list del
,
1104 .uci-change-list ins {
1112 border: 1px solid
#D4D4D4 !important
;
1114 border-radius: 20px;
1121 background-color: #f9f9f9;
1122 display: inline-flex
;
1123 flex-direction: column
;
1126 border-radius: 20px;
1135 .ifacebox-head.active {
1144 margin-left: 0.5rem;
1148 padding: 0.2rem 0.5rem;
1149 display: inline-block
;
1150 border-radius: 20px;
1153 .zonebadge .ifacebadge {
1154 padding: .2rem .3rem;
1155 margin: 0.1rem 0.2rem;
1159 .zonebadge > input[type="text"] {
1160 padding: 0.16rem 1rem;
1166 .zonebadge > strong {
1168 display: inline-block
;
1171 .cbi-value-field
.cbi-input-checkbox
,
1172 .cbi-value-field .cbi-input-radio {
1177 .td
.cbi-input-checkbox
,
1178 .td .cbi-input-radio {
1182 .cbi-value-field > input + .cbi-value-description {
1186 .cbi-value-field > ul > li {
1190 .cbi-value-field > ul > li > label {
1194 .cbi-value-field > ul > li .ifacebadge {
1195 background-color: #eee;
1196 margin-left: 0.4rem;
1197 margin-top: -0.5rem;
1200 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1204 .cbi-section-create {
1206 display: inline-flex
;
1207 align-items: center
;
1210 .cbi-section-create > * {
1214 .cbi-section-remove {
1218 div
.cbi-value var
, td
.cbi-value-field var
, .td
.cbi-value-field var
{
1225 white-space: normal
;
1226 line-height: 1.42857143;
1231 display: inline-block
;
1233 padding: 0.2rem 0.3rem;
1238 padding: 1rem 1rem 0 1rem;
1239 border-top: 1px solid
#CCC;
1242 .cbi-dropdown-container {
1246 .cbi-tooltip-container {
1255 transition: opacity
.25s ease-out
;
1256 pointer-events: none
;
1259 .cbi-tooltip-container:hover .cbi-tooltip {
1262 transition: opacity
.25s ease-in
;
1263 border-radius: 20px;
1266 .zonebadge .cbi-tooltip {
1268 background: inherit
;
1269 margin: -1.5rem 0 0 -.5rem;
1273 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);
1282 .zone-forwards > * {
1286 .zone-forwards > span {
1292 .zone-forwards
.zone-src
,
1293 .zone-forwards .zone-dest {
1295 flex-direction: column
;
1298 #diag-rc-output > pre
{
1299 background-color: #f5f5f5;
1303 line-height: 1.5rem;
1304 -moz-border-radius: 3px;
1305 white-space: pre-wrap
;
1306 word-wrap: break-word
;
1312 input
[name
="traceroute"],
1313 input
[name
="nslookup"] {
1317 header
> .container
> .pull-right
> * {
1323 #xhr_poll_status > .label
.success
{
1324 background-color: #F24C7C;
1328 padding: 0.3rem 0.8rem;
1331 color: #ffffff !important
;
1332 text-transform: uppercase
;
1333 white-space: nowrap
;
1334 background-color: #bfbfbf;
1335 -webkit-border-radius: 3px;
1336 -moz-border-radius: 3px;
1337 border-radius: 50px;
1339 text-decoration: none
;
1343 background-color: #468EA4;
1347 background: url
(./menu-logo
.png
) no-repeat center center
/ 100%;
1357 background-color: rgba
(0, 0, 0, 0.56);
1363 /* fix status processes */
1365 .node-status-processes > .main .table .tr .td:nth-child(3) {
1366 white-space: normal
;
1369 .node-status-iptables > .main div > .cbi-map > form {
1370 margin: 2rem 2rem 0 0;
1373 .node-status-iptables > .main div > .cbi-map > form input {
1375 border-radius: 20px;
1378 .node-status-processes .cbi-section {
1382 /* fix status realtime traffic and wireless */
1383 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
,
1384 .node-status-realtime.lang_enWireless .cbi-tabmenu {
1385 background-color: #d4d4d4;
1387 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
> li
[class
~="cbi-tab"],
1388 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
> li:hover
,
1389 .node-status-realtime
.lang_enWireless
.cbi-tabmenu
> li
[class
~="cbi-tab"],
1390 .node-status-realtime.lang_enWireless .cbi-tabmenu > li:hover {
1391 background-color: #F1F1F1;
1393 .node-status-realtime
.lang_enTraffic #bwsvg
,
1394 .node-status-realtime
.lang_enWireless #iwsvg
,
1395 .node-system-packages
.cbi-map
> .cbi-section
,
1396 .node-system-packages form .cbi-section{
1397 border-top-right-radius: 0;
1398 border-top-left-radius: 0;
1401 /* fix system system */
1402 .node-system-system .cbi-tabmenu {
1403 background-color: #d4d4d4;
1405 .node-system-system .cbi-tabmenu > li[class~="cbi-tab"]{
1406 background-color: #fff;
1409 /* fix system reboot */
1411 .node-system-reboot
> .main
> .main-right p
,
1412 .node-system-reboot > .main > .main-right h3 {
1416 /* fix Services Network Shares*/
1417 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
1418 margin-bottom: 1rem;
1422 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field {
1426 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description {
1430 /* fix System Software*/
1431 .node-system-packages #swfreespace {
1432 background-color: #468ea4 !important
;
1433 border: none
!important
;
1436 .node-system-packages #swfreespace > div {
1437 background-color: #f24c7c !important
;
1438 border: none
!important
;
1441 .node-system-packages > .main table tr td:nth-child(1) {
1442 width: auto
!important
;
1445 .node-system-packages > .main table tr td:nth-last-child(1) {
1446 white-space: normal
;
1451 .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a {
1452 padding: 0.5rem 0.8rem;
1455 .node-system-packages > .main .cbi-value > pre {
1456 background-color: #eee;
1461 .node-system-packages .cbi-section .cbi-section-node-tabbed {
1465 .node-system-packages form .cbi-section {
1469 .cbi-tabmenu + .cbi-section {
1473 .node-status-iptables
.cbi-tabmenu
,
1474 .node-system-flashops .cbi-tabmenu {
1478 .node-system-flashops form.inline + form.inline {
1482 .node-system-flashops .cbi-tabmenu {
1483 margin-bottom: 1rem;
1486 #cbi-firewall-redirect table
*,
1487 #cbi-network-switch_vlan table
*,
1488 #cbi-firewall-zone table
* {
1492 #cbi-firewall-redirect table input
[type
="text"],
1493 #cbi-network-switch_vlan table input
[type
="text"],
1494 #cbi-firewall-zone table input
[type
="text"] {
1498 #cbi-firewall-redirect table select
,
1499 #cbi-network-switch_vlan table select
,
1500 #cbi-firewall-zone table select
{
1504 #cbi-network-switch_vlan .th
,
1505 #cbi-network-switch_vlan .td
{
1509 /* fix Network Network*/
1510 .node-network-network .cbi-rowstyle-2 .ifacebox-body {
1511 background-color: #fff;
1513 /* fix Network Wireless*/
1514 .node-network-wireless .cbi-section-node {
1515 margin-bottom: 1rem;
1518 /* applyreboot fix */
1522 #maincontainer > #maincontent
{
1525 border-radius: 10px;
1526 display: inline-block
;
1530 #applyreboot-container {
1531 margin-bottom: 1rem;
1533 #applyreboot-section {
1537 border-radius: 10px;
1539 #applyreboot-section > div
{
1541 line-height: 1.5rem;
1543 #applyreboot-container {
1544 margin: 90px 2rem 2rem 2rem;
1547 #applyreboot-section {
1563 padding-right: 1rem;
1566 border-bottom: 1px solid
#dadada;
1573 padding-left: .8rem;
1576 text-decoration: none
;
1577 display: inline-block
;
1587 background-color: #354057;
1590 text-decoration: none
;
1605 background-color: #636569;
1608 border-radius: 20px;
1611 .main > .main-left .navbar-container {
1614 width: calc
(100% + 10px);
1615 height: calc
(100% - 110px);
1619 .main > .main-left .nav {
1622 .main > .main-left .nav > li a {
1626 .main > .main-left .nav > li {
1627 padding: 0.5rem 1.7rem;
1630 .main > .main-left .nav > .slide {
1631 padding: 0 15px 0 0;
1635 .main > .main-left .nav > .slide > ul {
1638 width: calc
(100% - 10px);
1640 .main > .main-left .nav > .slide > .menu {
1642 padding: 0.5rem 1.7rem;
1643 text-decoration: none
;
1649 .main
> .main-left
.nav
> li
> a
.active
,
1650 .main
> .main-left
.nav
> .slide
> .menu:hover
,
1651 .main > .main-left .nav > .slide > .menu.active {
1652 background: #485267;
1654 border-top-right-radius: 50px;
1655 border-bottom-right-radius: 50px;
1657 .main > .main-left .nav > .slide:hover {
1660 .main > .main-left .nav > .slide > .slide-menu > li {
1661 padding: 0.6rem 2rem;
1664 .main > .main-left .nav > .slide > .slide-menu > .active {
1665 background-color: #F24C7C;
1666 border-top-right-radius: 50px;
1667 border-bottom-right-radius: 50px;
1669 .main > .main-left .nav > .slide > .slide-menu > li > a {
1670 text-decoration: none
;
1671 white-space: nowrap
;
1673 .main > .main-left .nav > .slide > .slide-menu > .active > a {
1676 .main > .main-left .nav > .slide > .slide-menu > li:hover {
1677 background: #F24C7C;
1678 border-top-right-radius: 50px;
1679 border-bottom-right-radius: 50px;
1681 .main > .main-left .nav > .slide > .slide-menu > .active:hover {
1682 background-color: #F24C7C;
1686 /* The scroll bar of the navigation bar is compatible with each browser. */
1688 .main > .main-left .navbar-container::-webkit-scrollbar {
1690 background: transparent
;
1692 .main > .main-left .navbar-container::-webkit-scrollbar-button {
1695 .main > .main-left .navbar-container::-webkit-scrollbar-thumb {
1696 background-color: #ffffff61;
1697 border-radius: 10px;
1699 .main > .main-left .navbar-container::-webkit-scrollbar-thumb {
1700 background-color: #839dd67a;
1701 border-radius: 10px;
1703 .main > .main-left .navbar-container:hover::-webkit-scrollbar-thumb {
1704 background-color: #839dd67a;
1708 .main > .main-left .navbar-container {
1709 scrollbar-track-color: transparent
;
1710 scrollbar-face-color: #839dd67a;
1711 scrollbar-arrow-color: transparent
;
1712 scrollbar-3dlight-color: transparent
;
1713 scrollbar-highlight-color: transparent
;
1714 scrollbar-shadow-color: transparent
;
1715 scrollbar-darkshadow-color: transparent
;
1716 scrollbar-base-color:transparent
;
1718 .main > .main-left .navbar-container:hover {
1719 scrollbar-face-color: #839dd67a;
1724 padding-right: 1rem;
1727 text-shadow: 0px 0px 2px #BBB;
1735 /* The style of the prompt message */
1738 border-radius: 10px;
1739 background-color: #FFF;
1743 background-color: #FA8072;
1748 background-color: #90EE90;
1756 .alert-message > h4 {
1757 padding: 7px 0 7px 36px;
1759 font-weight: normal
;
1761 background: url
(./no-pwd
.png
) no-repeat left
43%/ 28px;
1762 display: inline-block
;
1765 .alert-message > p {
1767 line-height: 1.5rem;
1774 background-color: transparent
;
1777 border: 1px solid
#fff;
1778 border-radius: 50px;
1782 /* All styles of the login interface */
1786 background: #fff url
(./loginBG.png) no-repeat center center
/ cover
;
1788 .node-main-login header {
1791 .node-main-login .main {
1794 .node-main-login > .main > .main-left {
1798 .node-main-login > .main > .main-right {
1804 .node-main-login > .main #maincontent {
1810 transform: translateX
(-50%) translateY
(-50%);
1815 .node-main-login > .main .container {
1819 display: inline-block
;
1822 .node-main-login > .main .logoImg a {
1827 text-decoration: none
;
1829 .node-main-login > .main .logoImg img:first-child {
1833 .node-main-login .warning {
1834 background-color: #3E4A62;
1838 .node-main-login > .main form h2 {
1843 font-weight: normal
;
1847 .node-main-login > .main form .cbi-map-descr {
1854 .node-main-login > .main form .cbi-section {
1857 background-color: transparent
;
1861 .node-main-login > .main form .cbi-value {
1865 .node-main-login > .main form .cbi-value-title {
1871 .node-main-login > .main form .cbi-value-field {
1872 margin-bottom: 16px;
1878 .node-main-login > .main form .cbi-value-field input {
1881 border: 1px solid
#556270;
1883 border-radius: 50px;
1888 .node-main-login form
.cbi-value-field
.iconpwd
,
1889 .node-main-login form
.cbi-value-field
.iconuser
,
1890 .node-main-login form .cbi-value-field .iconeye {
1896 transform: translateY
(-50%);
1898 .node-main-login form .cbi-value-field .iconpwd {
1899 background: transparent url
(./pwd.png) no-repeat center center
/ 100%;
1901 .node-main-login form .cbi-value-field .iconuser {
1902 background: transparent url
(./user.png) no-repeat center center
/ 100%;
1904 .node-main-login form .cbi-value-field .iconeye {
1907 background: transparent url
(./op-eye
.png
) no-repeat center center
/ 100%;
1909 .node-main-login form .cbi-value-field .cleye {
1910 background-image: url
(./cl-eye
.png
);
1912 .node-main-login form .cbi-value-field .opeye {
1913 background-image: url
(./op-eye
.png
);
1916 .node-main-login form .cbi-page-actions {
1922 .node-main-login form .cbi-page-actions input {
1926 display: inline-block
;
1932 .node-main-login form .cbi-page-actions .cbi-button-apply {
1933 background-color: #F24C7C;
1934 border-top-left-radius: 50px;
1935 border-bottom-left-radius: 50px;
1938 .node-main-login form .cbi-page-actions .cbi-button-reset {
1939 background-color: #8a4568;
1941 border-top-right-radius: 50px;
1942 border-bottom-right-radius: 50px;
1946 /* Interface after login */
1951 background-color: #EBF1F6;
1954 .logged-in .main-right {
1955 padding: 0 1rem 3rem 0;
1959 .logged-in .main .logoImg {
1962 .logged-in .main .main-left .nav-container {
1963 background-color: #354057;
1964 border-radius: 20px;
1971 .logged-in .main .main-left .brand {
1973 padding: 44px 0 23px;
1979 text-decoration: none
;
1980 border-bottom: 2px solid
#ffffff42;
1982 /* Single line text omitted */
1983 white-space: nowrap
;
1985 text-overflow: ellipsis
;
1986 -webkit-text-overflow: ellipsis
;
1987 -o-text-overflow: ellipsis
;
1990 .logged-in .alert-message {
1993 background-color: #fff;
1996 .logged-in .alert-message a {
2000 background-color: #468EA4;
2004 @media screen and
(max-width: 1600px) {
2006 width: calc
(0% + 13rem);
2011 padding: 0.3rem 0.6rem;
2015 header
> .container
> .pull-right
> * {
2020 padding: 0.2rem 0.6rem;
2025 padding-right: 0.6rem;
2028 .cbi-input-textarea {
2033 @media screen and
(max-width: 1280px) {
2035 .node-main-login > .main .container {
2039 .cbi-tabmenu > li > a, .tabs > li > a {
2040 padding: 0.2rem 0.5rem;
2045 padding-bottom: 1rem;
2049 font-size: 0.7rem !important
;
2050 width: 100% !important
;
2053 .main
> .main-left
.nav
> li
,
2054 .main
> .main-left
.nav
> li a
,
2055 .main > .main-left .nav > .slide > .menu {
2059 .main > .main-left .nav > .slide > .slide-menu > li > a {
2064 @media screen and
(max-width: 992px) {
2084 background: #0000007d;
2089 .main > .main-left .nav > .slide > .slide-menu > li {
2099 .node-main-login > .main .container {
2105 display: inline-block
;
2106 vertical-align: middle
;
2111 padding-right: 1rem;
2114 #diag-rc-output > pre
{
2120 flex-direction: row
;
2126 align-self: flex-start
;
2127 text-overflow: ellipsis
;
2128 word-wrap: break-word
;
2129 display: inline-block
;
2133 .td input[type="text"] {
2138 .td
[data-dynlist
] > input
,
2139 .td input.cbi-input-password {
2140 width: calc
(100% - 1.5rem);
2143 .td
[data-type
="button"],
2144 .td[data-type="fvalue"] {
2149 .th
.cbi-value-field
,
2150 .td
.cbi-value-field
,
2151 .th
.cbi-section-table-cell
,
2152 .td.cbi-section-table-cell {
2156 .cbi-section-table-row {
2159 flex-direction: row
;
2160 justify-content: space-between
;
2163 .td
.cbi-value-field
,
2164 .cbi-section-table-cell {
2166 display: inline-block
;
2170 .td.cbi-section-actions {
2172 align-self: flex-end
;
2173 vertical-align: bottom
;
2177 .tr
.cbi-section-table-titles
,
2178 .tr.cbi-section-table-descr {
2182 .tr
[data-title
]::before
,
2183 .tr.cbi-section-table-titles.named::before {
2188 border-bottom: 1px solid rgba
(0, 0, 0, .26);
2196 .td[data-title]::before {
2205 /* All styles of the login interface */
2206 .node-main-login .showSide {
2207 display: none
!important
;
2210 padding-bottom: .8rem;
2212 .logged-in .main .main-left .nav-container {
2213 background-color: #354057;
2221 .logged-in .main-right {
2223 margin-top: calc
(45px + .8rem);
2228 .logged-in .alert-message {
2233 margin: .8rem 0 0 0;
2240 .cbi-section > h3:first-child, .panel-title {
2243 .network-status-table .ifacebox-body > span {
2246 .cbi-section .ifacebox-body .ifacebadge > span {
2249 .table .tr.cbi-rowstyle-1:nth-child(n), .table .tr:nth-child(n) {
2252 .node-network-firewall
.table
.tr
.cbi-rowstyle-1:nth-child
(n
),
2253 .node-network-firewall .table .tr:nth-child(n) {
2254 border-radius: 20px;
2261 border-bottom: none
;
2266 .cbi-section-node-tabbed {
2270 .cbi-button-action.important {
2271 margin-right: .3rem;
2274 border-bottom: 1px solid rgba
(0, 0, 0, .26);
2277 .node-status-processes
.table
.tr
.cbi-rowstyle-1:nth-child
(n
),
2278 .node-status-processes .table .tr:nth-child(n) {
2279 border-radius: 20px;
2284 @media screen and
(max-width: 768px) {
2289 .node-main-login > .main .logoImg a {
2291 margin: 12px 0 22px 0;
2295 .node-main-login > .main #maincontent {
2297 padding-bottom: 1rem;
2300 transform: translateY
(0) translateX
(-50%);
2307 .alert-message > h4{
2316 padding: 8px 0 8px 36px;
2324 .node-main-login .warning {
2325 background-color: #F5F5F6;
2334 .node-main-login > .main form h2 {
2336 margin: 20px 0 16px;
2340 .node-main-login > .main form .cbi-value-field input {
2343 background-size: 16px;
2347 .node-main-login > .main form .cbi-value-field {
2348 margin-bottom: 20px;
2351 .node-main-login form .cbi-page-actions input {
2356 .node-main-login form
.cbi-value-field
.iconpwd
,
2357 .node-main-login form
.cbi-value-field
.iconuser
,
2358 .node-main-login form .cbi-value-field .iconeye {
2363 .node-main-login form .cbi-value-field .iconeye {
2373 display: inline-block
;
2377 @media screen and
(max-width: 480px) {
2384 min-width: 0rem !important
;
2387 margin-bottom: 0.5rem;
2391 .cbi-value-field, .cbi-value-description {
2395 .cbi-value > .cbi-value-field {
2396 display: inline-block
;
2399 .cbi-tabmenu > li, .tabs > li {
2400 padding: 0.6rem 0rem;
2403 .cbi-tabmenu > li > a, .tabs > li > a {
2404 padding: 0.2rem 0.3rem;
2408 .cbi-page-actions > div > input {
2423 padding-bottom: 1rem;
2426 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2427 width: 100% !important
;
2430 .node-system-packages > .main .cbi-value .cbi-value-field input {
2434 .node-status-iptables > .main div > .cbi-map > form {
2435 position: static
!important
;
2439 font-weight: normal
;
2442 font-family: inherit
;
2444 background-color: #FFF;
2445 border-radius: 20px;
2446 -webkit-overflow-scrolling: touch
;
2449 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] {
2450 width: 100% !important
;
2454 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"] {
2458 .node-main-login > .main .container {
2466 .td.cbi-value-field {
2470 .td.cbi-value-field[data-type="dvalue"] {
2474 .td
.cbi-value-field
[data-type
="button"],
2475 .td.cbi-value-field[data-type="fvalue"] {
2480 .tr
[data-title
]::before
,
2481 .tr.cbi-section-table-titles.named::before {
2489 /* All styles of the login interface */
2490 .node-main-login > .main .cbi-value {
2499 @media screen and
(min-width: 992px) {
2500 .cbi-value-field .cbi-input-select {
2504 .cbi-value-field .cbi-dropdown {
2509 @media screen and
(min-width: 1280px) {
2510 .cbi-value-field .cbi-input-select {
2514 .cbi-value-field .cbi-dropdown {
2519 @media screen and
(min-width: 1600px) {
2520 .cbi-value-field .cbi-input-select {
2524 .cbi-value-field .cbi-dropdown {
2529 input
.cbi-input-text
{
2530 box-shadow: 0 0 0 1000px white inset
;