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;
649 display: inline-block
;
653 .cbi-section-table-descr
> .cbi-section-table-cell
,
654 .cbi-section-table-titles > .cbi-section-table-cell {
658 .td[data-title]::before {
659 content: attr
(data-title
) ":\20";
667 .tr.placeholder .td[data-title]::before {
671 .tr
[data-title
]::before
,
672 .tr.cbi-section-table-titles.named::before {
673 content: attr
(data-title
) "\20";
681 word-wrap: break-word
;
682 vertical-align: middle
;
686 background-color: #f9f9f9;
690 background-color: #eee;
693 .cbi-rowstyle-2
.cbi-button-up
,
694 .cbi-rowstyle-2 .cbi-button-down {
695 background-color: #FFF !important
;
698 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
699 width: auto
!important
;
702 .td.cbi-section-actions {
704 vertical-align: middle
;
707 .td.cbi-section-actions > * {
711 .td
.cbi-section-actions
> * > *,
712 .td.cbi-section-actions > * > form > * {
717 .td.cbi-section-actions > * > form {
718 display: inline-flex
;
732 display: inline-flex
;
739 .cbi-dropdown:focus {
740 outline: 2px solid
#4b6e9b;
744 margin: 0 !important
;
753 .cbi-dropdown > ul.preview {
757 .cbi-dropdown > .open {
758 border: 2px outset
#eee;
763 .cbi-dropdown
> .open
,
764 .cbi-dropdown > .more {
768 flex-direction: column
;
769 justify-content: center
;
775 .cbi-dropdown
> .more
,
776 .cbi-dropdown > ul > li[placeholder] {
779 text-shadow: 1px 1px 0px #fff;
783 .cbi-dropdown > ul > li {
788 text-overflow: ellipsis
;
796 .cbi-dropdown > ul > li .hide-open { display: initial
; }
797 .cbi-dropdown > ul > li .hide-close { display: none
; }
799 .cbi-dropdown > ul > li[display]:not([display="0"]) {
800 border-left: 1px solid
#ccc;
803 .cbi-dropdown[empty] > ul {
807 .cbi-dropdown > ul > li > form {
811 pointer-events: none
;
814 .cbi-dropdown > ul > li img {
815 vertical-align: middle
;
819 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
824 .cbi-dropdown > ul > li input[type="text"] {
828 .cbi-dropdown[open] {
832 .cbi-dropdown[open] > ul.dropdown {
835 border: 1px solid
#918e8c;
843 .cbi-dropdown
> ul
> li
[display
],
844 .cbi-dropdown
[open
] > ul
.preview
,
845 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
846 .cbi-dropdown
[multiple
] > ul
> li
> label
,
847 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
848 .cbi-dropdown
[multiple
][more
] > .more
,
849 .cbi-dropdown[multiple][empty] > .more {
855 .cbi-dropdown
[empty
] > ul
> li
,
856 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
857 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
861 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none
; }
862 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial
; }
864 .cbi-dropdown[open] > ul.dropdown > li {
865 border-bottom: 1px solid
#ccc;
868 .cbi-dropdown[open] > ul.dropdown > li[selected] {
872 .cbi-dropdown[open] > ul.dropdown > li.focus {
873 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
876 .cbi-dropdown[open] > ul.dropdown > li:last-child {
881 .cbi-dropdown[disabled] {
882 pointer-events: none
;
886 .cbi-dropdown .zonebadge {
889 background-color: #468ea4 !important
;
892 .cbi-dropdown[open] .zonebadge {
903 .left, .left::before {
904 text-align: left
!important
;
907 .right, .right::before {
908 text-align: right
!important
;
911 .center, .center::before {
912 text-align: center
!important
;
916 align-self: flex-start
!important
;
917 vertical-align: top
!important
;
921 align-self: flex-end
!important
;
922 vertical-align: bottom
!important
;
930 border-top: 1px solid
#eee;
936 .cbi-value-field .cbi-dropdown {
940 .cbi-value-field .cbi-input-select {
944 .th
[data-type
="button"], .td
[data-type
="button"],
945 .th[data-type="fvalue"], .td[data-type="fvalue"] {
951 display: inline-flex
;
952 border: 1px solid
#CCCCCC;
953 padding: 0.5rem 1rem;
960 background-color: #F0F0F0;
966 display: inline-block
;
968 align-self: flex-start
;
971 .ifacebadge > img + img {
975 .network-status-table {
980 .network-status-table .ifacebox {
985 .network-status-table .ifacebox-body {
987 flex-direction: column
;
991 .network-status-table .ifacebox-body > span {
995 .network-status-table .ifacebox-body > div {
1000 .network-status-table .ifacebox-body .ifacebadge {
1002 margin: .5em .25em 0 .25em;
1005 background-color: #fff;
1006 align-items: center
;
1011 .cbi-input-textarea {
1016 font-family: "Helvetica Neue", Helvetica
, Arial
, sans-serif
;
1019 border-radius: 20px;
1028 margin-bottom: 20px;
1029 border-radius: 20px;
1030 background-color: #FFF;
1038 font-family: monospace
;
1041 .uci-change-list ins
,
1042 .uci-change-legend-label ins {
1043 text-decoration: none
;
1044 border: 1px solid
#00FF00;
1045 background-color: #CCFFCC;
1050 .uci-change-list del
,
1051 .uci-change-legend-label del {
1052 text-decoration: none
;
1053 border: 1px solid
#FF0000;
1054 background-color: #FFCCCC;
1060 .uci-change-list var
,
1061 .uci-change-legend-label var {
1062 text-decoration: none
;
1063 border: 1px solid
#CCCCCC;
1064 background-color: #EEEEEE;
1070 .uci-change-list var ins
,
1071 .uci-change-list var del {
1078 .uci-change-legend {
1082 .uci-change-legend-label {
1087 .uci-change-legend-label
> ins
,
1088 .uci-change-legend-label
> del
,
1089 .uci-change-legend-label > var {
1097 .uci-change-legend-label var ins
,
1098 .uci-change-legend-label var del {
1103 .uci-change-list var
,
1104 .uci-change-list del
,
1105 .uci-change-list ins {
1113 border: 1px solid
#D4D4D4 !important
;
1115 border-radius: 20px;
1122 background-color: #f9f9f9;
1123 display: inline-flex
;
1124 flex-direction: column
;
1127 border-radius: 20px;
1136 .ifacebox-head.active {
1145 margin-left: 0.5rem;
1149 padding: 0.2rem 0.5rem;
1150 display: inline-block
;
1151 border-radius: 20px;
1154 .zonebadge .ifacebadge {
1155 padding: .2rem .3rem;
1156 margin: 0.1rem 0.2rem;
1160 .zonebadge > input[type="text"] {
1161 padding: 0.16rem 1rem;
1167 .zonebadge > strong {
1169 display: inline-block
;
1172 .cbi-value-field
.cbi-input-checkbox
,
1173 .cbi-value-field .cbi-input-radio {
1178 .td
.cbi-input-checkbox
,
1179 .td .cbi-input-radio {
1183 .cbi-value-field > input + .cbi-value-description {
1187 .cbi-value-field > ul > li {
1191 .cbi-value-field > ul > li > label {
1195 .cbi-value-field > ul > li .ifacebadge {
1196 background-color: #eee;
1197 margin-left: 0.4rem;
1198 margin-top: -0.5rem;
1201 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1205 .cbi-section-create {
1207 display: inline-flex
;
1208 align-items: center
;
1211 .cbi-section-create > * {
1215 .cbi-section-remove {
1219 div
.cbi-value var
, td
.cbi-value-field var
, .td
.cbi-value-field var
{
1226 white-space: normal
;
1227 line-height: 1.42857143;
1232 display: inline-block
;
1234 padding: 0.2rem 0.3rem;
1239 padding: 1rem 1rem 0 1rem;
1240 border-top: 1px solid
#CCC;
1243 .cbi-dropdown-container {
1247 .cbi-tooltip-container {
1256 transition: opacity
.25s ease-out
;
1257 pointer-events: none
;
1260 .cbi-tooltip-container:hover .cbi-tooltip {
1263 transition: opacity
.25s ease-in
;
1264 border-radius: 20px;
1267 .zonebadge .cbi-tooltip {
1269 background: inherit
;
1270 margin: -1.5rem 0 0 -.5rem;
1274 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);
1283 .zone-forwards > * {
1287 .zone-forwards > span {
1293 .zone-forwards
.zone-src
,
1294 .zone-forwards .zone-dest {
1296 flex-direction: column
;
1299 #diag-rc-output > pre
{
1300 background-color: #f5f5f5;
1304 line-height: 1.5rem;
1305 -moz-border-radius: 3px;
1306 white-space: pre-wrap
;
1307 word-wrap: break-word
;
1313 input
[name
="traceroute"],
1314 input
[name
="nslookup"] {
1318 header
> .container
> .pull-right
> * {
1324 #xhr_poll_status > .label
.success
{
1325 background-color: #F24C7C;
1329 padding: 0.3rem 0.8rem;
1332 color: #ffffff !important
;
1333 text-transform: uppercase
;
1334 white-space: nowrap
;
1335 background-color: #bfbfbf;
1336 -webkit-border-radius: 3px;
1337 -moz-border-radius: 3px;
1338 border-radius: 50px;
1340 text-decoration: none
;
1344 background-color: #468EA4;
1348 background: url
(./menu-logo
.png
) no-repeat center center
/ 100%;
1358 background-color: rgba
(0, 0, 0, 0.56);
1364 /* fix status processes */
1366 .node-status-processes > .main .table .tr .td:nth-child(3) {
1367 white-space: normal
;
1370 .node-status-iptables > .main div > .cbi-map > form {
1371 margin: 2rem 2rem 0 0;
1374 .node-status-iptables > .main div > .cbi-map > form input {
1376 border-radius: 20px;
1379 .node-status-processes .cbi-section {
1383 /* fix status realtime traffic and wireless */
1384 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
,
1385 .node-status-realtime.lang_enWireless .cbi-tabmenu {
1386 background-color: #d4d4d4;
1388 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
> li
[class
~="cbi-tab"],
1389 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
> li:hover
,
1390 .node-status-realtime
.lang_enWireless
.cbi-tabmenu
> li
[class
~="cbi-tab"],
1391 .node-status-realtime.lang_enWireless .cbi-tabmenu > li:hover {
1392 background-color: #F1F1F1;
1394 .node-status-realtime
.lang_enTraffic #bwsvg
,
1395 .node-status-realtime
.lang_enWireless #iwsvg
,
1396 .node-system-packages
.cbi-map
> .cbi-section
,
1397 .node-system-packages form .cbi-section{
1398 border-top-right-radius: 0;
1399 border-top-left-radius: 0;
1402 /* fix system system */
1403 .node-system-system .cbi-tabmenu {
1404 background-color: #d4d4d4;
1406 .node-system-system .cbi-tabmenu > li[class~="cbi-tab"]{
1407 background-color: #fff;
1410 /* fix system reboot */
1412 .node-system-reboot
> .main
> .main-right p
,
1413 .node-system-reboot > .main > .main-right h3 {
1417 /* fix Services Network Shares*/
1418 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
1419 margin-bottom: 1rem;
1423 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field {
1427 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description {
1431 /* fix System Software*/
1432 .node-system-packages #swfreespace {
1433 background-color: #468ea4 !important
;
1434 border: none
!important
;
1437 .node-system-packages #swfreespace > div {
1438 background-color: #f24c7c !important
;
1439 border: none
!important
;
1442 .node-system-packages > .main table tr td:nth-child(1) {
1443 width: auto
!important
;
1446 .node-system-packages > .main table tr td:nth-last-child(1) {
1447 white-space: normal
;
1452 .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a {
1453 padding: 0.5rem 0.8rem;
1456 .node-system-packages > .main .cbi-value > pre {
1457 background-color: #eee;
1462 .node-system-packages .cbi-section .cbi-section-node-tabbed {
1466 .node-system-packages form .cbi-section {
1470 .cbi-tabmenu + .cbi-section {
1474 .node-status-iptables
.cbi-tabmenu
,
1475 .node-system-flashops .cbi-tabmenu {
1479 .node-system-flashops form.inline + form.inline {
1483 .node-system-flashops .cbi-tabmenu {
1484 margin-bottom: 1rem;
1487 #cbi-firewall-redirect table
*,
1488 #cbi-network-switch_vlan table
*,
1489 #cbi-firewall-zone table
* {
1493 #cbi-firewall-redirect table input
[type
="text"],
1494 #cbi-network-switch_vlan table input
[type
="text"],
1495 #cbi-firewall-zone table input
[type
="text"] {
1499 #cbi-firewall-redirect table select
,
1500 #cbi-network-switch_vlan table select
,
1501 #cbi-firewall-zone table select
{
1505 #cbi-network-switch_vlan .th
,
1506 #cbi-network-switch_vlan .td
{
1510 /* fix Network Network*/
1511 .node-network-network .cbi-rowstyle-2 .ifacebox-body {
1512 background-color: #fff;
1514 .lang_zh-cnInterfaces .container .cbi-map .cbi-tabmenu + div {
1517 /* fix Network Wireless*/
1518 .node-network-wireless .cbi-section-node {
1519 margin-bottom: 1rem;
1522 /* applyreboot fix */
1526 #maincontainer > #maincontent
{
1529 border-radius: 10px;
1530 display: inline-block
;
1534 #applyreboot-container {
1535 margin-bottom: 1rem;
1537 #applyreboot-section {
1541 border-radius: 10px;
1543 #applyreboot-section > div
{
1545 line-height: 1.5rem;
1547 #applyreboot-container {
1548 margin: 90px 2rem 2rem 2rem;
1551 #applyreboot-section {
1567 padding-right: 1rem;
1570 border-bottom: 1px solid
#dadada;
1577 padding-left: .8rem;
1580 text-decoration: none
;
1581 display: inline-block
;
1591 background-color: #354057;
1594 text-decoration: none
;
1609 background-color: #636569;
1612 border-radius: 20px;
1615 .main > .main-left .navbar-container {
1618 width: calc
(100% + 10px);
1619 height: calc
(100% - 110px);
1623 .main > .main-left .nav {
1626 .main > .main-left .nav > li a {
1630 .main > .main-left .nav > li {
1631 padding: 0.5rem 1.7rem;
1634 .main > .main-left .nav > .slide {
1635 padding: 0 15px 0 0;
1639 .main > .main-left .nav > .slide > ul {
1642 width: calc
(100% - 10px);
1644 .main > .main-left .nav > .slide > .menu {
1646 padding: 0.5rem 1.7rem;
1647 text-decoration: none
;
1653 .main
> .main-left
.nav
> li
> a
.active
,
1654 .main
> .main-left
.nav
> .slide
> .menu:hover
,
1655 .main > .main-left .nav > .slide > .menu.active {
1656 background: #485267;
1658 border-top-right-radius: 50px;
1659 border-bottom-right-radius: 50px;
1661 .main > .main-left .nav > .slide:hover {
1664 .main > .main-left .nav > .slide > .slide-menu > li {
1665 padding: 0.6rem 2rem;
1668 .main > .main-left .nav > .slide > .slide-menu > .active {
1669 background-color: #F24C7C;
1670 border-top-right-radius: 50px;
1671 border-bottom-right-radius: 50px;
1673 .main > .main-left .nav > .slide > .slide-menu > li > a {
1674 text-decoration: none
;
1675 white-space: nowrap
;
1677 .main > .main-left .nav > .slide > .slide-menu > .active > a {
1680 .main > .main-left .nav > .slide > .slide-menu > li:hover {
1681 background: #F24C7C;
1682 border-top-right-radius: 50px;
1683 border-bottom-right-radius: 50px;
1685 .main > .main-left .nav > .slide > .slide-menu > .active:hover {
1686 background-color: #F24C7C;
1690 /* The scroll bar of the navigation bar is compatible with each browser. */
1692 .main > .main-left .navbar-container::-webkit-scrollbar {
1694 background: transparent
;
1696 .main > .main-left .navbar-container::-webkit-scrollbar-button {
1699 .main > .main-left .navbar-container::-webkit-scrollbar-thumb {
1700 background-color: #ffffff61;
1701 border-radius: 10px;
1703 .main > .main-left .navbar-container::-webkit-scrollbar-thumb {
1704 background-color: #839dd67a;
1705 border-radius: 10px;
1707 .main > .main-left .navbar-container:hover::-webkit-scrollbar-thumb {
1708 background-color: #839dd67a;
1712 .main > .main-left .navbar-container {
1713 scrollbar-track-color: transparent
;
1714 scrollbar-face-color: #839dd67a;
1715 scrollbar-arrow-color: transparent
;
1716 scrollbar-3dlight-color: transparent
;
1717 scrollbar-highlight-color: transparent
;
1718 scrollbar-shadow-color: transparent
;
1719 scrollbar-darkshadow-color: transparent
;
1720 scrollbar-base-color:transparent
;
1722 .main > .main-left .navbar-container:hover {
1723 scrollbar-face-color: #839dd67a;
1728 padding-right: 1rem;
1731 text-shadow: 0px 0px 2px #BBB;
1739 /* The style of the prompt message */
1742 border-radius: 10px;
1743 background-color: #FFF;
1747 background-color: #FA8072;
1752 background-color: #90EE90;
1760 .alert-message > h4 {
1761 padding: 7px 0 7px 36px;
1763 font-weight: normal
;
1765 background: url
(./no-pwd
.png
) no-repeat left
43%/ 28px;
1766 display: inline-block
;
1769 .alert-message > p {
1771 line-height: 1.5rem;
1778 background-color: transparent
;
1781 border: 1px solid
#fff;
1782 border-radius: 50px;
1786 /* All styles of the login interface */
1790 background: #fff url
(./loginBG.png) no-repeat center center
/ cover
;
1792 .node-main-login header {
1795 .node-main-login .main {
1798 .node-main-login > .main > .main-left {
1802 .node-main-login > .main > .main-right {
1808 .node-main-login > .main #maincontent {
1814 transform: translateX
(-50%) translateY
(-50%);
1819 .node-main-login > .main .container {
1823 display: inline-block
;
1826 .node-main-login > .main .logoImg a {
1831 text-decoration: none
;
1833 .node-main-login > .main .logoImg img:first-child {
1837 .node-main-login .warning {
1838 background-color: #3E4A62;
1842 .node-main-login > .main form h2 {
1847 font-weight: normal
;
1851 .node-main-login > .main form .cbi-map-descr {
1858 .node-main-login > .main form .cbi-section {
1861 background-color: transparent
;
1865 .node-main-login > .main form .cbi-value {
1869 .node-main-login > .main form .cbi-value-title {
1875 .node-main-login > .main form .cbi-value-field {
1876 margin-bottom: 16px;
1882 .node-main-login > .main form .cbi-value-field input {
1885 border: 1px solid
#556270;
1887 border-radius: 50px;
1892 .node-main-login form
.cbi-value-field
.iconpwd
,
1893 .node-main-login form
.cbi-value-field
.iconuser
,
1894 .node-main-login form .cbi-value-field .iconeye {
1900 transform: translateY
(-50%);
1902 .node-main-login form .cbi-value-field .iconpwd {
1903 background: transparent url
(./pwd.png) no-repeat center center
/ 100%;
1905 .node-main-login form .cbi-value-field .iconuser {
1906 background: transparent url
(./user.png) no-repeat center center
/ 100%;
1908 .node-main-login form .cbi-value-field .iconeye {
1911 background: transparent url
(./op-eye
.png
) no-repeat center center
/ 100%;
1913 .node-main-login form .cbi-value-field .cleye {
1914 background-image: url
(./cl-eye
.png
);
1916 .node-main-login form .cbi-value-field .opeye {
1917 background-image: url
(./op-eye
.png
);
1920 .node-main-login form .cbi-page-actions {
1926 .node-main-login form .cbi-page-actions input {
1930 display: inline-block
;
1936 .node-main-login form .cbi-page-actions .cbi-button-apply {
1937 background-color: #F24C7C;
1938 border-top-left-radius: 50px;
1939 border-bottom-left-radius: 50px;
1942 .node-main-login form .cbi-page-actions .cbi-button-reset {
1943 background-color: #8a4568;
1945 border-top-right-radius: 50px;
1946 border-bottom-right-radius: 50px;
1950 /* Interface after login */
1952 background-color: #EBF1F6;
1960 .logged-in .main-right {
1961 padding: 0 1rem 3rem 0;
1965 .logged-in .main .logoImg {
1968 .logged-in .main .main-left .nav-container {
1969 background-color: #354057;
1970 border-radius: 20px;
1977 .logged-in .main .main-left .brand {
1979 padding: 44px 0 23px;
1985 text-decoration: none
;
1986 border-bottom: 2px solid
#ffffff42;
1988 /* Single line text omitted */
1989 white-space: nowrap
;
1991 text-overflow: ellipsis
;
1992 -webkit-text-overflow: ellipsis
;
1993 -o-text-overflow: ellipsis
;
1996 .logged-in .alert-message {
1999 background-color: #fff;
2002 .logged-in .alert-message a {
2006 background-color: #468EA4;
2010 @media screen and
(max-width: 1600px) {
2012 width: calc
(0% + 13rem);
2017 padding: 0.3rem 0.6rem;
2021 header
> .container
> .pull-right
> * {
2026 padding: 0.2rem 0.6rem;
2031 padding-right: 0.6rem;
2034 .cbi-input-textarea {
2039 @media screen and
(max-width: 1280px) {
2041 .node-main-login > .main .container {
2045 .cbi-tabmenu > li > a, .tabs > li > a {
2046 padding: 0.2rem 0.5rem;
2051 padding-bottom: 1rem;
2055 font-size: 0.7rem !important
;
2056 width: 100% !important
;
2059 .main
> .main-left
.nav
> li
,
2060 .main
> .main-left
.nav
> li a
,
2061 .main > .main-left .nav > .slide > .menu {
2065 .main > .main-left .nav > .slide > .slide-menu > li > a {
2070 @media screen and
(max-width: 992px) {
2090 background: #0000007d;
2095 .main > .main-left .nav > .slide > .slide-menu > li {
2105 .node-main-login > .main .container {
2111 display: inline-block
;
2112 vertical-align: middle
;
2117 padding-right: 1rem;
2120 #diag-rc-output > pre
{
2126 flex-direction: row
;
2132 align-self: flex-start
;
2133 text-overflow: ellipsis
;
2134 word-wrap: break-word
;
2135 display: inline-block
;
2139 .td input[type="text"] {
2144 .td
[data-dynlist
] > input
,
2145 .td input.cbi-input-password {
2146 width: calc
(100% - 1.5rem);
2149 .td
[data-type
="button"],
2150 .td[data-type="fvalue"] {
2155 .th
.cbi-value-field
,
2156 .td
.cbi-value-field
,
2157 .th
.cbi-section-table-cell
,
2158 .td.cbi-section-table-cell {
2162 .cbi-section-table-row {
2165 flex-direction: row
;
2166 justify-content: space-between
;
2169 .td
.cbi-value-field
,
2170 .cbi-section-table-cell {
2172 display: inline-block
;
2176 .td.cbi-section-actions {
2178 align-self: flex-end
;
2179 vertical-align: bottom
;
2183 .tr
.cbi-section-table-titles
,
2184 .tr.cbi-section-table-descr {
2188 .tr
[data-title
]::before
,
2189 .tr.cbi-section-table-titles.named::before {
2194 border-bottom: 1px solid rgba
(0, 0, 0, .26);
2202 .td[data-title]::before {
2211 /* All styles of the login interface */
2212 .node-main-login .showSide {
2213 display: none
!important
;
2216 padding-bottom: .8rem;
2218 .logged-in .main .main-left .nav-container {
2219 background-color: #354057;
2227 .logged-in .main-right {
2229 margin-top: calc
(45px + .8rem);
2234 .logged-in .alert-message {
2239 margin: .8rem 0 0 0;
2246 .cbi-section > h3:first-child, .panel-title {
2249 .network-status-table .ifacebox-body > span {
2252 .cbi-section .ifacebox-body .ifacebadge > span {
2255 .table .tr.cbi-rowstyle-1:nth-child(n), .table .tr:nth-child(n) {
2258 .node-network-firewall
.table
.tr
.cbi-rowstyle-1:nth-child
(n
),
2259 .node-network-firewall .table .tr:nth-child(n) {
2260 border-radius: 20px;
2267 border-bottom: none
;
2272 .cbi-section-node-tabbed {
2276 .cbi-button-action.important {
2277 margin-right: .3rem;
2280 border-bottom: 1px solid rgba
(0, 0, 0, .26);
2283 .node-status-processes
.table
.tr
.cbi-rowstyle-1:nth-child
(n
),
2284 .node-status-processes .table .tr:nth-child(n) {
2285 border-radius: 20px;
2290 @media screen and
(max-width: 768px) {
2295 .node-main-login > .main .logoImg a {
2297 margin: 12px 0 22px 0;
2301 .node-main-login > .main #maincontent {
2303 padding-bottom: 1rem;
2306 transform: translateY
(0) translateX
(-50%);
2313 .alert-message > h4{
2322 padding: 8px 0 8px 36px;
2330 .node-main-login .warning {
2331 background-color: #F5F5F6;
2340 .node-main-login > .main form h2 {
2342 margin: 20px 0 16px;
2346 .node-main-login > .main form .cbi-value-field input {
2349 background-size: 16px;
2353 .node-main-login > .main form .cbi-value-field {
2354 margin-bottom: 20px;
2357 .node-main-login form .cbi-page-actions input {
2362 .node-main-login form
.cbi-value-field
.iconpwd
,
2363 .node-main-login form
.cbi-value-field
.iconuser
,
2364 .node-main-login form .cbi-value-field .iconeye {
2369 .node-main-login form .cbi-value-field .iconeye {
2379 display: inline-block
;
2383 @media screen and
(max-width: 480px) {
2390 min-width: 0rem !important
;
2393 margin-bottom: 0.5rem;
2397 .cbi-value-field, .cbi-value-description {
2401 .cbi-value > .cbi-value-field {
2402 display: inline-block
;
2405 .cbi-tabmenu > li, .tabs > li {
2406 padding: 0.6rem 0rem;
2409 .cbi-tabmenu > li > a, .tabs > li > a {
2410 padding: 0.2rem 0.3rem;
2414 .cbi-page-actions > div > input {
2429 padding-bottom: 1rem;
2432 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2433 width: 100% !important
;
2436 .node-system-packages > .main .cbi-value .cbi-value-field input {
2440 .node-status-iptables > .main div > .cbi-map > form {
2441 position: static
!important
;
2445 font-weight: normal
;
2448 font-family: inherit
;
2450 background-color: #FFF;
2451 border-radius: 20px;
2452 -webkit-overflow-scrolling: touch
;
2455 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] {
2456 width: 100% !important
;
2460 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"] {
2464 .node-main-login > .main .container {
2472 .td.cbi-value-field {
2476 .td.cbi-value-field[data-type="dvalue"] {
2480 .td
.cbi-value-field
[data-type
="button"],
2481 .td.cbi-value-field[data-type="fvalue"] {
2486 .tr
[data-title
]::before
,
2487 .tr.cbi-section-table-titles.named::before {
2495 /* All styles of the login interface */
2496 .node-main-login > .main .cbi-value {
2505 @media screen and
(min-width: 992px) {
2506 .cbi-value-field .cbi-input-select {
2510 .cbi-value-field .cbi-dropdown {
2515 @media screen and
(min-width: 1280px) {
2516 .cbi-value-field .cbi-input-select {
2520 .cbi-value-field .cbi-dropdown {
2525 @media screen and
(min-width: 1600px) {
2526 .cbi-value-field .cbi-input-select {
2530 .cbi-value-field .cbi-dropdown {
2535 input
.cbi-input-text
{
2536 box-shadow: 0 0 0 1000px white inset
;