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 {
1638 .network-status-table .ifacebox-body > div {
1643 .network-status-table .ifacebox-body .ifacebadge {
1644 align-items: center
;
1647 margin: .5em .25em 0 .25em;
1649 background-color: #fff;
1650 border-radius: 20px;
1654 .cbi-input-textarea {
1655 font-family: monospace
;
1666 margin-bottom: 20px;
1671 border-radius: 20px;
1672 background-color: #fff;
1679 /* config changes */
1681 font-family: monospace
;
1684 .uci-change-list ins
,
1685 .uci-change-legend-label ins {
1688 text-decoration: none
;
1689 border: thin solid
#0f0;
1690 background-color: #cfc;
1693 .uci-change-list del
,
1694 .uci-change-legend-label del {
1698 text-decoration: none
;
1699 border: thin solid
#f00;
1700 background-color: #fcc;
1703 .uci-change-list var
,
1704 .uci-change-legend-label var {
1708 text-decoration: none
;
1709 border: thin solid
#ccc;
1710 background-color: #eee;
1713 .uci-change-list var ins
,
1714 .uci-change-list var del {
1721 .uci-change-legend {
1725 .uci-change-legend-label {
1730 .uci-change-legend-label
> ins
,
1731 .uci-change-legend-label
> del
,
1732 .uci-change-legend-label > var {
1740 .uci-change-legend-label var ins
,
1741 .uci-change-legend-label var del {
1746 .uci-change-list var
,
1747 .uci-change-list del
,
1748 .uci-change-list ins {
1756 border: 1px solid
#d4d4d4 !important
;
1757 border-radius: 20px;
1760 .lang_enTraffic #bwsvg
,
1761 .lang_enWireless #iwsvg {
1762 border: 1px solid
#d4d4d4 !important
;
1763 border-radius: 0 0 20px 20px;
1767 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1768 border-top: 0 !important
;
1773 display: inline-flex
;
1774 flex-direction: column
;
1776 background-color: #f9f9f9;
1777 border-radius: 10px;
1785 border-radius: 10px 10px 0 0;
1792 .ifacebox-head.active {
1793 background: #5bc0de;
1798 border-radius: 0 0 10px 10px;
1806 display: inline-block
;
1807 padding: .2rem .5rem;
1808 border-radius: 20px;
1811 .zonebadge .ifacebadge {
1812 margin: .1rem .2rem;
1813 padding: .2rem .3rem;
1814 border: thin solid
#6c6c6c;
1818 .zonebadge > input[type="text"] {
1821 padding: .16rem 1rem;
1825 .zonebadge > strong {
1826 display: inline-block
;
1830 .cbi-value-field
.cbi-input-checkbox
,
1831 .cbi-value-field .cbi-input-radio {
1835 .cbi-value-field > ul > li {
1839 .cbi-value-field > ul > li > label {
1843 .cbi-value-field > ul > li .ifacebadge {
1846 background-color: #eee;
1849 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1853 .cbi-section-create {
1854 display: inline-flex
;
1855 align-items: center
;
1859 .cbi-section-create > * {
1863 .cbi-section-remove {
1868 td
.cbi-value-field var
,
1869 .td.cbi-value-field var {
1876 line-height: 1.42857143;
1877 white-space: normal
;
1883 display: inline-block
;
1885 padding: .2rem .3rem;
1889 padding: 1rem 1rem 0 1rem;
1890 border-top: thin solid
#ccc;
1893 .cbi-dropdown-container {
1897 .cbi-tooltip-container
,
1899 span
[data-tooltip
] .label
{
1900 cursor: help
!important
;
1908 transition: opacity
.25s ease-out
;
1910 pointer-events: none
;
1916 .cbi-tooltip-container:hover .cbi-tooltip {
1918 transition: opacity
.25s ease-in
;
1923 .zonebadge .cbi-tooltip {
1924 margin: -1.5rem 0 0 -.5rem;
1926 background: inherit
;
1931 background: repeating-linear-gradient
(
1933 rgba
(204, 204, 204, .5),
1934 rgba
(204, 204, 204, .5) 5px,
1935 rgba
(255, 255, 255, .5) 5px,
1936 rgba
(255, 255, 255, .5) 10px
1945 .zone-forwards > * {
1949 .zone-forwards > span {
1955 .zone-forwards
.zone-src
,
1956 .zone-forwards .zone-dest {
1958 flex-direction: column
;
1963 padding: .3rem .8rem;
1964 white-space: nowrap
;
1965 text-decoration: none
;
1966 color: #fff !important
;
1967 -moz-border-radius: 3px;
1968 border-radius: 20px;
1969 background-color: #bfbfbf;
1972 label
> input
[type
="checkbox"],
1973 label
> input
[type
="radio"] {
1978 vertical-align: bottom
;
1992 background-color: rgba
(0, 0, 0, .56);
1996 #diag-rc-output > pre
,
1997 #command-rc-output > pre
{
1999 font-size-adjust: .35;
2000 line-height: normal
;
2006 background-color: #101010;
2009 [data-page
="admin-network-diagnostics"] .table
{
2014 input
[name
="traceroute"],
2015 input
[name
="nslookup"] {
2019 /* fix Main Login 登录界面*/
2020 .login .main-right {
2021 background: url
(./loginBG.png) no-repeat center center
/ cover
;
2034 .login > .main .main-left {
2042 text-decoration: none
;
2045 .login > .main .cbi-value-title {
2049 .login > .main #maincontent {
2051 padding-bottom: 20px;
2052 display: inline-block
;
2053 background-color: transparent
;
2059 .login > .main .container {
2061 margin-top: 2rem !important
;
2065 .login .main-right .container .alert-message {
2068 background-color: #4a5368 !important
;
2069 border: 1px solid
#3e4a62;
2070 border-radius: 20px;
2073 .login .alert-message > h4 {
2074 padding: 7px 0 0 32px;
2076 background: url
(./no-pwd
.png
) no-repeat left
0 / 28px;
2077 display: inline-block
;
2080 .login .alert-message > p {
2085 .login .alert-message > * {
2089 .login .main-right .container .alert-message .btn {
2090 border: 1px solid
#fff;
2091 background-color: transparent
;
2093 border-radius: 20px;
2098 .login > .main form h2 {
2105 .login > .main form .cbi-map-descr {
2106 margin-bottom: 17px;
2110 .login > .main form > .cbi-page-actions {
2115 .login > .main form > .cbi-page-actions .cbi-button {
2117 width: 50% !important
;
2122 .login > .main form > .cbi-page-actions .cbi-button-apply {
2123 border-radius: 25px 0 0 25px;
2126 .login > .main form > .cbi-page-actions .cbi-button-reset {
2127 border-radius: 0 25px 25px 0;
2130 .login > .main .cbi-value {
2136 .login > .main .cbi-value > .cbi-value-field {
2141 .login > .main .cbi-value-last .cbi-value-field > div {
2144 display: inline-block
;
2145 background: url
(./op-eye
.png
) no-repeat center center
/ cover
;
2151 .login > .main .cbi-value-last .cbi-value-field.op-eye > div {
2152 background-image: url
(./cl-eye
.png
);
2155 .login > .main .cbi-value .cbi-input-text {
2160 border: 1px solid
#556270;
2161 border-radius: 20px;
2162 background: #fff no-repeat
11px center
/ 19px;
2165 .login > .main .cbi-value .cbi-input-text {
2166 background-image: url
(./user.png);
2169 .login > .main .cbi-value-last .cbi-input-text {
2170 background-image: url
(./pwd.png);
2173 .login .cbi-section {
2176 background-color: transparent
;
2179 .login
.cbi-page-actions
.cbi-button-apply
,
2180 .login .cbi-button-apply {
2181 border: 1px solid
#f24b7c;
2182 background-color: #f24b7c;
2185 .login .cbi-button[value="Reset"] {
2187 border: 1px solid
#9a4569;
2188 background-color: #9a4569;
2195 @media screen and
(min-height: 585px) {
2207 background-color: #ebf1f6;
2215 border: 1px solid
#ddd;
2216 background-color: #fff;
2217 border-radius: 20px;
2218 width: calc
(85% - 20px - 2rem);
2225 .logged-in header .container {
2229 .logged-in header .container .btn-con {
2234 .logged-in header .container .btn-con #xhr_poll_status {
2235 display: inline-block
;
2238 .logged-in header .container .btn-con .logout {
2239 background-color: #354057;
2242 .logged-in header .container .btn-con .logout a {
2244 text-decoration: none
;
2247 .logged-in
.logoImg
,
2248 .login-info .logoImg {
2252 .logged-in .main-right {
2258 .logged-in .main-right .container {
2259 margin: 5rem 1rem 1rem;
2262 /* rosy file server */
2263 .login-info.node-main-login{
2264 background-color: #ebf1f6;
2267 .login-info
.node-main-login header
.container
,
2268 .login-info.node-main-login .main {
2272 .login-info.node-main-login .main {
2276 .login-info.node-main-login header {
2280 .login-info.node-main-login header .container {
2281 margin: 1rem auto
0;
2283 background-color: #fff;
2284 border: 1px solid
#ddd;
2285 border-radius: 50px;
2289 .login-info.node-main-login .label.logout {
2290 background-color: #f24b7c;
2293 .login-info.node-main-login .label.logout a {
2295 text-decoration: none
;
2298 /* node main login */
2305 .login-info .main-left {
2309 .login-info .main-right {
2313 /* fix status overview */
2314 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
2315 white-space: normal
;
2318 /* fix status processes */
2319 .node-status-processes > .main .table .tr .td:nth-child(3) {
2320 white-space: normal
;
2323 .node-admin-status form {
2324 margin: 2rem 2rem 0 0;
2327 /* fix system reboot */
2328 [data-page
="admin-system-reboot"] p
{
2332 /* fix network diagnostics */
2333 .lang_enDiagnostics
.tr
.td
,
2334 .lang_enLoad
.tr
.td
,
2335 .lang_enTraffic
.node-admin-status
.tr
.td
,
2336 .lang_enWireless
.tr
.td
,
2337 .lang_enConnections .tr .td {
2341 [data-page
="admin-system-reboot"] p
> span
{
2347 .lang_enInterfaces .ifacebox-body {
2349 border-style: solid
;
2353 #cbi-samba .cbi-value-last
.cbi-value-field
{
2357 #cbi-samba .cbi-value-last
.cbi-value-title
{
2359 padding-bottom: .6rem;
2363 .controls > * > .btn:not([aria-label$="page"]) {
2364 flex-grow: initial
!important
;
2368 .controls > #pager > .btn[aria-label$="page"] {
2372 .controls > * > label {
2373 margin-bottom: .2rem;
2376 [data-page
="admin-system-opkg"] div
.btn
{
2379 padding: .3rem .6rem;
2382 [data-page^
="admin-system-admin"]:not
(.login
) .cbi-map:not
(#cbi-dropbear
),
2383 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2388 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2390 margin-bottom: 1rem;
2395 white-space: normal
!important
;
2396 word-break: break-word
;
2399 .cbi-tabmenu + .cbi-section {
2401 border: 1px solid
#d4d4d4;
2405 /* wireless overview */
2406 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2409 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2413 border-top: thin solid
#ddd !important
;
2416 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2417 border-radius: 20px 20px 0 0;
2420 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
,
2421 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
.td
{
2422 border-radius: 0 0 20px 20px;
2426 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
.th:first-child
{
2427 border-top-left-radius: 20px;
2430 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
.th:last-child
{
2431 border-top-right-radius: 20px;
2434 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2435 border-bottom: thin solid
#ddd;
2438 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2444 font-family: inherit
;
2445 font-weight: normal
;
2451 border: 1px solid
#d4d4d4;
2453 background-color: #fff;
2457 #cbi-firewall-redirect table
*,
2458 #cbi-network-switch_vlan table
*,
2459 #cbi-firewall-zone table
* {
2463 #cbi-firewall-redirect table input
[type
="text"],
2464 #cbi-network-switch_vlan table input
[type
="text"],
2465 #cbi-firewall-zone table input
[type
="text"] {
2469 #cbi-firewall-redirect table select
,
2470 #cbi-network-switch_vlan table select
,
2471 #cbi-firewall-zone table select
{
2475 #cbi-network-switch_vlan .th
,
2476 #cbi-network-switch_vlan .td
{
2480 #cbi-firewall-zone .table
{
2484 #cbi-network-switch_vlan #vlan_table
{
2488 #cbi-firewall-zone .td
.cbi-section-actions
{
2492 /* applyreboot fix */
2493 #applyreboot-container {
2497 #applyreboot-section {
2502 /* openvpn bug fix */
2504 line-height: initial
!important
;
2507 /* custom commands */
2509 width: 24% !important
;
2510 padding: .5rem 1rem;
2511 border-bottom: thin solid
#ccc;
2516 line-height: normal
!important
;
2518 margin: 6px 0 !important
;
2519 white-space: nowrap
;
2520 text-overflow: ellipsis
;
2524 left: auto
!important
;
2536 text-overflow: ellipsis
;
2539 .commandbox p:first-of-type {
2543 .commandbox p:nth-of-type(2) {
2547 [data-page^
="admin-system-commands"] .panel-title
,
2548 [data-page^
="command-cfg"] .mobile-hide
,
2549 [data-page^
="command-cfg"] header
.container
> #logo
{
2557 @media screen and
(max-width: 1600px) {
2558 header
.container
> #logo
{
2559 margin: 0 2.5rem 0 .5rem;
2562 .cbi-dynlist > .item {
2569 padding: .3rem .6rem;
2573 padding: .2rem .6rem;
2578 padding-right: .6rem;
2586 .cbi-input-textarea {
2590 .node-admin-status > .main fieldset li > a {
2591 padding: .3rem .6rem;
2594 #cbi-firewall-zone > .table
{
2599 @media screen and
(max-width: 1400px) {
2601 width: calc
(100% - 230px - 2rem);
2603 .logged-in .main-right {
2604 width: calc
(100% - 230px);
2607 .cbi-dynlist > .item {
2611 .cbi-tabmenu
> li
> a
,
2613 padding: .2rem .5rem;
2618 padding-bottom: 1rem;
2622 font-size: .7rem !important
;
2623 width: 100% !important
;
2626 .table .cbi-input-text {
2630 .main
.main-left
> .nav
> li
,
2631 .main
.main-left
> .nav
> li a
,
2632 .main .main-left > .nav > .slide > .menu {
2636 .main .main-left > .nav > .slide > .slide-menu > li > a {
2640 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2644 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2645 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2646 [data-page
="admin-network-hosts"] .table
{
2647 overflow-y: visible
;
2651 width: 32% !important
;
2655 @media screen and
(max-width: 992px) {
2656 .login-info
.node-main-login header
.container
,
2657 .login-info.node-main-login .main {
2662 @media screen and
(max-width: 992px) {
2663 .login .main-right {
2664 background: #354057;
2667 .login > .main #maincontent {
2672 width: calc
(100% - 2rem);
2676 .logged-in header .container .btn-con {
2681 .logged-in .main-left {
2690 background-color: rgba
(0, 0, 0, .3);
2693 .logged-in .main-left .nav-container {
2702 .logged-in .main-left .nav-container .navbar-container {
2706 .logged-in .main-right {
2710 [data-page^
="command-cfg"] header
.container
> .brand
{
2712 margin-top: -1.75rem;
2715 .cbi-dynlist > .item {
2720 display: inline-block
;
2725 .login-info.node-main-login header .showSide {
2731 display: inline-block
;
2734 background: url
(./menu-logo
.png
) no-repeat center center
/ 100%;
2735 vertical-align: middle
;
2738 .login > .main .cbi-value-title {
2744 padding-right: 1rem;
2747 #diag-rc-output > pre
,
2748 #command-rc-output > pre
{
2762 flex-direction: row
;
2766 .Overview .table[width="100%"] > .tr {
2771 border-bottom: thin solid
#ddd;
2774 .tr
.placeholder
> .td
,
2775 #cbi-firewall .tr
> .td
,
2776 #iptables .tr:nth-child
(2) > .td
,
2777 #cbi-network .tr:nth-child
(2) > .td
,
2778 .cbi-section #wifi_assoclist_table .tr > .td {
2784 display: inline-block
;
2785 align-self: flex-start
;
2787 text-overflow: ellipsis
;
2788 word-wrap: break-word
;
2792 .td input[type="text"] {
2797 .td
[data-dynlist
] > input
,
2798 .td input.cbi-input-password {
2799 width: calc
(100% - 1.5rem);
2802 .td
[data-type
="button"],
2803 .td[data-type="fvalue"] {
2808 .th
.cbi-value-field
,
2809 .td
.cbi-value-field
,
2810 .th
.cbi-section-table-cell
,
2811 .td.cbi-section-table-cell {
2816 .cbi-section-table-row {
2818 flex-direction: row
;
2820 justify-content: space-between
;
2823 .td
.cbi-value-field
,
2824 .cbi-section-table-cell {
2825 display: inline-block
;
2831 .td.cbi-section-actions {
2832 vertical-align: bottom
;
2836 .tr
.cbi-section-table-titles
,
2837 .tr.cbi-section-table-descr {
2841 .tr
[data-title
]::before
,
2842 .tr.cbi-section-table-titles.named::before {
2846 border-bottom: thin solid rgba
(0, 0, 0, .26);
2847 background: #90c0e0;
2851 [data-page^
="admin-status-realtime"] .td
[id
] {
2855 .td[data-title]::before {
2859 .cbi-button + .cbi-button {
2863 .td
.cbi-section-actions
> * > *,
2864 .td.cbi-section-actions > * > form > * {
2869 font-family: inherit
;
2870 font-weight: normal
;
2872 line-height: normal
;
2873 position: static
!important
;
2879 background-color: #fff;
2882 .Firewall form input {
2883 width: 100% !important
;
2889 .Firewall .center::before {
2890 text-align: left
!important
;
2894 width: 100% !important
;
2897 /* The scroll bar of the navigation bar is compatible with each browser. */
2899 .logged-in .main-left .navbar-container::-webkit-scrollbar {
2901 background: transparent
;
2904 .logged-in .main-left .navbar-container::-webkit-scrollbar-button {
2908 .logged-in .main-left .navbar-container::-webkit-scrollbar-thumb {
2909 background-color: #ffffff61;
2910 border-radius: 10px;
2913 .logged-in .main-left .navbar-container::-webkit-scrollbar-thumb {
2914 background-color: #839dd67a;
2915 border-radius: 10px;
2918 .logged-in .main-left .navbar-container:hover::-webkit-scrollbar-thumb {
2919 background-color: #839dd67a;
2923 .logged-in .main-left .navbar-container {
2924 scrollbar-track-color: transparent
;
2925 scrollbar-face-color: #839dd67a;
2926 scrollbar-arrow-color: transparent
;
2927 scrollbar-3dlight-color: transparent
;
2928 scrollbar-highlight-color: transparent
;
2929 scrollbar-shadow-color: transparent
;
2930 scrollbar-darkshadow-color: transparent
;
2931 scrollbar-base-color: transparent
;
2934 .logged-in .main-left .navbar-container:hover {
2935 scrollbar-face-color: #839dd67a;
2938 .login-info
.node-main-login header
.container
,
2939 .login-info.node-main-login .main {
2944 @media screen and
(max-width: 768px) {
2945 .login-info.node-main-login header {
2949 .login-info
.node-main-login header
.container
,
2950 .login-info.node-main-login .main {
2955 @media screen and
(max-width: 600px) {
2960 .cbi-progressbar::after {
2971 .main-left .nav-container {
2975 .main .main-left > .nav > .slide > .menu {
2979 .main .main-left > .nav > .slide > .slide-menu > li > a {
2986 min-width: 0 !important
;
2988 margin-bottom: .5rem;
2993 .cbi-value-description {
2997 .cbi-value > .cbi-value-field {
2998 display: inline-block
;
3006 .cbi-tabmenu
> li
> a
,
3009 padding: .2rem .3rem;
3012 .cbi-page-actions > div > input {
3016 .cbi-page-actions > .cbi-button {
3020 .login > .main .cbi-value {
3024 .login > .main form > div:nth-last-child(1) {
3028 .login > .main .cbi-value-title {
3030 width: 100% !important
;
3033 .login > .main fieldset {
3038 .commandbox p:first-of-type {
3042 #diag-rc-output > pre
,
3043 #command-rc-output > pre
{
3066 padding-bottom: 1rem;
3069 .node-system-packages > .main .cbi-value.cbi-value-last > div {
3070 width: 100% !important
;
3073 .node-system-packages > .main .cbi-value .cbi-value-field input {
3082 .td.cbi-value-field {
3086 .td
.cbi-value-field
[data-type
="button"],
3087 .td.cbi-value-field[data-type="fvalue"] {
3092 .tr
[data-title
]::before
,
3093 .tr.cbi-section-table-titles.named::before {
3107 .hide-xs:not([data-title="MAC-Address"]) {
3116 @media screen and
(min-width: 1152px) {
3117 .cbi-value input
[type
="password"],
3118 .cbi-value input[type="text"] {
3122 .cbi-value-field .cbi-input-select {
3126 .cbi-value-field .cbi-dropdown {
3130 .cbi-section-node .tr {
3135 @media screen and
(min-width: 1366px) {
3136 .cbi-value input
[type
="password"],
3137 .cbi-value input[type="text"] {
3141 .cbi-value-field .cbi-input-select {
3145 .cbi-value-field .cbi-dropdown {
3150 @media screen and
(min-width: 1600px) {
3151 .cbi-value input
[type
="password"],
3152 .cbi-value input[type="text"] {
3156 .cbi-value-field .cbi-input-select {
3160 .cbi-value-field .cbi-dropdown {