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 generate by Icomoon<icomoon.io>
23 font-family: "icomoon";
26 src: url
("fonts/font.eot");
27 src: url
("fonts/font.eot") format
("embedded-opentype"), url
("fonts/font.ttf") format
("truetype"),
28 url
("fonts/font.woff") format
("woff"), url
("fonts/font.svg") format
("svg");
31 /* Table correlation 表格 */
42 display: table-header-group
;
46 display: table-row-group
;
50 display: table-footer-group
;
59 vertical-align: middle
;
74 .tr.placeholder > .td {
80 text-align: center
!important
;
102 flex: 1 1 30px !important
;
106 flex: 2 2 60px !important
;
110 flex: 3 3 90px !important
;
114 flex: 4 4 120px !important
;
118 flex: 5 5 150px !important
;
122 flex: 6 6 180px !important
;
126 flex: 7 7 210px !important
;
130 flex: 8 8 240px !important
;
134 flex: 9 9 270px !important
;
138 flex: 10 10 300px !important
;
154 font-family: inherit
;
156 line-height: 1.1 !important
;
172 padding: .36rem .8rem;
174 border: thin solid
#ccc;
175 background-color: #fff;
176 background-image: none
;
185 font-size-adjust: .35;
188 border: thin solid
#999;
195 text-decoration: underline
;
222 [disabled
="disabled"] {
223 pointer-events: none
;
231 background-color: #f794b0 !important
;
235 background-color: #f0e68c !important
;
239 background-color: #f24c7c !important
;
243 background-color: #468ea4 !important
;
255 list-style-type: none
;
260 padding-bottom: 10px;
261 border-bottom: thin solid
#eee;
267 padding-bottom: 10px;
274 padding-bottom: 10px;
280 padding-bottom: 10px;
286 padding-bottom: 10px;
291 #cbi-network > .cbi-section-node
,
292 #cbi-wireless > .cbi-section-node
,
293 #cbi-wireless > #wifi_assoclist_table
,
294 [data-page^
="admin-system-admin"]:not
(.login
) .cbi-map:not
(#cbi-dropbear
),
295 [data-page
="admin-system-opkg"] #maincontent
> .container
{
296 font-family: inherit
;
304 background-color: #fff;
311 .cbi-map-descr + fieldset {
316 .cbi-section > legend {
317 display: none
!important
;
321 .cbi-section > .cbi-section {
328 .cbi-section
> h3:first-child
,
335 margin-bottom: .5rem;
344 font-family: "icomoon" !important
;
347 font-variant: normal
;
349 text-transform: none
;
350 -webkit-font-smoothing: antialiased
;
355 box-sizing: border-box
;
367 color: rgba
(0, 0, 0, .87);
369 border-bottom: 2px solid rgba
(0, 0, 0, .26);
372 background-color: transparent
;
373 background-image: none
;
375 vertical-align: bottom
;
383 select:not
([multiple
="multiple"]):focus
,
384 input:not
(.cbi-button
):focus
,
386 .cbi-dynlist > .item:focus {
390 select
[multiple
="multiple"] {
406 text-decoration: none
;
410 /* Main interface 主界面 */
418 pointer-events: none
;
419 background-color: #354057;
423 font-family: monospace
;
425 font-size-adjust: .35;
433 .loading > span > .loading-img {
434 font-family: "icomoon" !important
;
436 display: inline-block
;
438 animation: anim-rotate
2s infinite linear
;
439 vertical-align: middle
;
442 @keyframes anim-rotate
{
444 -webkit-transform: rotate
(0);
445 -ms-transform: rotate
(0);
446 transform: rotate
(0);
450 -webkit-transform: rotate
(360deg);
451 -ms-transform: rotate
(360deg);
452 transform: rotate
(360deg);
456 .Processes #maincontent > .container {
460 /* Main interface left 左主界面 */
468 background-color: #7f8ba5;
473 .main-left .nav-container {
478 background-color: #354057;
483 .main-left .nav-container .navbar-container {
489 height: calc
(100% - 92px);
492 .main-left .nav-container .brand {
494 text-decoration: none
;
498 padding: 36px 0 24px;
499 border-bottom: 1px solid
#fff;
507 .main-left .nav > li {
512 .main-left .nav > li a {
517 .main-left .nav > .slide {
521 .main-left .nav > .slide > ul {
525 .main-left .nav > .slide > .menu {
529 text-decoration: none
;
532 border-radius: 0 25px 25px 0;
535 .main-left .nav > .slide > .menu.active {
539 .main-left
.nav
> li:hover
,
540 .main-left
.nav
> .slide
> .menu:hover
,
541 .main-left .nav > .slide > .slide-menu > li:hover {
545 .main-left .nav > .slide:hover {
549 .main-left .nav > .slide > .slide-menu > li {
553 border-radius: 0 25px 25px 0;
556 .main-left .nav > .slide > .slide-menu > .active {
557 background-color: #f24c7c !important
;
559 border-radius: 0 25px 25px 0;
562 .main-left .nav > .slide > .slide-menu > li > a {
564 text-decoration: none
;
567 .main-left .nav > .slide > .slide-menu > .active > a {
571 .main-left .nav > .slide > .slide-menu > .active:hover {
575 /* Main interface right 右主界面 */
576 .main-right
.container
.alert
,
577 .main-right .container .alert-message {
581 .main-right .container .alert-message {
585 background-color: #fff !important
;
588 .main-right .container .alert-message h4 {
590 background: url
(./no-pwd
.png
) no-repeat left
1px / 28px;
591 padding: 7px 0 0 32px;
594 .main-right .container .alert-message .btn {
597 background-color: #468ea4;
605 border-collapse: collapse
;
612 border: 1px solid
#ddd;
616 table
> tbody
> tr
> td
,
617 table
> tbody
> tr
> th
,
618 table
> tfoot
> tr
> td
,
619 table
> tfoot
> tr
> th
,
620 table
> thead
> tr
> td
,
621 table
> thead
> tr
> th
,
622 .table
> .tbody
> .tr
> .td
,
623 .table
> .tbody
> .tr
> .th
,
624 .table
> .tfoot
> .tr
> .td
,
625 .table
> .tfoot
> .tr
> .th
,
626 .table
> .thead
> .tr
> .td
,
627 .table
> .thead
> .tr
> .th
,
628 .table
> .tr
> .td
.cbi-value-field
,
629 .table > .tr > .th.cbi-section-table-cell {
633 .container > .cbi-section:first-of-type > .table[width="100%"] > .tr > .td {
637 .cbi-section-table-cell {
639 align-self: flex-end
;
647 .cbi-section-table-row::before
,
648 #cbi-wireless > #wifi_assoclist_table
> .tr:nth-child
(2) {
649 border-top: thin solid
#ddd;
652 tr:first-child
> td
.tr:first-child
> .td
,
654 #cbi-network .tr:first-child
> .td
,
655 .table
[width
="100%"] > .tr:first-child
> .td
,
656 [data-page
="admin-network-diagnostics"] .tr
> .td
,
657 .tr
.table-titles
> .th
,
658 .tr.cbi-section-table-titles > .th {
659 border-top: 0 !important
;
662 .cbi-section-table-row {
664 text-align: center
!important
;
668 .cbi-section-table-row:last-child {
672 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
673 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
674 .cbi-section-table-row
> .cbi-value-field
.cbi-input-password
,
675 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
679 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
680 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
681 width: calc
(100% - 1.5rem);
684 .cbi-section-table-row .td {
685 text-align: center
!important
;
688 div
> table
> tbody
> tr:nth-of-type
(2n),
689 div
> .table
> .tr:nth-of-type
(2n) {
690 background-color: #f9f9f9;
693 /* fix multiple table */
699 .cbi-value-field table
,
700 .cbi-value-field .table {
704 td
> table
> tbody
> tr
> td
,
705 .td > .table > .tbody > .tr > .td {
709 .cbi-value-field
> table
> tbody
> tr
> td
,
710 .cbi-value-field > .table > .tbody > .tr > .td {
719 display: inline-block
;
720 width: auto
!important
;
723 -webkit-user-select: none
;
724 -moz-user-select: none
;
725 -ms-user-select: none
;
727 transition: all
.2s ease-in-out
;
729 vertical-align: middle
;
731 text-decoration: none
;
732 color: rgba
(0, 0, 0, .87);
735 background-color: #f0f0f0;
736 background-image: none
;
737 -webkit-appearance: none
;
738 -ms-touch-action: manipulation
;
739 touch-action: manipulation
;
742 .cbi-button:not(select) {
743 -webkit-appearance: none
!important
;
746 form
[method
="post"] + form
[method
="post"],
747 .cbi-button + .cbi-button {
760 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:hover
,
761 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save:focus
,
762 .cbi-page-actions .cbi-button-apply + .cbi-button-save:active {
763 text-decoration: none
;
768 .cbi-button:disabled {
770 pointer-events: none
;
776 .modal div
[class
="btn"],
782 .cbi-button
[name
="zero"],
783 .cbi-button
[name
="restart"],
784 .cbi-button[onclick="hide_empty(this)"] {
790 .cbi-page-actions
.cbi-button-save
,
791 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
794 .cbi-button-positive
,
796 .cbi-button
[value
="Enable"],
797 .cbi-button
[value
="Scan"],
798 .cbi-button
[value^
="Back"],
799 .cbi-button-neutral[onclick="handleConfig(event)"] {
802 border: thin solid
#2e6da4;
803 background-color: transparent
;
807 .cbi-page-actions
.cbi-button-apply
,
808 .cbi-section-actions
.cbi-button-edit
,
813 .cbi-button
[value
="Submit"],
814 .cbi-button
[value$
="Apply"],
815 .cbi-button[onclick="addKey(event)"] {
818 border: 1px solid
#468ea4;
819 background-color: #468ea4;
824 .cbi-section-remove
> .cbi-button
,
827 .cbi-button-negative
,
828 .cbi-button
[value
="Stop"],
829 .cbi-button
[value
="Kill"],
830 .cbi-button
[onclick
="reboot(this)"],
831 .cbi-button-neutral[value="Restart"] {
835 background-color: transparent
;
836 border: 1px solid
#f24b7c;
840 .btn
[value
="Dismiss"],
841 .cbi-button
[value
="Terminate"],
842 .cbi-button
[value
="Reset"],
843 .cbi-button
[value
="Disabled"],
844 .cbi-button
[onclick^
="iface_reconnect"],
845 .cbi-button
[onclick
="handleReset(event)"],
846 .cbi-button-neutral[value="Disable"] {
849 border: 1px solid
#9a4569;
850 background-color: transparent
;
855 .cbi-button-download
,
856 .cbi-button
[name
="backup"],
857 .cbi-button
[value
="Upload"],
858 .cbi-button[value="Save mtdblock"] {
861 border: thin solid
#468ea4;
862 background-color: transparent
;
865 .cbi-page-actions .cbi-button-link:first-child {
870 text-decoration: none
;
873 .cbi-value-field .cbi-button-add {
877 .cbi-value-field .cbi-button-neutral {
881 /* tabs & menu 选项卡 & 菜单栏 */
884 background-color: #fff;
892 display: inline-block
;
899 text-decoration: none
;
905 background-color: #cccccc82;
912 transform: translateX
(-50%);
915 .tabs > li:hover::after {
916 transition: width
.35s;
917 width: calc
(100% + 4px);
920 .tabs > li.active::after {
921 width: calc
(100% + 4px);
922 background-color: #468ea473;
926 display: inline-block
;
930 .cbi-tabmenu > li > a {
931 padding: .5rem .8rem;
932 text-decoration: none
;
937 border: thin solid
#d4d4d4;
941 .cbi-tabmenu > li:hover {
942 background-color: #f1f1f1;
943 border-radius: 10px 10px 0 0;
946 .cbi-tabmenu > li[class~="cbi-tab"] {
947 background-color: #fff;
948 border-radius: 10px 10px 0 0;
952 background-color: #d4d4d4;
953 border-radius: 10px 10px 0 0;
957 .cbi-section
.cbi-section-remove:nth-of-type
(2n),
958 .container > .cbi-section .cbi-section-node:nth-of-type(2n) {
959 background-color: #f9f9f9;
963 border-radius: 0 0 10px 10px;
966 .cbi-tabmenu + div.controls {
968 padding: .5em 0 1em 0;
970 border: 1px solid
#d4d4d4;
976 .cbi-tabmenu + div.controls + .table {
977 border-radius: 0 0 25px 25px;
987 [data-tab-active
="true"] {
991 transition: opacity
.25s ease-in
;
994 .cbi-section
[id
] .cbi-section-remove:nth-of-type
(4n + 3),
995 .cbi-section[id] .cbi-section-node:nth-of-type(4n + 4) {
996 background-color: #f9f9f9;
999 .cbi-section-node-tabbed {
1002 border: thin solid
#d4d4d4;
1006 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
1007 background-color: #f9f9f9;
1011 .cbi-value-description {
1013 display: table-cell
;
1016 .cbi-input-invalid {
1021 .cbi-section-error {
1023 line-height: 1.42857143;
1026 border: 1px solid
#f24b7c;
1028 background-color: #fce6e6;
1031 .cbi-section-error ul {
1035 .cbi-section-error ul li {
1040 .cbi-value-helpicon > img {
1044 .cbi-value-helpicon:before {
1048 .cbi-value-description {
1050 padding: .5rem 0 0 0;
1055 display: table-cell
;
1059 padding-right: 2rem;
1061 word-wrap: break-word
;
1065 display: inline-block
;
1067 padding: .3rem 1rem;
1074 .td[data-title]::before {
1078 content: attr
(data-title
) ":\20";
1080 white-space: nowrap
;
1083 .tr.placeholder .td[data-title]::before {
1087 .tr
[data-title
]::before
,
1088 .tr.cbi-section-table-titles.named::before {
1090 display: table-cell
;
1094 content: attr
(data-title
) "\20";
1096 vertical-align: middle
;
1097 white-space: normal
;
1098 word-wrap: break-word
;
1102 background-color: #f9f9f9;
1106 background-color: #eee;
1109 .cbi-rowstyle-2
.cbi-button-up
,
1110 .cbi-rowstyle-2 .cbi-button-down {
1111 background-color: #fff !important
;
1114 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
1115 width: auto
!important
;
1118 .td.cbi-section-actions {
1119 text-align: right
!important
;
1120 vertical-align: middle
;
1123 .td.cbi-section-actions > * {
1124 display: inline-flex
;
1127 .td
.cbi-section-actions
> * > *,
1128 .td.cbi-section-actions > * > form > * {
1132 .td.cbi-section-actions > * > form {
1133 display: inline-flex
;
1141 line-height: 1.42857143;
1147 flex-direction: column
;
1151 .cbi-dynlist > .item {
1154 margin: 0 2em 4px 0;
1157 pointer-events: none
;
1159 border-bottom: 2px solid rgba
(0, 0, 0, .26);
1162 .cbi-dynlist[name="sshkeys"] > .item {
1166 .cbi-dynlist > .item::after {
1170 display: inline-flex
;
1174 pointer-events: auto
;
1176 border: thin solid
#f24b7c;
1177 background-color: transparent
;
1180 .cbi-dynlist > .item > span {
1181 white-space: normal
;
1182 word-break: break-word
;
1188 display: inline-flex
;
1194 .cbi-dropdown > ul {
1199 margin: 0 !important
;
1204 .cbi-dropdown > ul.preview {
1208 .cbi-dropdown > .open {
1212 .cbi-dropdown
> .open
,
1213 .cbi-dropdown > .more {
1218 flex-direction: column
;
1221 justify-content: center
;
1224 background: #d4d4d4;
1229 .cbi-dropdown
> .more
,
1230 .cbi-dropdown > ul > li[placeholder] {
1234 text-shadow: 1px 1px 0 #fff;
1237 .cbi-dropdown > ul > li {
1240 align-items: center
;
1246 white-space: nowrap
;
1247 text-overflow: ellipsis
;
1250 .cbi-dropdown > ul > li .hide-open {
1254 .cbi-dropdown > ul > li .hide-close {
1258 .cbi-dropdown > ul > li[display]:not([display="0"]) {
1259 border-left: thin solid
#ccc;
1262 .cbi-dropdown[empty] > ul {
1266 .cbi-dropdown > ul > li > form {
1270 pointer-events: none
;
1273 .cbi-dropdown > ul > li img {
1274 margin-right: .25em;
1275 vertical-align: middle
;
1278 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
1283 .cbi-dropdown > ul > li input[type="text"] {
1287 .cbi-dropdown[open] {
1291 .cbi-dropdown[open] > ul.dropdown {
1298 max-height: 200px !important
;
1299 border: thin solid
#918e8c;
1300 background: #f6f6f6;
1303 .cbi-dropdown
> ul
> li
[display
],
1304 .cbi-dropdown
[open
] > ul
.preview
,
1305 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
1306 .cbi-dropdown
[multiple
] > ul
> li
> label
,
1307 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
1308 .cbi-dropdown
[multiple
][more
] > .more
,
1309 .cbi-dropdown[multiple][empty] > .more {
1311 align-items: center
;
1315 .cbi-dropdown
[empty
] > ul
> li
,
1316 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
1317 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
1321 .cbi-dropdown[open] > ul.dropdown > li .hide-open {
1325 .cbi-dropdown[open] > ul.dropdown > li .hide-close {
1329 .cbi-dropdown[open] > ul.dropdown > li {
1330 border-bottom: thin solid
#ccc;
1333 .cbi-dropdown[open] > ul.dropdown > li[selected] {
1334 background: #b0d0f0;
1337 .cbi-dropdown[open] > ul.dropdown > li.focus {
1338 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
1341 .cbi-dropdown[open] > ul.dropdown > li:last-child {
1346 .cbi-dropdown[open] > ul.dropdown > li[unselectable] {
1350 .cbi-dropdown[open] > ul.dropdown > li > input.create-item-input:first-child:last-child {
1354 .cbi-dropdown[disabled] {
1355 pointer-events: none
;
1359 .cbi-dropdown .zonebadge {
1363 .cbi-dropdown[open] .zonebadge {
1375 transition: opacity
.125s ease-in
;
1377 background: rgba
(0, 0, 0, .7);
1378 -webkit-overflow-scrolling: touch
;
1383 align-items: center
;
1392 border-radius: 20px !important
;
1397 line-height: normal
;
1404 font-size-adjust: .35;
1406 margin-bottom: .5em;
1408 white-space: pre-wrap
;
1411 background-color: #354057;
1423 list-style-type: square
;
1428 padding-left: .25rem;
1429 word-break: break-word
;
1434 font-weight: normal
;
1435 padding: .1rem .3rem;
1441 .modal .label.warning {
1442 background-color: #f0ad4e !important
;
1446 padding: .3rem .6rem;
1453 body
.modal-overlay-active
{
1458 #modal_overlay .alert-message
.warning
{
1459 background-color: #fff !important
;
1460 margin-bottom: 10px;
1463 body
.modal-overlay-active #modal_overlay
{
1471 padding-left: 32px !important
;
1481 background: url
(../resources/icons/loading.gif) no-repeat center
;
1482 background-size: 16px;
1492 text-align: left
!important
;
1497 text-align: right
!important
;
1502 text-align: center
!important
;
1506 align-self: flex-start
!important
;
1507 vertical-align: top
!important
;
1511 align-self: flex-end
!important
;
1512 vertical-align: bottom
!important
;
1524 .cbi-page-actions > form[method="post"] {
1525 display: inline-block
;
1529 .cbi-value input
[type
="password"],
1530 .cbi-value input[type="text"] {
1535 .cbi-value-field
.cbi-dropdown
,
1536 .cbi-value-field .cbi-input-select {
1540 .cbi-value-field .cbi-input-invalid {
1542 border-bottom-color: #f00;
1551 background: #a9cad4;
1553 border-radius: 20px;
1557 .cbi-progressbar > div {
1560 background: #468ea4;
1561 border-radius: 20px;
1564 .cbi-progressbar::after {
1565 font-family: monospace
;
1567 font-size-adjust: .38;
1568 line-height: normal
;
1574 content: attr
(title
);
1577 transform: translateY
(-50%);
1580 .th
[data-type
="button"],
1581 .td
[data-type
="button"],
1582 .th
[data-type
="fvalue"],
1583 .td[data-type="fvalue"] {
1589 display: inline-flex
;
1590 padding: .5rem .8rem;
1592 border-radius: 20px;
1598 background-color: #d4d4d4;
1599 border-radius: 20px;
1604 display: inline-block
;
1605 align-self: flex-start
;
1609 .ifacebadge > img + img {
1610 margin: 0 .2rem 0 0;
1613 .network-status-table {
1618 .network-status-table .ifacebox {
1621 border-radius: 20px;
1625 .network-status-table .ifacebox-body {
1627 flex-direction: column
;
1629 background: #f5f5f5;
1632 .network-status-table .ifacebox-body > span {
1637 .network-status-table .ifacebox-body > div {
1642 .network-status-table .ifacebox-body .ifacebadge {
1643 align-items: center
;
1646 margin: .5em .25em 0 .25em;
1648 background-color: #fff;
1649 border-radius: 20px;
1653 .cbi-input-textarea {
1654 font-family: monospace
;
1665 margin-bottom: 20px;
1670 border-radius: 20px;
1671 background-color: #fff;
1678 /* config changes */
1680 font-family: monospace
;
1683 .uci-change-list ins
,
1684 .uci-change-legend-label ins {
1687 text-decoration: none
;
1688 border: thin solid
#0f0;
1689 background-color: #cfc;
1692 .uci-change-list del
,
1693 .uci-change-legend-label del {
1697 text-decoration: none
;
1698 border: thin solid
#f00;
1699 background-color: #fcc;
1702 .uci-change-list var
,
1703 .uci-change-legend-label var {
1707 text-decoration: none
;
1708 border: thin solid
#ccc;
1709 background-color: #eee;
1712 .uci-change-list var ins
,
1713 .uci-change-list var del {
1720 .uci-change-legend {
1724 .uci-change-legend-label {
1729 .uci-change-legend-label
> ins
,
1730 .uci-change-legend-label
> del
,
1731 .uci-change-legend-label > var {
1739 .uci-change-legend-label var ins
,
1740 .uci-change-legend-label var del {
1745 .uci-change-list var
,
1746 .uci-change-list del
,
1747 .uci-change-list ins {
1755 border: 1px solid
#d4d4d4 !important
;
1756 border-radius: 20px;
1759 .lang_enTraffic #bwsvg
,
1760 .lang_enWireless #iwsvg {
1761 border: 1px solid
#d4d4d4 !important
;
1762 border-radius: 0 0 20px 20px;
1766 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1767 border-top: 0 !important
;
1772 display: inline-flex
;
1773 flex-direction: column
;
1775 background-color: #f9f9f9;
1776 border-radius: 10px;
1784 border-radius: 10px 10px 0 0;
1791 .ifacebox-head.active {
1792 background: #5bc0de;
1797 border-radius: 0 0 10px 10px;
1805 display: inline-block
;
1806 padding: .2rem .5rem;
1807 border-radius: 20px;
1810 .zonebadge .ifacebadge {
1811 margin: .1rem .2rem;
1812 padding: .2rem .3rem;
1813 border: thin solid
#6c6c6c;
1817 .zonebadge > input[type="text"] {
1820 padding: .16rem 1rem;
1824 .zonebadge > strong {
1825 display: inline-block
;
1829 .cbi-value-field
.cbi-input-checkbox
,
1830 .cbi-value-field .cbi-input-radio {
1834 .cbi-value-field > ul > li {
1838 .cbi-value-field > ul > li > label {
1842 .cbi-value-field > ul > li .ifacebadge {
1845 background-color: #eee;
1848 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1852 .cbi-section-create {
1853 display: inline-flex
;
1854 align-items: center
;
1858 .cbi-section-create > * {
1862 .cbi-section-remove {
1867 td
.cbi-value-field var
,
1868 .td.cbi-value-field var {
1875 line-height: 1.42857143;
1876 white-space: normal
;
1882 display: inline-block
;
1884 padding: .2rem .3rem;
1888 padding: 1rem 1rem 0 1rem;
1889 border-top: thin solid
#ccc;
1892 .cbi-dropdown-container {
1896 .cbi-tooltip-container
,
1898 span
[data-tooltip
] .label
{
1899 cursor: help
!important
;
1907 transition: opacity
.25s ease-out
;
1909 pointer-events: none
;
1915 .cbi-tooltip-container:hover .cbi-tooltip {
1917 transition: opacity
.25s ease-in
;
1922 .zonebadge .cbi-tooltip {
1923 margin: -1.5rem 0 0 -.5rem;
1925 background: inherit
;
1930 background: repeating-linear-gradient
(
1932 rgba
(204, 204, 204, .5),
1933 rgba
(204, 204, 204, .5) 5px,
1934 rgba
(255, 255, 255, .5) 5px,
1935 rgba
(255, 255, 255, .5) 10px
1944 .zone-forwards > * {
1948 .zone-forwards > span {
1954 .zone-forwards
.zone-src
,
1955 .zone-forwards .zone-dest {
1957 flex-direction: column
;
1962 padding: .3rem .8rem;
1963 white-space: nowrap
;
1964 text-decoration: none
;
1965 color: #fff !important
;
1966 -moz-border-radius: 3px;
1967 border-radius: 20px;
1968 background-color: #bfbfbf;
1971 label
> input
[type
="checkbox"],
1972 label
> input
[type
="radio"] {
1977 vertical-align: bottom
;
1991 background-color: rgba
(0, 0, 0, .56);
1995 #diag-rc-output > pre
,
1996 #command-rc-output > pre
{
1998 font-size-adjust: .35;
1999 line-height: normal
;
2005 background-color: #101010;
2008 [data-page
="admin-network-diagnostics"] .table
{
2013 input
[name
="traceroute"],
2014 input
[name
="nslookup"] {
2018 /* fix Main Login 登录界面*/
2019 .login .main-right {
2020 background: url
(./loginBG.png) no-repeat center center
/ cover
;
2033 .login > .main .main-left {
2041 text-decoration: none
;
2044 .login > .main .cbi-value-title {
2048 .login > .main #maincontent {
2050 padding-bottom: 20px;
2051 display: inline-block
;
2052 background-color: transparent
;
2058 .login > .main .container {
2060 margin-top: 2rem !important
;
2064 .login .main-right .container .alert-message {
2067 background-color: #4a5368 !important
;
2068 border: 1px solid
#3e4a62;
2069 border-radius: 20px;
2072 .login .alert-message > h4 {
2073 padding: 7px 0 0 32px;
2075 background: url
(./no-pwd
.png
) no-repeat left
0 / 28px;
2076 display: inline-block
;
2079 .login .alert-message > p {
2084 .login .alert-message > * {
2088 .login .main-right .container .alert-message .btn {
2089 border: 1px solid
#fff;
2090 background-color: transparent
;
2092 border-radius: 20px;
2097 .login > .main form h2 {
2104 .login > .main form .cbi-map-descr {
2105 margin-bottom: 17px;
2109 .login > .main form > .cbi-page-actions {
2114 .login > .main form > .cbi-page-actions .cbi-button {
2116 width: 50% !important
;
2121 .login > .main form > .cbi-page-actions .cbi-button-apply {
2122 border-radius: 25px 0 0 25px;
2125 .login > .main form > .cbi-page-actions .cbi-button-reset {
2126 border-radius: 0 25px 25px 0;
2129 .login > .main .cbi-value {
2135 .login > .main .cbi-value > .cbi-value-field {
2140 .login > .main .cbi-value-last .cbi-value-field > div {
2143 display: inline-block
;
2144 background: url
(./op-eye
.png
) no-repeat center center
/ cover
;
2150 .login > .main .cbi-value-last .cbi-value-field.op-eye > div {
2151 background-image: url
(./cl-eye
.png
);
2154 .login > .main .cbi-value .cbi-input-text {
2159 border: 1px solid
#556270;
2160 border-radius: 20px;
2161 background: #fff no-repeat
11px center
/ 19px;
2164 .login > .main .cbi-value .cbi-input-text {
2165 background-image: url
(./user.png);
2168 .login > .main .cbi-value-last .cbi-input-text {
2169 background-image: url
(./pwd.png);
2172 .login .cbi-section {
2175 background-color: transparent
;
2178 .login
.cbi-page-actions
.cbi-button-apply
,
2179 .login .cbi-button-apply {
2180 border: 1px solid
#f24b7c;
2181 background-color: #f24b7c;
2184 .login .cbi-button[value="Reset"] {
2186 border: 1px solid
#9a4569;
2187 background-color: #9a4569;
2194 @media screen and
(min-height: 585px) {
2206 background-color: #ebf1f6;
2214 border: 1px solid
#ddd;
2215 background-color: #fff;
2216 border-radius: 20px;
2217 width: calc
(85% - 20px - 2rem);
2224 .logged-in header .container {
2228 .logged-in header .container .btn-con {
2233 .logged-in header .container .btn-con #xhr_poll_status {
2234 display: inline-block
;
2237 .logged-in header .container .btn-con .logout {
2238 background-color: #354057;
2241 .logged-in header .container .btn-con .logout a {
2243 text-decoration: none
;
2246 .logged-in
.logoImg
,
2247 .login-info .logoImg {
2251 .logged-in .main-right {
2257 .logged-in .main-right .container {
2258 margin: 5rem 1rem 1rem;
2261 /* node main login */
2268 .login-info .main-left {
2272 .login-info .main-right {
2276 /* fix status overview */
2277 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
2278 white-space: normal
;
2281 /* fix status processes */
2282 .node-status-processes > .main .table .tr .td:nth-child(3) {
2283 white-space: normal
;
2286 .node-admin-status form {
2287 margin: 2rem 2rem 0 0;
2290 /* fix system reboot */
2291 [data-page
="admin-system-reboot"] p
{
2295 /* fix network diagnostics */
2296 .lang_enDiagnostics
.tr
.td
,
2297 .lang_enLoad
.tr
.td
,
2298 .lang_enTraffic
.node-admin-status
.tr
.td
,
2299 .lang_enWireless
.tr
.td
,
2300 .lang_enConnections .tr .td {
2304 [data-page
="admin-system-reboot"] p
> span
{
2310 .lang_enInterfaces .ifacebox-body {
2312 border-style: solid
;
2316 #cbi-samba .cbi-value-last
.cbi-value-field
{
2320 #cbi-samba .cbi-value-last
.cbi-value-title
{
2322 padding-bottom: .6rem;
2326 .controls > * > .btn:not([aria-label$="page"]) {
2327 flex-grow: initial
!important
;
2331 .controls > #pager > .btn[aria-label$="page"] {
2335 .controls > * > label {
2336 margin-bottom: .2rem;
2339 [data-page
="admin-system-opkg"] div
.btn
{
2342 padding: .3rem .6rem;
2345 [data-page^
="admin-system-admin"]:not
(.login
) .cbi-map:not
(#cbi-dropbear
),
2346 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2351 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2353 margin-bottom: 1rem;
2358 white-space: normal
!important
;
2359 word-break: break-word
;
2362 .cbi-tabmenu + .cbi-section {
2364 border: 1px solid
#d4d4d4;
2368 /* wireless overview */
2369 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2372 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2376 border-top: thin solid
#ddd !important
;
2379 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2380 border-radius: 20px 20px 0 0;
2383 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
,
2384 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
.td
{
2385 border-radius: 0 0 20px 20px;
2389 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
.th:first-child
{
2390 border-top-left-radius: 20px;
2393 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
.th:last-child
{
2394 border-top-right-radius: 20px;
2397 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2398 border-bottom: thin solid
#ddd;
2401 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2407 font-family: inherit
;
2408 font-weight: normal
;
2414 border: 1px solid
#d4d4d4;
2416 background-color: #fff;
2420 #cbi-firewall-redirect table
*,
2421 #cbi-network-switch_vlan table
*,
2422 #cbi-firewall-zone table
* {
2426 #cbi-firewall-redirect table input
[type
="text"],
2427 #cbi-network-switch_vlan table input
[type
="text"],
2428 #cbi-firewall-zone table input
[type
="text"] {
2432 #cbi-firewall-redirect table select
,
2433 #cbi-network-switch_vlan table select
,
2434 #cbi-firewall-zone table select
{
2438 #cbi-network-switch_vlan .th
,
2439 #cbi-network-switch_vlan .td
{
2443 #cbi-firewall-zone .table
{
2447 #cbi-network-switch_vlan #vlan_table
{
2451 #cbi-firewall-zone .td
.cbi-section-actions
{
2455 /* applyreboot fix */
2456 #applyreboot-container {
2460 #applyreboot-section {
2465 /* openvpn bug fix */
2467 line-height: initial
!important
;
2470 /* custom commands */
2472 width: 24% !important
;
2473 padding: .5rem 1rem;
2474 border-bottom: thin solid
#ccc;
2479 line-height: normal
!important
;
2481 margin: 6px 0 !important
;
2482 white-space: nowrap
;
2483 text-overflow: ellipsis
;
2487 left: auto
!important
;
2499 text-overflow: ellipsis
;
2502 .commandbox p:first-of-type {
2506 .commandbox p:nth-of-type(2) {
2510 [data-page^
="admin-system-commands"] .panel-title
,
2511 [data-page^
="command-cfg"] .mobile-hide
,
2512 [data-page^
="command-cfg"] header
.container
> #logo
{
2520 @media screen and
(max-width: 1600px) {
2521 header
.container
> #logo
{
2522 margin: 0 2.5rem 0 .5rem;
2525 .cbi-dynlist > .item {
2532 padding: .3rem .6rem;
2536 padding: .2rem .6rem;
2541 padding-right: .6rem;
2549 .cbi-input-textarea {
2553 .node-admin-status > .main fieldset li > a {
2554 padding: .3rem .6rem;
2557 #cbi-firewall-zone > .table
{
2562 @media screen and
(max-width: 1400px) {
2564 width: calc
(100% - 230px - 2rem);
2566 .logged-in .main-right {
2567 width: calc
(100% - 230px);
2570 .cbi-dynlist > .item {
2574 .cbi-tabmenu
> li
> a
,
2576 padding: .2rem .5rem;
2581 padding-bottom: 1rem;
2585 font-size: .7rem !important
;
2586 width: 100% !important
;
2589 .table .cbi-input-text {
2593 .main
.main-left
> .nav
> li
,
2594 .main
.main-left
> .nav
> li a
,
2595 .main .main-left > .nav > .slide > .menu {
2599 .main .main-left > .nav > .slide > .slide-menu > li > a {
2607 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2611 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2612 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2613 [data-page
="admin-network-hosts"] .table
{
2614 overflow-y: visible
;
2618 width: 32% !important
;
2622 @media screen and
(max-width: 992px) {
2623 .login .main-right {
2624 background: #354057;
2627 .login > .main #maincontent {
2632 width: calc
(100% - 2rem);
2636 .logged-in header .container .btn-con {
2641 .logged-in .main-left {
2650 background-color: rgba
(0, 0, 0, .3);
2653 .logged-in .main-left .nav-container {
2662 .logged-in .main-left .nav-container .navbar-container {
2666 .logged-in .main-right {
2670 [data-page^
="command-cfg"] header
.container
> .brand
{
2672 margin-top: -1.75rem;
2675 .cbi-dynlist > .item {
2680 display: inline-block
;
2687 display: inline-block
;
2690 background: url
(./menu-logo
.png
) no-repeat center center
/ 100%;
2691 vertical-align: middle
;
2694 .login > .main .cbi-value-title {
2700 padding-right: 1rem;
2703 #diag-rc-output > pre
,
2704 #command-rc-output > pre
{
2718 flex-direction: row
;
2722 .Overview .table[width="100%"] > .tr {
2727 border-bottom: thin solid
#ddd;
2730 .tr
.placeholder
> .td
,
2731 #cbi-firewall .tr
> .td
,
2732 #iptables .tr:nth-child
(2) > .td
,
2733 #cbi-network .tr:nth-child
(2) > .td
,
2734 .cbi-section #wifi_assoclist_table .tr > .td {
2740 display: inline-block
;
2741 align-self: flex-start
;
2743 text-overflow: ellipsis
;
2744 word-wrap: break-word
;
2748 .td input[type="text"] {
2753 .td
[data-dynlist
] > input
,
2754 .td input.cbi-input-password {
2755 width: calc
(100% - 1.5rem);
2758 .td
[data-type
="button"],
2759 .td[data-type="fvalue"] {
2764 .th
.cbi-value-field
,
2765 .td
.cbi-value-field
,
2766 .th
.cbi-section-table-cell
,
2767 .td.cbi-section-table-cell {
2772 .cbi-section-table-row {
2774 flex-direction: row
;
2776 justify-content: space-between
;
2779 .td
.cbi-value-field
,
2780 .cbi-section-table-cell {
2781 display: inline-block
;
2787 .td.cbi-section-actions {
2788 vertical-align: bottom
;
2792 .tr
.cbi-section-table-titles
,
2793 .tr.cbi-section-table-descr {
2797 .tr
[data-title
]::before
,
2798 .tr.cbi-section-table-titles.named::before {
2802 border-bottom: thin solid rgba
(0, 0, 0, .26);
2803 background: #90c0e0;
2807 [data-page^
="admin-status-realtime"] .td
[id
] {
2811 .td[data-title]::before {
2815 .cbi-button + .cbi-button {
2819 .td
.cbi-section-actions
> * > *,
2820 .td.cbi-section-actions > * > form > * {
2825 font-family: inherit
;
2826 font-weight: normal
;
2828 line-height: normal
;
2829 position: static
!important
;
2835 background-color: #fff;
2838 .Firewall form input {
2839 width: 100% !important
;
2845 .Firewall .center::before {
2846 text-align: left
!important
;
2850 width: 100% !important
;
2853 /* The scroll bar of the navigation bar is compatible with each browser. */
2855 .logged-in .main-left .navbar-container::-webkit-scrollbar {
2857 background: transparent
;
2860 .logged-in .main-left .navbar-container::-webkit-scrollbar-button {
2864 .logged-in .main-left .navbar-container::-webkit-scrollbar-thumb {
2865 background-color: #ffffff61;
2866 border-radius: 10px;
2869 .logged-in .main-left .navbar-container::-webkit-scrollbar-thumb {
2870 background-color: #839dd67a;
2871 border-radius: 10px;
2874 .logged-in .main-left .navbar-container:hover::-webkit-scrollbar-thumb {
2875 background-color: #839dd67a;
2879 .logged-in .main-left .navbar-container {
2880 scrollbar-track-color: transparent
;
2881 scrollbar-face-color: #839dd67a;
2882 scrollbar-arrow-color: transparent
;
2883 scrollbar-3dlight-color: transparent
;
2884 scrollbar-highlight-color: transparent
;
2885 scrollbar-shadow-color: transparent
;
2886 scrollbar-darkshadow-color: transparent
;
2887 scrollbar-base-color: transparent
;
2890 .logged-in .main-left .navbar-container:hover {
2891 scrollbar-face-color: #839dd67a;
2895 @media screen and
(max-width: 600px) {
2900 .cbi-progressbar::after {
2915 .main-left .nav-container {
2919 .main .main-left > .nav > .slide > .menu {
2923 .main .main-left > .nav > .slide > .slide-menu > li > a {
2930 min-width: 0 !important
;
2932 margin-bottom: .5rem;
2937 .cbi-value-description {
2941 .cbi-value > .cbi-value-field {
2942 display: inline-block
;
2950 .cbi-tabmenu
> li
> a
,
2953 padding: .2rem .3rem;
2956 .cbi-page-actions > div > input {
2960 .cbi-page-actions > .cbi-button {
2964 .login > .main .cbi-value {
2968 .login > .main form > div:nth-last-child(1) {
2972 .login > .main .cbi-value-title {
2974 width: 100% !important
;
2977 .login > .main fieldset {
2982 .commandbox p:first-of-type {
2986 #diag-rc-output > pre
,
2987 #command-rc-output > pre
{
3010 padding-bottom: 1rem;
3013 .node-system-packages > .main .cbi-value.cbi-value-last > div {
3014 width: 100% !important
;
3017 .node-system-packages > .main .cbi-value .cbi-value-field input {
3026 .td.cbi-value-field {
3030 .td
.cbi-value-field
[data-type
="button"],
3031 .td.cbi-value-field[data-type="fvalue"] {
3036 .tr
[data-title
]::before
,
3037 .tr.cbi-section-table-titles.named::before {
3051 .hide-xs:not([data-title="MAC-Address"]) {
3060 @media screen and
(min-width: 1152px) {
3061 .cbi-value input
[type
="password"],
3062 .cbi-value input[type="text"] {
3066 .cbi-value-field .cbi-input-select {
3070 .cbi-value-field .cbi-dropdown {
3074 .cbi-section-node .tr {
3079 @media screen and
(min-width: 1366px) {
3080 .cbi-value input
[type
="password"],
3081 .cbi-value input[type="text"] {
3085 .cbi-value-field .cbi-input-select {
3089 .cbi-value-field .cbi-dropdown {
3094 @media screen and
(min-width: 1600px) {
3095 .cbi-value input
[type
="password"],
3096 .cbi-value input[type="text"] {
3100 .cbi-value-field .cbi-input-select {
3104 .cbi-value-field .cbi-dropdown {