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;
290 .table
> .tbody
> .tr
> .td
,
291 .table
> .tbody
> .tr
> .th
,
292 .table
> .tfoot
> .tr
> .td
,
293 .table
> .tfoot
> .tr
> .th
,
294 .table
> .thead
> .tr
> .td
,
295 .table > .thead > .tr > .th {
297 border-top: 1px solid
#ddd;
301 .cbi-section-table-cell {
303 align-self: flex-end
;
311 .cbi-section-table-row {
317 .cbi-section-table-row:last-child {
321 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
322 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
323 .cbi-section-table-row
> .cbi-value-field
.cbi-input-password
,
324 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
328 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
329 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
330 width: calc
(100% - 1.5rem);
333 div
> table
> tbody
> tr:nth-of-type
(2n),
334 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
335 background-color: #f9f9f9;
338 div
> table
> tbody
> tr:nth-of-type
(2n),
339 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
340 background-color: #f9f9f9;
343 .cbi-section
.table #memtotal
> div
,
344 .cbi-section
.table #memfree
> div
,
345 .cbi-section
.table #membuff
> div
,
346 .cbi-section .table #conns > div {
349 border: none
!important
;
350 background-color: #9bc1cc;
353 .cbi-section
.table #memtotal
> div
> div
> div
,
354 .cbi-section
.table #memfree
> div
> div
> div
,
355 .cbi-section
.table #membuff
> div
> div
> div
,
356 .cbi-section .table #conns > div > div > div {
357 color: #fff !important
;
360 .cbi-section .table .tr.table-titles {
361 background-color: #eee;
363 .table
.tr:first-child
.td:first-child
,
364 .table
.tr:first-child::before
,
365 .table .tr:first-child .th:first-child {
366 border-top-left-radius: 10px;
368 .table
.tr:first-child
.td:last-child
,
369 .table .tr:first-child .th:last-child {
370 border-top-right-radius: 10px;
372 .table
.tr:last-child
.td:first-child
,
373 .table .tr:last-child::before {
374 border-bottom-left-radius: 10px;
376 .table .tr:last-child .td:last-child {
377 border-bottom-right-radius: 10px;
379 .table .tr.placeholder:last-child {
380 background-color: transparent
;
383 .cbi-section .table .cbi-section-table-titles {
384 background-color: #e0e0e0;
387 /* fix progress bar */
394 width: 100% !important
;
395 height: 1.2rem !important
;
398 #swaptotal > div
> div
,
399 #swapfree > div
> div
,
400 #memfree > div
> div
,
401 #membuff > div
> div
,
403 #memtotal > div
> div
{
404 height: 100% !important
;
405 background-color: #468ea4 !important
;
408 /* fix multiple table */
415 .cbi-value-field table
,
416 .cbi-value-field .table {
420 td
> table
> tbody
> tr
> td
,
421 .td > .table > .tbody > .tr > .td {
425 .cbi-value-field
> table
> tbody
> tr
> td
,
426 .cbi-value-field > .table > .tbody > .tr > .td {
433 margin: 0 .8rem .5rem 0;
434 -webkit-appearance: none
;
435 color: rgba
(0, 0, 0, 0.87);
436 background-color: #F0F0F0;
437 transition: all
0.2s ease-in-out
;
438 display: inline-block
;
439 padding: .5rem .8rem;
443 -ms-touch-action: manipulation
;
444 touch-action: manipulation
;
445 background-image: none
;
447 vertical-align: middle
;
449 -webkit-user-select: none
;
450 -moz-user-select: none
;
451 -ms-user-select: none
;
455 display: inline-block
;
456 text-decoration: none
;
460 .cbi-button:disabled {
462 pointer-events: none
;
467 .cbi-page-actions
.cbi-button-apply
,
468 .cbi-section-actions
.cbi-button-edit
,
469 .cbi-button-edit
.important
,
470 .cbi-button-apply
.important
,
471 .cbi-button-reload
.important
,
472 .cbi-button-action.important {
474 background-color: #337ab7;
477 .cbi-page-actions
.cbi-button-save
,
478 .cbi-button-add
.important
,
479 .cbi-button-save
.important
,
480 .cbi-button-positive.important {
482 background-color: #5bc0de;
485 .cbi-button-remove
.important
,
486 .cbi-button-reset
.important
,
487 .cbi-button-negative.important {
489 background-color: #d9534f;
496 .cbi-button-neutral {
497 background-color: #468ea4;
506 background-color: #468ea4;
509 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
512 .cbi-button-positive {
514 background-color: #354057;
517 .cbi-section-remove
> .cbi-button
,
520 .cbi-button-negative {
522 background-color: #F24C7C;
525 .cbi-page-actions .cbi-button-link:first-child {
530 text-decoration: none
;
536 .container
> .tabs
> li
[class
~="active"],
537 .container
> .tabs
> li:hover
,
538 .container
> .cbi-tabmenu
,
539 .container
> .cbi-tabmenu
> li
[class
~="cbi-tab"],
540 .container > .cbi-tabmenu > li:hover {
544 .container
.cbi-map
.cbi-tabmenu
,
545 .container
.cbi-map
.cbi-tabmenu
> li
[class
~="cbi-tab"],
546 .container .cbi-map .cbi-tabmenu > li:hover {
547 border-top-left-radius: 10px;
548 border-top-right-radius: 10px;
551 .container
.cbi-map
.cbi-tabmenu
,
553 .container > .cbi-tabmenu {
557 .container .cbi-map .cbi-tabmenu + div {
559 border-bottom-left-radius: 10px;
560 border-bottom-right-radius: 10px;
565 background-color: #FFFFFF;
572 display: inline-block
;
573 padding: 0.6rem 0rem;
576 .cbi-tabmenu
> li
> a
,
578 text-decoration: none
;
580 padding: 0.5rem 0.8rem;
583 .tabs
> li
[class
~="active"],
586 background-color: #337ab7;
589 .tabs
> li
[class
~="active"] > a
,
590 .tabs > li:hover > a {
595 border-top: 1px solid
#D4D4D4;
596 border-left: 1px solid
#D4D4D4;
597 border-right: 1px solid
#D4D4D4;
600 .cbi-tabmenu > li:hover {
601 background-color: #F1F1F1;
604 .cbi-tabmenu > li[class~="cbi-tab"] {
605 background-color: #fff;
609 background-color: #D4D4D4;
612 .cbi-section-remove:nth-of-type(2n){
613 background-color: #f9f9f9;
616 .cbi-section-node-tabbed {
619 border-bottom: 1px solid
#D4D4D4;
620 border-left: 1px solid
#D4D4D4;
621 border-right: 1px solid
#D4D4D4;
624 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
625 background-color: #f9f9f9;
629 .cbi-value-description {
634 .cbi-value-helpicon > img {
638 .cbi-value-helpicon:before {
642 .cbi-value-description {
645 padding: 0.5rem 0 0 0;
649 word-wrap: break-word
;
650 padding: 0.6rem 2rem .6rem 0;
659 display: inline-block
;
663 .cbi-section-table-descr
> .cbi-section-table-cell
,
664 .cbi-section-table-titles > .cbi-section-table-cell {
668 .td[data-title]::before {
669 content: attr
(data-title
) ":\20";
677 .tr.placeholder .td[data-title]::before {
681 .tr
[data-title
]::before
,
682 .tr.cbi-section-table-titles.named::before {
683 content: attr
(data-title
) "\20";
691 word-wrap: break-word
;
692 vertical-align: middle
;
696 background-color: #f9f9f9;
700 background-color: #eee;
703 .cbi-rowstyle-2
.cbi-button-up
,
704 .cbi-rowstyle-2 .cbi-button-down {
705 background-color: #FFF !important
;
708 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
709 width: auto
!important
;
712 .td.cbi-section-actions {
714 vertical-align: middle
;
717 .td.cbi-section-actions > * {
721 .td
.cbi-section-actions
> * > *,
722 .td.cbi-section-actions > * > form > * {
727 .td.cbi-section-actions > * > form {
728 display: inline-flex
;
742 display: inline-flex
;
749 .cbi-dropdown:focus {
750 outline: 2px solid
#4b6e9b;
754 margin: 0 !important
;
763 .cbi-dropdown > ul.preview {
767 .cbi-dropdown > .open {
768 border: 2px outset
#eee;
773 .cbi-dropdown
> .open
,
774 .cbi-dropdown > .more {
778 flex-direction: column
;
779 justify-content: center
;
785 .cbi-dropdown
> .more
,
786 .cbi-dropdown > ul > li[placeholder] {
789 text-shadow: 1px 1px 0px #fff;
793 .cbi-dropdown > ul > li {
798 text-overflow: ellipsis
;
806 .cbi-dropdown > ul > li .hide-open { display: initial
; }
807 .cbi-dropdown > ul > li .hide-close { display: none
; }
809 .cbi-dropdown > ul > li[display]:not([display="0"]) {
810 border-left: 1px solid
#ccc;
813 .cbi-dropdown[empty] > ul {
817 .cbi-dropdown > ul > li > form {
821 pointer-events: none
;
824 .cbi-dropdown > ul > li img {
825 vertical-align: middle
;
829 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
834 .cbi-dropdown > ul > li input[type="text"] {
838 .cbi-dropdown[open] {
842 .cbi-dropdown[open] > ul.dropdown {
845 border: 1px solid
#918e8c;
853 .cbi-dropdown
> ul
> li
[display
],
854 .cbi-dropdown
[open
] > ul
.preview
,
855 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
856 .cbi-dropdown
[multiple
] > ul
> li
> label
,
857 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
858 .cbi-dropdown
[multiple
][more
] > .more
,
859 .cbi-dropdown[multiple][empty] > .more {
865 .cbi-dropdown
[empty
] > ul
> li
,
866 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
867 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
871 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none
; }
872 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial
; }
874 .cbi-dropdown[open] > ul.dropdown > li {
875 border-bottom: 1px solid
#ccc;
878 .cbi-dropdown[open] > ul.dropdown > li[selected] {
882 .cbi-dropdown[open] > ul.dropdown > li.focus {
883 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
886 .cbi-dropdown[open] > ul.dropdown > li:last-child {
891 .cbi-dropdown[disabled] {
892 pointer-events: none
;
896 .cbi-dropdown .zonebadge {
899 background-color: #468ea4 !important
;
902 .cbi-dropdown[open] .zonebadge {
913 .left, .left::before {
914 text-align: left
!important
;
917 .right, .right::before {
918 text-align: right
!important
;
921 .center, .center::before {
922 text-align: center
!important
;
926 align-self: flex-start
!important
;
927 vertical-align: top
!important
;
931 align-self: flex-end
!important
;
932 vertical-align: bottom
!important
;
940 border-top: 1px solid
#eee;
946 .cbi-value-field .cbi-dropdown {
950 .cbi-value-field .cbi-input-select {
954 .th
[data-type
="button"], .td
[data-type
="button"],
955 .th[data-type="fvalue"], .td[data-type="fvalue"] {
961 display: inline-flex
;
962 border: 1px solid
#CCCCCC;
963 padding: 0.5rem 1rem;
970 background-color: #F0F0F0;
976 display: inline-block
;
978 align-self: flex-start
;
981 .ifacebadge > img + img {
985 .network-status-table {
990 .network-status-table .ifacebox {
995 .network-status-table .ifacebox-body {
997 flex-direction: column
;
1001 .network-status-table .ifacebox-body > span {
1005 .network-status-table .ifacebox-body > div {
1010 .network-status-table .ifacebox-body .ifacebadge {
1012 margin: .5em .25em 0 .25em;
1015 background-color: #fff;
1016 align-items: center
;
1021 .cbi-input-textarea {
1026 font-family: "Helvetica Neue", Helvetica
, Arial
, sans-serif
;
1029 border-radius: 20px;
1038 margin-bottom: 20px;
1039 border-radius: 20px;
1040 background-color: #FFF;
1048 font-family: monospace
;
1051 .uci-change-list ins
,
1052 .uci-change-legend-label ins {
1053 text-decoration: none
;
1054 border: 1px solid
#00FF00;
1055 background-color: #CCFFCC;
1060 .uci-change-list del
,
1061 .uci-change-legend-label del {
1062 text-decoration: none
;
1063 border: 1px solid
#FF0000;
1064 background-color: #FFCCCC;
1070 .uci-change-list var
,
1071 .uci-change-legend-label var {
1072 text-decoration: none
;
1073 border: 1px solid
#CCCCCC;
1074 background-color: #EEEEEE;
1080 .uci-change-list var ins
,
1081 .uci-change-list var del {
1088 .uci-change-legend {
1092 .uci-change-legend-label {
1097 .uci-change-legend-label
> ins
,
1098 .uci-change-legend-label
> del
,
1099 .uci-change-legend-label > var {
1107 .uci-change-legend-label var ins
,
1108 .uci-change-legend-label var del {
1113 .uci-change-list var
,
1114 .uci-change-list del
,
1115 .uci-change-list ins {
1123 border: 1px solid
#D4D4D4 !important
;
1125 border-radius: 20px;
1132 background-color: #f9f9f9;
1133 display: inline-flex
;
1134 flex-direction: column
;
1137 border-radius: 20px;
1146 .ifacebox-head.active {
1155 margin-left: 0.5rem;
1159 padding: 0.2rem 0.5rem;
1160 display: inline-block
;
1161 border-radius: 20px;
1164 .zonebadge .ifacebadge {
1165 padding: .2rem .3rem;
1166 margin: 0.1rem 0.2rem;
1170 .zonebadge > input[type="text"] {
1171 padding: 0.16rem 1rem;
1177 .zonebadge > strong {
1179 display: inline-block
;
1182 .cbi-value-field
.cbi-input-checkbox
,
1183 .cbi-value-field .cbi-input-radio {
1188 .td
.cbi-input-checkbox
,
1189 .td .cbi-input-radio {
1193 .cbi-value-field > input + .cbi-value-description {
1197 .cbi-value-field > ul > li {
1201 .cbi-value-field > ul > li > label {
1205 .cbi-value-field > ul > li .ifacebadge {
1206 background-color: #eee;
1207 margin-left: 0.4rem;
1208 margin-top: -0.5rem;
1211 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1215 .cbi-section-create {
1217 display: inline-flex
;
1218 align-items: center
;
1221 .cbi-section-create > * {
1225 .cbi-section-remove {
1229 div
.cbi-value var
, td
.cbi-value-field var
, .td
.cbi-value-field var
{
1236 white-space: normal
;
1237 line-height: 1.42857143;
1242 display: inline-block
;
1244 padding: 0.2rem 0.3rem;
1249 padding: 1rem 1rem 0 1rem;
1250 border-top: 1px solid
#CCC;
1253 .cbi-dropdown-container {
1257 .cbi-tooltip-container {
1266 transition: opacity
.25s ease-out
;
1267 pointer-events: none
;
1270 .cbi-tooltip-container:hover .cbi-tooltip {
1273 transition: opacity
.25s ease-in
;
1274 border-radius: 20px;
1277 .zonebadge .cbi-tooltip {
1279 background: inherit
;
1280 margin: -1.5rem 0 0 -.5rem;
1284 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);
1293 .zone-forwards > * {
1297 .zone-forwards > span {
1303 .zone-forwards
.zone-src
,
1304 .zone-forwards .zone-dest {
1306 flex-direction: column
;
1309 #diag-rc-output > pre
{
1310 background-color: #f5f5f5;
1314 line-height: 1.5rem;
1315 -moz-border-radius: 3px;
1316 white-space: pre-wrap
;
1317 word-wrap: break-word
;
1323 input
[name
="traceroute"],
1324 input
[name
="nslookup"] {
1328 header
> .container
> .pull-right
> * {
1334 #xhr_poll_status > .label
.success
{
1335 background-color: #F24C7C;
1339 padding: 0.3rem 0.8rem;
1342 color: #ffffff !important
;
1343 text-transform: uppercase
;
1344 white-space: nowrap
;
1345 background-color: #bfbfbf;
1346 -webkit-border-radius: 3px;
1347 -moz-border-radius: 3px;
1348 border-radius: 50px;
1350 text-decoration: none
;
1354 background-color: #468EA4;
1358 background: url
(./menu-logo
.png
) no-repeat center center
/ 100%;
1368 background-color: rgba
(0, 0, 0, 0.56);
1374 /* fix status processes */
1375 .node-status-processes > .main .table .tr .td:nth-child(3) {
1376 white-space: normal
;
1379 .node-status-iptables > .main div > .cbi-map > form {
1380 margin: 2rem 2rem 0 0;
1383 .node-status-iptables > .main div > .cbi-map > form input {
1385 border-radius: 20px;
1388 .node-status-processes .cbi-section {
1392 /* fix status realtime traffic and wireless */
1393 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
,
1394 .node-status-realtime.lang_enWireless .cbi-tabmenu {
1395 background-color: #d4d4d4;
1397 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
> li
[class
~="cbi-tab"],
1398 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
> li:hover
,
1399 .node-status-realtime
.lang_enWireless
.cbi-tabmenu
> li
[class
~="cbi-tab"],
1400 .node-status-realtime.lang_enWireless .cbi-tabmenu > li:hover {
1401 background-color: #F1F1F1;
1403 .node-status-realtime
.lang_enTraffic #bwsvg
,
1404 .node-status-realtime
.lang_enWireless #iwsvg
,
1405 .node-system-packages
.cbi-map
> .cbi-section
,
1406 .node-system-packages form .cbi-section{
1407 border-top-right-radius: 0;
1408 border-top-left-radius: 0;
1411 /* fix system system */
1412 .node-system-system .cbi-tabmenu {
1413 background-color: #d4d4d4;
1415 .node-system-system .cbi-tabmenu > li[class~="cbi-tab"]{
1416 background-color: #fff;
1419 /* fix system reboot */
1421 .node-system-reboot
> .main
> .main-right p
,
1422 .node-system-reboot > .main > .main-right h3 {
1426 /* fix Services Network Shares*/
1427 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
1428 margin-bottom: 1rem;
1432 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field {
1436 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description {
1440 /* fix System Software*/
1441 .node-system-packages #swfreespace {
1442 background-color: #468ea4 !important
;
1443 border: none
!important
;
1446 .node-system-packages #swfreespace > div {
1447 background-color: #f24c7c !important
;
1448 border: none
!important
;
1451 .node-system-packages > .main table tr td:nth-child(1) {
1452 width: auto
!important
;
1455 .node-system-packages > .main table tr td:nth-last-child(1) {
1456 white-space: normal
;
1461 .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a {
1462 padding: 0.5rem 0.8rem;
1465 .node-system-packages > .main .cbi-value > pre {
1466 background-color: #eee;
1471 .node-system-packages .cbi-section .cbi-section-node-tabbed {
1475 .node-system-packages form .cbi-section {
1479 .cbi-tabmenu + .cbi-section {
1483 .node-status-iptables
.cbi-tabmenu
,
1484 .node-system-flashops .cbi-tabmenu {
1488 .node-system-flashops form.inline + form.inline {
1492 .lang_zh-cnBackup .cbi-tabmenu {
1493 margin-bottom: 1rem;
1496 #cbi-firewall-redirect table
*,
1497 #cbi-network-switch_vlan table
*,
1498 #cbi-firewall-zone table
* {
1502 #cbi-firewall-redirect table input
[type
="text"],
1503 #cbi-network-switch_vlan table input
[type
="text"],
1504 #cbi-firewall-zone table input
[type
="text"] {
1508 #cbi-firewall-redirect table select
,
1509 #cbi-network-switch_vlan table select
,
1510 #cbi-firewall-zone table select
{
1514 #cbi-network-switch_vlan .th
,
1515 #cbi-network-switch_vlan .td
{
1519 /* fix Network Network*/
1520 .node-network-network .cbi-rowstyle-2 .ifacebox-body {
1521 background-color: #fff;
1523 .lang_zh-cnInterfaces .container .cbi-map .cbi-tabmenu + div {
1526 /* fix Network Wireless*/
1527 .node-network-wireless .cbi-section-node {
1528 margin-bottom: 1rem;
1531 /* applyreboot fix */
1535 #maincontainer > #maincontent
{
1538 border-radius: 10px;
1539 display: inline-block
;
1543 #applyreboot-container {
1544 margin-bottom: 1rem;
1546 #applyreboot-section {
1550 border-radius: 10px;
1552 #applyreboot-section > div
{
1554 line-height: 1.5rem;
1556 #applyreboot-container {
1557 margin: 90px 2rem 2rem 2rem;
1560 #applyreboot-section {
1576 padding-right: 1rem;
1579 border-bottom: 1px solid
#dadada;
1586 padding-left: .8rem;
1589 text-decoration: none
;
1590 display: inline-block
;
1600 background-color: #354057;
1603 text-decoration: none
;
1618 background-color: #636569;
1621 border-radius: 20px;
1624 .main > .main-left .navbar-container {
1627 width: calc
(100% + 10px);
1628 height: calc
(100% - 110px);
1632 .main > .main-left .nav {
1635 .main > .main-left .nav > li a {
1639 .main > .main-left .nav > li {
1640 padding: 0.5rem 1.7rem;
1643 .main > .main-left .nav > .slide {
1644 padding: 0 15px 0 0;
1648 .main > .main-left .nav > .slide > ul {
1651 width: calc
(100% - 10px);
1653 .main > .main-left .nav > .slide > .menu {
1655 padding: 0.5rem 1.7rem;
1656 text-decoration: none
;
1662 .main
> .main-left
.nav
> li
> a
.active
,
1663 .main
> .main-left
.nav
> .slide
> .menu:hover
,
1664 .main > .main-left .nav > .slide > .menu.active {
1665 background: #485267;
1667 border-top-right-radius: 50px;
1668 border-bottom-right-radius: 50px;
1670 .main > .main-left .nav > .slide:hover {
1673 .main > .main-left .nav > .slide > .slide-menu > li {
1674 padding: 0.6rem 2rem;
1677 .main > .main-left .nav > .slide > .slide-menu > .active {
1678 background-color: #F24C7C;
1679 border-top-right-radius: 50px;
1680 border-bottom-right-radius: 50px;
1682 .main > .main-left .nav > .slide > .slide-menu > li > a {
1683 text-decoration: none
;
1684 white-space: nowrap
;
1686 .main > .main-left .nav > .slide > .slide-menu > .active > a {
1689 .main > .main-left .nav > .slide > .slide-menu > li:hover {
1690 background: #F24C7C;
1691 border-top-right-radius: 50px;
1692 border-bottom-right-radius: 50px;
1694 .main > .main-left .nav > .slide > .slide-menu > .active:hover {
1695 background-color: #F24C7C;
1699 /* The scroll bar of the navigation bar is compatible with each browser. */
1701 .main > .main-left .navbar-container::-webkit-scrollbar {
1703 background: transparent
;
1705 .main > .main-left .navbar-container::-webkit-scrollbar-button {
1708 .main > .main-left .navbar-container::-webkit-scrollbar-thumb {
1709 background-color: #ffffff61;
1710 border-radius: 10px;
1712 .main > .main-left .navbar-container::-webkit-scrollbar-thumb {
1713 background-color: #839dd67a;
1714 border-radius: 10px;
1716 .main > .main-left .navbar-container:hover::-webkit-scrollbar-thumb {
1717 background-color: #839dd67a;
1721 .main > .main-left .navbar-container {
1722 scrollbar-track-color: transparent
;
1723 scrollbar-face-color: #839dd67a;
1724 scrollbar-arrow-color: transparent
;
1725 scrollbar-3dlight-color: transparent
;
1726 scrollbar-highlight-color: transparent
;
1727 scrollbar-shadow-color: transparent
;
1728 scrollbar-darkshadow-color: transparent
;
1729 scrollbar-base-color:transparent
;
1731 .main > .main-left .navbar-container:hover {
1732 scrollbar-face-color: #839dd67a;
1737 padding-right: 1rem;
1740 text-shadow: 0px 0px 2px #BBB;
1748 /* The style of the prompt message */
1751 border-radius: 10px;
1752 background-color: #FFF;
1756 background-color: #FA8072;
1761 background-color: #90EE90;
1769 .alert-message > h4 {
1770 padding: 7px 0 7px 36px;
1772 font-weight: normal
;
1774 background: url
(./no-pwd
.png
) no-repeat left
43%/ 28px;
1775 display: inline-block
;
1778 .alert-message > p {
1780 line-height: 1.5rem;
1787 background-color: transparent
;
1790 border: 1px solid
#fff;
1791 border-radius: 50px;
1795 /* All styles of the login interface */
1799 background: #fff url
(./loginBG.png) no-repeat center center
/ cover
;
1801 .node-main-login header {
1804 .node-main-login .main {
1807 .node-main-login > .main > .main-left {
1811 .node-main-login > .main > .main-right {
1817 .node-main-login > .main #maincontent {
1823 transform: translateX
(-50%) translateY
(-50%);
1828 .node-main-login > .main .container {
1832 display: inline-block
;
1835 .node-main-login > .main .logoImg a {
1840 text-decoration: none
;
1842 .node-main-login > .main .logoImg img:first-child {
1846 .node-main-login .warning {
1847 background-color: #3E4A62;
1851 .node-main-login > .main form h2 {
1856 font-weight: normal
;
1860 .node-main-login > .main form .cbi-map-descr {
1867 .node-main-login > .main form .cbi-section {
1870 background-color: transparent
;
1874 .node-main-login > .main form .cbi-value {
1878 .node-main-login > .main form .cbi-value-title {
1884 .node-main-login > .main form .cbi-value-field {
1885 margin-bottom: 16px;
1891 .node-main-login > .main form .cbi-value-field input {
1894 border: 1px solid
#556270;
1896 border-radius: 50px;
1901 .node-main-login form
.cbi-value-field
.iconpwd
,
1902 .node-main-login form
.cbi-value-field
.iconuser
,
1903 .node-main-login form .cbi-value-field .iconeye {
1909 transform: translateY
(-50%);
1911 .node-main-login form .cbi-value-field .iconpwd {
1912 background: transparent url
(./pwd.png) no-repeat center center
/ 100%;
1914 .node-main-login form .cbi-value-field .iconuser {
1915 background: transparent url
(./user.png) no-repeat center center
/ 100%;
1917 .node-main-login form .cbi-value-field .iconeye {
1920 background: transparent url
(./op-eye
.png
) no-repeat center center
/ 100%;
1922 .node-main-login form .cbi-value-field .cleye {
1923 background-image: url
(./cl-eye
.png
);
1925 .node-main-login form .cbi-value-field .opeye {
1926 background-image: url
(./op-eye
.png
);
1929 .node-main-login form .cbi-page-actions {
1935 .node-main-login form .cbi-page-actions input {
1939 display: inline-block
;
1945 .node-main-login form .cbi-page-actions .cbi-button-apply {
1946 background-color: #F24C7C;
1947 border-top-left-radius: 50px;
1948 border-bottom-left-radius: 50px;
1951 .node-main-login form .cbi-page-actions .cbi-button-reset {
1952 background-color: #8a4568;
1954 border-top-right-radius: 50px;
1955 border-bottom-right-radius: 50px;
1958 .node-main-login input.cbi-input-text {
1959 box-shadow: 0 0 0 1000px white inset
;
1963 /* Interface after login */
1965 background-color: #EBF1F6;
1973 .logged-in .main-right {
1974 padding: 0 1rem 3rem 0;
1978 .logged-in .main .logoImg {
1981 .logged-in .main .main-left .nav-container {
1982 background-color: #354057;
1983 border-radius: 20px;
1990 .logged-in .main .main-left .brand {
1992 padding: 44px 0 23px;
1998 text-decoration: none
;
1999 border-bottom: 2px solid
#ffffff42;
2001 /* Single line text omitted */
2002 white-space: nowrap
;
2004 text-overflow: ellipsis
;
2005 -webkit-text-overflow: ellipsis
;
2006 -o-text-overflow: ellipsis
;
2009 .logged-in .alert-message {
2012 background-color: #fff;
2015 .logged-in .alert-message a {
2019 background-color: #468EA4;
2023 @media screen and
(max-width: 1600px) {
2025 width: calc
(0% + 13rem);
2030 padding: 0.3rem 0.6rem;
2034 header
> .container
> .pull-right
> * {
2039 padding: 0.2rem 0.6rem;
2044 padding-right: 0.6rem;
2047 .cbi-input-textarea {
2052 @media screen and
(max-width: 1280px) {
2054 .node-main-login > .main .container {
2058 .cbi-tabmenu > li > a, .tabs > li > a {
2059 padding: 0.2rem 0.5rem;
2064 padding-bottom: 1rem;
2068 font-size: 0.7rem !important
;
2069 width: 100% !important
;
2072 .main
> .main-left
.nav
> li
,
2073 .main
> .main-left
.nav
> li a
,
2074 .main > .main-left .nav > .slide > .menu {
2078 .main > .main-left .nav > .slide > .slide-menu > li > a {
2083 @media screen and
(max-width: 992px) {
2103 background: #0000007d;
2108 .main > .main-left .nav > .slide > .slide-menu > li {
2118 .node-main-login > .main .container {
2124 display: inline-block
;
2125 vertical-align: middle
;
2130 padding-right: 1rem;
2133 #diag-rc-output > pre
{
2139 flex-direction: row
;
2145 align-self: flex-start
;
2146 text-overflow: ellipsis
;
2147 word-wrap: break-word
;
2148 display: inline-block
;
2152 .td input[type="text"] {
2157 .td
[data-dynlist
] > input
,
2158 .td input.cbi-input-password {
2159 width: calc
(100% - 1.5rem);
2162 .td
[data-type
="button"],
2163 .td[data-type="fvalue"] {
2168 .th
.cbi-value-field
,
2169 .td
.cbi-value-field
,
2170 .th
.cbi-section-table-cell
,
2171 .td.cbi-section-table-cell {
2175 .cbi-section-table-row {
2178 flex-direction: row
;
2179 justify-content: space-between
;
2182 .td
.cbi-value-field
,
2183 .cbi-section-table-cell {
2185 display: inline-block
;
2189 .td.cbi-section-actions {
2191 align-self: flex-end
;
2192 vertical-align: bottom
;
2196 .tr
.cbi-section-table-titles
,
2197 .tr.cbi-section-table-descr {
2201 .tr
[data-title
]::before
,
2202 .tr.cbi-section-table-titles.named::before {
2207 border-bottom: 1px solid rgba
(0, 0, 0, .26);
2215 .td[data-title]::before {
2224 /* All styles of the login interface */
2225 .node-main-login .showSide {
2226 display: none
!important
;
2229 padding-bottom: .8rem;
2231 .logged-in .main .main-left .nav-container {
2232 background-color: #354057;
2240 .logged-in .main-right {
2242 margin-top: calc
(45px + .8rem);
2247 .logged-in .alert-message {
2252 margin: .8rem 0 0 0;
2259 .cbi-section > h3:first-child, .panel-title {
2262 .network-status-table .ifacebox-body > span {
2265 .cbi-section .ifacebox-body .ifacebadge > span {
2268 .table .tr.cbi-rowstyle-1:nth-child(n), .table .tr:nth-child(n) {
2271 .node-network-firewall
.table
.tr
.cbi-rowstyle-1:nth-child
(n
),
2272 .node-network-firewall .table .tr:nth-child(n) {
2273 border-radius: 20px;
2280 border-bottom: none
;
2285 .cbi-section-node-tabbed {
2289 .cbi-button-action.important {
2290 margin-right: .3rem;
2293 border-bottom: 1px solid rgba
(0, 0, 0, .26);
2296 .node-status-processes
.table
.tr
.cbi-rowstyle-1:nth-child
(n
),
2297 .node-status-processes .table .tr:nth-child(n) {
2298 border-radius: 20px;
2303 @media screen and
(max-width: 768px) {
2308 .node-main-login > .main .logoImg a {
2310 margin: 12px 0 22px 0;
2314 .node-main-login > .main #maincontent {
2316 padding-bottom: 1rem;
2319 transform: translateY
(0) translateX
(-50%);
2326 .alert-message > h4{
2335 padding: 8px 0 8px 36px;
2343 .node-main-login .warning {
2344 background-color: #F5F5F6;
2353 .node-main-login > .main form h2 {
2355 margin: 20px 0 16px;
2359 .node-main-login > .main form .cbi-value-field input {
2362 background-size: 16px;
2366 .node-main-login > .main form .cbi-value-field {
2367 margin-bottom: 20px;
2370 .node-main-login form .cbi-page-actions input {
2375 .node-main-login form
.cbi-value-field
.iconpwd
,
2376 .node-main-login form
.cbi-value-field
.iconuser
,
2377 .node-main-login form .cbi-value-field .iconeye {
2382 .node-main-login form .cbi-value-field .iconeye {
2392 display: inline-block
;
2396 @media screen and
(max-width: 480px) {
2403 min-width: 0rem !important
;
2406 margin-bottom: 0.5rem;
2410 .cbi-value-field, .cbi-value-description {
2414 .cbi-value > .cbi-value-field {
2415 display: inline-block
;
2418 .cbi-tabmenu > li, .tabs > li {
2419 padding: 0.6rem 0rem;
2422 .cbi-tabmenu > li > a, .tabs > li > a {
2423 padding: 0.2rem 0.3rem;
2427 .cbi-page-actions > div > input {
2442 padding-bottom: 1rem;
2445 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2446 width: 100% !important
;
2449 .node-system-packages > .main .cbi-value .cbi-value-field input {
2453 .node-status-iptables > .main div > .cbi-map > form {
2454 position: static
!important
;
2458 font-weight: normal
;
2461 font-family: inherit
;
2463 background-color: #FFF;
2464 border-radius: 20px;
2465 -webkit-overflow-scrolling: touch
;
2468 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] {
2469 width: 100% !important
;
2473 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"] {
2477 .node-main-login > .main .container {
2485 .td.cbi-value-field {
2489 .td.cbi-value-field[data-type="dvalue"] {
2493 .td
.cbi-value-field
[data-type
="button"],
2494 .td.cbi-value-field[data-type="fvalue"] {
2499 .tr
[data-title
]::before
,
2500 .tr.cbi-section-table-titles.named::before {
2508 /* All styles of the login interface */
2509 .node-main-login > .main .cbi-value {
2518 @media screen and
(min-width: 992px) {
2519 .cbi-value-field .cbi-input-select {
2523 .cbi-value-field .cbi-dropdown {
2528 @media screen and
(min-width: 1280px) {
2529 .cbi-value-field .cbi-input-select {
2533 .cbi-value-field .cbi-dropdown {
2538 @media screen and
(min-width: 1600px) {
2539 .cbi-value-field .cbi-input-select {
2543 .cbi-value-field .cbi-dropdown {