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 body
.modal-overlay-active #modal_overlay
{
1466 padding-left: 32px !important
;
1476 background: url
(../resources/icons/loading.gif) no-repeat center
;
1477 background-size: 16px;
1487 text-align: left
!important
;
1492 text-align: right
!important
;
1497 text-align: center
!important
;
1501 align-self: flex-start
!important
;
1502 vertical-align: top
!important
;
1506 align-self: flex-end
!important
;
1507 vertical-align: bottom
!important
;
1519 .cbi-page-actions > form[method="post"] {
1520 display: inline-block
;
1524 .cbi-value input
[type
="password"],
1525 .cbi-value input[type="text"] {
1530 .cbi-value-field
.cbi-dropdown
,
1531 .cbi-value-field .cbi-input-select {
1535 .cbi-value-field .cbi-input-invalid {
1537 border-bottom-color: #f00;
1546 background: #a9cad4;
1548 border-radius: 20px;
1552 .cbi-progressbar > div {
1555 background: #468ea4;
1556 border-radius: 20px;
1559 .cbi-progressbar::after {
1560 font-family: monospace
;
1562 font-size-adjust: .38;
1563 line-height: normal
;
1569 content: attr
(title
);
1572 transform: translateY
(-50%);
1575 .th
[data-type
="button"],
1576 .td
[data-type
="button"],
1577 .th
[data-type
="fvalue"],
1578 .td[data-type="fvalue"] {
1584 display: inline-flex
;
1585 padding: .5rem .8rem;
1587 border-radius: 20px;
1593 background-color: #d4d4d4;
1594 border-radius: 20px;
1599 display: inline-block
;
1600 align-self: flex-start
;
1604 .ifacebadge > img + img {
1605 margin: 0 .2rem 0 0;
1608 .network-status-table {
1613 .network-status-table .ifacebox {
1616 border-radius: 20px;
1620 .network-status-table .ifacebox-body {
1622 flex-direction: column
;
1624 background: #f5f5f5;
1627 .network-status-table .ifacebox-body > span {
1632 .network-status-table .ifacebox-body > div {
1637 .network-status-table .ifacebox-body .ifacebadge {
1638 align-items: center
;
1641 margin: .5em .25em 0 .25em;
1643 background-color: #fff;
1644 border-radius: 20px;
1648 .cbi-input-textarea {
1649 font-family: monospace
;
1660 margin-bottom: 20px;
1665 border-radius: 20px;
1666 background-color: #fff;
1673 /* config changes */
1675 font-family: monospace
;
1678 .uci-change-list ins
,
1679 .uci-change-legend-label ins {
1682 text-decoration: none
;
1683 border: thin solid
#0f0;
1684 background-color: #cfc;
1687 .uci-change-list del
,
1688 .uci-change-legend-label del {
1692 text-decoration: none
;
1693 border: thin solid
#f00;
1694 background-color: #fcc;
1697 .uci-change-list var
,
1698 .uci-change-legend-label var {
1702 text-decoration: none
;
1703 border: thin solid
#ccc;
1704 background-color: #eee;
1707 .uci-change-list var ins
,
1708 .uci-change-list var del {
1715 .uci-change-legend {
1719 .uci-change-legend-label {
1724 .uci-change-legend-label
> ins
,
1725 .uci-change-legend-label
> del
,
1726 .uci-change-legend-label > var {
1734 .uci-change-legend-label var ins
,
1735 .uci-change-legend-label var del {
1740 .uci-change-list var
,
1741 .uci-change-list del
,
1742 .uci-change-list ins {
1750 border: 1px solid
#d4d4d4 !important
;
1751 border-radius: 20px;
1754 .lang_enTraffic #bwsvg
,
1755 .lang_enWireless #iwsvg {
1756 border: 1px solid
#d4d4d4 !important
;
1757 border-radius: 0 0 20px 20px;
1761 [data-page
="admin-status-realtime-bandwidth"] #bwsvg
{
1762 border-top: 0 !important
;
1767 display: inline-flex
;
1768 flex-direction: column
;
1770 background-color: #f9f9f9;
1771 border-radius: 10px;
1779 border-radius: 10px 10px 0 0;
1786 .ifacebox-head.active {
1787 background: #5bc0de;
1792 border-radius: 0 0 10px 10px;
1800 display: inline-block
;
1801 padding: .2rem .5rem;
1802 border-radius: 20px;
1805 .zonebadge .ifacebadge {
1806 margin: .1rem .2rem;
1807 padding: .2rem .3rem;
1808 border: thin solid
#6c6c6c;
1812 .zonebadge > input[type="text"] {
1815 padding: .16rem 1rem;
1819 .zonebadge > strong {
1820 display: inline-block
;
1824 .cbi-value-field
.cbi-input-checkbox
,
1825 .cbi-value-field .cbi-input-radio {
1829 .cbi-value-field > ul > li {
1833 .cbi-value-field > ul > li > label {
1837 .cbi-value-field > ul > li .ifacebadge {
1840 background-color: #eee;
1843 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1847 .cbi-section-create {
1848 display: inline-flex
;
1849 align-items: center
;
1853 .cbi-section-create > * {
1857 .cbi-section-remove {
1862 td
.cbi-value-field var
,
1863 .td.cbi-value-field var {
1870 line-height: 1.42857143;
1871 white-space: normal
;
1877 display: inline-block
;
1879 padding: .2rem .3rem;
1883 padding: 1rem 1rem 0 1rem;
1884 border-top: thin solid
#ccc;
1887 .cbi-dropdown-container {
1891 .cbi-tooltip-container
,
1893 span
[data-tooltip
] .label
{
1894 cursor: help
!important
;
1902 transition: opacity
.25s ease-out
;
1904 pointer-events: none
;
1910 .cbi-tooltip-container:hover .cbi-tooltip {
1912 transition: opacity
.25s ease-in
;
1917 .zonebadge .cbi-tooltip {
1918 margin: -1.5rem 0 0 -.5rem;
1920 background: inherit
;
1925 background: repeating-linear-gradient
(
1927 rgba
(204, 204, 204, .5),
1928 rgba
(204, 204, 204, .5) 5px,
1929 rgba
(255, 255, 255, .5) 5px,
1930 rgba
(255, 255, 255, .5) 10px
1939 .zone-forwards > * {
1943 .zone-forwards > span {
1949 .zone-forwards
.zone-src
,
1950 .zone-forwards .zone-dest {
1952 flex-direction: column
;
1957 padding: .3rem .8rem;
1958 white-space: nowrap
;
1959 text-decoration: none
;
1960 color: #fff !important
;
1961 -moz-border-radius: 3px;
1962 border-radius: 20px;
1963 background-color: #bfbfbf;
1966 label
> input
[type
="checkbox"],
1967 label
> input
[type
="radio"] {
1972 vertical-align: bottom
;
1986 background-color: rgba
(0, 0, 0, .56);
1990 #diag-rc-output > pre
,
1991 #command-rc-output > pre
{
1993 font-size-adjust: .35;
1994 line-height: normal
;
2000 background-color: #101010;
2003 [data-page
="admin-network-diagnostics"] .table
{
2008 input
[name
="traceroute"],
2009 input
[name
="nslookup"] {
2013 /* fix Main Login 登录界面*/
2014 .login .main-right {
2015 background: url
(./loginBG.png) no-repeat center center
/ cover
;
2028 .login > .main .main-left {
2036 text-decoration: none
;
2039 .login > .main .cbi-value-title {
2043 .login > .main #maincontent {
2045 padding-bottom: 20px;
2046 display: inline-block
;
2047 background-color: transparent
;
2053 .login > .main .container {
2055 margin-top: 2rem !important
;
2059 .login .main-right .container .alert-message {
2062 background-color: #4a5368 !important
;
2063 border: 1px solid
#3e4a62;
2064 border-radius: 20px;
2067 .login .alert-message > h4 {
2068 padding: 7px 0 0 32px;
2070 background: url
(./no-pwd
.png
) no-repeat left
0 / 28px;
2071 display: inline-block
;
2074 .login .alert-message > p {
2079 .login .alert-message > * {
2083 .login .main-right .container .alert-message .btn {
2084 border: 1px solid
#fff;
2085 background-color: transparent
;
2087 border-radius: 20px;
2092 .login > .main form h2 {
2099 .login > .main form .cbi-map-descr {
2100 margin-bottom: 17px;
2104 .login > .main form > .cbi-page-actions {
2109 .login > .main form > .cbi-page-actions .cbi-button {
2111 width: 50% !important
;
2116 .login > .main form > .cbi-page-actions .cbi-button-apply {
2117 border-radius: 25px 0 0 25px;
2120 .login > .main form > .cbi-page-actions .cbi-button-reset {
2121 border-radius: 0 25px 25px 0;
2124 .login > .main .cbi-value {
2130 .login > .main .cbi-value > .cbi-value-field {
2135 .login > .main .cbi-value-last .cbi-value-field > div {
2138 display: inline-block
;
2139 background: url
(./op-eye
.png
) no-repeat center center
/ cover
;
2145 .login > .main .cbi-value-last .cbi-value-field.op-eye > div {
2146 background-image: url
(./cl-eye
.png
);
2149 .login > .main .cbi-value .cbi-input-text {
2154 border: 1px solid
#556270;
2155 border-radius: 20px;
2156 background: #fff no-repeat
11px center
/ 19px;
2159 .login > .main .cbi-value .cbi-input-text {
2160 background-image: url
(./user.png);
2163 .login > .main .cbi-value-last .cbi-input-text {
2164 background-image: url
(./pwd.png);
2167 .login .cbi-section {
2170 background-color: transparent
;
2173 .login
.cbi-page-actions
.cbi-button-apply
,
2174 .login .cbi-button-apply {
2175 border: 1px solid
#f24b7c;
2176 background-color: #f24b7c;
2179 .login .cbi-button[value="Reset"] {
2181 border: 1px solid
#9a4569;
2182 background-color: #9a4569;
2189 @media screen and
(min-height: 585px) {
2201 background-color: #ebf1f6;
2209 border: 1px solid
#ddd;
2210 background-color: #fff;
2211 border-radius: 20px;
2212 width: calc
(85% - 20px - 2rem);
2219 .logged-in header .container {
2223 .logged-in header .container .btn-con {
2228 .logged-in header .container .btn-con #xhr_poll_status {
2229 display: inline-block
;
2232 .logged-in header .container .btn-con .logout {
2233 background-color: #354057;
2236 .logged-in header .container .btn-con .logout a {
2238 text-decoration: none
;
2241 .logged-in
.logoImg
,
2242 .login-info .logoImg {
2246 .logged-in .main-right {
2252 .logged-in .main-right .container {
2253 margin: 5rem 1rem 1rem;
2256 /* node main login */
2263 .login-info .main-left {
2267 .login-info .main-right {
2271 /* fix status overview */
2272 .node-status-overview > .main fieldset:nth-child(4) .td:nth-child(2) {
2273 white-space: normal
;
2276 /* fix status processes */
2277 .node-status-processes > .main .table .tr .td:nth-child(3) {
2278 white-space: normal
;
2281 .node-admin-status form {
2282 margin: 2rem 2rem 0 0;
2285 /* fix system reboot */
2286 [data-page
="admin-system-reboot"] p
{
2290 /* fix network diagnostics */
2291 .lang_enDiagnostics
.tr
.td
,
2292 .lang_enLoad
.tr
.td
,
2293 .lang_enTraffic
.node-admin-status
.tr
.td
,
2294 .lang_enWireless
.tr
.td
,
2295 .lang_enConnections .tr .td {
2299 [data-page
="admin-system-reboot"] p
> span
{
2305 .lang_enInterfaces .ifacebox-body {
2307 border-style: solid
;
2311 #cbi-samba .cbi-value-last
.cbi-value-field
{
2315 #cbi-samba .cbi-value-last
.cbi-value-title
{
2317 padding-bottom: .6rem;
2321 .controls > * > .btn:not([aria-label$="page"]) {
2322 flex-grow: initial
!important
;
2326 .controls > #pager > .btn[aria-label$="page"] {
2330 .controls > * > label {
2331 margin-bottom: .2rem;
2334 [data-page
="admin-system-opkg"] div
.btn
{
2337 padding: .3rem .6rem;
2340 [data-page^
="admin-system-admin"]:not
(.login
) .cbi-map:not
(#cbi-dropbear
),
2341 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2346 [data-page
="admin-system-opkg"] #maincontent
> .container
{
2348 margin-bottom: 1rem;
2353 white-space: normal
!important
;
2354 word-break: break-word
;
2357 .cbi-tabmenu + .cbi-section {
2359 border: 1px solid
#d4d4d4;
2363 /* wireless overview */
2364 #cbi-wireless > #wifi_assoclist_table
> .tr
{
2367 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
> .td
{
2371 border-top: thin solid
#ddd !important
;
2374 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
{
2375 border-radius: 20px 20px 0 0;
2378 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
,
2379 #cbi-wireless > #wifi_assoclist_table
> .tr
.placeholder
.td
{
2380 border-radius: 0 0 20px 20px;
2384 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
.th:first-child
{
2385 border-top-left-radius: 20px;
2388 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
.th:last-child
{
2389 border-top-right-radius: 20px;
2392 #cbi-wireless > #wifi_assoclist_table
> .tr
.table-titles
> .th
{
2393 border-bottom: thin solid
#ddd;
2396 #wifi_assoclist_table > .tr
> .td
[data-title
="RX Rate / TX Rate"] {
2402 font-family: inherit
;
2403 font-weight: normal
;
2409 border: 1px solid
#d4d4d4;
2411 background-color: #fff;
2415 #cbi-firewall-redirect table
*,
2416 #cbi-network-switch_vlan table
*,
2417 #cbi-firewall-zone table
* {
2421 #cbi-firewall-redirect table input
[type
="text"],
2422 #cbi-network-switch_vlan table input
[type
="text"],
2423 #cbi-firewall-zone table input
[type
="text"] {
2427 #cbi-firewall-redirect table select
,
2428 #cbi-network-switch_vlan table select
,
2429 #cbi-firewall-zone table select
{
2433 #cbi-network-switch_vlan .th
,
2434 #cbi-network-switch_vlan .td
{
2438 #cbi-firewall-zone .table
,
2439 #cbi-network-switch_vlan .table
{
2443 #cbi-firewall-zone .td
.cbi-section-actions
{
2447 /* applyreboot fix */
2448 #applyreboot-container {
2452 #applyreboot-section {
2457 /* openvpn bug fix */
2459 line-height: initial
!important
;
2462 /* custom commands */
2464 width: 24% !important
;
2465 padding: .5rem 1rem;
2466 border-bottom: thin solid
#ccc;
2471 line-height: normal
!important
;
2473 margin: 6px 0 !important
;
2474 white-space: nowrap
;
2475 text-overflow: ellipsis
;
2479 left: auto
!important
;
2491 text-overflow: ellipsis
;
2494 .commandbox p:first-of-type {
2498 .commandbox p:nth-of-type(2) {
2502 [data-page^
="admin-system-commands"] .panel-title
,
2503 [data-page^
="command-cfg"] .mobile-hide
,
2504 [data-page^
="command-cfg"] header
.container
> #logo
{
2512 @media screen and
(max-width: 1600px) {
2513 header
.container
> #logo
{
2514 margin: 0 2.5rem 0 .5rem;
2517 .cbi-dynlist > .item {
2524 padding: .3rem .6rem;
2528 padding: .2rem .6rem;
2533 padding-right: .6rem;
2541 .cbi-input-textarea {
2545 .node-admin-status > .main fieldset li > a {
2546 padding: .3rem .6rem;
2549 #cbi-firewall-zone > .table
{
2554 @media screen and
(max-width: 1400px) {
2556 width: calc
(100% - 230px - 2rem);
2558 .logged-in .main-right {
2559 width: calc
(100% - 230px);
2562 .cbi-dynlist > .item {
2566 .cbi-tabmenu
> li
> a
,
2568 padding: .2rem .5rem;
2573 padding-bottom: 1rem;
2577 font-size: .7rem !important
;
2578 width: 100% !important
;
2581 .table .cbi-input-text {
2585 .main
.main-left
> .nav
> li
,
2586 .main
.main-left
> .nav
> li a
,
2587 .main .main-left > .nav > .slide > .menu {
2591 .main .main-left > .nav > .slide > .slide-menu > li > a {
2599 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
) {
2603 [data-page
="admin-network-firewall-forwards"] .table:not
(.cbi-section-table
),
2604 [data-page
="admin-network-firewall-rules"] .table:not
(.cbi-section-table
),
2605 [data-page
="admin-network-hosts"] .table
{
2606 overflow-y: visible
;
2610 width: 32% !important
;
2614 @media screen and
(max-width: 992px) {
2615 .login .main-right {
2616 background: #354057;
2619 .login > .main #maincontent {
2624 width: calc
(100% - 2rem);
2628 .logged-in header .container .btn-con {
2633 .logged-in .main-left {
2642 background-color: rgba
(0, 0, 0, .3);
2645 .logged-in .main-left .nav-container {
2654 .logged-in .main-left .nav-container .navbar-container {
2658 .logged-in .main-right {
2662 [data-page^
="command-cfg"] header
.container
> .brand
{
2664 margin-top: -1.75rem;
2667 .cbi-dynlist > .item {
2672 display: inline-block
;
2679 display: inline-block
;
2682 background: url
(./menu-logo
.png
) no-repeat center center
/ 100%;
2683 vertical-align: middle
;
2686 .login > .main .cbi-value-title {
2692 padding-right: 1rem;
2695 #diag-rc-output > pre
,
2696 #command-rc-output > pre
{
2710 flex-direction: row
;
2714 .Overview .table[width="100%"] > .tr {
2719 border-bottom: thin solid
#ddd;
2722 .tr
.placeholder
> .td
,
2723 #cbi-firewall .tr
> .td
,
2724 #iptables .tr:nth-child
(2) > .td
,
2725 #cbi-network .tr:nth-child
(2) > .td
,
2726 .cbi-section #wifi_assoclist_table .tr > .td {
2732 display: inline-block
;
2733 align-self: flex-start
;
2735 text-overflow: ellipsis
;
2736 word-wrap: break-word
;
2740 .td input[type="text"] {
2745 .td
[data-dynlist
] > input
,
2746 .td input.cbi-input-password {
2747 width: calc
(100% - 1.5rem);
2750 .td
[data-type
="button"],
2751 .td[data-type="fvalue"] {
2756 .th
.cbi-value-field
,
2757 .td
.cbi-value-field
,
2758 .th
.cbi-section-table-cell
,
2759 .td.cbi-section-table-cell {
2764 .cbi-section-table-row {
2766 flex-direction: row
;
2768 justify-content: space-between
;
2771 .td
.cbi-value-field
,
2772 .cbi-section-table-cell {
2773 display: inline-block
;
2779 .td.cbi-section-actions {
2780 vertical-align: bottom
;
2784 .tr
.cbi-section-table-titles
,
2785 .tr.cbi-section-table-descr {
2789 .tr
[data-title
]::before
,
2790 .tr.cbi-section-table-titles.named::before {
2794 border-bottom: thin solid rgba
(0, 0, 0, .26);
2795 background: #90c0e0;
2799 [data-page^
="admin-status-realtime"] .td
[id
] {
2803 .td[data-title]::before {
2807 .cbi-button + .cbi-button {
2811 .td
.cbi-section-actions
> * > *,
2812 .td.cbi-section-actions > * > form > * {
2817 font-family: inherit
;
2818 font-weight: normal
;
2820 line-height: normal
;
2821 position: static
!important
;
2827 background-color: #fff;
2830 .Firewall form input {
2831 width: 100% !important
;
2837 .Firewall .center::before {
2838 text-align: left
!important
;
2842 width: 100% !important
;
2845 /* The scroll bar of the navigation bar is compatible with each browser. */
2847 .logged-in .main-left .navbar-container::-webkit-scrollbar {
2849 background: transparent
;
2852 .logged-in .main-left .navbar-container::-webkit-scrollbar-button {
2856 .logged-in .main-left .navbar-container::-webkit-scrollbar-thumb {
2857 background-color: #ffffff61;
2858 border-radius: 10px;
2861 .logged-in .main-left .navbar-container::-webkit-scrollbar-thumb {
2862 background-color: #839dd67a;
2863 border-radius: 10px;
2866 .logged-in .main-left .navbar-container:hover::-webkit-scrollbar-thumb {
2867 background-color: #839dd67a;
2871 .logged-in .main-left .navbar-container {
2872 scrollbar-track-color: transparent
;
2873 scrollbar-face-color: #839dd67a;
2874 scrollbar-arrow-color: transparent
;
2875 scrollbar-3dlight-color: transparent
;
2876 scrollbar-highlight-color: transparent
;
2877 scrollbar-shadow-color: transparent
;
2878 scrollbar-darkshadow-color: transparent
;
2879 scrollbar-base-color: transparent
;
2882 .logged-in .main-left .navbar-container:hover {
2883 scrollbar-face-color: #839dd67a;
2887 @media screen and
(max-width: 600px) {
2892 .cbi-progressbar::after {
2907 .main-left .nav-container {
2911 .main .main-left > .nav > .slide > .menu {
2915 .main .main-left > .nav > .slide > .slide-menu > li > a {
2922 min-width: 0 !important
;
2924 margin-bottom: .5rem;
2929 .cbi-value-description {
2933 .cbi-value > .cbi-value-field {
2934 display: inline-block
;
2942 .cbi-tabmenu
> li
> a
,
2945 padding: .2rem .3rem;
2948 .cbi-page-actions > div > input {
2952 .cbi-page-actions > .cbi-button {
2956 .login > .main .cbi-value {
2960 .login > .main form > div:nth-last-child(1) {
2964 .login > .main .cbi-value-title {
2966 width: 100% !important
;
2969 .login > .main fieldset {
2974 .commandbox p:first-of-type {
2978 #diag-rc-output > pre
,
2979 #command-rc-output > pre
{
3002 padding-bottom: 1rem;
3005 .node-system-packages > .main .cbi-value.cbi-value-last > div {
3006 width: 100% !important
;
3009 .node-system-packages > .main .cbi-value .cbi-value-field input {
3018 .td.cbi-value-field {
3022 .td
.cbi-value-field
[data-type
="button"],
3023 .td.cbi-value-field[data-type="fvalue"] {
3028 .tr
[data-title
]::before
,
3029 .tr.cbi-section-table-titles.named::before {
3043 .hide-xs:not([data-title="MAC-Address"]) {
3052 @media screen and
(min-width: 1152px) {
3053 .cbi-value input
[type
="password"],
3054 .cbi-value input[type="text"] {
3058 .cbi-value-field .cbi-input-select {
3062 .cbi-value-field .cbi-dropdown {
3066 .cbi-section-node .tr {
3071 @media screen and
(min-width: 1366px) {
3072 .cbi-value input
[type
="password"],
3073 .cbi-value input[type="text"] {
3077 .cbi-value-field .cbi-input-select {
3081 .cbi-value-field .cbi-dropdown {
3086 @media screen and
(min-width: 1600px) {
3087 .cbi-value input
[type
="password"],
3088 .cbi-value input[type="text"] {
3092 .cbi-value-field .cbi-input-select {
3096 .cbi-value-field .cbi-dropdown {