2 * Rosy is a theme for LuCI. It is based on luci-theme-bootstrap
5 * Copyright 2018 Rosy Song <rosysong@rosinson.com>
6 * Copyright 2018 Yan Lan Shen <yanlan.shen@rosinson.com>
8 * Have a bug? Please create an issue here on GitHub!
9 * https://github.com/rosywrt/luci-theme-rosy/issues
11 * luci-theme-bootstrap:
12 * Copyright 2008 Steven Barth <steven@midlink.org>
13 * Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
14 * Copyright 2012 David Menting <david@nut-bolt.nl>
16 * Licensed to the public under the Apache License 2.0
20 font-family: 'icomoon';
21 src: url
('fonts/font.eot');
22 src: url
('fonts/font.eot') format
('embedded-opentype'),
23 url
('fonts/font.ttf') format
('truetype'),
24 url
('fonts/font.woff') format
('woff'),
25 url
('fonts/font.svg') format
('svg');
34 .table { display: table
; position: relative
; }
35 .tr { display: table-row
; }
36 .thead { display: table-header-group
; }
37 .tbody { display: table-row-group
; }
38 .tfoot { display: table-footer-group
; }
40 vertical-align: middle
;
52 background-color: #f9f9f9;
55 .tr.placeholder > .td {
65 .table[width="33%"], .th[width="33%"], .td[width="33%"] { width: 33%; }
66 .table[width="100%"], .th[width="100%"], .td[width="100%"] { width: 100%; }
68 .col-1 { flex: 1 1 30px !important
; -webkit-flex: 1 1 30px !important
; }
69 .col-2 { flex: 2 2 60px !important
; -webkit-flex: 2 2 60px !important
; }
70 .col-3 { flex: 3 3 90px !important
; -webkit-flex: 3 3 90px !important
; }
71 .col-4 { flex: 4 4 120px !important
; -webkit-flex: 4 4 120px !important
; }
72 .col-5 { flex: 5 5 150px !important
; -webkit-flex: 5 5 150px !important
; }
73 .col-6 { flex: 6 6 180px !important
; -webkit-flex: 6 6 180px !important
; }
74 .col-7 { flex: 7 7 210px !important
; -webkit-flex: 7 7 210px !important
; }
75 .col-8 { flex: 8 8 240px !important
; -webkit-flex: 8 8 240px !important
; }
76 .col-9 { flex: 9 9 270px !important
; -webkit-flex: 9 9 270px !important
; }
77 .col-10 { flex: 10 10 300px !important
; -webkit-flex: 10 10 300px !important
; }
82 .main > .loading > span {
83 font-family: 'icomoon' !important
;
85 font-style: normal
!important
;
86 font-weight: normal
!important
;
87 font-variant: normal
!important
;
88 text-transform: none
!important
;
91 -webkit-font-smoothing: antialiased
;
92 -moz-osx-font-smoothing: grayscale
;
98 box-sizing: border-box
;
101 .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
102 font-family: inherit
;
109 -webkit-text-size-adjust: 100%;
110 -ms-text-size-adjust: 100%;
115 background-color: #EEE;
122 font-family: sans-serif
, "Helvetica Neue", Helvetica
, Hiragino Sans GB
;
126 padding: 0.36rem 0.8rem;
128 background-color: #fff;
129 background-image: none
;
130 border: 1px solid
#ccc;
136 background-color: transparent
;
137 color: rgba
(0, 0, 0, .87);
139 border-bottom: 2px solid rgba
(0, 0, 0, .26);
144 background-image: none
;
149 select:not
([multiple
="multiple"]):focus
,
151 border-color: #0099CC;
154 select
[multiple
="multiple"] {
164 text-decoration: underline
;
176 text-decoration: none
;
185 background-color: #354057;
189 .main > .loading > span {
198 .main > .loading > span > .loading-img {
199 margin-right: 0.2rem;
200 display: inline-block
;
203 .main > .loading > span > .loading-img img {
204 vertical-align: middle
;
215 list-style-type: none
;
220 padding-bottom: 10px;
221 border-bottom: 1px solid
#eee;
228 padding-bottom: 10px;
229 border-bottom: 1px solid
#eee;
235 padding-bottom: 10px;
241 padding-bottom: 10px;
251 font-family: inherit
;
254 background-color: #FFF;
256 -webkit-overflow-scrolling: touch
;
259 .cbi-section > legend {
260 display: none
!important
;
263 .cbi-section
> h3:first-child
,
270 padding-bottom: 1rem;
280 .table
> .tbody
> .tr
> .td
,
281 .table
> .tbody
> .tr
> .th
,
282 .table
> .tfoot
> .tr
> .td
,
283 .table
> .tfoot
> .tr
> .th
,
284 .table
> .thead
> .tr
> .td
,
285 .table > .thead > .tr > .th {
287 border-top: 1px solid
#ddd;
291 .cbi-section-table-cell {
293 align-self: flex-end
;
301 .cbi-section-table-row {
307 .cbi-section-table-row:last-child {
311 .cbi-section-table-row
> .cbi-value-field
.cbi-input-select
,
312 .cbi-section-table-row
> .cbi-value-field
.cbi-input-text
,
313 .cbi-section-table-row
> .cbi-value-field
.cbi-input-password
,
314 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
318 .cbi-section-table-row
> .cbi-value-field
[data-dynlist
] > input
,
319 .cbi-section-table-row > .cbi-value-field input.cbi-input-password {
320 width: calc
(100% - 1.5rem);
323 div
> table
> tbody
> tr:nth-of-type
(2n),
324 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
325 background-color: #f9f9f9;
328 div
> table
> tbody
> tr:nth-of-type
(2n),
329 div
> .table
> .tbody
> .tr:nth-of-type
(2n) {
330 background-color: #f9f9f9;
333 .cbi-section
.table #memtotal
> div
,
334 .cbi-section
.table #memfree
> div
,
335 .cbi-section
.table #membuff
> div
,
336 .cbi-section .table #conns > div {
339 border: none
!important
;
340 background-color: #468ea485;
343 .cbi-section
.table #memtotal
> div
> div
> div
,
344 .cbi-section
.table #memfree
> div
> div
> div
,
345 .cbi-section
.table #membuff
> div
> div
> div
,
346 .cbi-section .table #conns > div > div > div {
347 color: #fff !important
;
350 .cbi-section .table .tr.table-titles {
351 background-color: #eee;
354 .cbi-section .table .cbi-section-table-titles {
355 background-color: #e0e0e0;
358 .table
.tr
.cbi-rowstyle-1:nth-child
(n
),
359 .table .tr:nth-child(n) {
360 background-color: #f9f9f9;
363 .table .tr:nth-child(2n) {
364 background-color: #fff;
367 /* fix progress bar */
374 width: 100% !important
;
375 height: 1.2rem !important
;
378 #swaptotal > div
> div
,
379 #swapfree > div
> div
,
380 #memfree > div
> div
,
381 #membuff > div
> div
,
383 #memtotal > div
> div
{
384 height: 100% !important
;
385 background-color: #468ea4 !important
;
388 /* fix multiple table */
395 .cbi-value-field table
,
396 .cbi-value-field .table {
400 td
> table
> tbody
> tr
> td
,
401 .td > .table > .tbody > .tr > .td {
405 .cbi-value-field
> table
> tbody
> tr
> td
,
406 .cbi-value-field > .table > .tbody > .tr > .td {
413 margin: 0 .8rem .5rem 0;
414 -webkit-appearance: none
;
415 text-transform: uppercase
;
416 color: rgba
(0, 0, 0, 0.87);
417 background-color: #F0F0F0;
418 transition: all
0.2s ease-in-out
;
419 display: inline-block
;
420 padding: .5rem .8rem;
424 -ms-touch-action: manipulation
;
425 touch-action: manipulation
;
426 background-image: none
;
428 vertical-align: middle
;
430 -webkit-user-select: none
;
431 -moz-user-select: none
;
432 -ms-user-select: none
;
436 display: inline-block
;
437 text-decoration: none
;
441 .cbi-button:disabled {
443 pointer-events: none
;
448 .cbi-page-actions
.cbi-button-apply
,
449 .cbi-section-actions
.cbi-button-edit
,
450 .cbi-button-edit
.important
,
451 .cbi-button-apply
.important
,
452 .cbi-button-reload
.important
,
453 .cbi-button-action.important {
455 background-color: #337ab7;
458 .cbi-page-actions
.cbi-button-save
,
459 .cbi-button-add
.important
,
460 .cbi-button-save
.important
,
461 .cbi-button-positive.important {
463 background-color: #5bc0de;
466 .cbi-button-remove
.important
,
467 .cbi-button-reset
.important
,
468 .cbi-button-negative.important {
470 background-color: #d9534f;
477 .cbi-button-neutral {
478 background-color: #468ea4;
487 background-color: #468ea4;
490 .cbi-page-actions
.cbi-button-apply
+ .cbi-button-save
,
493 .cbi-button-positive {
495 background-color: #354057;
498 .cbi-section-remove
> .cbi-button
,
501 .cbi-button-negative {
503 background-color: #F24C7C;
506 .cbi-page-actions .cbi-button-link:first-child {
511 text-decoration: none
;
517 .container
> .tabs
> li
[class
~="active"],
518 .container
> .tabs
> li:hover
,
519 .container
> .cbi-tabmenu
,
520 .container
> .cbi-tabmenu
> li
[class
~="cbi-tab"],
521 .container > .cbi-tabmenu > li:hover {
525 .container
.cbi-map
.cbi-tabmenu
,
526 .container
.cbi-map
.cbi-tabmenu
> li
[class
~="cbi-tab"],
527 .container .cbi-map .cbi-tabmenu > li:hover {
528 border-top-left-radius: 10px;
529 border-top-right-radius: 10px;
532 .container
.cbi-map
.cbi-tabmenu
,
534 .container > .cbi-tabmenu {
538 .container .cbi-map .cbi-tabmenu + div {
539 border-bottom-left-radius: 10px;
540 border-bottom-right-radius: 10px;
544 background-color: #FFFFFF;
551 display: inline-block
;
552 padding: 0.6rem 0rem;
555 .cbi-tabmenu
> li
> a
,
557 text-decoration: none
;
559 padding: 0.5rem 0.8rem;
562 .tabs
> li
[class
~="active"],
565 background-color: #0099CC;
568 .tabs
> li
[class
~="active"] > a
,
569 .tabs > li:hover > a {
574 border-top: 1px solid
#D4D4D4;
575 border-left: 1px solid
#D4D4D4;
576 border-right: 1px solid
#D4D4D4;
579 .cbi-tabmenu > li:hover {
580 background-color: #F1F1F1;
583 .cbi-tabmenu > li[class~="cbi-tab"] {
584 background-color: #fff;
588 background-color: #D4D4D4;
591 .cbi-section-remove:nth-of-type(2n){
592 background-color: #f9f9f9;
595 .cbi-section-node-tabbed {
598 border-bottom: 1px solid
#D4D4D4;
599 border-left: 1px solid
#D4D4D4;
600 border-right: 1px solid
#D4D4D4;
603 .cbi-tabcontainer > .cbi-value:nth-of-type(2n) {
604 background-color: #f9f9f9;
608 .cbi-value-description {
613 .cbi-value-helpicon > img {
617 .cbi-value-helpicon:before {
621 .cbi-value-description {
624 padding: 0.5rem 0 0 0;
628 word-wrap: break-word
;
629 padding: 0.6rem 2rem .6rem 0;
638 display: inline-block
;
642 .cbi-section-table-descr
> .cbi-section-table-cell
,
643 .cbi-section-table-titles > .cbi-section-table-cell {
647 .td[data-title]::before {
648 content: attr
(data-title
) ":\20";
656 .tr.placeholder .td[data-title]::before {
660 .tr
[data-title
]::before
,
661 .tr.cbi-section-table-titles.named::before {
662 content: attr
(data-title
) "\20";
670 word-wrap: break-word
;
671 vertical-align: middle
;
675 background-color: #f9f9f9;
679 background-color: #eee;
682 .cbi-rowstyle-2
.cbi-button-up
,
683 .cbi-rowstyle-2 .cbi-button-down {
684 background-color: #FFF !important
;
687 .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell {
688 width: auto
!important
;
691 .td.cbi-section-actions {
693 vertical-align: middle
;
696 .td.cbi-section-actions > * {
700 .td
.cbi-section-actions
> * > *,
701 .td.cbi-section-actions > * > form > * {
706 .td.cbi-section-actions > * > form {
707 display: inline-flex
;
721 display: inline-flex
;
728 .cbi-dropdown:focus {
729 outline: 2px solid
#4b6e9b;
733 margin: 0 !important
;
742 .cbi-dropdown > ul.preview {
746 .cbi-dropdown > .open {
747 border: 2px outset
#eee;
752 .cbi-dropdown
> .open
,
753 .cbi-dropdown > .more {
757 flex-direction: column
;
758 justify-content: center
;
764 .cbi-dropdown
> .more
,
765 .cbi-dropdown > ul > li[placeholder] {
768 text-shadow: 1px 1px 0px #fff;
772 .cbi-dropdown > ul > li {
777 text-overflow: ellipsis
;
785 .cbi-dropdown > ul > li .hide-open { display: initial
; }
786 .cbi-dropdown > ul > li .hide-close { display: none
; }
788 .cbi-dropdown > ul > li[display]:not([display="0"]) {
789 border-left: 1px solid
#ccc;
792 .cbi-dropdown[empty] > ul {
796 .cbi-dropdown > ul > li > form {
800 pointer-events: none
;
803 .cbi-dropdown > ul > li img {
804 vertical-align: middle
;
808 .cbi-dropdown > ul > li > form > input[type="checkbox"] {
813 .cbi-dropdown > ul > li input[type="text"] {
817 .cbi-dropdown[open] {
821 .cbi-dropdown[open] > ul.dropdown {
824 border: 1px solid
#918e8c;
832 .cbi-dropdown
> ul
> li
[display
],
833 .cbi-dropdown
[open
] > ul
.preview
,
834 .cbi-dropdown
[open
] > ul
.dropdown
> li
,
835 .cbi-dropdown
[multiple
] > ul
> li
> label
,
836 .cbi-dropdown
[multiple
][open
] > ul
.dropdown
> li
,
837 .cbi-dropdown
[multiple
][more
] > .more
,
838 .cbi-dropdown[multiple][empty] > .more {
844 .cbi-dropdown
[empty
] > ul
> li
,
845 .cbi-dropdown
[optional
][open
] > ul
.dropdown
> li
[placeholder
],
846 .cbi-dropdown[multiple][open] > ul.dropdown > li > form {
850 .cbi-dropdown[open] > ul.dropdown > li .hide-open { display: none
; }
851 .cbi-dropdown[open] > ul.dropdown > li .hide-close { display: initial
; }
853 .cbi-dropdown[open] > ul.dropdown > li {
854 border-bottom: 1px solid
#ccc;
857 .cbi-dropdown[open] > ul.dropdown > li[selected] {
861 .cbi-dropdown[open] > ul.dropdown > li.focus {
862 background: linear-gradient
(90deg, #a3c2e8 0%, #84aad9 100%);
865 .cbi-dropdown[open] > ul.dropdown > li:last-child {
870 .cbi-dropdown[disabled] {
871 pointer-events: none
;
875 .cbi-dropdown .zonebadge {
878 background-color: #468ea4 !important
;
881 .cbi-dropdown[open] .zonebadge {
892 .left, .left::before {
893 text-align: left
!important
;
896 .right, .right::before {
897 text-align: right
!important
;
900 .center, .center::before {
901 text-align: center
!important
;
905 align-self: flex-start
!important
;
906 vertical-align: top
!important
;
910 align-self: flex-end
!important
;
911 vertical-align: bottom
!important
;
919 border-top: 1px solid
#eee;
925 .cbi-value-field .cbi-dropdown {
929 .cbi-value-field .cbi-input-select {
933 .th
[data-type
="button"], .td
[data-type
="button"],
934 .th[data-type="fvalue"], .td[data-type="fvalue"] {
940 display: inline-flex
;
941 border: 1px solid
#CCCCCC;
942 padding: 0.5rem 1rem;
949 background-color: #F0F0F0;
955 display: inline-block
;
957 align-self: flex-start
;
960 .ifacebadge > img + img {
964 .network-status-table {
969 .network-status-table .ifacebox {
974 .network-status-table .ifacebox-body {
976 flex-direction: column
;
980 .network-status-table .ifacebox-body > span {
984 .network-status-table .ifacebox-body > div {
989 .network-status-table .ifacebox-body .ifacebadge {
991 margin: .5em .25em 0 .25em;
994 background-color: #fff;
1000 .cbi-input-textarea {
1005 font-family: "Helvetica Neue", Helvetica
, Arial
, sans-serif
;
1008 border-radius: 20px;
1017 margin-bottom: 20px;
1018 border-radius: 20px;
1019 background-color: #FFF;
1027 font-family: monospace
;
1030 .uci-change-list ins
,
1031 .uci-change-legend-label ins {
1032 text-decoration: none
;
1033 border: 1px solid
#00FF00;
1034 background-color: #CCFFCC;
1039 .uci-change-list del
,
1040 .uci-change-legend-label del {
1041 text-decoration: none
;
1042 border: 1px solid
#FF0000;
1043 background-color: #FFCCCC;
1049 .uci-change-list var
,
1050 .uci-change-legend-label var {
1051 text-decoration: none
;
1052 border: 1px solid
#CCCCCC;
1053 background-color: #EEEEEE;
1059 .uci-change-list var ins
,
1060 .uci-change-list var del {
1067 .uci-change-legend {
1071 .uci-change-legend-label {
1076 .uci-change-legend-label
> ins
,
1077 .uci-change-legend-label
> del
,
1078 .uci-change-legend-label > var {
1086 .uci-change-legend-label var ins
,
1087 .uci-change-legend-label var del {
1092 .uci-change-list var
,
1093 .uci-change-list del
,
1094 .uci-change-list ins {
1102 border: 1px solid
#D4D4D4 !important
;
1104 border-radius: 20px;
1108 background-color: #f9f9f9;
1109 display: inline-flex
;
1110 flex-direction: column
;
1113 border-radius: 20px;
1122 .ifacebox-head.active {
1131 margin-left: 0.5rem;
1135 padding: 0.2rem 0.5rem;
1136 display: inline-block
;
1137 border-radius: 20px;
1140 .zonebadge .ifacebadge {
1141 padding: .2rem .3rem;
1142 margin: 0.1rem 0.2rem;
1146 .zonebadge > input[type="text"] {
1147 padding: 0.16rem 1rem;
1153 .zonebadge > strong {
1155 display: inline-block
;
1158 .cbi-value-field
.cbi-input-checkbox
,
1159 .cbi-value-field .cbi-input-radio {
1164 .td
.cbi-input-checkbox
,
1165 .td .cbi-input-radio {
1169 .cbi-value-field > input + .cbi-value-description {
1173 .cbi-value-field > ul > li {
1177 .cbi-value-field > ul > li > label {
1181 .cbi-value-field > ul > li .ifacebadge {
1182 background-color: #eee;
1183 margin-left: 0.4rem;
1184 margin-top: -0.5rem;
1187 .cbi-section-table-row > .cbi-value-field .cbi-dropdown {
1191 .cbi-section-create {
1193 display: inline-flex
;
1194 align-items: center
;
1197 .cbi-section-create > * {
1201 .cbi-section-remove {
1205 div
.cbi-value var
, td
.cbi-value-field var
, .td
.cbi-value-field var
{
1212 white-space: normal
;
1213 line-height: 1.42857143;
1218 display: inline-block
;
1220 padding: 0.2rem 0.3rem;
1225 padding: 1rem 1rem 0 1rem;
1226 border-top: 1px solid
#CCC;
1229 .cbi-dropdown-container {
1233 .cbi-tooltip-container {
1242 transition: opacity
.25s ease-out
;
1243 pointer-events: none
;
1246 .cbi-tooltip-container:hover .cbi-tooltip {
1249 transition: opacity
.25s ease-in
;
1250 border-radius: 20px;
1253 .zonebadge .cbi-tooltip {
1255 background: inherit
;
1256 margin: -1.5rem 0 0 -.5rem;
1260 background: repeating-linear-gradient
(45deg,rgba
(204,204,204,0.5),rgba
(204,204,204,0.5) 5px,rgba
(255,255,255,0.5) 5px,rgba
(255,255,255,0.5) 10px);
1269 .zone-forwards > * {
1273 .zone-forwards > span {
1279 .zone-forwards
.zone-src
,
1280 .zone-forwards .zone-dest {
1282 flex-direction: column
;
1285 #diag-rc-output > pre
{
1286 background-color: #f5f5f5;
1290 line-height: 1.5rem;
1291 -moz-border-radius: 3px;
1292 white-space: pre-wrap
;
1293 word-wrap: break-word
;
1299 input
[name
="traceroute"],
1300 input
[name
="nslookup"] {
1304 header
> .container
> .pull-right
> * {
1310 #xhr_poll_status > .label
.success
{
1311 background-color: #F24C7C;
1315 padding: 0.3rem 0.8rem;
1318 color: #ffffff !important
;
1319 text-transform: uppercase
;
1320 white-space: nowrap
;
1321 background-color: #bfbfbf;
1322 -webkit-border-radius: 3px;
1323 -moz-border-radius: 3px;
1324 border-radius: 50px;
1326 text-decoration: none
;
1330 background-color: #468EA4;
1334 background: url
(./menu-logo
.png
) no-repeat center center
/ 100%;
1344 background-color: rgba
(0, 0, 0, 0.56);
1350 /* fix status processes */
1352 .node-status-processes > .main .table .tr .td:nth-child(3) {
1353 white-space: normal
;
1356 .node-status-iptables > .main div > .cbi-map > form {
1357 margin: 2rem 2rem 0 0;
1360 .node-status-iptables > .main div > .cbi-map > form input {
1362 border-radius: 20px;
1365 .node-status-processes .cbi-section {
1369 /* fix status realtime traffic and wireless */
1370 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
,
1371 .node-status-realtime.lang_enWireless .cbi-tabmenu {
1372 background-color: #d4d4d4;
1374 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
> li
[class
~="cbi-tab"],
1375 .node-status-realtime
.lang_enTraffic
.cbi-tabmenu
> li:hover
,
1376 .node-status-realtime
.lang_enWireless
.cbi-tabmenu
> li
[class
~="cbi-tab"],
1377 .node-status-realtime.lang_enWireless .cbi-tabmenu > li:hover {
1378 background-color: #F1F1F1;
1380 .node-status-realtime
.lang_enTraffic #bwsvg
,
1381 .node-status-realtime
.lang_enWireless #iwsvg
,
1382 .node-system-packages
.cbi-map
> .cbi-section
,
1383 .node-system-packages form .cbi-section{
1384 border-top-right-radius: 0;
1385 border-top-left-radius: 0;
1388 /* fix system system */
1389 .node-system-system .cbi-tabmenu {
1390 background-color: #d4d4d4;
1392 .node-system-system .cbi-tabmenu > li[class~="cbi-tab"]{
1393 background-color: #fff;
1396 /* fix system reboot */
1398 .node-system-reboot
> .main
> .main-right p
,
1399 .node-system-reboot > .main > .main-right h3 {
1403 /* fix Services Network Shares*/
1404 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
1405 margin-bottom: 1rem;
1409 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field {
1413 .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description {
1417 /* fix System Software*/
1418 .node-system-packages #swfreespace {
1419 background-color: #468ea4 !important
;
1420 border: none
!important
;
1423 .node-system-packages #swfreespace > div {
1424 background-color: #f24c7c !important
;
1425 border: none
!important
;
1428 .node-system-packages > .main table tr td:nth-child(1) {
1429 width: auto
!important
;
1432 .node-system-packages > .main table tr td:nth-last-child(1) {
1433 white-space: normal
;
1438 .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a {
1439 padding: 0.5rem 0.8rem;
1442 .node-system-packages > .main .cbi-value > pre {
1443 background-color: #eee;
1448 .node-system-packages .cbi-section .cbi-section-node-tabbed {
1452 .node-system-packages form .cbi-section {
1456 .cbi-tabmenu + .cbi-section {
1460 .node-status-iptables
.cbi-tabmenu
,
1461 .node-system-flashops .cbi-tabmenu {
1465 .node-system-flashops form.inline + form.inline {
1469 .node-system-flashops .cbi-tabmenu {
1470 margin-bottom: 1rem;
1473 #cbi-firewall-redirect table
*,
1474 #cbi-network-switch_vlan table
*,
1475 #cbi-firewall-zone table
* {
1479 #cbi-firewall-redirect table input
[type
="text"],
1480 #cbi-network-switch_vlan table input
[type
="text"],
1481 #cbi-firewall-zone table input
[type
="text"] {
1485 #cbi-firewall-redirect table select
,
1486 #cbi-network-switch_vlan table select
,
1487 #cbi-firewall-zone table select
{
1491 #cbi-network-switch_vlan .th
,
1492 #cbi-network-switch_vlan .td
{
1496 /* fix Network Network*/
1497 .node-network-network .cbi-rowstyle-2 .ifacebox-body {
1498 background-color: #fff;
1500 /* fix Network Wireless*/
1501 .node-network-wireless .cbi-section-node {
1502 margin-bottom: 1rem;
1505 /* applyreboot fix */
1507 #applyreboot-container {
1508 margin: 90px 2rem 2rem 2rem;
1511 #applyreboot-section {
1516 #applyreboot-section .bar-container
{
1517 background: transparent
;
1519 border: 1px solid
#b7b7b7;
1520 border-radius: 20px;
1522 #applyreboot-section .bar-container
.bar
{
1523 background: #F24C7C;
1525 border-radius: 20px;
1542 padding-right: 1rem;
1545 border-bottom: 1px solid
#dadada;
1552 padding-left: .8rem;
1555 text-decoration: none
;
1556 display: inline-block
;
1566 background-color: #354057;
1569 text-decoration: none
;
1584 background-color: #636569;
1587 border-radius: 20px;
1590 .main > .main-left .navbar-container {
1593 width: calc
(100% + 10px);
1594 height: calc
(100% - 110px);
1598 .main > .main-left .nav {
1601 .main > .main-left .nav > li a {
1605 .main > .main-left .nav > li {
1606 padding: 0.5rem 1.7rem;
1609 .main > .main-left .nav > .slide {
1610 padding: 0 15px 0 0;
1614 .main > .main-left .nav > .slide > ul {
1617 width: calc
(100% - 10px);
1619 .main > .main-left .nav > .slide > .menu {
1621 padding: 0.5rem 1.7rem;
1622 text-decoration: none
;
1628 .main
> .main-left
.nav
> li
> a
.active
,
1629 .main
> .main-left
.nav
> .slide
> .menu:hover
,
1630 .main > .main-left .nav > .slide > .menu.active {
1631 background: #485267;
1633 border-top-right-radius: 50px;
1634 border-bottom-right-radius: 50px;
1636 .main > .main-left .nav > .slide:hover {
1639 .main > .main-left .nav > .slide > .slide-menu > li {
1640 padding: 0.6rem 2rem;
1643 .main > .main-left .nav > .slide > .slide-menu > .active {
1644 background-color: #F24C7C;
1645 border-top-right-radius: 50px;
1646 border-bottom-right-radius: 50px;
1648 .main > .main-left .nav > .slide > .slide-menu > li > a {
1649 text-decoration: none
;
1650 white-space: nowrap
;
1652 .main > .main-left .nav > .slide > .slide-menu > .active > a {
1655 .main > .main-left .nav > .slide > .slide-menu > li:hover {
1656 background: #F24C7C;
1657 border-top-right-radius: 50px;
1658 border-bottom-right-radius: 50px;
1660 .main > .main-left .nav > .slide > .slide-menu > .active:hover {
1661 background-color: #F24C7C;
1665 /* The scroll bar of the navigation bar is compatible with each browser. */
1667 .main > .main-left .navbar-container::-webkit-scrollbar {
1669 background: transparent
;
1671 .main > .main-left .navbar-container::-webkit-scrollbar-button {
1674 .main > .main-left .navbar-container::-webkit-scrollbar-thumb {
1675 background-color: #ffffff61;
1676 border-radius: 10px;
1678 .main > .main-left .navbar-container::-webkit-scrollbar-thumb {
1679 background-color: #839dd67a;
1680 border-radius: 10px;
1682 .main > .main-left .navbar-container:hover::-webkit-scrollbar-thumb {
1683 background-color: #839dd67a;
1687 .main > .main-left .navbar-container {
1688 scrollbar-track-color: transparent
;
1689 scrollbar-face-color: #839dd67a;
1690 scrollbar-arrow-color: transparent
;
1691 scrollbar-3dlight-color: transparent
;
1692 scrollbar-highlight-color: transparent
;
1693 scrollbar-shadow-color: transparent
;
1694 scrollbar-darkshadow-color: transparent
;
1695 scrollbar-base-color:transparent
;
1697 .main > .main-left .navbar-container:hover {
1698 scrollbar-face-color: #839dd67a;
1706 text-shadow: 0px 0px 2px #BBB;
1714 /* The style of the prompt message */
1717 border: 1px solid
#4A5368;
1718 border-radius: 10px;
1719 background-color: #FFF;
1723 background-color: #FA8072;
1728 background-color: #90EE90;
1736 .alert-message > h4 {
1737 padding: 17px 0 17px 36px;
1739 font-weight: normal
;
1741 background: url
(./no-pwd
.png
) no-repeat left
43%/ 28px;
1742 display: inline-block
;
1745 .alert-message > p {
1754 background-color: transparent
;
1757 border: 1px solid
#fff;
1758 border-radius: 50px;
1762 /* All styles of the login interface */
1763 .node-main-login header {
1766 .node-main-login .main {
1769 .node-main-login > .main > .main-left {
1773 .node-main-login > .main > .main-right {
1776 background: #fff url
(./loginBG.png) no-repeat center center
/ cover
;
1779 .node-main-login > .main #maincontent {
1785 .node-main-login > .main .container {
1788 display: inline-block
;
1792 transform: translateX
(-50%) translateY
(-50%);
1795 .node-main-login > .main .logoImg a {
1800 text-decoration: none
;
1803 .node-main-login .warning {
1804 background-color: #3f4a62;
1808 .node-main-login > .main form h2 {
1809 margin: 20px 0 16px;
1813 font-weight: normal
;
1817 .node-main-login > .main form .cbi-map-descr {
1818 margin: 16px 0 13px;
1824 .node-main-login > .main form .cbi-section {
1827 background-color: transparent
;
1831 .node-main-login > .main form .cbi-value {
1835 .node-main-login > .main form .cbi-value-title {
1841 .node-main-login > .main form .cbi-value-field {
1842 margin-bottom: 32px;
1848 .node-main-login > .main form .cbi-value-field input {
1851 border: 1px solid
#556270;
1853 border-radius: 50px;
1858 .node-main-login form
.cbi-value-field
.iconpwd
,
1859 .node-main-login form
.cbi-value-field
.iconuser
,
1860 .node-main-login form .cbi-value-field .iconeye {
1866 transform: translateY
(-50%);
1868 .node-main-login form .cbi-value-field .iconpwd {
1869 background: transparent url
(./pwd.png) no-repeat center center
/ 100%;
1871 .node-main-login form .cbi-value-field .iconuser {
1872 background: transparent url
(./user.png) no-repeat center center
/ 100%;
1874 .node-main-login form .cbi-value-field .iconeye {
1877 background: transparent url
(./op-eye
.png
) no-repeat center center
/ 100%;
1879 .node-main-login form .cbi-value-field .cleye {
1880 background-image: url
(./cl-eye
.png
);
1882 .node-main-login form .cbi-value-field .opeye {
1883 background-image: url
(./op-eye
.png
);
1886 .node-main-login form .cbi-page-actions {
1892 .node-main-login form .cbi-page-actions input {
1896 display: inline-block
;
1902 .node-main-login form .cbi-page-actions .cbi-button-apply {
1903 background-color: #F24C7C;
1904 border-top-left-radius: 50px;
1905 border-bottom-left-radius: 50px;
1908 .node-main-login form .cbi-page-actions .cbi-button-reset {
1909 background-color: #8a4568;
1911 border-top-right-radius: 50px;
1912 border-bottom-right-radius: 50px;
1916 /* Interface after login */
1918 background-color: #EBF1F6;
1920 .logged-in .main-right {
1921 padding: 0 1rem 3rem 0;
1925 .logged-in .main .logoImg {
1928 .logged-in .main .main-left .nav-container {
1929 background-color: #354057;
1930 border-radius: 20px;
1937 .logged-in .main .main-left .brand {
1939 padding: 44px 0 23px;
1945 text-decoration: none
;
1946 border-bottom: 2px solid
#ffffff42;
1948 /* Single line text omitted */
1949 white-space: nowrap
;
1951 text-overflow: ellipsis
;
1952 -webkit-text-overflow: ellipsis
;
1953 -o-text-overflow: ellipsis
;
1956 .logged-in .alert-message {
1959 background-color: #fff;
1962 .logged-in .alert-message a {
1966 background-color: #468EA4;
1969 @media screen and
(max-height: 580px) {
1975 @media screen and
(max-width: 1600px) {
1977 width: calc
(0% + 13rem);
1982 padding: 0.3rem 0.6rem;
1986 header
> .container
> .pull-right
> * {
1991 padding: 0.2rem 0.6rem;
1996 padding-right: 0.6rem;
1999 .cbi-input-textarea {
2004 @media screen and
(max-width: 1280px) {
2006 .node-main-login > .main .container {
2010 .cbi-tabmenu > li > a, .tabs > li > a {
2011 padding: 0.2rem 0.5rem;
2016 padding-bottom: 1rem;
2020 font-size: 0.7rem !important
;
2021 width: 100% !important
;
2024 .main
> .main-left
.nav
> li
,
2025 .main
> .main-left
.nav
> li a
,
2026 .main > .main-left .nav > .slide > .menu {
2030 .main > .main-left .nav > .slide > .slide-menu > li > a {
2035 @media screen and
(max-width: 992px) {
2053 background: #0000007d;
2058 .main > .main-left .nav > .slide > .slide-menu > li {
2068 .node-main-login > .main .container {
2071 .node-main-login .main {
2072 background: #354057;
2077 display: inline-block
;
2078 vertical-align: middle
;
2083 padding-right: 1rem;
2086 #diag-rc-output > pre
{
2092 flex-direction: row
;
2098 align-self: flex-start
;
2099 text-overflow: ellipsis
;
2100 word-wrap: break-word
;
2101 display: inline-block
;
2105 .td input[type="text"] {
2110 .td
[data-dynlist
] > input
,
2111 .td input.cbi-input-password {
2112 width: calc
(100% - 1.5rem);
2115 .td
[data-type
="button"],
2116 .td[data-type="fvalue"] {
2121 .th
.cbi-value-field
,
2122 .td
.cbi-value-field
,
2123 .th
.cbi-section-table-cell
,
2124 .td.cbi-section-table-cell {
2128 .cbi-section-table-row {
2131 flex-direction: row
;
2132 justify-content: space-between
;
2135 .td
.cbi-value-field
,
2136 .cbi-section-table-cell {
2138 display: inline-block
;
2142 .td.cbi-section-actions {
2144 align-self: flex-end
;
2145 vertical-align: bottom
;
2149 .tr
.cbi-section-table-titles
,
2150 .tr.cbi-section-table-descr {
2154 .tr
[data-title
]::before
,
2155 .tr.cbi-section-table-titles.named::before {
2160 border-bottom: 1px solid rgba
(0, 0, 0, .26);
2168 .td[data-title]::before {
2177 /* All styles of the login interface */
2178 .node-main-login .showSide {
2179 display: none
!important
;
2182 padding-bottom: .8rem;
2184 .logged-in .main .main-left .nav-container {
2185 background-color: #354057;
2193 .logged-in .main-right {
2195 margin-top: calc
(45px + .8rem);
2200 .logged-in .alert-message {
2205 margin: .8rem 0 0 0;
2212 .cbi-section > h3:first-child, .panel-title {
2215 .network-status-table .ifacebox-body > span {
2218 .cbi-section .ifacebox-body .ifacebadge > span {
2221 .table .tr.cbi-rowstyle-1:nth-child(n), .table .tr:nth-child(n) {
2224 .node-network-firewall
.table
.tr
.cbi-rowstyle-1:nth-child
(n
),
2225 .node-network-firewall .table .tr:nth-child(n) {
2226 border-radius: 20px;
2233 border-bottom: none
;
2238 .cbi-section-node-tabbed {
2242 .cbi-button-action.important {
2243 margin-right: .3rem;
2246 border-bottom: 1px solid rgba
(0, 0, 0, .26);
2249 .node-status-processes
.table
.tr
.cbi-rowstyle-1:nth-child
(n
),
2250 .node-status-processes .table .tr:nth-child(n) {
2251 border-radius: 20px;
2256 @media screen and
(max-width: 768px) {
2257 .node-main-login > .main > .main-right {
2258 background: #354057;
2261 .node-main-login > .main .logoImg a {
2270 .alert-message
> h4
,
2277 padding: 8px 0 8px 36px;
2285 .node-main-login > .main form h2 {
2287 margin: 20px 0 16px;
2290 .node-main-login > .main .container {
2294 .node-main-login > .main form .cbi-value-field input {
2297 background-size: 16px;
2301 .node-main-login > .main form .cbi-value-field {
2302 margin-bottom: 20px;
2305 .node-main-login form .cbi-page-actions input {
2310 .node-main-login form
.cbi-value-field
.iconpwd
,
2311 .node-main-login form
.cbi-value-field
.iconuser
,
2312 .node-main-login form .cbi-value-field .iconeye {
2317 .node-main-login form .cbi-value-field .iconeye {
2323 @media screen and
(max-width: 480px) {
2330 min-width: 0rem !important
;
2333 margin-bottom: 0.5rem;
2337 .cbi-value-field, .cbi-value-description {
2341 .cbi-value > .cbi-value-field {
2342 display: inline-block
;
2345 .cbi-tabmenu > li, .tabs > li {
2346 padding: 0.6rem 0rem;
2349 .cbi-tabmenu > li > a, .tabs > li > a {
2350 padding: 0.2rem 0.3rem;
2354 .cbi-page-actions > div > input {
2373 padding-bottom: 1rem;
2376 .node-system-packages > .main .cbi-value.cbi-value-last > div {
2377 width: 100% !important
;
2380 .node-system-packages > .main .cbi-value .cbi-value-field input {
2384 .node-status-iptables > .main div > .cbi-map > form {
2385 position: static
!important
;
2389 font-weight: normal
;
2392 font-family: inherit
;
2394 background-color: #FFF;
2395 -webkit-overflow-scrolling: touch
;
2398 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] {
2399 width: 100% !important
;
2403 .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"] {
2411 .td.cbi-value-field {
2415 .td.cbi-value-field[data-type="dvalue"] {
2419 .td
.cbi-value-field
[data-type
="button"],
2420 .td.cbi-value-field[data-type="fvalue"] {
2425 .tr
[data-title
]::before
,
2426 .tr.cbi-section-table-titles.named::before {
2434 /* All styles of the login interface */
2435 .node-main-login > .main .cbi-value {
2444 @media screen and
(min-width: 992px) {
2445 .cbi-value-field .cbi-input-select {
2449 .cbi-value-field .cbi-dropdown {
2454 @media screen and
(min-width: 1280px) {
2455 .cbi-value-field .cbi-input-select {
2459 .cbi-value-field .cbi-dropdown {
2464 @media screen and
(min-width: 1600px) {
2465 .cbi-value-field .cbi-input-select {
2469 .cbi-value-field .cbi-dropdown {
2474 input
.cbi-input-text
{
2475 box-shadow: 0 0 0 1000px white inset
;