diff --git a/luci-theme-design/Makefile b/luci-theme-design/Makefile new file mode 100644 index 00000000..a7bf07c2 --- /dev/null +++ b/luci-theme-design/Makefile @@ -0,0 +1,15 @@ +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. + +include $(TOPDIR)/rules.mk + +LUCI_TITLE:=Design Theme +LUCI_DEPENDS:= +PKG_VERSION:=6.0 +PKG_RELEASE:=20230224 + +include $(TOPDIR)/feeds/luci/luci.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/luci-theme-design/htdocs/luci-static/design/css/style.css b/luci-theme-design/htdocs/luci-static/design/css/style.css new file mode 100644 index 00000000..088a1fa2 --- /dev/null +++ b/luci-theme-design/htdocs/luci-static/design/css/style.css @@ -0,0 +1,3677 @@ +/** + * Design is a clean HTML5 theme for LuCI. It is based on luci-theme-material and luci-theme-neobird + * + * luci-theme-material + * Copyright 2015 Lutty Yang + * + * luci-theme-Neobird + * Copyright 2021 2smile + * + * Licensed to the public under the Apache License 2.0 + */ + + :root { + --bg: #f1f4f5; + --mainbg: #fff; + --bgwhite: #fff; + --activeColor: #5ea69b; + --activeBottom: #51c291 2px solid; + --textColor: rgb(132, 119, 116); + --borderColor: rgba(0, 0, 0, .15); + --navbgColor: rgba(255, 255, 255, .7); + --navBorder: 1px solid #f2f2f2; + --sectionbgColor: #fff; + --sectionbgColor2: #fff; + --sectionShaddow: 3px 3px 3px rgba(0, 0, 0, .05); + --sectionBorder: none; + --sectiontabBorder: none; + --tabmenuBorderLR: none; + --tabmenubgColor: #fff; + --tabmenuBottom: #e4eaec 1px solid; + --tabmenuRadius: 0; + --sectionnodeBorder: #f7f7f7 1px solid; + --cbilineColor: #f7f7f7 1px solid; + --tabbgColor: #fff; + --inputbgColor: #f8f8f8; + --inputtextColor: #76838f; + --inputBorder: 1px solid #e4eaec; + --mainleftbgColor: rgb(255, 255, 255); + --bttextColor: #fff; + --badgebgColor: #f7f7f7; + --badgeBorder: #e4eaec 1px solid; + --progressbarColor: #c8c8c8; + --progressbar: #5ea69b; + --progressbartxtColor: #fff; + /* + --logo: url('/luci-static/design/images/logo.png'); + --mlogo: url('/luci-static/design/images/mlogo.png'); + */ + --logo_color: #222b36; + --alertColor: #000000; + --alertBackground: rgb(230 230 230); + --modelBackground: #d4d4d4; + --scrollbarColor: #d0d0d0; + --bar-bg: #5ea69b; + --ifacebadgeBg: #f8fbf8; + --ifaceboxbodyBg: #f8fbf8; + --backgroundimageUrl: url('../images/bg.jpg'); + --backgroundblurBrightness: 1; + --loginbackgroundColor: rgba(241, 244, 245, 0.7); + --tableborderBottom: #ddd; + --tableShadow: #ddd; +} + +@media (prefers-color-scheme: dark) { + :root { + --bg: #1e1e1e; + --bgwhite: #333333; + --textColor: #fefefe; + --activeColor: #5ea69b; + --activeBottom: #51c291 2px solid; + --borderColor: #2C2C3A; + --navbgColor: hsla(0, 0%, 7%, .8); + --navBorder: 1px solid #1c1c1e; + --sectionbgColor: #252526; + --sectionbgColor2: #252526; + --sectionShaddow: 3px 3px 3px rgba(0, 0, 0, .05); + --sectionBorder: none; + --sectiontabBorder: none; + --sectionnodeBorder: #3d3d41 1px solid; + --cbilineColor: #2d2d2d 1px solid; + --tabbgColor: #1c1c1e; + --tabmenuBorderLR: none; + --tabmenubgColor: #252526; + --tabmenuBottom: #2d2d2d 1px solid; + --tabmenuRadius: 6px 6px 0 0; + --inputbgColor: #2f2f2f; + --inputtextColor: #fefefe; + --inputBorder: 1px solid #4d4d4d; + --mainleftbgColor: #333333; + --bttextColor: #fefefe; + --badgebgColor: #fefefe; + --badgeBorder: #3d3d40 1px solid; + --progressbarColor: #6d6d6d; + --progressbar: #5ea69b; + --progressbartxtColor: #fefefe; + /* + --logo: url('/luci-static/design/images/logod.png'); + --mlogo: url('/luci-static/design/images/mlogod.png'); + */ + --logo_color: #fefefe; + --alertColor: #ffffff; + --alertBackground: rgb(30 30 30); + --modelBackground: #1c1c1e; + --scrollbarColor: #4a4a4a; + --bar-bg: #5ea69b; + --ifacebadgeBg: #2e2e2e; + --ifaceboxbodyBg: #2e2e2e; + --backgroundimageUrl: url('../images/bg.jpg'); + --backgroundblurBrightness: 0.7; + --loginbackgroundColor: rgba(30, 30, 30, 0.7); + --tableborderBottom: #2d2d2d; + --tableShadow: #2d2d2d; + } +} + +@font-face { + font-family: 'icomoon'; + src: url('../fonts/font.eot'); + src: url('../fonts/font.eot') format('embedded-opentype'), + url('../fonts/font.ttf') format('truetype'), + url('../fonts/font.woff') format('woff'), + url('../fonts/font.svg') format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'design'; + src: url(''); + src: url('?#iefix') format('embedded-opentype'), + url('../fonts/iconfont-Regular.woff2') format('woff2'), + url('../fonts/iconfont-Regular.woff') format('woff'), + url('../fonts/iconfont-Regular.ttf') format('truetype'), + url('#iconfont') format('svg'); +} + +@font-face { + font-family: 'Cocon-Regular-Font'; + src: url('../fonts/Cocon-Regular-Font.otf') format('opentype'); +} + +div { + font-family: 'HYk2gj'; +} + +::-webkit-scrollbar { + width: 4px; +} + +::-webkit-scrollbar-track { + box-shadow: inset 0 0 0px rgba(240, 240, 240, .5); + background-color: rgb(255 255 255 / 0%); +} + +::-webkit-scrollbar-thumb { + background: var(--scrollbarColor); + border-radius: 10px; +} + +html { + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + -webkit-tap-highlight-color: transparent; +} + +a { + color: var(--textColor); + text-decoration: none; +} + +em { + font-style: normal !important; + line-height: 1.5; + padding-left: 10px; +} + +body div { + line-height: 150%; +} + +.table { + position: relative; + display: table; +} + +.thead { + display: table-header-group; +} + +.tbody { + display: table-row-group; +} + +.tfoot { + display: table-footer-group; +} + +.td, +.th { + line-height: normal; + display: table-cell; + padding: .5em; + text-align: center; + vertical-align: middle; + white-space: nowrap; +} + +.th { + font-weight: bold; + white-space: nowrap; +} + +.tr.placeholder { + height: 4em; +} + +.tr.placeholder>.td { + line-height: 3; + position: absolute; + right: 0; + bottom: 0; + left: 0; + text-align: center !important; + background: inherit; +} + +.td[width="33%"], +.td[width="33%"]~.td { + padding: 12px; +} + +.table[width="33%"], +.th[width="33%"], +.td[width="33%"] { + width: 33%; +} + +.table[width="100%"], +.th[width="100%"], +.td[width="100%"] { + width: 100%; +} + +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +.h1, +.h2, +.h3, +.h4, +.h5, +.h6, +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: -apple-system, 'Microsoft Yahei'; + font-weight: 600; + line-height: 1.1; + color: inherit; + clear: both; + text-transform: capitalize; +} + +html { + overflow-y: hidden; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; +} + +html, +body { + margin: 0px; + padding: 0px; + height: 100%; + font-family: -apple-system, 'Microsoft Yahei' !important; + font-size: 0.92rem; + line-height: 150%; + background-color: var(--bg); + color: var(--textColor); +} + +select { + overflow: hidden !important; + width: 100%; + appearance: none; + -webkit-appearance: none; + -moz-appearance: none; + padding: 0 25px 0 10px !important; + background-size: 24px 16px; + background-repeat: no-repeat; + background-position: right center; + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABGCAYAAAA6hjFpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhDNzA0QUE0NjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhDNzA0QUEzNjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QzNBNTYzNTY2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzNBNTYzNTc2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6YjzxlAAACsklEQVR42uyaXUsVURSG51T0U/obfUvhhYF0U0HQhZQVIWVJCAkiSUXfRRcaBFbXQVBBRCASFCJBpQQipw+RREkpCa9aG95gs0DMOp6Z7TwvvAxnzczaa6/nzDnzVTndfSVDxdE6WgAQBBCAIIAABAEEIAggAEEAQQABCAIIQBBAAIIAAhAEEAQQgCCAAAStGSAbzA/N+wvSiwPmB6or16bkoY2afLN5r+q4l2MfDpr7zetV2z7zYpmOkAHByNSE0IxDOdUSxr2rOjLVNVC2n6z77hsYmtFnbqlzHS0aN+7DouorFZBH+ibGUCrmO+YjdaqhVeNVHIxm1Ve6P/XH5ibzLwfllvn4Ko8d8t90MEIde1RXaU97n6oJCw7KNXPbKo3ZpvwxjAXV8YTrkCx7piPFQ7lsbq/xWO3K62E0qQ4uDKXn5kbzTxe/YO6o0Rgdypc5GI0anyt1p5fm3eYfLn7e3PmfuTuVJ1YYZ5fG5Up9CQ2qSfMu3m3u+secXdo/1rzGGeTWyfIaUrPmXPycuWeFuXq0X6w55R8q4NwLe3PxlXmn+buLnzX3/mWOXm0fK+RrUP4MICvTG/MO86yLnzFfWmbfi9ou1qzyvS7wnAt/+31YTZxx8ZPmq+709c/pcoifcvEZ5Rku+HyTeB4yYt5unnbxE+YbEZSwvK54rGntP5LAXJN5QPXWvNX8zcWPmm9rHmF5zK0P22/T/hlAaqv35i3mKRc/bB7VMtaUIL5LaI7JPcIdVZMnXXyT+zyp7T4kNr8kn6mPqdlfllj/VevHEpxbsi85fNTP1ycX/2zerPUZQOqrcUGp6nNVMMYTnlPyrwFNCMILLScSn0++r7zUSFVdZ6wJ8aIcQBBAAIIAAhAEEIAggAAEAQQBBCAIIABBAAEIAghAEEAQQJLQbwEGAK/reX2gh5gQAAAAAElFTkSuQmCC'); +} + +select, +input { + color: var(--inputtextColor); + padding: 5px 10px; + font-size: 0.92rem; + font-family: -apple-system, 'Microsoft Yahei', sans-serif, Helvetica, Arial, sans-serif; + border: var(--inputBorder); + background-color: var(--inputbgColor); + transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + outline-style: none; + vertical-align: middle; + border-radius: 8px; + margin: 3px 3px 3px 0; + height: 2.8rem; + line-height: 2.8rem; + max-width: 550px; + +} + +select:not([multiple="multiple"]):focus, +input:focus { + border-color: #948FE1; + box-shadow: 0 0 6px #948FE1; + -webkit-box-shadow: 0 0 6px #948FE1; + -moz-box-shadow: 0 0 6px #948FE1; +} + +select, +.cbi-dropdown { + width: inherit; + cursor: default; +} + +select:not([multiple="multiple"]):focus, +input:not(.cbi-button):focus, +.cbi-dropdown:focus { + border-color: #948FE1; + box-shadow: 0 0 6px #948FE1; + -webkit-box-shadow: 0 0 6px #948FE1; + -moz-box-shadow: 0 0 6px #948FE1; +} + +.cbi-dropdown, +select[multiple="multiple"] { + height: auto; +} + +pre { + overflow: auto; +} + +code { + font-size: 1rem; + font-size-adjust: .35; + padding: 1px 3px; + color: #101010; + border-radius: 2px; + background: #ddd; +} + +abbr { + cursor: help; + text-decoration: underline; + color: #005470; +} + +hr { + margin: 1rem 0; + opacity: .1; + border-color: #eee; +} + +header, +.main { + width: 100%; + position: absolute; +} + +header { + background-color: var(--bgwhite); + box-shadow: 17rem 2px 4px rgba(0, 0, 0, 0.08); + transition: box-shadow 0.2s; + height: 55px; + float: left; + position: fixed; + z-index: 101; +} + +footer { + text-align: right; + padding: 1rem; + color: #aaa; + font-size: 11px; + height: 80px; + visibility: hidden; + /*text-shadow: 0px 0px 2px #BBB;*/ +} + +footer>a { + color: rgb(154, 37, 143); + text-decoration: none; +} + +small { + font-size: 90%; + line-height: 1.42857143; + white-space: normal; +} + +.cbi-button-up, +.cbi-button-down, +.cbi-value-helpicon, +.showSide, +.main>.loading>span { + /* font-family: 'icomoon' !important; */ + /* font-size:10px; */ + speak: none; + /* font-style: normal !important; */ + /* font-weight: normal !important; */ + /* font-variant: normal !important; */ + /* text-transform: none !important; */ + /* line-height: 1; */ + + /* -webkit-font-smoothing: antialiased; */ + /* -moz-osx-font-smoothing: grayscale; */ +} + +.main { + top: 50px; + bottom: 0rem; + position: relative; + height: 100%; + height: calc(100% - 4rem); +} + +.main>.loading { + position: fixed; + width: 100%; + height: 100%; + z-index: 1000; + display: block; + background-color: var(--bgwhite); + top: 0; +} + +.main>.loading>span { + display: block; + text-align: center; + margin-top: 2rem; + color: var(--textColor); + font-size: 1rem; +} + +.main>.loading>span>.loading-img:before { + content: "\e603"; +} + +.main>.loading>span>.loading-img { + animation: anim-rotate 2s infinite linear; + margin-right: 0.2rem; + display: inline-block; +} + +@keyframes anim-rotate { + 0% { + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0); + } + + 100% { + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +.main-left { + float: left; + width: 17rem; + background-color: var(--mainleftbgColor); + overflow-x: auto; + height: calc(100% - 3.5rem); + position: fixed; + padding-top: 15px; + box-shadow: 0 0px 4px rgb(0 0 0 / 8%); + /* transition: visibility 150ms, width 150ms; */ +} + +.main-right { + width: 85%; + width: calc(100% - 17rem); + float: right; + height: 100%; + border-left: var(--sectionBorder); +} + +.main-right>#maincontent { + position: relative; + z-index: 50; +} + + + +.pull-right { + float: right; +} + +.pull-left { + float: left; +} + +.nowrap:not(.td) { + white-space: nowrap; +} + +[disabled="disabled"] { + pointer-events: none; +} + +header>.fill>.container { + /* margin-top: .5rem; */ + /* padding: .5rem 1rem 0 1rem; */ + margin: 0; + padding: 0; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +header>.fill>.container>#logo { + margin: 0 3.5rem 0 1.5rem; +} + +header>.fill>.container>#logo>img { + width: calc(0% + 10rem); + margin-top: -.5rem; +} + +header>.fill>.container>.brand { + font-size: 25px; + font-family: "Cocon-Regular-Font"; + /*font-weight:bold;*/ + line-height: 60px; + /*color: white;*/ + color: var(--logo_color); + cursor: default; + /*background: #51c291;*/ + display: block; + width: 17rem; + /* padding-left: 30px; */ + height: 60px; + text-align: center; + float: left; + font-weight: 900; + letter-spacing: 1px; + /* margin-left: 10px; */ +} + +header>.fill>.container>a[class="brand"]:after { + content: ""; + font-size: 14px; + font-family: Tahoma; + position: absolute; + top: -10px; + font-weight: normal !important; +} + +header>.fill>.container>.brand-hostname { + font-size: 14px; + line-height: 60px; + color: #555555; + cursor: default; + display: block; + width: 17rem; + padding-right: 10px; + height: 60px; + text-align: left; + float: left; + margin-top: 7px; + font-weight: 300; + margin-left: -15px; +} + +header>.fill>.container>.status { + position: absolute; + top: 25%; + right: 1em; + float: right; + font-size: 1.5rem; + font-family: 'design'; + line-height: unset !important; +} + +header>.fill>.container>.status>* { + position: relative; + top: .2rem; + float: left; + margin-left: .3rem; + cursor: pointer; +} + +/* .modemenu-buttons { + display: flex; + flex-wrap: wrap; + align-items: center; + color: #fff; + color: var(--header-color); + background: #09c; + background: var(--header-bg); + padding: .5rem; + transition: box-shadow .2s; + box-shadow: 0 2px 5px rgb(0 0 0 / 26%); +} */ + +/* #modemenu { + margin: 0.25rem; + display: flex; + align-items: center; + flex-wrap: wrap; +} + +#modemenu > li > a { + font-size: .8rem; + font-weight: bold; + padding: .3rem .8rem; + white-space: nowrap; + text-decoration: none; + text-transform: uppercase; + color: #fff !important; + border-radius: 3px; + background-color: #bfbfbf; + text-shadow: none; +} + +#modemenu > li > a.active { + background-color: #002B49 !important; +} + +#modemenu > li.divider { + margin-left: .25rem; + margin-right: .25rem; + border: .5rem solid var(--submenu-bg-hover); + border-left: 1px solid var(--submenu-bg-hover); + border-right: 1px solid var(--submenu-bg-hover); + border-radius: 1rem; +} */ + +#xhr_poll_status { + display: flex; +} + +.danger { + background-color: #ff7d60 !important; +} + +.warning { + background-color: #FF7D60 !important; + color: #FFF; +} + +.success { + background-color: #5cb85c !important; +} + +.notice, +[data-indicator]:not([data-style="inactive"]) { + color: var(--activeColor); +} + +.notice, +[data-indicator]:not([data-style="active"]) { + color: var(--progressbarColor); +} + +span[data-indicator="uci-changes"] { + font-size: .8rem; + transition: all .3s; +} + +.error { + color: red; +} + +.alert, +.alert-message { + font-weight: bold; + margin-bottom: 1em; + padding: 1rem; + border: 0; + border-radius: 3px !important; + color: #ffffff; + background-color: #5c5c5c; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); + text-shadow: 1px 1px rgba(0, 0, 0, .1); + background-color: var(--alertBackground); +} + +.alert-message>h4 { + font-size: 110%; + font-weight: bold; +} + +.alert-message>* { + margin: .5rem 0; +} + +/*.alert-message .btn { + padding: .3rem .6rem; +}*/ + +.container .alert, +.container .alert-message { + margin-top: 1rem; +} + +.main>.main-left>.nav { + overflow-y: visible !important; + font-size: 1rem; + width: 90%; + margin: auto; + margin-bottom: 90px; +} + +.main>.main-left>.nav>li { + cursor: pointer; + padding-top: 6px; +} + +.main>.main-left>.nav>li a { + color: var(--activeColor); + display: block; + border-radius: 6px; + cursor: pointer; + font-weight: bold; + font-size: 1.1rem; + transition: all 0.2s; +} + +.main>.main-left>.nav>.slide, +.main>.main-left>.nav>li:last-child a { + padding: 0; + padding-top: 8px; +} + +.main>.main-left>.nav>.slide>ul { + display: none; + list-style: dotted; +} + +.main>.main-left>.nav>.slide.active>ul { + display: block; +} + +.main>.main-left>.nav>.slide>.slide-menu>li { + margin-top: 8px; + border-radius: 6px; +} + +.main>.main-left>.nav>.slide>.menu::after { + right: 0.5rem; + top: 0.8rem; + font-family: "design" !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + /* Better Font Rendering =========== */ + -moz-osx-font-smoothing: grayscale; + transition: all 0.15s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + transition: all 0.3s; +} + +.main>.main-left>.nav>.slide>a:before, +.main>.main-left>.nav>li>a:before { + display: inline-block; + left: -10px; + top: 1px; + position: relative; + font-family: "design" !important; + font-weight: bold !important; + text-transform: none !important; + speak: none; + font-size: 1.2rem !important; + -webkit-font-smoothing: antialiased; +} + +.main>.main-left>.nav>.slide>a[data-title="Status"]:before { + content: "\e6b8"; +} + +.main>.main-left>.nav>.slide>a[data-title="System"]:before { + content: "\e645"; +} + +.main>.main-left>.nav>.slide>a[data-title="Services"]:before { + content: "\e6cb"; +} + +.main>.main-left>.nav>.slide>a[data-title="Docker"]:before { + content: "\44"; +} + +.main>.main-left>.nav>.slide>a[data-title="NAS"]:before { + content: "\eb04"; +} + +.main>.main-left>.nav>.slide>a[data-title="VPN"]:before { + content: "\56"; +} + +.main>.main-left>.nav>.slide>a[data-title="Network"]:before { + content: "\72"; +} + +.main>.main-left>.nav>.slide>a[data-title="Bandwidth Monitor"]:before { + content: "\e764"; +} + +.main .main-left .nav li.slide .menu[data-title="Statistics"]:before { + content: "\e604"; +} + +.main .main-left .nav li.slide .menu[data-title="Control"]:before { + content: "\e67a"; +} + +.main .main-left .nav li.slide .menu[data-title="Asterisk"]:before { + content: "\e7dd"; +} + +.main>.main-left>.nav>li>a[data-title="Inital Setup"]:before { + content: "\e67e"; +} + +.main>.main-left>.nav>li>a[href="/cgi-bin/luci/admin/wizard"]:before { + content: "\e67e"; +} + +.main>.main-left>.nav>li>a[data-title="iStore"]:before { + content: "\e676"; +} + +.main>.main-left>.nav>li>a[data-title="Modem"]:before { + content: "\e7dd"; +} + +.main>.main-left>.nav>li>a[data-title="Log_out"] { + padding: 0.675rem 0 0.675rem 2.5rem; +} + +.main>.main-left>.nav>li>a[data-title="Log_out"]:before { + content: "\e641"; +} + +.main>.main-left>.nav>li>a[data-title="Reboot"] { + padding: 6px 25px; +} + +.main>.main-left>.nav>li>a[data-title="Reboot"]:before { + content: "\e004"; +} + +.main>.main-left>.nav>.slide>.menu.active::after { + transform: rotate(90deg); +} + +body[class*="node-"]>.main>.main-left>.nav>.slide>.menu::before { + transition: transform .1s ease-in-out; +} + +body[class*="node-"]>.main>.main-left>.nav>.slide>.menu.active::before { + transition: transform .2s ease-in-out; +} + +.main>.main-left[style*="overflow: hidden"]>.nav>.slide>.menu::before { + display: none; +} + +.main>.main-left>.nav>li:last-child::before { + position: absolute; + left: 14px; + width: 24px; + height: 24px; + /* content: url(./icons/logout.svg); */ +} + +.main>.main-left>.nav>li:last-child a:hover, +.main>.main-left>.nav>.slide>.menu:hover { + background: var(--activeColor); + color: white; +} + +.main>.main-left>.nav>.slide:hover { + background: none; +} + +.slide-menu { + overflow: hidden; +} + +.main>.main-left>.nav>.slide>.slide-menu>.active { + background-color: var(--activeColor); +} + +.main>.main-left>.nav>.slide>.slide-menu>li>a { + position: relative; + display: block; + color: var(--textColor); + vertical-align: middle; + background: none !important; + border: none !important; + text-transform: capitalize; + font-size: 1rem; + margin: 0.1rem 0.5rem 0.1rem 0.5rem; + padding: 0.675rem 0 0.675rem 2.5rem; +} + +.main>.main-left>.nav>.slide>.slide-menu>.active>a { + color: white; +} + +.main>.main-left>.nav>.slide>.slide-menu>li:hover { + background: var(--activeColor); + color: white !important; + transition: all 0.2s; +} + +.main .main-left .nav li.slide .slide-menu .active a { + color: #000; +} + +.main>.main-left>.nav>.slide>.slide-menu>.active:hover { + background-color: var(--activeColor); + cursor: pointer; +} + +/* ripple effect */ +.main>.main-left>.nav>.slide>.menu, +.main>.main-left>.nav>li:last-child a { + display: block; + padding: 0.675rem 0 0.675rem 2.5rem; + text-decoration: none; + cursor: pointer; + ; +} + +img[src*="/luci-static/resources/icons/loading.gif"] { + background-image: url(../images/loading.gif); + background-size: 20px 20px; + height: 20px; + width: 20px; + padding: 0 0 0 20px; + width: 0; +} + +#maincontent>.container { + margin: 30px 30px 50px 30px; +} + + +li { + list-style-type: none; +} + + +h1 { + color: var(--activeColor); + font-size: 20px; + padding-bottom: 10px; + border-bottom: 1px solid #eee; +} + +h2 { + color: var(--activeColor); + padding: 0 12px 6px 12px; + text-transform: capitalize; +} + +h3 { + font-size: 1.2rem; + color: var(--activeColor); + font-weight: bold; + padding: 0 12px 10px 12px; +} + +h4 {} + +div.cbi-section { + border: var(--sectionBorder); + margin-bottom: 20px; + border-radius: 8px; + margin-top: 5px; +} + +.cbi-section, +.cbi-section-error, +#iptables, +.Firewall form, +#cbi-network>.cbi-section-node, +#cbi-wireless>.cbi-section-node, +[data-tab-title], +/* [data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear), */ +[data-page="admin-system-opkg"] #maincontent>.container { + padding: 10px; + border: 1px; + font-weight: normal; + font-style: normal; + line-height: 1; + font-family: inherit; + text-align: left; + min-width: inherit; + overflow-x: auto; + overflow-y: hidden; + background-color: var(--sectionbgColor); + border-radius: 8px; + box-shadow: var(--sectionShaddow); + -webkit-overflow-scrolling: touch; +} + +#maincontent>.container>div:nth-child(1).alert-message.warning>a { + font: inherit; + overflow: visible; + text-transform: none; + display: inline-block; + margin-bottom: 0; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + touch-action: manipulation; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-image: none; + min-width: 6rem; + padding: 0.5rem 1rem; + font-size: 14px; + line-height: 1.42857143; + color: #fff; + background-color: #5bc0de; + border-color: #46b8da; + margin-top: 2rem; + text-decoration: inherit; +} + +.cbi-modal .cbi-section, +.cbi-section .cbi-section { + padding: 0; + box-shadow: none; +} + +.cbi-modal .cbi-tabmenu { + margin-left: 0; +} + +/* desc */ +.cbi-section-descr { + padding: 3px 10px; +} + +.cbi-map-descr { + padding: 5px 5px 5px 12px; +} + +.cbi-map-descr h3 { + font-size: 0.92rem; + font-weight: normal; + color: #666; +} + +#cbi-vsftpd .cbi-map-descr { + color: var(--activeColor); + padding: 0 12px 0px 12px; + font-size: 1.2rem; + font-weight: bold; +} + +.cbi-map-descr+fieldset { + margin-top: 1rem; +} + +.cbi-section>legend { + display: none !important; +} + +fieldset>fieldset, +.cbi-section>.cbi-section { + margin: 0; + padding: 0; + border: 0; + box-shadow: none; +} + +.cbi-section>h3:first-child, +.panel-title { + width: 100%; + display: block; + padding: 10px; + font-weight: bold; + font-size: 1rem; +} + +.cbi-section>h4:first-child, +.cbi-section>p:first-child, +[data-tab-title]>h3:first-child, +[data-tab-title]>h4:first-child, +[data-tab-title]>p:first-child { + padding-top: 1rem; +} + +table, +.table { + border-spacing: 0; + border-collapse: collapse; + width: 100%; + border: 0px solid #eee; +} + +table>tbody>tr>td, +table>tbody>tr>th, +table>tfoot>tr>td, +table>tfoot>tr>th, +table>thead>tr>td, +table>thead>tr>th, +.table>.tbody>.tr>.td, +.table>.tbody>.tr>.th, +.table>.tfoot>.tr>.td, +.table>.tfoot>.tr>.th, +.table>.thead>.tr>.td, +.table>.thead>.tr>.th, +.table>.tr>.td.cbi-value-field, +.table>.tr>.th.cbi-section-table-cell { + padding: 12px; + white-space: nowrap; + line-height: 1.5; + vertical-align: middle !important; +} + +.container>.cbi-section:first-of-type>.table[width="100%"]>.tr>.td { + padding: .6rem; +} + + +.cbi-section-table-cell { + line-height: 1.1; + align-self: flex-end; + flex: 1 1 auto; +} + +table>tr { + border-bottom: var(--cbilineColor) !important; +} + +table>tr:last-child { + border-bottom: none !important; +} + +#cbi-wireless .td, +#cbi-network .tr:first-child>.td, +.table[width="100%"]>.tr:first-child>.td, +[data-page="admin-network-diagnostics"] .tr>.td, +.tr.table-titles>.th, +.tr.cbi-section-table-titles>.th { + border-top: 0 !important; +} + +.table[width="100%"]>.tr:first-child>.td { + margin: auto 0; +} + +.cbi-section-table-row { + text-align: center; +} + +.cbi-section-table-row:last-child { + margin-bottom: 0; +} + +.cbi-section-table-row>.cbi-value-field .cbi-dropdown, +.cbi-section-table-row>.cbi-value-field .cbi-input-select, +.cbi-section-table-row>.cbi-value-field .cbi-input-text, +.cbi-section-table-row>.cbi-value-field .cbi-input-password { + width: 100%; +} + +.cbi-section-table-row>.cbi-value-field [data-dynlist]>input, +.cbi-section-table-row>.cbi-value-field input.cbi-input-password { + width: calc(100% - 1.5rem); +} + +.cbi-section-table-row .td { + text-align: center !important; +} + +/* +div > table > tbody > tr:nth-of-type(2n), +div > .table > .tr:nth-of-type(2n) { + background-color: #f9f9f9; +} +*/ + +/* fix multiple table */ +table table, +.table .table, +.cbi-value-field table, +.cbi-value-field .table, +td>table>tbody>tr>td, +.td>.table>.tbody>.tr>.td, +.cbi-value-field>table>tbody>tr>td, +.cbi-value-field>.table>.tbody>.tr>.td { + border: 0; +} + +/* button style */ + +.cbi-button, +.btn { + -webkit-appearance: none; + text-transform: uppercase; + color: #fff; + background-color: #337ab7; + transition: all 0.2s ease-in-out; + display: inline-block; + border: none; + cursor: pointer; + -ms-touch-action: manipulation; + touch-action: manipulation; + background-image: none; + text-align: center; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + width: auto !important; + min-width: 80px; + padding: 0px 8px 0px 8px; + /* max-width: 160px; */ + height: 35px; + line-height: 35px; + border-radius: 8px; +} + + + +.cbi-button:hover, +.cbi-button:focus, +.cbi-button:active { + color: #fff; + outline: 0; + text-decoration: none; + background-color: rgb(106, 101, 214); +} + +.cbi-button:hover, +.cbi-button:focus { + box-shadow: 0 1px 1px rgba(0, 0, 0, .05); +} + +.cbi-button:active { + box-shadow: 0 1px 1px rgba(0, 0, 0, .05); +} + +.cbi-button:disabled { + cursor: not-allowed; + pointer-events: none; + opacity: 0.60; + box-shadow: none; +} + +form.inline+form.inline, +.cbi-button+.cbi-button {} + +.cbi-button-reset, +.cbi-input-remove { + color: #fff !important; + background-color: #617486 !important; +} + +.cbi-button-reset:hover, +.cbi-input-remove:hover, +.cbi-button-remove:hover { + color: #fff !important; + background-color: rgb(83, 100, 115) !important; +} + +.cbi-button-link, +.cbi-input-find, +.cbi-input-save, +.cbi-button-add, +.cbi-button-save, +.cbi-button-find, +.cbi-input-reload, +.cbi-button-reload { + color: var(--bttextColor); + background-color: rgb(0, 171, 232) !important; + border-color: rgb(0, 171, 232) !important; +} + +.cbi-button-link:hover, +.cbi-input-find:hover, +.cbi-input-save:hover, +.cbi-button-add:hover, +.cbi-button-save:hover, +.cbi-button-find:hover, +.cbi-input-reload:hover, +.cbi-button-reload:hover { + color: #fff !important; + background-color: #337ab7 !important; + border-color: #337ab7 !important; +} + +.cbi-input-apply, +.cbi-button-apply, +.cbi-button-edit { + color: #fff !important; + background-color: var(--activeColor); +} + +[data-page="admin-status-iptables"] .right { + margin-bottom: 10px !important; + margin-top: 10px !important; +} + +.cbi-button:not(select) { + -webkit-appearance: none !important; +} + +.cbi-input-reset, +.cbi-button-remove, +.cbi-button-neutral.down { + color: #fff !important; + background: #617486; +} + + +.a-to-btn { + text-decoration: none; +} + +.cbi-page-actions .cbi-button-link:first-child { + float: left; +} + +.a-to-btn { + text-decoration: none; +} + +.cbi-value-field .cbi-button-add { + font-weight: bold; + margin: 4px 3px; + padding: 1px 6px; +} + +.tabs { + margin: 15px 0; + overflow-x: auto; +} + +.tabs>li, +.cbi-tabmenu>li { + display: inline-block; + padding: .55rem 0; + cursor: pointer; +} + +.tabs>li { + padding-bottom: .4rem; + border-bottom: .2rem solid transparent; +} + +.tabs>li:hover { + cursor: pointer; + border-bottom-color: #c9c9c9; +} + +.tabs>li>a { + text-decoration: none; + padding: 0 6px 0 6px; + float: left; + display: block; + white-space: nowrap; + height: 2.5rem; + line-height: 2.5rem; + font-size: 0.92rem; +} + +.cbi-tabmenu>li>a { + text-decoration: none; + float: left; + display: block; + white-space: nowrap; + height: 2.5rem; + line-height: 2.5rem; + font-size: 0.92rem; + margin: 0 10px; +} + +.cbi-tabmenu>li { + border-radius: var(--tabmenuRadius); +} + +.cbi-tabmenu>li, +.tabs>li { + display: table-cell; +} + +.tabs>li[class~="active"]>a { + color: var(--activeColor) !important; + padding-bottom: 8px; + border-bottom: var(--activeColor) 2px solid; +} + +.tabs>li[class~="active"], +.tabs>li:hover { + cursor: pointer; +} + +.cbi-tabmenu { + border-radius: 8px; + border-top: var(--sectiontabBorder); + border-left: var(--tabmenuBorderLR); + border-right: var(--tabmenuBorderLR); + border-bottom: var(--tabmenuBottom); + background-color: var(--tabmenubgColor); + width: 100%; + overflow-x: auto; + margin-top: 5px; + margin-bottom: 10px; +} + +.cbi-tabmenu>li:hover { + background-color: none; +} + +.cbi-tabmenu>li[class~="cbi-tab"] a { + color: var(--activeColor); + border-bottom: 2px solid var(--activeColor); +} + +.cbi-section .cbi-section-remove:nth-of-type(2n), +.container>.cbi-section .cbi-section-node:nth-of-type(2n) { + background-color: var(--cbilineColor); +} + +[data-tab-title] { + overflow: hidden; + height: 0; + opacity: 0; + margin: 0; + padding: 0rem 1rem !important; +} + +[data-tab-active="true"] { + overflow: auto; + height: auto; + opacity: 1; + transition: opacity .25s ease-in; + margin: inherit !important; + display: block; + /* padding: 12px; */ + border-radius: 8px; + /* box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); */ + /* background-color: var(--bgwhite); */ +} + +.cbi-section[id] .cbi-section-remove:nth-of-type(4n+3), +.cbi-section[id] .cbi-section-node:nth-of-type(4n+4) { + /* background-color: #f9f9f9; */ +} + +.cbi-section-node-tabbed { + margin-top: 0; + border-bottom: var(--sectiontabBorder); + border-left: var(--sectiontabBorder); + border-right: var(--sectiontabBorder); + border-radius: 0 0; +} + +.cbi-tabcontainer>.cbi-value:nth-of-type(2n) { + /* background-color: #f9f9f9; */ +} + +.cbi-value-field { + width: 65%; +} + +.cbi-value-field, +.cbi-value-description { + display: table-cell; +} + +.cbi-value-description { + font-size: small; + padding-top: .4rem; + opacity: .5; +} + +.cbi-value-title { + word-wrap: break-word; + display: table-cell; + width: 35%; + float: left; + padding: 13px 10px 5px 3px; +} + +.cbi-value { + display: flex; + width: 100%; + align-items: center; + align-content: center; + justify-content: flex-start; + min-height: 40px; + padding: 8px 10px; + flex-flow: row wrap; + border-bottom: var(--cbilineColor); +} + +.cbi-value:last-child { + border-bottom: none; +} + +.cbi-value ul { + line-height: 1.25; +} + +.cbi-value strong { + font-weight: normal; +} + +.cbi-value-field .cbi-dropdown, +.cbi-value-field .cbi-input-select, +.cbi-value input[type="text"], +.cbi-value input[type="password"] { + width: 100%; +} + +#cbi-firewall-zone .cbi-input-select, +#cbi-network-switch_vlan .cbi-input-select { + min-width: 11rem; +} + +#cbi-network-switch_vlan .cbi-input-text { + max-width: 3rem; +} + +.cbi-input-invalid { + color: #f00; + border-bottom-color: #f00; +} + +.cbi-section-error { + font-weight: bold; + line-height: 1.42857143; + margin: 18px; + padding: 6px; + border: thin solid #f00; + border-radius: 3px; + background-color: #fce6e6; +} + +.cbi-section-error ul { + margin: 0 0 0 20px; +} + +.cbi-section-error ul li { + font-weight: bold; + color: #f00; +} + +.td[data-title]::before { + font-weight: bold; + display: none; + padding: .25rem 0; + content: attr(data-title) ":\20"; + text-align: left; + white-space: nowrap; +} + +.tr.placeholder .td[data-title]::before { + display: none; +} + +.tr[data-title]::before, +.tr.cbi-section-table-titles.named::before { + font-weight: bold; + display: table-cell; + align-self: center; + flex: 1 1 5%; + padding: .25rem; + content: attr(data-title) "\20"; + text-align: center; + vertical-align: middle; + white-space: normal; + word-wrap: break-word; +} + +.cbi-rowstyle-2 { + background-color: var(--sectionbgColor2); +} + +.cbi-rowstyle-2 .cbi-button-up, +.cbi-rowstyle-2 .cbi-button-down {} + +.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell { + width: auto !important; +} + +.td.cbi-section-actions { + text-align: right !important; + vertical-align: middle; +} + +.td.cbi-section-actions>* { + /* display: inline-flex; */ +} + +.td.cbi-section-actions>*>*, +.td.cbi-section-actions>*>form>* { + margin: 0 5px; +} + +.td.cbi-section-actions>*>form { + display: inline-flex; + margin: 0; +} + +/* lists */ +.cbi-dynlist { + line-height: 1.3; + flex-direction: column; + min-height: 30px; + cursor: text; +} + +.cbi-dynlist>.item { + position: relative; + max-width: 25rem; + margin-right: 2em; + padding: .5em .25em .25em 0; + pointer-events: none; + color: #666; + border-bottom: 2px solid rgba(0, 0, 0, .26); + outline: 0; +} + +.cbi-dynlist[name="sshkeys"]>.item { + max-width: none; +} + +.cbi-dynlist>.item::after { + font-weight: bold; + position: absolute; + right: -2em; + bottom: 0; + display: inline-flex; + min-height: 17px; + padding: 0 6px; + content: "\00D7"; + pointer-events: auto; + color: #fff; + border: thin solid #d43f3a; + background-color: #d9534f; +} + +.cbi-dynlist>.item>span { + white-space: normal; + word-break: break-word; +} + +.cbi-dynlist>.add-item { + display: inline-flex; + align-items: center; + width: 100%; + min-width: 16rem; +} + +.cbi-dynlist>.add-item:not([ondrop])>input { + overflow: hidden; + width: 100%; + min-width: 15rem; + white-space: nowrap; + text-overflow: ellipsis; +} + +.cbi-dynlist>.add-item[ondrop]>input { + min-width: 13rem; +} + +.cbi-dynlist, +.cbi-dropdown { + position: relative; + display: inline-flex; + padding: 0; +} + +.cbi-dropdown[placeholder*="select"] { + max-width: 25rem; + height: auto; + margin-top: -3px; +} + +.cbi-dropdown>ul { + display: flex; + overflow-x: hidden; + overflow-y: auto; + width: 100%; + margin: 0 !important; + padding: 0; + list-style: none; + outline: 0; +} + +.cbi-dropdown>ul.preview { + display: none; +} + +.cbi-dropdown>.open { + flex-basis: 15px; +} + +.cbi-dropdown>.open, +.cbi-dropdown>.more { + font-size: 1rem; + font-weight: 900; + line-height: 2; + display: flex; + flex-direction: column; + flex-grow: 0; + flex-shrink: 0; + justify-content: center; + padding: 0 .25em; + cursor: default; + text-align: center; + outline: 0; +} + +.cbi-dropdown.btn { + min-height: 1.8rem; + padding-top: 0px; + padding-bottom: 0px; + padding-right: 0px; +} + +.cbi-dropdown.btn>.open { + font-size: 0.8rem; + padding: 0px; + margin: 0 5px; +} + +.cbi-dropdown.btn>div { + margin: 0px; +} + +.cbi-dropdown>.more, +.cbi-dropdown>ul>li[placeholder] { + font-weight: bold; + display: none; + color: #777; + text-shadow: 1px 1px 0 #fff; +} + +.cbi-dropdown>ul>li { + display: none; + overflow: hidden; + align-items: center; + align-self: center; + flex-grow: 1; + flex-shrink: 1; + min-height: 20px; + padding: .25em; + white-space: nowrap; + text-overflow: ellipsis; +} + +.cbi-dropdown>ul>li .hide-open { + display: initial; +} + +.cbi-dropdown>ul>li .hide-close { + display: none; +} + +.cbi-dropdown>ul>li[display]:not([display="0"]) { + border-left: thin solid #ccc; +} + +.cbi-dropdown>ul>li[data-value*="1"] { + padding-left: 15px !important; +} + +.cbi-dropdown[empty]>ul { + max-width: 1px; +} + +.cbi-dropdown>ul>li>form { + display: none; + margin: 0; + padding: 0; + pointer-events: none; +} + +.cbi-dropdown>ul>li img { + margin-right: .25em; + vertical-align: middle; +} + +.cbi-dropdown>ul>li>form>input[type="checkbox"] { + height: auto; + margin: 0; +} + +.cbi-dropdown>ul>li input[type="text"] { + height: 20px; +} + +.cbi-dropdown[open]>ul.dropdown { + position: absolute; + z-index: 1100; + display: block; + width: auto; + max-height: 200px !important; + /* border: thin solid #918e8c; */ + background: var(--activeColor); + /* box-shadow: 0 0 4px #918e8c; */ + /* color: var(--main-menu-color); */ + text-align: center; +} + +.cbi-dropdown>ul>li[display], +.cbi-dropdown[open]>ul.preview, +.cbi-dropdown[open]>ul.dropdown>li, +.cbi-dropdown[multiple]>ul>li>label, +.cbi-dropdown[multiple][open]>ul.dropdown>li, +.cbi-dropdown[multiple][more]>.more, +.cbi-dropdown[multiple][empty]>.more { + display: flex; + align-items: center; + flex-grow: 1; +} + +.cbi-dropdown[empty]>ul>li, +.cbi-dropdown[optional][open]>ul.dropdown>li[placeholder], +.cbi-dropdown[multiple][open]>ul.dropdown>li>form { + display: block; +} + +.cbi-dropdown[open]>ul.dropdown>li .hide-open { + display: none; +} + +.cbi-dropdown[open]>ul.dropdown>li .hide-close { + display: initial; +} + +/* .cbi-dropdown[open] > ul.dropdown > li { + border-bottom: thin solid #ccc; +} */ + +.cbi-dropdown[open]>ul.dropdown>li[selected] { + background: var(--activeColor); +} + +.cbi-dropdown[open]>ul.dropdown>li.focus { + background: linear-gradient(90deg, #a3c2e8 0%, #84aad9 100%); +} + +.cbi-dropdown[open]>ul.dropdown>li:last-child { + margin-bottom: 0; + border-bottom: 0; + background: #627486; +} + +.cbi-dropdown[open]>ul.dropdown>li[unselectable] { + opacity: .7; +} + +.cbi-dropdown[open]>ul.dropdown>li>input.create-item-input:first-child:last-child { + width: 100%; +} + +.cbi-dropdown[disabled] { + pointer-events: none; + opacity: .6; +} + +.cbi-dropdown .zonebadge { + width: 100%; +} + +.cbi-dropdown[open] .zonebadge { + width: auto; +} + +/* progressbar */ +/* progressbar */ +.cbi-progressbar { + position: relative !important; + min-width: 11rem !important; + height: 1.5rem !important; + margin: 0 0 !important; + /* border-color: var(--progressbarColor) !important; */ + background-color: var(--progressbarColor) !important; + border-radius: 5px !important; + overflow: hidden !important; +} + +.cbi-progressbar>div { + width: 0; + height: 100% !important; + transition: width .25s ease-in !important; + color: var(--progressbartxtColor) !important; + background: var(--progressbar) !important; +} + +.cbi-progressbar::after { + /* font-weight: bold; */ + /* font-family: monospace; */ + font-size: 0.75rem !important; + font-size-adjust: .38 !important; + line-height: 1.5rem !important; + position: absolute !important; + top: 0 !important; + right: 0 !important; + bottom: 0 !important; + left: 0 !important; + overflow: hidden !important; + content: attr(title) !important; + text-align: center !important; + white-space: pre !important; + text-overflow: ellipsis !important; +} + +#modal_overlay { + position: fixed; + z-index: 900; + top: 4rem; + right: 10000px; + bottom: 0; + left: -10000px; + overflow-y: scroll; + transition: opacity .125s ease-in; + opacity: 0; + background: rgba(0, 0, 0, .7); + -webkit-overflow-scrolling: touch; +} + +.modal { + display: flex; + align-items: center; + flex-wrap: wrap; + width: 90%; + min-width: 270px; + max-width: 600px; + min-height: 32px; + margin: 5em auto; + padding: 1em; + border-radius: 5px !important; + background: var(--modelBackground); + box-shadow: 0 2px 2px 0 rgb(0 0 0 / 16%), 0 0 2px 0 rgb(0 0 0 / 12%); +} + + +.modal>* { + line-height: normal; + flex-basis: 100%; + margin-bottom: .5em; + max-width: 100%; +} + +.modal>pre, +.modal>textarea { + font-size: 1rem; + font-size-adjust: .35; + overflow: auto; + margin-bottom: .5em; + padding: 8.5px; + cursor: auto; + white-space: pre-wrap; + color: #eee; + outline: 0; + background-color: #101010; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); +} + +.modal>h4 { + margin: .5em 0; +} + +.modal ul { + margin-left: 2.2em; + word-break: break-word; +} + +.modal li { + list-style-type: square; + color: #808080; +} + +.modal p { + padding-left: .25rem; + word-break: break-word; + color: #fff; +} + +.modal label.btn { + display: flex; + align-items: center; + white-space: normal; + text-align: left; + text-transform: none; + padding-bottom: 0.2rem; + padding-top: 0.2rem; +} + +.modal label.warning { + background-color: #f0ad4e !important; +} + +.modal.cbi-modal { + max-width: 90%; + max-height: none; +} + +body.modal-overlay-active { + overflow: hidden; + height: 100vh; +} + +body.modal-overlay-active #modal_overlay { + right: 0; + left: 0; + opacity: 1; +} + +.spinning { + position: relative; + padding-left: 32px !important; +} + +.spinning::before { + position: absolute; + top: 0; + bottom: 0; + left: .2em; + width: 32px; + content: ""; + /* background: url(../resources/icons/loading.gif) no-repeat center; */ + background-size: 16px; +} + +/* luci */ +.hidden { + display: none; +} + +.left, +.left::before { + text-align: left !important; +} + +.right .cbi-button { + /* height: 20px; */ + line-height: 20px; + /* min-width: 100px; */ + margin: 0; +} + +.right, +.right::before { + text-align: right !important; +} + +.center, +.center::before { + text-align: center !important; +} + +.top { + align-self: flex-start !important; + /* vertical-align: top !important; */ +} + +.bottom { + align-self: flex-end !important; + vertical-align: bottom !important; +} + +.inline { + display: inline; +} + +.cbi-page-actions { + text-align: center; +} + +.cbi-page-actions>form[method="post"] { + display: inline-block; +} + +.th[data-type="button"], +.td[data-type="button"], +.th[data-type="fvalue"], +.td[data-type="fvalue"] { + flex: 1 1 2em; + text-align: center; +} + +.ifacebadge { + display: inline-flex; + gap: .2rem; + padding: .5rem .8rem; + background-color: var(--ifacebadgeBg); + /* box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05); */ +} + +td>.ifacebadge, +.td>.ifacebadge { + font-size: .8rem; + background-color: var(--activeColor); + color: white; + border-radius: 8px; +} + +.ifacebadge>em, +.ifacebadge>img { + display: inline-block; + align-self: flex-start; +} + +.network-status-table { + display: flex; + flex-wrap: wrap; +} + +.network-status-table .ifacebox { + flex-grow: 1; + margin: .5em; +} + +.network-status-table .ifacebox-body { + display: flex; + flex-direction: column; + height: 100%; + background-color: var(--ifaceboxbodyBg); +} + +.network-status-table .ifacebox-body>span { + flex: 10 10 auto; + height: 100%; +} + +.network-status-table .ifacebox-body>div { + display: flex; + flex-wrap: wrap; +} + +.network-status-table .ifacebox-body .ifacebadge { + align-items: center; + flex: 1 1 auto; + min-width: 220px; + margin: .5em .25em 0 .25em; + padding: .5em; +} + +/* fix overview ifacebox*/ +[data-page="admin-status-overview"] .ifacebox { + padding: .5rem; + border-radius: 8px; + line-height: 1.25; + display: inline-flex; + flex-direction: column; + min-width: 100px; + /* border-bottom: thin solid #666; */ + box-shadow: 0px 0px 5px rgba(0, 0, 0, .2); +} + +/* textarea */ +#content_syslog { + padding: 5px; + margin-top: 10px; + border-radius: 8px; + background-color: var(--sectionbgColor); + box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); +} + + +/*textarea*/ +.cbi-input-textarea, +textarea { + color: var(--inputtextColor); + padding: 10px; + line-height: normal; + border: var(--sectionBorder); + background-color: var(--inputbgColor); + transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + outline-style: none; + vertical-align: baseline; + border-radius: 8px; + font-family: Menlo, Mono; + font-size: 0.9rem; + white-space: pre; + margin-bottom: 5px; +} + +/* fix .cbi-input-textarea, textarea { */ +.node-admin-system-system .cbi-input-textarea { + max-width: 550px; +} + +#syslog { + width: 100%; + min-height: 15rem; + padding: 10px; + margin-bottom: 20px; + border-radius: 0; + background-color: var(--sectionbgColor); + border: none; +} + +#syslog:focus { + outline: 0; +} + +/* config changes */ +.uci-change-list { + font-family: monospace; +} + +.uci-change-list ins, +.uci-change-legend-label ins { + text-decoration: none; + border: 1px solid #00FF00; + background-color: #CCFFCC; + display: block; + padding: 2px; + color: black; + /* border-radius: 8px; */ + overflow-x: auto; +} + +.uci-change-list del, +.uci-change-legend-label del { + text-decoration: none; + border: 1px solid #FF0000; + background-color: #FFCCCC; + display: block; + font-style: normal; + padding: 2px; + color: black; + /* border-radius: 8px; */ + overflow-x: auto; +} + +.uci-change-list var, +.uci-change-legend-label var { + text-decoration: none; + border: 1px solid #CCCCCC; + background-color: #EEEEEE; + display: block; + font-style: normal; + padding: 2px; + color: black; + /* border-radius: 8px; */ + overflow-x: auto; +} + +.uci-change-list var ins, +.uci-change-list var del { + border: none; + white-space: pre; + font-style: normal; + padding: 0px; + color: black; + /* border-radius: 8px; */ + overflow-x: auto; +} + +.uci-change-legend { + padding: 5px; +} + +.uci-change-legend-label { + float: left; + width: 150px; +} + +.uci-change-legend-label>ins, +.uci-change-legend-label>del, +.uci-change-legend-label>var { + display: block; + float: left; + width: 10px; + height: 10px; + margin-right: 4px; +} + +.uci-change-legend-label var ins, +.uci-change-legend-label var del { + line-height: .4; + border: 0; +} + +.uci-change-list var, +.uci-change-list del, +.uci-change-list ins { + padding: 0.5rem; +} + +/* other fix */ +#iwsvg, +#iwsvg2, +#bwsvg { + border: thin solid #d4d4d4 !important; +} + +#iwsvg, +[data-page="admin-status-realtime-bandwidth"] #bwsvg { + border-top: 0 !important; +} + +.ifacebox { + border-radius: 8px; + line-height: 1.25; + display: inline-flex; + flex-direction: column; + min-width: 100px; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .2); +} + +.ifacebox-head { + border-radius: 8px 8px 0 0; + padding: .25em; + background-color: #6d6d6d; +} + +.ifacebox-head.active { + background-color: var(--bar-bg); +} + +.ifacebox-body { + border-radius: 0 0 8px 8px; + padding: .25em; + background-color: var(--ifaceboxbodyBg); +} + +.cbi-image-button { + margin-left: .5rem; +} + +.zonebadge { + display: inline-block; + padding: .2rem .5rem; +} + +.zonebadge .ifacebadge { + margin: .1rem .2rem; + padding: .2rem .3rem; + border: thin solid #6c6c6c; +} + +.zonebadge>input[type="text"] { + min-width: 10rem; + margin-top: .3rem; + padding: .16rem 1rem; +} + +.zonebadge>em, +.zonebadge>strong { + display: inline-block; + margin: 0 .2rem; +} + +.cbi-value-field .cbi-input-checkbox, +.cbi-value-field .cbi-input-radio { + margin-top: .1rem; +} + +.cbi-value-field>ul>li { + display: flex; +} + +.cbi-value-field>ul>li>label { + margin-top: .5rem; +} + +.cbi-value-field>ul>li .ifacebadge { + margin-top: -.5rem; + margin-left: .4rem; + background-color: #eee; +} + +.cbi-section-table-row>.cbi-value-field .cbi-dropdown { + min-width: 7rem; +} + +.cbi-section-create { + display: inline-flex; + align-items: center; + margin: .5rem -3px; +} + +.cbi-section-create>* { + margin: .5rem; +} + +.cbi-section-remove { + padding: .5rem; +} + +div.cbi-value var, +td.cbi-value-field var, +.td.cbi-value-field var { + font-style: italic; + color: #0069d6; +} + +.cbi-optionals { + padding: 1rem 1rem 0 1rem; + border-top: thin solid #ccc; +} + +.cbi-dropdown-container { + position: relative; +} + +.cbi-tooltip-container, +span[data-tooltip], +span[data-tooltip] .label { + cursor: help !important; +} + +.cbi-tooltip { + position: absolute; + z-index: 1000; + left: -1000px; + padding: 2px 5px; + transition: opacity .25s ease-out; + white-space: pre; + pointer-events: none; + opacity: 0; + border-radius: 3px; + background: #fff; + box-shadow: 0 0 2px #444; +} + +.cbi-tooltip-container:hover .cbi-tooltip { + left: auto; + transition: opacity .25s ease-in; + opacity: 1; +} + +.zonebadge .cbi-tooltip { + margin: -1.5rem 0 0 -.5rem; + padding: .25rem; + background: inherit; +} + +.zonebadge-empty { + color: #404040; + background: repeating-linear-gradient(45deg, rgba(204, 204, 204, .5), rgba(204, 204, 204, .5) 5px, rgba(255, 255, 255, .5) 5px, rgba(255, 255, 255, .5) 10px); +} + +.zone-forwards { + display: flex; + min-width: 10rem; +} + +.zone-forwards>* { + flex: 1 1 45%; +} + +.zone-forwards>span { + flex-basis: 10%; + padding: 0 .25rem; + text-align: center; +} + +.zone-forwards .zone-src, +.zone-forwards .zone-dest { + display: flex; + flex-direction: column; +} + +.label, +[data-indicator] { + /* font-size: .8rem; */ + font-weight: bold; + padding: .3rem .8rem; + white-space: nowrap; + text-decoration: none; + text-transform: uppercase; + /* color: #fff !important; */ + border-radius: 3px; + background-color: var(--bgwhite); + text-shadow: none; +} + +label>input[type="checkbox"], +label>input[type="radio"] { + margin-right: 0.8rem; +} + +label[data-index][data-depends] { + padding-right: 2em; +} + +.showSide { + display: none; +} + +.darkMask { + position: fixed; + z-index: 99; + width: 100%; + height: 100%; + content: ""; + background-color: rgba(0, 0, 0, .56); + transition: opacity 400ms, visibility 400ms; + visibility: hidden; + opacity: 0; +} + +/* diagnostics */ +#diag-rc-output>pre, +#command-rc-output>pre, +[data-page="admin-services-wol"] .notice code { + font-size: 1.2rem; + font-size-adjust: .35; + line-height: normal; + display: block; + overflow-y: hidden; + width: 100%; + padding: 8.5px; + white-space: pre; + color: #eee; + background-color: #101010; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); +} + +[data-page="admin-network-diagnostics"] .table { + box-shadow: none; +} + +input[name="ping"], +input[name="traceroute"], +input[name="nslookup"] { + width: 80%; +} + +/* fix Main Login */ + +.node-main-login { + filter: brightness(var(--backgroundblurBrightness)); + text-align: center; + /* background-color: var(--bgwhite) !important; */ + background: var(--backgroundimageUrl); + background-size: 100%; +} + +.node-main-login .cbi-section-node>.cbi-value:nth-of-type(2n) { + background: none; +} + +.node-main-login h2 { + font-size: 1.5rem; +} + +.node-main-login header { + display: none; +} + +.node-main-login .navbar { + display: none; +} + +.node-main-login>.main>.main-left { + display: none; +} + +.node-main-login>.main>.main-right { + width: 100%; +} + +.node-main-login>.main div.cbi-section { + /* padding: 0px !important; */ + margin-bottom: 1rem; + display: inline; + background: none; + border: none; + box-shadow: none; + overflow: hidden; +} + +.node-main-login>.main label.cbi-value-title { + display: none !important; +} + +.node-main-login>.main .cbi-section { + margin-top: 10px !important; +} + +.node-main-login>.main .cbi-map {} + +.node-main-login>.main div.cbi-section .cbi-value {} + +.node-main-login>.main div.cbi-section .cbi-value-title { + padding: 10px 0 10px 5px !important; +} + +.node-main-login>.main .cbi-value { + border: none; +} + +.node-main-login>.main .cbi-value-title { + width: 7rem; +} + +.node-main-login>.main #maincontent { + display: flex; + height: 100%; + text-align: center; + align-items: center; + align-content: center; + justify-content: center; +} + +.node-main-login>.main .container { + background-color: var(--loginbackgroundColor); + backdrop-filter: saturate(180%) blur(20px); + padding: 50px 60px 50px 60px; + border-radius: 8px; + box-shadow: 0 0 30px 10px rgba(0, 0, 0, .3); +} + +.node-main-login>.main form>div:nth-last-child(1) {} + + +.node-main-login>.main .cbi-value>* { + display: inline-block !important; +} + +/* .node-main-login > .main .cbi-input-user, +.node-main-login > .main .cbi-input-password { + min-width: 15rem; +} */ + +.node-main-login>.main .cbi-input-text { + min-width: 15rem; +} + +.node-main-login footer { + bottom: 0; + position: absolute; + width: 100%; +} + +/* fix system reboot */ + +.node-system-reboot>.main>.main-right p, +.node-system-reboot>.main>.main-right h3 { + margin-left: 12px; +} + +/* fix status */ +.node-status-overview>.main fieldset:nth-child(4) .td:nth-child(2), +.node-status-processes>.main .table .tr .td:nth-child(3) { + white-space: normal; +} + +/* fix system reboot */ +[data-page="admin-system-reboot"] p { + padding-left: 2rem; +} + +[data-page="admin-system-reboot"] p>span { + position: relative; + top: .1rem; + left: 1rem; +} + +/* samba */ +#cbi-samba [data-tab="template"] .cbi-value-field { + display: block; +} + +#cbi-samba [data-tab="template"] .cbi-value-title { + width: auto; + padding-bottom: .6rem; +} + +/* software */ +.controls>*>.btn:not([aria-label$="page"]) { + flex-grow: initial !important; + margin-top: .1rem; +} + +.controls>#pager>.btn[aria-label$="page"] { + font-size: 1.4rem; + font-weight: bold; +} + +.controls>*>label { + margin-bottom: .2rem; +} + +.control-group { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 8px; +} + +[data-page="admin-system-opkg"] div.btn { + line-height: 3; + display: inline; + padding: .3rem .6rem; +} + +/* +[data-page^="admin-system-admin"]:not(.node-main-login) .cbi-map:not(#cbi-dropbear), +[data-page="admin-system-opkg"] #maincontent > .container { + margin-top: 2rem; + padding-top: .1rem; +} */ + +[data-page="admin-system-opkg"] #maincontent>.container { + margin: 2rem; + margin-bottom: 1rem; + border-radius: 8px; +} + +.td.version, +.td.size { + white-space: normal !important; + word-break: break-word; +} + +.cbi-tabmenu+.cbi-section { + margin-top: 0; +} + +/* wireless overview */ +#wifi_assoclist_table { + padding: 10px; + border: 1px; + font-weight: normal; + font-style: normal; + line-height: 1; + font-family: inherit; + text-align: left; + min-width: inherit; + overflow-x: auto; + overflow-y: hidden; + background-color: var(--sectionbgColor); + box-shadow: var(--sectionShaddow); + -webkit-overflow-scrolling: touch; + border: var(--sectionBorder); + margin-bottom: 20px; + border-radius: 8px; +} + +#wifi_assoclist_table>.tr>.td{ + white-space: normal !important; +} + + +/* firewall */ +#iptables { + margin: 0; +} + +.Firewall form { + margin: 2rem 2rem 0 0; + padding: 0; + box-shadow: none; +} + +#cbi-firewall-redirect table *, +#cbi-network-switch_vlan table *, +#cbi-firewall-zone table * { + font-size: small; +} + +#cbi-firewall-redirect table input[type="text"], +#cbi-network-switch_vlan table input[type="text"], +#cbi-firewall-zone table input[type="text"] { + width: 5rem; +} + +#cbi-firewall-redirect table select, +#cbi-network-switch_vlan table select, +#cbi-firewall-zone table select { + min-width: 3.5rem; +} + +#cbi-network-switch_vlan .th, +#cbi-network-switch_vlan .td { + flex-basis: 12%; +} + +#cbi-firewall-zone .table, +#cbi-network-switch_vlan .table { + display: block; +} + +#cbi-firewall-zone .td, +#cbi-network-switch_vlan .td { + width: 100%; +} + +/* applyreboot fix */ +#applyreboot-container { + margin: 2rem; +} + +#applyreboot-section { + line-height: 300%; + margin: 2rem; +} + +/* openvpn bug fix */ +.OpenVPN a { + line-height: initial !important; +} + +/* custom commands */ +.commandbox { + width: 24% !important; + margin: 10px 0 0 10px !important; + padding: .5rem 1rem; + border-bottom: thin solid #ccc; + background: #eee; + box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05); +} + +.commandbox h3 { + line-height: normal !important; + overflow: hidden; + margin: 6px 0 !important; + white-space: nowrap; + text-overflow: ellipsis; +} + +.commandbox div { + left: auto !important; +} + +.commandbox code { + position: absolute; + overflow: hidden; + max-width: 60%; + margin-left: 4px; + padding: 2px 3px; + white-space: nowrap; + text-overflow: ellipsis; +} + +.commandbox code:hover { + overflow-y: auto; + max-height: 50px; + white-space: normal; +} + +.commandbox p:first-of-type { + margin-top: -6px; +} + +.commandbox p:nth-of-type(2) { + margin-top: 2px; +} + +[data-page^="admin-system-commands"] .panel-title, +[data-page^="command-cfg"] .mobile-hide, +[data-page^="command-cfg"] .showSide { + display: none; +} + +#command-rc-output .alert-message { + line-height: 1.42857143; + position: absolute; + top: 40px; + right: 32px; + max-width: 40%; + margin: 0; + animation: anim-fade-in 1.5s forwards; + word-break: break-word; + opacity: 0; +} + +@keyframes anim-fade-in { + 100% { + opacity: 1; + } +} + +/* IE hacks */ +/* @media all and (-ms-high-contrast: none) { + .main > .main-left > .nav > .slide > .menu::before { + top: 30.25%; + } + + .main > .main-left > .nav > li:last-child::before { + top: 20%; + } + + .showSide::before { + top: -12px; + } +} */ + +@media screen and (max-width: 1280px) { + header { + /*height: 3.5rem;*/ + } + + header>.container { + /*margin-top: 0.25rem;*/ + } + + .main { + height: calc(100% - 3.5rem); + } + + .main-left { + width: calc(0% + 17rem); + top: 50px; + } + + .main-right { + width: calc(100% - 17rem); + } + + + table { + font-size: 0.9rem !important; + width: 100% !important; + } + + .main>.main-left>.nav>li, + .main>.main-left>.nav>li a, + .main>.main-left>.nav>.slide>.menu { + font-size: 1.1rem; + } + + .main>.main-left>.nav>.slide>.slide-menu>li>a { + font-size: 1rem; + text-transform: capitalize; + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px; + } + + /* fix nlbw component */ + #detail-bubble { + /* left: unset !important; */ + width: unset !important; + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: 19rem !important; + width: calc(100vw - 21.25rem) !important; + } + + #detail-bubble .head { + display: block; + overflow: auto; + } + + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto; + } + + .node-nlbw-usage table { + display: block; + overflow: auto; + } +} + +@media screen and (max-width: 992px) { + + /* img[src*="/images/logo.png"] { + background-color: var(--mainleftbgColor); + height: 50px; + background-image: var(--mlogo); + background-size: 310px; + background-repeat: no-repeat; + padding: 0 0 0 310px; + width: 0; + margin: 0; + background-position: 0; + } */ + + .main-left { + width: 17rem; + position: fixed; + z-index: 100; + } + + .main-right { + width: 100%; + } + + .showSide { + margin: 0; + padding: 0; + display: inline-block; + position: absolute; + width: 300px; + height: 50px; + padding: 17px 27px; + } + + .showSide:before { + content: "\e20e"; + font-size: 1.7rem; + font-family: 'icomoon'; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + } + + #maincontent>.container { + margin: 20px 20px; + } + + .node-main-login .showSide { + display: none !important; + } + + .cbi-value-title { + width: 35%; + } + + .node-network-diagnostics>.main .cbi-map div.cbi-section>div * { + width: 100% !important; + } + + .node-network-diagnostics>.main .cbi-map div.cbi-section>div input[type="text"] {} + + .node-network-diagnostics>.main .cbi-map div.cbi-section>div:nth-child(4) input[type="text"] { + margin: 0 !important; + } + + .node-network-diagnostics>.main .cbi-map div.cbi-section>div select, + .node-network-diagnostics>.main .cbi-map div.cbi-section>div input[type="button"] { + margin: 1rem 0 0 0; + } + + .node-network-diagnostics>.main .cbi-map div.cbi-section>div { + width: 100% !important; + } + + .node-main-login>.main .cbi-value-title { + text-align: left; + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset !important; + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw) !important; + } + + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto; + } +} + +@media screen and (max-width: 700px) { + + #cbi-vssr-servers .cbi-button-add { + position: static !important; + width: auto !important; + height: 2rem !important; + line-height: 2rem !important; + color: #fff; + display: block; + padding: 0 !important; + font-size: 0.92rem; + border-radius: 10px !important; + box-shadow: none; + background-image: none; + } + + #cbi-vssr-servers .cbi-section-table-row { + margin: 10px 0 !important; + } + + #cbi-vssr-servers .p-in5 { + padding-bottom: 10px !important; + margin: 0 !important; + } + + #cbi-vssr-servers .cbi-page-actions { + padding-bottom: 10px !important; + } + + #maincontent>.container { + margin: 20px 20px; + } + + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset !important; + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw) !important; + } + + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto; + } +} + +@media screen and (max-width: 470px) { + + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset !important; + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw) !important; + } + + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + + #detail-bubble #bubble-table { + display: block; + overflow: auto; + } + + .node-admin-status-routes #view table, + .node-admin-status-processes #view table, + .node-admin-status-realtime-connections #view table[id*=connections] { + display: block; + white-space: nowrap; + } + +} + + +@media screen and (max-width: 400px) { + .node-admin-status-overview .cbi-section.fade-in:first-child table:first-child td:first-child { + width: 40%; + } +} + +@media screen and (max-width: 370px) { + + div.cbi-section { + /* overflow-x: auto; */ + } + + select { + width: 100%; + } + + .label { + position: absolute; + right: 5px; + top: -70px; + } + + header { + height: 55px; + } + + h3 { + padding: 0 10px 10px 10px; + } + + /* img[src*="/images/logo.png"] + { + height: 45px; + background-image: var(--mlogo); + background-size: 310px; + background-repeat: no-repeat; + padding: 0 0 0 310px; + width: 0; + margin: 0; + background-position: 0; + } */ + + .showSide { + height: 45px; + } + + #maincontent>.container { + margin: 20px 20px; + } + + .main { + top: 45px; + } + + .main-left { + top: 45px; + } + + .main>.main-left>.nav>.slide>.menu {} + + .main>.main-left>.nav>.slide>.slide-menu>li>a {} + + .cbi-value { + margin-bottom: 20px; + display: table; + padding: 0px; + border-bottom: none; + } + + .cbi-value-title { + width: 100%; + font-weight: 700; + float: left; + padding: 0; + margin: 0; + margin-bottom: .25rem; + } + + .cbi-section-node { + padding: 10px !important; + } + + .cbi-value-description { + width: 100%; + display: block; + } + + .cbi-value>.cbi-value-field { + display: block; + float: left; + width: 100%; + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px; + } + + .cbi-section-node>.cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor); + } + + .cbi-tabcontainer>.cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor); + } + + div>.cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor); + } + + .node-main-login>.main .cbi-value { + padding: 0; + } + + .node-main-login>.main form>div:nth-last-child(1) { + margin-top: 2rem; + } + + .node-main-login>.main div.cbi-section { + margin: 0; + padding: 0.5rem; + } + + #container\.network\.lan\.physical .cbi-value-title, + #cbi-network-1-_ifname .cbi-value-title { + width: 35%; + } + + #cbi-network-1-_ifname .cbi-value-field { + width: 65%; + } + + + h2 { + font-size: 1.2rem; + text-transform: capitalize; + } + + select, + input { + /* max-width: 200px; */ + } + + input[type='checkbox'] { + height: 1.2rem !important; + width: 1.2rem !important; + } + + #swaptotal div div small, + #swapfree div div small, + #swapcache div div small, + #memfree div div small, + #membuff div div small, + #conns div div small, + #memcache div div small, + #memtotal div div small {} + + #swaptotal div div, + #swapfree div div, + #swapcache div div, + #memfree div div, + #membuff div div, + #conns div div, + #memcache div div, + #memtotal div div {} + + + .node-status-iptables>.main div>.cbi-map>form input[type="submit"] { + margin: 0; + } + + #cbi-samba-cfg010f89-_tmpl .cbi-value-title { + width: 15%; + + } + + #cbi-samba-cfg010f89-_tmpl .cbi-value-field { + width: 95%; + } + + /* fix nlbw component */ + #detail-bubble { + left: unset !important; + width: unset !important; + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw) !important; + } + + #detail-bubble .head { + display: block; + overflow: auto; + /* text-align: unset !important; */ + } + + #detail-bubble #bubble-table { + display: block; + overflow: auto; + } + + .node-admin-status-routes #view table, + .node-admin-status-processes #view table, + .node-admin-status-realtime-connections #view table[id*=connections] { + display: block; + } + + .node-admin-status-overview .cbi-section.fade-in:first-child table:first-child td:first-child { + width: 43%; + } +} + + +.navbar { + z-index: 200; + overflow: hidden; + position: fixed; + bottom: 0; + width: 100%; + border-top: var(--navBorder); + text-align: center; + height: calc(50px + constant(safe-area-inset-bottom)); + height: calc(50px + env(safe-area-inset-bottom)); + background-color: var(--navbgColor); + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); +} + +.navbar a { + float: left; + text-align: center; + padding: 8px 0; + width: 20%; + text-decoration: none; + max-width: 100px; +} + +.navbar a img { + width: 28px; +} + +.cbi-input-apply, +.cbi-button-apply, +.cbi-button.cbi-button-positive, +.cbi-button-edit { + color: #fff !important; + background-color: var(--activeColor); +} + +td.cbi-button, +.cbi-button-apply, +.right .cbi-button { + font-size: 0.92rem; + font-family: -apple-system, 'Microsoft Yahei', sans-serif, Helvetica, Arial, sans-serif; + border: var(--inputBorder); + transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + outline-style: none; + vertical-align: middle; + border-radius: 8px; + max-width: 550px; +} + +/* fix iptables */ +.node-admin-status-iptables .right { + padding: 12px; + border-radius: 8px; + box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); + /* background-color: var(--bgwhite); */ +} + +.node-admin-status-iptables h3 { + padding: 0; + padding-top: 10px; + padding-bottom: 10px; +} + +/* fix routes */ +.node-admin-status-routes #view p { + padding: 5px 5px 5px 12px; +} + +.node-admin-status-routes #view h3 { + font-size: 1.1rem; + line-height: 1; + display: block; + width: 100%; + margin: 0; + margin-bottom: 0; + padding: 0.8755rem 1.25rem; + color: var(--gray-dark); + border-radius: 0.375rem; + padding-bottom: unset; + font-weight: bold; +} + +/* fix tables */ +.node-admin-status-routes #view table, +.node-admin-status-processes #view table, +.node-admin-status-realtime-connections #view table[id*=connections] { + padding: 10px; + border: 1px; + font-weight: normal; + font-style: normal; + line-height: 1; + font-family: inherit; + text-align: left; + min-width: inherit; + overflow-x: auto; + overflow-y: hidden; + background-color: var(--sectionbgColor); + box-shadow: var(--sectionShaddow); + -webkit-overflow-scrolling: touch; + border: var(--sectionBorder); + margin-bottom: 20px; + border-radius: 8px; + margin-top: 20px; +} + +.node-admin-status-realtime-connections #view table[id*=connections] { + white-space: nowrap; +} + +/* fix node-admin-status-processe */ +.node-admin-status-processe button.btn.cbi-button-action { + color: var(--bttextColor); + background-color: rgb(0, 171, 232) !important; + border-color: rgb(0, 171, 232) !important; +} + +/* fix node-admin-system-opkg cbi-button-positive */ +.node-admin-system-opkg button.btn.cbi-button-positive { + color: var(--bttextColor); + background-color: var(--activeColor) !important; + border-color: var(--activeColor) !important; +} + +.node-admin-status-processe, +button.btn.cbi-button-negative { + color: #fff !important; + background-color: #617486 !important; +} + +/* fix node-admin-status-realtime-load */ +.node-admin-status-realtime-load #view div, +.node-admin-status-realtime-bandwidth #view div, +.node-admin-status-realtime-connections #view div { + border: var(--sectionBorder) !important; + font-family: -apple-system; + background: none !important; +} + +/* fix */ +.cbi-dropdown.btn.cbi-button.cbi-button-apply.important, +.cbi-dropdown.btn.cbi-button.cbi-button-negative.important { + line-height: unset; + min-width: 105px; + padding-left: 5px; +} + +.cbi-dropdown.btn.cbi-button.cbi-button-action { + line-height: unset; + min-width: 110px; + padding-left: 5px; +} + +.node-admin-system-ttyd-ttyd iframe { + border-radius: 5px !important; +} + +/* fix node-admin-status-realtime-load */ +.node-admin-status-realtime-load table { + table-layout: auto !important; +} + +.node-admin-status-realtime-load table>tr>td { + text-align: left !important; + padding: 10px 3px 10px 3px; + white-space: nowrap; +} + +/* fix node-admin-status-realtime-bandwidth */ +.node-admin-status-realtime-bandwidth table { + table-layout: auto !important; +} + +.node-admin-status-realtime-bandwidth table>tr>td { + text-align: left !important; + padding: 10px 3px 10px 3px; + white-space: nowrap; +} + +/* fix node-admin-status-overview color */ +.node-admin-status-overview h3 { + color: unset !important; +} + +/* fix node-admin-status-overview */ +.node-admin-status-overview>.main #view td:nth-child(2) { + white-space: normal; +} + +/* fix overview wifi table*/ +table.table.assoclist>.tr>.td { + white-space: normal !important; +} + +/* fix overview lases cbi-button-apply */ +table.table.lases>.tr>.td.cbi-section-actions { + width: 0px; +} + +/* fix firewall bandage */ +label.zonebadge.cbi-tooltip-container { + border-radius: 8px; +} + +label.zonebadge.zonebadge-empty { + border-radius: 8px; +} + +/* fix diagnostics button */ +span.diag-action { + padding: 15px; +} + +/* fix admin-network */ +ul.dropdown { + max-width: 1000px !important; +} \ No newline at end of file diff --git a/luci-theme-design/htdocs/luci-static/design/css/style_new.css b/luci-theme-design/htdocs/luci-static/design/css/style_new.css new file mode 100644 index 00000000..1622f4e4 --- /dev/null +++ b/luci-theme-design/htdocs/luci-static/design/css/style_new.css @@ -0,0 +1,3380 @@ +:root { + --commonRadius0: 8px; + --commonRadius1: 5px +} + +[data-theme=light] { + --bg: #f1f4f5; + --mainbg: #fff; + --bgwhite: #fff; + --activeColor: #5ea69b; + --activeBottom: #5ea69b 2px solid; + --textColor: rgb(132, 119, 116); + --borderColor: rgba(0, 0, 0, .15); + --navbgColor: rgba(255, 255, 255, .7); + --navBorder: 1px solid #f2f2f2; + --sectionbgColor: #fff; + --sectionbgColor2: #fff; + --sectionShaddow: 3px 3px 3px rgba(0, 0, 0, .05); + --sectionBorder: none; + --sectiontabBorder: none; + --tabmenuBorderLR: none; + --tabmenubgColor: none; + --tabmenuBottom: #e4eaec 1px solid; + --tabmenuRadius: 6px 6px 0 0; + --sectionnodeBorder: #f7f7f7 1px solid; + --cbilineColor: #f7f7f7 1px solid; + --tabbgColor: #fff; + --inputbgColor: #f8f8f8; + --inputtextColor: #76838f; + --inputBorder: 1px solid #e4eaec; + --mainleftbgColor: rgb(255, 255, 255); + --bttextColor: #fff; + --badgebgColor: #f7f7f7; + --badgeBorder: #e4eaec 1px solid; + --progressbarColor: #c8c8c8; + --progressbar: #5ea69b; + --progressbartxtColor: #fff; + --logo_color: #222b36; + --alertColor: #000000; + --alertBackground: rgb(230 230 230); + --scrollbarColor: #c5c5c5; + --ifaceboxBorderColor: #b8b8b8bd; + --ifaceboxFontColor: #404040; + --liSelectedColor: #c5c5c5; + --vssrStatusColor: #525f7f; + --vssrBoxShadow: 0 0 2rem 0 rgb(136 152 170 / 30%) +} + +[data-theme=dark] { + --bg: #000; + --bgwhite: #000; + --textColor: #fefefe; + --activeColor: #5ea69b; + --activeBottom: #5ea69b 2px solid; + --borderColor: #2C2C3A; + --navbgColor: hsla(0, 0%, 7%, .8); + --navBorder: 1px solid #1c1c1e; + --sectionbgColor: #1c1c1e; + --sectionbgColor2: #1c1c1e; + --sectionShaddow: 3px 3px 3px rgba(0, 0, 0, .05); + --sectionBorder: none; + --sectiontabBorder: none; + --sectionnodeBorder: #3d3d41 1px solid; + --cbilineColor: #2d2d2d 1px solid; + --tabbgColor: #1c1c1e; + --tabmenuBorderLR: none; + --tabmenubgColor: none; + --tabmenuBottom: #2d2d2d 1px solid; + --tabmenuRadius: 6px 6px 0 0; + --inputbgColor: #2f2f2f; + --inputtextColor: #fefefe; + --inputBorder: 1px solid #4d4d4d; + --mainleftbgColor: #000; + --bttextColor: #fefefe; + --badgebgColor: #fefefe; + --badgeBorder: #3d3d40 1px solid; + --progressbarColor: #6d6d6d; + --progressbar: #5ea69b; + --progressbartxtColor: #fefefe; + --logo_color: #fefefe; + --alertColor: #ffffff; + --alertBackground: rgb(30 30 30); + --scrollbarColor: #2f2f2f; + --ifaceboxBorderColor: #636363bd; + --ifaceboxFontColor: #404040; + --liSelectedColor: #2f2f2f; + --vssrStatusColor: rgb(204, 204, 204); + --vssrBoxShadow: 0 0 1rem 0 rgb(0 0 0 / 30%) +} + +@font-face { + font-family: icomoon; + src: url(../fonts/font.eot); + src: url(../fonts/font.eot) format('embedded-opentype'), url(../fonts/font.ttf) format('truetype'), url(../fonts/font.woff) format('woff'), url(../fonts/font.svg) format('svg'); + font-weight: 400; + font-style: normal +} + +@font-face { + font-family: design; + src: url(''); + src: url(?#iefix) format('embedded-opentype'), url(../fonts/iconfont-Regular.woff2) format('woff2'), url(../fonts/iconfont-Regular.woff) format('woff'), url(../fonts/iconfont-Regular.ttf) format('truetype'), url(#iconfont) format('svg') +} + +@font-face { + font-family: genjyuugothic-medium; + src: url(../fonts/GenJyuuGothic-Medium.otf) format('opentype') +} + +*::-webkit-scrollbar { + width: 5px; + height: 5px +} + +*::-webkit-scrollbar-thumb { + background: var(--scrollbarColor); + border-radius: 2px +} + +div { + font-family: hyk2gj +} + +html { + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100% +} + +html, +body { + margin: 0; + padding: 0; + height: 100%; + font-family: -apple-system, microsoft yahei !important; + font-size: .92rem; + line-height: 150%; + background-color: var(--bg); + color: var(--textColor) +} + +body div { + line-height: 150% +} + +a { + color: var(--textColor); + text-decoration: none +} + +em { + font-style: normal !important; + line-height: 1.5; + padding-left: 10px +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; + -webkit-tap-highlight-color: transparent +} + +select { + overflow: hidden !important; + width: 100%; + appearance: none; + -webkit-appearance: none; + -moz-appearance: none; + padding: 0 25px 0 10px !important; + background-size: 24px 16px; + background-repeat: no-repeat; + background-position: 100%; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABGCAYAAAA6hjFpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmRhYmFjYmIsIDIwMjEvMDQvMTQtMDA6Mzk6NDQgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjhDNzA0QUE0NjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjhDNzA0QUEzNjE2QTExRUNCMjJFQkQyRkIyNURDNjE3IiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMi41IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6QzNBNTYzNTY2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6QzNBNTYzNTc2MTUxMTFFQ0IyMkVCRDJGQjI1REM2MTciLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6YjzxlAAACsklEQVR42uyaXUsVURSG51T0U/obfUvhhYF0U0HQhZQVIWVJCAkiSUXfRRcaBFbXQVBBRCASFCJBpQQipw+RREkpCa9aG95gs0DMOp6Z7TwvvAxnzczaa6/nzDnzVTndfSVDxdE6WgAQBBCAIIAABAEEIAggAEEAQQABCAIIQBBAAIIAAhAEEAQQgCCAAAStGSAbzA/N+wvSiwPmB6or16bkoY2afLN5r+q4l2MfDpr7zetV2z7zYpmOkAHByNSE0IxDOdUSxr2rOjLVNVC2n6z77hsYmtFnbqlzHS0aN+7DouorFZBH+ibGUCrmO+YjdaqhVeNVHIxm1Ve6P/XH5ibzLwfllvn4Ko8d8t90MEIde1RXaU97n6oJCw7KNXPbKo3ZpvwxjAXV8YTrkCx7piPFQ7lsbq/xWO3K62E0qQ4uDKXn5kbzTxe/YO6o0Rgdypc5GI0anyt1p5fm3eYfLn7e3PmfuTuVJ1YYZ5fG5Up9CQ2qSfMu3m3u+secXdo/1rzGGeTWyfIaUrPmXPycuWeFuXq0X6w55R8q4NwLe3PxlXmn+buLnzX3/mWOXm0fK+RrUP4MICvTG/MO86yLnzFfWmbfi9ou1qzyvS7wnAt/+31YTZxx8ZPmq+709c/pcoifcvEZ5Rku+HyTeB4yYt5unnbxE+YbEZSwvK54rGntP5LAXJN5QPXWvNX8zcWPmm9rHmF5zK0P22/T/hlAaqv35i3mKRc/bB7VMtaUIL5LaI7JPcIdVZMnXXyT+zyp7T4kNr8kn6mPqdlfllj/VevHEpxbsi85fNTP1ycX/2zerPUZQOqrcUGp6nNVMMYTnlPyrwFNCMILLScSn0++r7zUSFVdZ6wJ8aIcQBBAAIIAAhAEEIAggAAEAQQBBCAIIABBAAEIAghAEEAQQJLQbwEGAK/reX2gh5gQAAAAAElFTkSuQmCC) +} + +select, +input { + color: var(--inputtextColor); + padding: 5px 10px; + font-size: .92rem; + font-family: -apple-system, microsoft yahei, sans-serif, Helvetica, Arial, sans-serif; + border: var(--inputBorder); + background-color: var(--inputbgColor); + transition: color 100ms ease, border-color 100ms ease, opacity 100ms ease; + -webkit-transition: color 100ms ease, border-color 100ms ease, opacity 100ms ease; + outline-style: none; + vertical-align: middle; + border-radius: var(--commonRadius0); + margin: 3px 3px 3px 0; + height: 2.8rem; + line-height: 2.8rem; + max-width: 550px +} + +select:not([multiple=multiple]):focus, +input:focus { + border-color: #948fe1; + box-shadow: 0 0 6px #948fe1; + -webkit-box-shadow: 0 0 6px #948fe1; + -moz-box-shadow: 0 0 6px #948fe1 +} + +input[type=file] { + border: none; + background: 0 0; + height: auto; + line-height: 1rem +} + +input[type=checkbox] { + height: 1.2rem; + width: 1.2rem +} + +input[type=radio] { + height: 1.2rem; + width: 1.2rem; + box-shadow: var(--bg) +} + +select[multiple=multiple] { + height: auto +} + +.node-docker-images input[type=text] { + width: auto !important +} + +input[type=text], +input[type=password] { + width: 100% +} + +code { + color: #09c +} + +abbr { + text-decoration: underline; + cursor: help +} + +br { + display: block; + margin-bottom: .2px; + content: '' +} + +hr { + margin: 1rem 0; + border-color: #eee; + opacity: .1 +} + +header, +.main { + width: 100%; + position: absolute +} + +header { + background-color: var(--bgwhite); + box-shadow: 18rem 2px 4px rgba(0, 0, 0, .08); + transition: box-shadow .1s; + height: 55px; + float: left; + position: fixed; + z-index: 101 +} + +footer { + text-align: right; + padding: 1rem; + color: #aaa; + font-size: 11px; + height: 80px; + visibility: hidden +} + +footer>a { + color: #9a258f; + text-decoration: none +} + +text, +line { + font-family: Verdana !important +} + +.cbi-button-up, +.cbi-button-down, +.cbi-value-helpicon, +.showSide, +.main>.loading>span { + font-family: icomoon !important; + font-size: 10px; + speak: none; + font-style: normal !important; + font-weight: 400 !important; + font-variant: normal !important; + text-transform: none !important; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale +} + +.node-services-passwall2 #cbi-passwall2 { + text-align: center +} + +.node-services-passwall2 input.cbi-button.cbi-button { + max-width: unset +} + +.node-services-passwall #set_node_div, +.node-services-passwall2 #set_node_div, +.node-services-passwall #add_link_div, +.node-services-passwall2 #add_link_div { + background: var(--sectionbgColor); + border-radius: var(--commonRadius0) +} + +.node-services-passwall #add_link_div #nodes_link, +.node-services-passwall2 #add_link_div #nodes_link { + width: 100% !important +} + +.h1, +.h2, +.h3, +.h4, +.h5, +.h6, +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: -apple-system, microsoft yahei; + font-weight: 600; + line-height: 1.1; + color: inherit; + clear: both; + text-transform: capitalize +} + +label.zonebadge.zonebadge-empty { + background-color: #03abe8 !important +} + +label.zonebadge { + border-radius: var(--commonRadius1); + padding: 2px 5px !important; + display: inline-block; + cursor: pointer; + color: #666 +} + +.zonebadge { + border-radius: 6px; + padding: 5px +} + +.zonebadge em { + padding: 3px +} + +svg { + background-color: var(--sectionbgColor) +} + +.cbi-section .cbi-section { + margin: 10px +} + +.node-services-vssr .status-bar { + bottom: calc(var(--vssrBottom) + constant(safe-area-inset-bottom)); + bottom: calc(var(--vssrBottom) + env(safe-area-inset-bottom)); + background-color: var(--navbgColor); + box-shadow: var(--vssrBoxShadow) !important; + color: var(--vssrStatusColor) !important +} + +.node-services-vssr .container { + padding-bottom: calc(var(--vssrBottom) + constant(safe-area-inset-bottom)); + padding-bottom: calc(var(--vssrBottom) + env(safe-area-inset-bottom)) +} + +.node-services-vssr .ssr-button { + min-width: 30px +} + +.node-services-vssr #cbi-vssr .panel-title { + padding: 10px 0 10px 10px !important; + letter-spacing: 0 !important +} + +.node-services-vssr .status .block { + border-radius: 10px !important; + box-shadow: none !important; + background-color: var(--sectionbgColor) !important +} + +.node-services-vssr button { + border-radius: 10px !important +} + +#cbi-vssr-servers .cbi-section-table-row { + position: relative; + margin: 10px !important; + padding: 8px 15px 8px 70px; + box-shadow: none !important; + border-radius: 10px !important; + border: 0; + color: var(--textColor) !important; + text-align: left; + line-height: 1.7em; + overflow: hidden; + letter-spacing: normal; + background-color: var(--inputbgColor) !important +} + +.cbi-section-table-row.fast { + background-color: #add8e6 !important +} + +.incon .tp { + text-transform: uppercase; + color: var(--bg) !important +} + +::file-selector-button { + transition: all .1s ease-in-out; + border-radius: var(--commonRadius1); + border: 3px solid #337ab7 !important; + color: #fff !important; + background-color: #337ab7 !important; + box-sizing: border-box; + cursor: pointer +} + +::file-selector-button:hover, +::file-selector-button:focus, +::file-selector-button:active { + color: #fff !important; + background-color: #6a65d6 !important; + border-color: #6a65d6 !important +} + +img[src*="/luci-static/resources/icons/port_up.png"] { + background-image: url(../images/port_up.png); + background-size: 32px 32px; + height: 32px; + padding: 0 0 0 32px; + width: 0 +} + +img[src*="/luci-static/resources/icons/port_down.png"] { + background-image: url(../images/port_down.png); + background-size: 32px 32px; + height: 32px; + padding: 0 0 0 32px; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/ethernet.png"], +#wan6_i img[src*="/luci-static/resources/icons/ethernet.png"], +img[src*="/luci-static/resources/icons/ethernet.png"] { + background-image: url(../images/ethernet.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet.png"], +.ifacebadge img[src*="/luci-static/resources/icons/ethernet.png"], +li img[src*="/luci-static/resources/icons/ethernet.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/ethernet.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +img[src*="/luci-static/resources/icons/ethernet_disabled.png"] { + background-image: url(../images/ethernet_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +.ifacebadge img[src*="/luci-static/resources/icons/ethernet_disabled.png"], +li img[src*="/luci-static/resources/icons/ethernet_disabled.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/ethernet_disabled.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/switch.png"], +#wan6_i img[src*="/luci-static/resources/icons/switch.png"], +img[src*="/luci-static/resources/icons/switch.png"] { + background-image: url(../images/switch.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/switch.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/switch.png"], +.ifacebadge img[src*="/luci-static/resources/icons/switch.png"], +li img[src*="/luci-static/resources/icons/switch.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/switch.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/switch_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/switch_disabled.png"], +img[src*="/luci-static/resources/icons/switch_disabled.png"] { + background-image: url(../images/switch_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/switch_disabled.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/switch_disabled.png"], +.ifacebadge img[src*="/luci-static/resources/icons/switch_disabled.png"], +li img[src*="/luci-static/resources/icons/switch_disabled.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/switch_disabled.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/wifi.png"], +#wan6_i img[src*="/luci-static/resources/icons/wifi.png"], +img[src*="/luci-static/resources/icons/wifi.png"] { + background-image: url(../images/wifi.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/wifi.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/wifi.png"], +.ifacebadge img[src*="/luci-static/resources/icons/wifi.png"], +li img[src*="/luci-static/resources/icons/wifi.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/wifi.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/wifi_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/wifi_disabled.png"], +img[src*="/luci-static/resources/icons/wifi_disabled.png"] { + background-image: url(../images/wifi_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +#cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/wifi_disabled.png"], +#cbi-network-1-_ifname img[src*="/luci-static/resources/icons/wifi_disabled.png"], +.ifacebadge img[src*="/luci-static/resources/icons/wifi_disabled.png"], +li img[src*="/luci-static/resources/icons/wifi_disabled.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/wifi_disabled.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/vlan.png"], +#wan6_i img[src*="/luci-static/resources/icons/vlan.png"], +img[src*="/luci-static/resources/icons/vlan.png"] { + background-image: url(../images/vlan.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +.ifacebadge img[src*="/luci-static/resources/icons/vlan.png"], +li img[src*="/luci-static/resources/icons/vlan.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/vlan.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/vlan_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/vlan_disabled.png"], +img[src*="/luci-static/resources/icons/vlan_disabled.png"] { + background-image: url(../images/vlan_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +.ifacebadge img[src*="/luci-static/resources/icons/vlan_disabled.png"], +li img[src*="/luci-static/resources/icons/vlan_disabled.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/vlan_disabled.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/bridge.png"], +#wan6_i img[src*="/luci-static/resources/icons/bridge.png"], +img[src*="/luci-static/resources/icons/bridge.png"] { + background-image: url(../images/bridge.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +.ifacebadge img[src*="/luci-static/resources/icons/bridge.png"], +li img[src*="/luci-static/resources/icons/bridge.png"] { + background-image: url(../images/bridge.png); + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; + width: 0 +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/bridge.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/bridge_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/bridge_disabled.png"], +img[src*="/luci-static/resources/icons/bridge_disabled.png"] { + background-image: url(../images/bridge_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +.ifacebadge img[src*="/luci-static/resources/icons/bridge_disabled.png"], +li img[src*="/luci-static/resources/icons/bridge_disabled.png"] { + background-image: url(../images/bridge_disabled.png); + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px; + width: 0 +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/bridge_disabled.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/tunnel.png"], +#wan6_i img[src*="/luci-static/resources/icons/tunnel.png"], +img[src*="/luci-static/resources/icons/tunnel.png"] { + background-image: url(../images/tunnel.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +.ifacebadge img[src*="/luci-static/resources/icons/tunnel.png"], +li img[src*="/luci-static/resources/icons/tunnel.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/tunnel.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +#wan4_i img[src*="/luci-static/resources/icons/tunnel_disabled.png"], +#wan6_i img[src*="/luci-static/resources/icons/tunnel_disabled.png"], +img[src*="/luci-static/resources/icons/tunnel_disabled.png"] { + background-image: url(../images/tunnel_disabled.png); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +.ifacebadge img[src*="/luci-static/resources/icons/tunnel_disabled.png"], +li img[src*="/luci-static/resources/icons/tunnel_disabled.png"] { + background-size: 16px 16px; + height: 16px; + width: 16px; + padding: 0 0 0 16px +} + +#__status-ifc-signal img[src*="/luci-static/resources/icons/tunnel_disabled.png"] { + background-size: 32px 32px !important; + height: 32px !important; + width: 32px !important; + padding: 0 0 0 32px !important; + width: 0 +} + +img[src*="/luci-static/resources/icons/wifi_big.png"] { + background-image: url(../images/wifi_big.png); + background-size: 64px 64px; + height: 64px; + padding: 0 0 0 64px; + width: 0 +} + +img[src*="/luci-static/resources/icons/wifi_big_disabled.png"] { + background-image: url(../images/wifi_big_disabled.png); + background-size: 64px 64px; + height: 64px; + padding: 0 0 0 64px; + width: 0 +} + +img[src*="/luci-static/resources/icons/loading.gif"] { + background-image: url(../images/loading.gif); + background-size: 32px 32px; + height: 32px; + width: 32px; + padding: 0 0 0 32px; + width: 0 +} + +.ifacebox-body img { + background-size: 20px 20px; + width: 20px !important; + height: 20px !important; + padding: 0 0 0 20px !important +} + +.ifacebox-head { + border-radius: 4px 4px 0 0 +} + +img[src*="/luci-static/resources/cbi/add.gif"] { + background-image: url(../images/add.png); + background-size: 20px 20px; + height: 20px; + padding: 0 0 0 20px; + width: 0; + z-index: 2 +} + +img[src*="/luci-static/resources/cbi/remove.gif"] { + background-image: url(../images/remove.png); + background-size: 20px 20px; + height: 20px; + padding: 0 0 0 20px; + width: 0; + z-index: 2 +} + +img[src*="/luci-static/resources/cbi/reload.gif"] { + background-image: url(../images/reload.png); + background-size: 20px 20px; + height: 20px; + padding: 0 0 0 20px; + width: 0; + z-index: 2 +} + +img[src*="/luci-static/resources/icons/signal-75-100.png"] { + background-image: url(../images/signal-75-100.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2 +} + +img[src*="/luci-static/resources/icons/signal-50-75.png"] { + background-image: url(../images/signal-50-75.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2 +} + +img[src*="/luci-static/resources/icons/signal-25-50.png"] { + background-image: url(../images/signal-25-50.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2 +} + +img[src*="/luci-static/resources/icons/signal-0-25.png"] { + background-image: url(../images/signal-0-25.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2 +} + +img[src*="/luci-static/resources/icons/signal-0.png"] { + background-image: url(../images/signal-0.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2 +} + +img[src*="/luci-static/resources/icons/signal-none.png"] { + background-image: url(../images/signal-none.png); + image-rendering: pixelated; + background-size: 24px 24px; + height: 24px; + width: 24px; + padding: 0 0 0 24px; + z-index: 2 +} + +.myIcon { + font-family: design !important; + font-style: normal !important; + font-variant: normal !important; + text-transform: none !important +} + +.myIcon-logout:after { + content: "\e005" +} + +.myIcon-reboot:after { + content: "\e02a" +} + +.myIcon-wifi:after { + content: "\e00c" +} + +.main { + top: 50px; + bottom: 0; + position: relative; + height: 100%; + height: calc(100% - 4rem) +} + +.main>.loading { + position: fixed; + width: 100%; + height: 100%; + z-index: 1000; + display: block; + background-color: #f0f0f0; + top: 0 +} + +.main>.loading>span { + display: block; + text-align: center; + margin-top: 2rem; + color: #888; + font-size: 1rem +} + +.main>.loading>span>.loading-img:before { + content: "\e603" +} + +.main>.loading>span>.loading-img { + animation: anim-rotate 2s infinite linear; + margin-right: .2rem; + display: inline-block +} + +.node-main-login { + text-align: center; + background-color: var(--bgwhite) !important +} + +.node-main-login .cbi-section-node>.cbi-value:nth-of-type(2n) { + background: 0 0 +} + +.node-main-login h2 { + font-size: 1.5rem +} + +.node-main-login header { + display: none +} + +.node-main-login>.main>.main-left { + display: none +} + +.node-main-login>.main>.main-right { + width: 100% +} + +.node-main-login>.main fieldset { + padding: 0 !important; + margin-bottom: 1rem; + display: inline; + background: 0 0; + border: none; + box-shadow: none; + overflow: hidden +} + +.node-main-login>.main fieldset .cbi-value-title { + display: none !important +} + +.node-main-login>.main .cbi-section { + margin-top: 10px !important +} + +.node-main-login>.main .cbi-map {} + +.node-main-login>.main fieldset .cbi-value {} + +.node-main-login>.main fieldset .cbi-value-title { + padding: 10px 0 10px 5px !important +} + +.node-main-login>.main .cbi-value { + border: none +} + +.node-main-login>.main .cbi-value-title { + width: 7rem +} + +.node-main-login>.main #maincontent { + display: flex; + height: 100%; + text-align: center; + align-items: center; + align-content: center; + justify-content: center +} + +.node-main-login>.main form>div:nth-last-child(1) {} + +.node-main-login>.main .cbi-value>* { + display: inline-block !important +} + +.node-main-login>.main .cbi-input-user, +.node-main-login>.main .cbi-input-password { + appearance: none; + outline: 0; + padding: 0 0 0 35px; + background-repeat: no-repeat; + background-position: 10px 10px; + background-size: 18px 18px; + min-width: 15rem +} + +.node-main-login>.main .cbi-input-user { + background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjNjI3Mzg2IiBkPSJNMTIgNGE0IDQgMCAwIDEgNCA0IDQgNCAwIDAgMS00IDQgNCA0IDAgMCAxLTQtNCA0IDQgMCAwIDEgNC00bTAgMTBjNC40Mi4wIDggMS43OSA4IDR2Mkg0di0yYzAtMi4yMSAzLjU4LTQgOC00eiIvPjwvc3ZnPg==) +} + +.node-main-login>.main .cbi-input-password { + background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjNjI3Mzg2IiBkPSJNMTIgMTdhMiAyIDAgMCAwIDItMiAyIDIgMCAwIDAtMi0yIDIgMiAwIDAgMC0yIDIgMiAyIDAgMCAwIDIgMm02LTlhMiAyIDAgMCAxIDIgMnYxMGEyIDIgMCAwIDEtMiAySDZhMiAyIDAgMCAxLTItMlYxMGEyIDIgMCAwIDEgMi0yaDFWNmE1IDUgMCAwIDEgNS01IDUgNSAwIDAgMSA1IDV2MmgxbS02LTVhMyAzIDAgMCAwLTMgM3YyaDZWNmEzIDMgMCAwIDAtMy0zeiIvPjwvc3ZnPg==) +} + +.node-main-login footer { + bottom: 0; + position: absolute; + width: 100% +} + +.navbar { + overflow: hidden; + position: fixed; + bottom: 0; + width: 100%; + border-top: var(--navBorder); + text-align: center; + height: calc(50px + constant(safe-area-inset-bottom)); + height: calc(50px + env(safe-area-inset-bottom)); + background-color: var(--navbgColor); + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px) +} + +.navbar a { + float: left; + text-align: center; + padding: 8px 0; + width: 20%; + text-decoration: none; + max-width: 100px +} + +.cbi-map { + margin-top: 10px +} + +#cbi-shadowsocksr .cbi-map-descr { + display: none +} + +.navbar a img { + width: 28px +} + +@keyframes anim-rotate { + 0% { + -webkit-transform: rotate(0); + -ms-transform: rotate(0); + transform: rotate(0) + } + + 100% { + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + transform: rotate(360deg) + } +} + +.main-left { + float: left; + width: 18rem; + background-color: var(--mainleftbgColor); + overflow-x: auto; + height: calc(100% - 3.5rem); + position: fixed; + padding-top: 15px; + box-shadow: 0 0 4px transparent; + transition: visibility 100ms, width 100ms +} + +.main-right { + width: 85%; + width: calc(100% - 18rem); + float: right; + height: 100%; + border-left: var(--sectionBorder) +} + +.main-right>#maincontent {} + +.pull-right { + position: absolute; + top: -2px; + right: 30px; + cursor: pointer +} + +.pull-left { + float: left +} + +header>.container { + margin: 0; + padding: 0 +} + +header>.container>.brand { + font-size: 25px; + font-family: genjyuugothic-medium; + line-height: 60px; + color: var(--logo_color); + cursor: default; + display: block; + width: 18rem; + height: 60px; + text-align: center; + float: left; + font-weight: 900; + letter-spacing: 1px; + padding: 0 4.5rem; + transition: .1s ease-in-out; + position: absolute +} + +header>.container>a[class=brand]:after { + content: ""; + font-size: 14px; + font-family: Tahoma; + position: absolute; + top: -10px; + font-weight: 400 !important +} + +header>.container>.brand-hostname { + font-size: 14px; + line-height: 60px; + color: #555; + cursor: default; + display: block; + width: 18rem; + padding-right: 10px; + height: 60px; + text-align: left; + float: left; + margin-top: 7px; + font-weight: 300; + margin-left: -15px +} + +.warning { + background-color: #ff7d60 !important; + color: #fff +} + +.errorbox, +.alert-message { + margin: 0 0 10px; + padding: 20px; + line-height: 1.5; + font-family: inherit; + min-width: inherit; + overflow: auto; + border-radius: 10px; + color: var(--alertColor); + background-color: var(--alertBackground) +} + +.errorbox { + color: #fff; + background-color: #ff6767; + border-radius: 10px +} + +.error { + color: red +} + +p#shadowsocksr_status { + padding: 3px +} + +#maincontent>.container>div:nth-child(1).alert-message.warning>a { + font: inherit; + overflow: visible; + text-transform: none; + display: inline-block; + margin-bottom: 0; + font-weight: 400; + text-align: center; + white-space: nowrap; + vertical-align: middle; + touch-action: manipulation; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-image: none; + min-width: 6rem; + padding: .5rem 1rem; + font-size: 14px; + line-height: 1.42857143; + color: #fff; + background-color: #5bc0de; + border-color: #46b8da; + margin-top: 2rem; + text-decoration: inherit +} + +.main>.main-left>.nav { + overflow-y: visible !important; + font-size: 1rem; + width: 90%; + margin: auto; + margin-bottom: 90px +} + +.main>.main-left>.nav>li a { + color: var(--activeColor); + display: block; + border-radius: 6px; + cursor: pointer; + font-weight: 700; + font-size: 1.1rem; + transition: all .1s +} + +.main>.main-left>.nav>li { + cursor: pointer; + padding-top: 6px +} + +.main>.main-left>.nav>.slide { + padding: 0; + padding-top: 8px +} + +.main>.main-left>.nav>.slide>a:before { + display: inline-block; + left: -10px; + top: 1px; + position: relative; + font-family: design !important; + font-weight: 700 !important; + text-transform: none !important; + speak: none; + font-size: 1.2rem !important; + -webkit-font-smoothing: antialiased +} + +.main>.main-left>.nav>.slide>.menu::after { + right: .5rem; + top: .8rem; + font-family: design !important; + font-style: normal !important; + font-variant: normal !important; + content: "\eb03"; + float: right; + padding-right: 5px; + line-height: 1.6; + -moz-osx-font-smoothing: grayscale; + transition: all .1s ease; + text-rendering: auto; + -webkit-font-smoothing: antialiased +} + +.main .main-left .nav li.slide .menu.active::after { + transform: rotate(90deg) +} + +.main>.main-left>.nav>.slide>a[data-title=Status]:before { + content: "\e6b8" +} + +.main>.main-left>.nav>.slide>a[data-title=System]:before { + content: "\e645" +} + +.main>.main-left>.nav>.slide>a[data-title=Modem]:before { + content: "\e67e" +} + +.main>.main-left>.nav>.slide>a[data-title=Services]:before { + content: "\e6cb" +} + +.main>.main-left>.nav>.slide>a[data-title=Docker]:before { + content: "\44" +} + +.main>.main-left>.nav>.slide>a[data-title=NAS]:before { + content: "\eb04" +} + +.main>.main-left>.nav>.slide>a[data-title=VPN]:before { + content: "\56" +} + +.main>.main-left>.nav>.slide>a[data-title=Network]:before { + content: "\72" +} + +.main>.main-left>.nav>.slide>a[data-title="Bandwidth Monitor"]:before { + content: "\e764" +} + +.main .main-left .nav li.slide .menu[data-title=Statistics]:before { + content: "\e604" +} + +.main .main-left .nav li.slide .menu[data-title=Control]:before { + content: "\e67a" +} + +.main .main-left .nav li.slide .menu[data-title=Asterisk]:before { + content: "\e7dd" +} + +.main>.main-left>.nav>.slide>a[data-title=QuickStart]:before, +.main>.main-left>.nav>li>a[data-title="Inital Setup"]:before, +.main>.main-left>.nav>li>a[data-title=NetworkGuide]:before, +.main>.main-left>.nav>li>a[href="/cgi-bin/luci//admin/wizard"]:before { + content: "\e719" +} + +.main>.main-left>.nav>li>a[data-title=iStore]:before { + content: "\e676" +} + +.main>.main-left>.nav>li>a[data-title=Logout] { + padding: .675rem 0 .675rem 2.5rem +} + +.main>.main-left>.nav>li>a[data-title=Logout]:before { + content: "\e641" +} + +.main>.main-left>.nav>li>a[data-title=Reboot] { + padding: 6px 25px +} + +.main>.main-left>.nav>li>a[data-title=Reboot]:before { + content: "\e004" +} + +.main>.main-left>.nav>.slide>ul { + display: none; + list-style: dotted +} + +.main>.main-left>.nav>.slide>.menu { + display: block; + padding: .675rem 0 .675rem 2.5rem; + text-decoration: none; + cursor: pointer +} + +.main>.main-left>.nav>.slide>.menu2 { + display: block; + padding: .675rem 0 .675rem 2.5rem; + text-decoration: none; + cursor: pointer +} + +.main>.main-left>.nav>li:hover, +.main>.main-left>.nav>.slide>.menu:hover { + background: var(--activeColor); + color: #fff +} + +.main>.main-left>.nav>.slide>.menu2:hover { + background: var(--activeColor); + color: #fff +} + +.main>.main-left>.nav>.slide:hover { + background: 0 0 +} + +.slide-menu { + overflow: hidden +} + +.main>.main-left>.nav>.slide>.slide-menu>li { + margin-top: 8px; + border-radius: 6px +} + +.main>.main-left>.nav>.slide>.slide-menu>.active { + background-color: var(--activeColor) +} + +.main>.main-left>.nav>.slide>.slide-menu>li>a { + position: relative; + display: block; + color: var(--textColor); + vertical-align: middle; + background: 0 0 !important; + border: none !important; + text-transform: capitalize; + font-size: 1rem; + margin: .1rem .5rem; + padding: .675rem 0 .675rem 3.2rem +} + +.main .main-left .nav li.slide .slide-menu .active a { + color: #000 +} + +.main>.main-left>.nav>.slide>.slide-menu>li>a:hover { + color: #fff +} + +.main>.main-left>.nav>.slide>.slide-menu>.active>a { + color: #fff +} + +.main>.main-left>.nav>.slide>.slide-menu>li:hover { + background: var(--activeColor); + color: #fff !important; + transition: all .1s +} + +.main>.main-left>.nav>.slide>.slide-menu>.active:hover { + background-color: var(--activeColor); + cursor: pointer +} + +.cbi-tab-descr { + padding: 10px +} + +li { + list-style-type: none +} + +#maincontent>.container { + margin: 30px 30px 50px +} + +h1 { + color: var(--activeColor); + font-size: 20px; + padding-bottom: 10px; + border-bottom: 1px solid #eee +} + +h2 { + color: var(--activeColor); + padding: 0 12px 6px; + text-transform: capitalize +} + +h3 { + font-size: 1.2rem; + color: var(--activeColor); + font-weight: 700; + padding: 0 12px 10px +} + +h4 {} + +label { + display: inline-block; + vertical-align: middle +} + +fieldset { + padding: 10px; + border: 1px; + font-weight: 400; + font-style: normal; + line-height: 1; + font-family: inherit; + text-align: left; + min-width: inherit; + overflow-x: auto; + overflow-y: hidden; + background-color: var(--sectionbgColor); + -webkit-overflow-scrolling: touch +} + +fieldset>legend { + display: none !important +} + +fieldset>fieldset { + padding: 0 +} + +.panel-title { + width: 100%; + display: block; + padding: 10px; + font-weight: 700; + font-size: 1rem +} + +table { + border-spacing: 0; + border-collapse: collapse; + width: 100%; + border: 0 solid #eee !important; + margin: 0 !important +} + +strong { + font-weight: 700; + padding: 2px +} + +#lb_load01_cur, +#lb_load01_peak, +#lb_load05_cur, +#lb_load15_cur { + text-align: right !important +} + +#lb_load01_peak { + text-align: left !important +} + +#lb_load01_cur {} + +table>tbody>tr>td, +table>tbody>tr>th, +table>tfoot>tr>td, +table>tfoot>tr>th, +table>thead>tr>td, +table>thead>tr>th { + padding: 12px; + white-space: nowrap; + line-height: 1.5; + vertical-align: middle !important +} + +.node-services-appfilter table>tbody>tr>th, +.node-services-appfilter table>tbody>tr>td, +.node-nlbw-usage table>tbody>tr>th, +.node-nlbw-usage table>tbody>tr>td { + text-align: center +} + +table>tbody>tr { + border-bottom: var(--cbilineColor) !important +} + +table>tbody>tr:last-child { + border-bottom: none !important +} + +.cbi-section-table-cell { + text-align: center +} + +.cbi-section-table-row { + text-align: center +} + +.cbi-section-remove { + margin-bottom: 2px +} + +.cbi-section-remove>input { + background-color: #c06 +} + +fieldset>table>tbody>tr:nth-of-type(odd) { + background-color: var(--sectionbgColor2) +} + +#lease6_status_table>tbody>.cbi-section-table-row.cbi-rowstyle-1 div, +#lease6_status_table>tbody>.cbi-section-table-row.cbi-rowstyle-2 div { + min-width: 100% +} + +.node-status-overview>.main fieldset:nth-child(6) td:nth-child(2), +.node-status-overview table[id=wifi_status_table]>tbody>tr>td { + white-space: normal +} + +#swaptotal>div, +#swapfree>div, +#swapcache>div, +#memfree>div, +#membuff>div, +#conns>div, +#memcache>div, +#memtotal>div { + width: 100% !important; + border-color: var(--progressbarColor) !important; + background-color: var(--progressbarColor) !important; + border-radius: 3px +} + +#swaptotal>div>div, +#swapfree>div>div, +#swapcache>div>div, +#memfree>div>div, +#membuff>div>div, +#conns>div>div, +#memcache>div>div, +#memtotal>div>div { + background-color: var(--progressbar) !important; + color: var(--progressbartxtColor) !important; + border-radius: 3px +} + +#swaptotal div div, +#swapfree div div, +#swapcache div div, +#memfree div div, +#membuff div div, +#conns div div, +#memcache div div, +#memtotal div div { + align-items: center; + align-content: center; + justify-content: center; + display: flex +} + +#swaptotal div div small, +#swapfree div div small, +#swapcache div div small, +#memfree div div small, +#membuff div div small, +#conns div div small, +#memcache div div small, +#memtotal div div small { + font-size: .75rem !important; + line-height: 130%; + color: var(--progressbartxtColor) !important +} + +.cbi-value-field { + width: 65% +} + +.node-system-admin .cbi-value-field li div { + padding: 0 !important +} + +.node-system-admin em { + padding: 0 !important +} + +.node-nlbw-display hr { + display: none +} + +.node-nlbw-display p { + line-height: 1.5; + padding: 0 10px 5px +} + +#cbi-network .cbi-value-field ul, +#cbi-wireless .cbi-value-field ul, +#cbi-firewall .cbi-value-field ul { + overflow-x: auto; + white-space: nowrap +} + +#cbi-network .cbi-value-field ul input[type=text], +#cbi-wireless .cbi-value-field ul input[type=text], +#cbi-firewall .cbi-value-field ul input[type=text] { + max-width: 10rem; + width: 100% !important +} + +div [id*=cbi-network-] [id*=-__status] table, +div [id*=cbi-wireless] [id*=-__status] table { + width: auto +} + +div [id*=cbi-network-] [id*=-__status] table td, +div [id*=cbi-wireless] [id*=-__status] table td { + width: auto; + padding: 0 !important +} + +div [id*=cbi-network-] [id*=-__status] table td small, +div [id*=cbi-wireless] [id*=-__status] table td small { + width: auto +} + +.node-network-wifi .cbi-section-table tr .cbi-value-field, +.node-network-wireless .cbi-section-table tr .cbi-value-field { + width: unset !important; + text-align: right +} + +.node-network-wireless #iw-assoclist .cbi-section-table-row td[colspan="6"], +.node-network-wireless .cbi-section-table .cbi-section-table-row td[colspan="6"], +.node-network-wifi .cbi-section-table .cbi-section-table-row td[colspan="8"] { + text-align: center !important +} + +.node-network-wireless #iw-assoclist .cbi-section-table-row td div { + max-width: unset !important +} + +.node-network-wifi table, +td, +th { + border-top: unset !important +} + +.node-network-wifi .cbi-section-table td[colspan="2"] { + padding-left: unset !important +} + +.node-status-routes .cbi-section-node { + max-height: 500px; + overflow-y: auto; + overflow-x: auto +} + +table table { + border: none +} + +.cbi-value-field table { + border: none +} + +.cbi-value-field label { + padding: 0 +} + +td>table>tbody>tr>td { + border: none +} + +.cbi-value-field>table>tbody>tr>td { + border: none +} + +#container\.nlbw\.traffic th, +#container\.nlbw\.traffic td, +#container\.nlbw\.layer7 th, +#container\.nlbw\.layer7 td, +#container\.nlbw\.ipv6 th, +#container\.nlbw\.ipv6 td, +#container\.nlbw\.export th, +#container\.nlbw\.export td { + padding: 12px !important; + border-top: none; + border: unset; + text-align: center +} + +#container\.nlbw\.traffic tr td:nth-child(4), +#container\.nlbw\.layer7 tr td:nth-child(3), +#container\.nlbw\.ipv6 tr td:nth-child(4), +#container\.nlbw\.export tr td:nth-child(4), +#container\.nlbw\.traffic tr td:nth-child(6), +#container\.nlbw\.layer7 tr td:nth-child(5), +#container\.nlbw\.ipv6 tr td:nth-child(6), +#container\.nlbw\.export tr td:nth-child(6) { + text-align: right !important +} + +#container\.nlbw\.traffic tr td:nth-child(5), +#container\.nlbw\.layer7 tr td:nth-child(4), +#container\.nlbw\.ipv6 tr td:nth-child(5), +#container\.nlbw\.export tr td:nth-child(5), +#container\.nlbw\.traffic tr td:nth-child(7), +#container\.nlbw\.layer7 tr td:nth-child(6), +#container\.nlbw\.ipv6 tr td:nth-child(7), +#container\.nlbw\.export tr td:nth-child(7) { + text-align: left !important +} + +td#__status-ifc-signal { + width: 60px !important +} + +.cbi-button { + -webkit-appearance: none; + text-transform: uppercase; + color: #fff; + background-color: #337ab7; + transition: all .1s ease-in-out; + display: inline-block; + border: none; + cursor: pointer; + -ms-touch-action: manipulation; + touch-action: manipulation; + background-image: none; + text-align: center; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + width: auto !important; + min-width: 80px; + padding: 0 8px; + border-radius: var(--commonRadius0); + height: 35px; + line-height: 35px +} + +.cbi-button:hover, +.cbi-button:focus, +.cbi-button:active { + color: #fff; + outline: 0; + text-decoration: none; + background-color: #6a65d6 +} + +.cbi-button:hover, +.cbi-button:focus { + box-shadow: 0 1px 1px rgba(0, 0, 0, .05) +} + +.cbi-button:active { + box-shadow: 0 1px 1px rgba(0, 0, 0, .05) +} + +.cbi-button:disabled { + cursor: not-allowed; + pointer-events: none; + opacity: .6; + box-shadow: none +} + +form.inline+form.inline, +.cbi-button+.cbi-button {} + +.cbi-button-reset, +.cbi-input-remove { + color: #fff !important; + background-color: #617486 !important +} + +.cbi-button-reset:hover, +.cbi-input-remove:hover, +.cbi-button-remove:hover { + color: #fff !important; + background-color: #536473 !important +} + +.cbi-button-link, +.cbi-input-find, +.cbi-input-save, +.cbi-button-add, +.cbi-button-save, +.cbi-button-find, +.cbi-input-reload, +.cbi-button-reload { + color: var(--bttextColor); + background-color: #337ab7 !important; + border-color: #337ab7 !important +} + +.cbi-button-link:hover, +.cbi-input-find:hover, +.cbi-input-save:hover, +.cbi-button-add:hover, +.cbi-button-save:hover, +.cbi-button-find:hover, +.cbi-input-reload:hover, +.cbi-button-reload:hover { + color: #fff !important; + background-color: #6a82ae !important; + border-color: #6a82ae !important +} + +.cbi-input-apply, +.cbi-button-apply, +.cbi-button-edit { + color: #fff !important; + background-color: var(--activeColor) +} + +.cbi-input-reset, +.cbi-button-remove { + color: #fff !important; + background: #617486 +} + +.a-to-btn { + text-decoration: none +} + +.tabs { + margin: 15px 0; + overflow-x: auto +} + +.cbi-tabmenu>li, +.tabs>li { + display: table-cell +} + +.cbi-tabmenu>li { + border-radius: var(--tabmenuRadius) +} + +.tabs>li>a { + text-decoration: none; + padding: 0 6px; + float: left; + display: block; + white-space: nowrap; + height: 2.5rem; + line-height: 2.5rem; + font-size: .92rem +} + +.cbi-tabmenu>li>a { + text-decoration: none; + float: left; + display: block; + white-space: nowrap; + height: 2.5rem; + line-height: 2.5rem; + font-size: .92rem; + margin: 0 10px +} + +.tabs>li[class~=active], +.tabs>li:hover { + cursor: pointer +} + +.tabs>li[class~=active]>a { + color: var(--activeColor) !important; + padding-bottom: 8px; + border-bottom: var(--activeColor) 2px solid +} + +.tabs>li:hover {} + +.cbi-tabmenu { + border-top: var(--sectiontabBorder); + border-left: var(--tabmenuBorderLR); + border-right: var(--tabmenuBorderLR); + border-bottom: var(--tabmenuBottom); + background-color: var(--tabmenubgColor); + width: 100%; + overflow-x: auto; + margin-top: 5px; + margin-bottom: 10px +} + +.cbi-tabmenu>li:hover { + background-color: none +} + +.cbi-tabmenu>li[class~=cbi-tab] { + background-color: none +} + +.cbi-tabmenu>li[class~=cbi-tab] a { + color: var(--activeColor) !important; + border-bottom: 2px solid var(--activeColor) !important +} + +.cbi-section-node-tabbed { + margin-top: 0; + border-bottom: var(--sectiontabBorder); + border-left: var(--sectiontabBorder); + border-right: var(--sectiontabBorder); + border-radius: 0 0 +} + +.cbi-tabcontainer { + clear: both +} + +.cbi-tabcontainer>.cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor2) +} + +.cbi-section-node>.cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor2) +} + +div>.cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor2) +} + +.cbi-value-field, +.cbi-value-description { + display: table-cell +} + +.cbi-value-field {} + +.cbi-value-helpicon>img { + display: none +} + +.cbi-value-helpicon:before { + content: "\f059" +} + +.cbi-value-description { + opacity: .6; + padding-left: 4px +} + +.cbi-value-title { + word-wrap: break-word; + display: table-cell; + width: 35%; + float: left; + padding: 13px 10px 5px 3px +} + +.cbi-value { + display: flex; + width: 100%; + align-items: center; + align-content: center; + justify-content: flex-start; + min-height: 40px; + padding: 8px 10px; + flex-flow: row wrap; + border-bottom: var(--cbilineColor) +} + +.cbi-value:last-child { + border-bottom: none +} + +.cbi-value strong { + font-weight: 400 +} + +.cbi-section-table-descr>.cbi-section-table-cell, +.cbi-section-table-titles>.cbi-section-table-cell { + border: none +} + +.cbi-rowstyle-2 { + background-color: var(--sectionbgColor2) +} + +.cbi-rowstyle-2 .cbi-button-up, +.cbi-rowstyle-2 .cbi-button-down {} + +.cbi-section-table .cbi-section-table-titles .cbi-section-table-cell { + width: auto !important +} + +.cbi-section-table tr .cbi-value-field { + text-align: center; + width: 20% !important; + padding: 10px !important +} + +.cbi-section-table tr .cbi-value-field input { + width: auto +} + +.cbi-section-table tr .cbi-value-field .ifacebox { + margin: auto; + width: fit-content; + min-width: 60px +} + +.cbi-section-descr { + padding: 3px 10px +} + +.cbi-map-descr { + padding: 5px 5px 5px 12px +} + +.cbi-map-descr h3 { + font-size: .92rem; + font-weight: 400; + color: #666 +} + +#cbi-vsftpd .cbi-map-descr { + color: var(--activeColor); + padding: 0 12px 0; + font-size: 1.2rem; + font-weight: 700 +} + +.hidden { + display: none +} + +.left { + text-align: left !important +} + +.right { + text-align: right !important +} + +.right .cbi-button { + height: 20px; + line-height: 20px; + min-width: 60px; + margin: 0 +} + +.inline { + display: inline +} + +.cbi-page-actions { + text-align: center +} + +.cbi-value input[type=password], +.cbi-value input[type=text] {} + +.ifacebadge { + display: inline-flex; + padding: 5px; + background-color: var(--badgebgColor); + align-content: center; + align-items: center; + border-radius: var(--commonRadius1); + border: var(--badgeBorder); + color: #666 +} + +#content_syslog { + padding: 5px; + margin-top: 10px; + border-radius: 10px; + background-color: var(--sectionbgColor); + box-shadow: 3px 3px 3px transparent +} + +.ifacebadge>img { + float: right; + margin-left: .3rem +} + +img.cbi-image-button { + vertical-align: middle +} + +fieldset.cbi-section { + border: var(--sectionBorder); + margin-bottom: 20px; + border-radius: 10px; + margin-top: 5px +} + +.cbi-input-textarea, +textarea { + color: var(--inputtextColor); + padding: 10px; + line-height: normal; + border: var(--sectionBorder); + background-color: var(--inputbgColor); + transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; + outline-style: none; + vertical-align: baseline; + border-radius: 10px; + font-family: Menlo, Mono; + font-size: .9rem; + white-space: pre; + margin-bottom: 5px +} + +#syslog { + width: 100%; + min-height: 15rem; + padding: 10px; + margin-bottom: 20px; + border-radius: 0; + background-color: var(--sectionbgColor); + border: none +} + +#wan4_i, +#wan6_i { + width: 50px !important +} + +.uci-change-list { + font-family: monospace +} + +.uci-change-list *:first-child { + border-top-left-radius: 5px; + border-top-right-radius: 5px +} + +.uci-change-list *:nth-last-child(2) { + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px +} + +.uci-change-list ins, +.uci-change-legend-label ins { + text-decoration: none; + border: 1px solid #0f0; + background-color: #cfc; + display: block; + padding: 2px; + color: #000; + overflow-x: auto +} + +.uci-change-legend .uci-change-legend-label ins { + overflow-x: unset; + border-radius: var(--commonRadius1) +} + +.uci-change-list del, +.uci-change-legend-label del { + text-decoration: none; + border: 1px solid red; + background-color: #fcc; + display: block; + font-style: normal; + padding: 2px; + color: #000; + overflow-x: auto +} + +.uci-change-legend .uci-change-legend-label del { + overflow-x: unset; + border-radius: var(--commonRadius1) +} + +.uci-change-list var, +.uci-change-legend-label var { + text-decoration: none; + border: 1px solid #ccc; + background-color: #eee; + display: block; + font-style: normal; + padding: 2px; + color: #000; + overflow-x: auto +} + +.uci-change-legend .uci-change-legend-label var { + overflow-x: unset; + border-radius: var(--commonRadius1) +} + +.uci-change-list var ins, +.uci-change-list var del { + border: none; + white-space: pre; + font-style: normal; + padding: 0; + color: #000; + overflow-x: auto +} + +.uci-change-legend { + padding: 5px +} + +.uci-change-legend-label { + width: 150px; + float: left; + display: flex; + align-items: center +} + +.uci-change-legend-label>ins, +.uci-change-legend-label>del, +.uci-change-legend-label>var { + float: left; + margin-right: 4px; + width: 10px; + height: 10px; + display: block +} + +.uci-change-legend-label var ins, +.uci-change-legend-label var del { + border: none; + height: 10px; + width: 10px +} + +.uci-change-list var, +.uci-change-list del, +.uci-change-list ins { + padding: .5rem +} + +#iwsvg, +#iwsvg2, +#bwsvg { + border: var(--sectionBorder) !important; + font-family: -apple-system; + background: 0 0 !important +} + +.ifacebox { + border: var(--ifaceboxBorderColor) 1px solid; + border-radius: var(--commonRadius1); + font-size: .92rem; + font-weight: 400 +} + +.ifacebox-head { + color: #fff +} + +.ifacebox-body small { + font-size: .8rem !important; + padding: 5px +} + +.ifacebox-body strong { + color: #f7f7f7; + font-size: 0 !important +} + +.cbi-image-button {} + +.zonebadge>.ifacebadge { + padding: 3px 5px; + margin: 5px +} + +.zonebadge>input[type=text] { + padding: .16rem 1rem; + min-width: 10rem; + margin-top: .3rem +} + +.cbi-value-field .cbi-input-checkbox, +.cbi-value-field .cbi-input-radio { + vertical-align: middle +} + +.cbi-section-table-row>.cbi-value-field .cbi-input-select { + min-width: 7rem +} + +.cbi-section-create { + padding: 0 10px +} + +.cbi-section-create>.cbi-button-add { + margin: 10px 0 +} + +div.cbi-value var, +td.cbi-value-field var { + font-style: italic; + color: #0069d6 +} + +small { + font-size: small; + font-weight: 400 !important; + white-space: normal +} + +.cbi-button-up, +.cbi-button-down { + display: inline-block; + min-width: 0; + font-size: .9rem +} + +.cbi-optionals { + padding: 1rem 1rem 0; + border-top: 1px solid #ccc +} + +#diag-rc-output>pre { + display: block; + padding: 10px; + line-height: 1.5rem; + -moz-border-radius: 3px; + white-space: pre-wrap; + word-wrap: break-word; + color: #76838f +} + +input[name=ping], +input[name=traceroute], +input[name=nslookup] { + width: 80% +} + +table.cbi-section-table select { + width: auto !important +} + +header>.container>.pull-right>* {} + +#xhr_poll_status>.label.success { + padding: .7rem 0; + border-radius: 20px +} + +#xhr_poll_status_off { + padding: .7rem 0; + border-radius: 20px +} + +.label { + padding: 0 3px; + white-space: nowrap; + border-radius: 3px; + position: absolute; + right: 5px; + top: 15px; + line-height: 150% +} + +.notice { + color: var(--activeColor); + font-size: .8rem; + padding-right: .5rem; + border-radius: 10px; + z-index: 10; + font-size: 1.8rem; + font-family: design +} + +#refresh_on, +#refresh_off { + font-size: 1.5rem; + font-family: design +} + +#refresh_on { + color: var(--activeColor) +} + +#refresh_off { + color: var(--progressbarColor) +} + +.darkMask { + width: 100%; + height: 100%; + position: fixed; + background-color: rgba(0, 0, 0, .56); + content: ""; + z-index: 99; + display: none +} + +.node-services-shadowsocksr .cbi-input-textarea, +.node-nlbw-config .cbi-input-textarea {} + +.node-services-shadowsocksr #cbi-logview .cbi-section { + padding: 0 +} + +.node-network-diagnostics .cbi-section { + border-radius: 10px +} + +.node-status-processes>.main table tr td:nth-child(3) { + white-space: normal +} + +.cbi-map fieldset h3 {} + +.cbi-map fieldset ul li { + margin-right: 0 !important +} + +.node-system-reboot>.main>.main-right p, +.node-system-reboot>.main>.main-right h3 { + margin-left: 12px +} + +.node-system-reboot #maincontent {} + +.node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-title { + margin-bottom: 1rem +} + +.node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-field { + display: list-item +} + +.node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-description { + padding-top: 1rem; + line-height: 150% +} + +.node-system-packages>.main table tr td:nth-child(1) { + width: auto !important +} + +.node-system-packages .cbi-section-node .cbi-value-last {} + +.node-system-packages .cbi-section-node .cbi-value-last>div { + border: none !important; + border-radius: 3px +} + +.node-system-packages .cbi-section-node .cbi-value-last>div>div { + border: none !important; + border-radius: 3px +} + +.node-system-packages .cbi-section-node .cbi-value-last:nth-last-child(1) { + padding: auto +} + +.node-system-packages>.main table tr td:nth-last-child(1) { + white-space: normal; + font-size: small; + color: #76838f +} + +.node-system-packages>.main .cbi-value>pre { + padding: 10px; + overflow: auto; + border-radius: 10px +} + +.node-system-packages #cbi-distfeedconf .cbi-section, +.node-system-packages #cbi-customfeedconf .cbi-section { + border-radius: 10px +} + +.node-system-packages .cbi-value-field { + width: 58% +} + +#container\.nlbw\.traffic, +#container\.nlbw\.layer7, +#container\.nlbw\.ipv6, +#container\.nlbw\.export { + margin-top: 0; + margin-top: 0; + padding: 10px; + text-align: center; + border-bottom: var(--sectionBorder); + border-left: var(--sectionBorder); + border-right: var(--sectionBorder); + background-color: var(--sectionbgColor); + border-radius: 10px +} + +#container\.nlbw\.export ul li { + padding: 5px; + width: 150px; + margin: 10px; + border-radius: var(--commonRadius1); + border: #ccc 1px solid +} + +.cbi-tabmenu+.cbi-section ul { + text-align: left +} + +.node-network-firewall>.main .cbi-section-table-row>.cbi-value-field .cbi-input-select { + min-width: 4rem +} + +.node-status-iptables>.main div>.cbi-map>form { + position: static !important; + margin: 10px 0 20px; + padding: 12px; + border: 0; + font-weight: 400; + font-style: normal; + line-height: 1; + font-family: inherit; + min-width: inherit; + overflow-x: auto; + overflow-y: hidden; + box-shadow: 3px 3px 3px transparent; + border-radius: 10px; + background-color: var(--bgwhite); + -webkit-overflow-scrolling: touch +} + +.node-system-flashops fieldset fieldset { + border: none +} + +.node-system-flashops br { + display: none +} + +.node-system-flashops .cbi-section {} + +.node-system-flashops .cbi-section-descr { + padding: 12px; + line-height: 1.5; + border-radius: 6px +} + +.node-status-iptables .cbi-tabmenu, +.node-system-packages .cbi-tabmenu, +.node-system-flashops .cbi-tabmenu {} + +#cbi-firewall-redirect .cbi-section-table-titles .cbi-section-table-cell { + text-align: left +} + +#cbi-firewall-redirect table *, +#cbi-network-switch_vlan table *, +#cbi-firewall-zone table * { + font-size: small +} + +#cbi-firewall-redirect table input[type=text], +#cbi-network-switch_vlan table input[type=text], +#cbi-firewall-zone table input[type=text] { + width: 5rem +} + +#cbi-firewall-redirect table select, +#cbi-network-switch_vlan table select, +#cbi-firewall-zone table select { + min-width: 3.5rem +} + +.node-status-realtime table>tbody>tr>td { + text-align: left !important; + padding: 10px 3px +} + +.node-status-realtime table[id=connections]>tbody>tr>td { + padding: 10px 3px; + text-align: center !important +} + +.node-status-realtime table { + table-layout: auto !important +} + +.node-status-realtime fieldset[id=cbi-table-table] { + background-color: unset !important +} + +.node-status-realtime fieldset[id=cbi-table-table]>table>tbody>tr:nth-of-type(odd), +.node-status-realtime fieldset[id=cbi-table-table] table[id=connections] tr.cbi-section-table-row.cbi-rowstyle-2 { + background-color: unset +} + +.node-services-appfilter .cbi-section.cbi-tblsection, +.node-nas-fileassistant #list-content, +.node-status-realtime fieldset[id=cbi-table-table] .cbi-section-node { + overflow: auto +} + +select#cbi\.combobox\.cbid\.shadowsocksr\.cfg013fd6\.tunnel_forward { + overflow: hidden +} + +body.lang_pl.node-main-login .cbi-value-title { + width: 12rem +} + +#detail-bubble { + width: unset !important +} + +#detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: 19rem !important; + width: calc(100vw - 21.25rem) !important +} + +#detail-bubble .head { + display: block; + overflow: auto +} + +#detail-bubble #bubble-table { + display: inline-table; + overflow: auto +} + +@media screen and (max-width:1280px) { + header {} + + header>.container {} + + .main { + height: calc(100% - 3.5rem) + } + + .main-left { + width: calc(0% + 18rem); + top: 50px + } + + .main-right { + width: calc(100% - 18rem) + } + + table { + font-size: .9rem !important; + width: 100% !important + } + + .main>.main-left>.nav>li, + .main>.main-left>.nav>li a, + .main>.main-left>.nav>.slide>.menu { + font-size: 1.1rem + } + + .main>.main-left>.nav>.slide>.slide-menu>li>a { + font-size: 1rem; + text-transform: capitalize + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px + } + + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 55px; + display: block; + position: absolute; + margin-top: -34px + } + + #detail-bubble { + width: unset !important + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: 19rem !important; + width: calc(100vw - 21.25rem) !important + } + + #detail-bubble .head { + display: block; + overflow: auto + } + + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto + } + + .node-nlbw-usage table { + display: block; + overflow: auto + } + + #container\.nlbw\.traffic table, + #container\.nlbw\.layer7 table, + #container\.nlbw\.ipv6 table, + #container\.nlbw\.export table { + display: block; + overflow: auto + } +} + +@media screen and (max-width:992px) { + .main-left { + width: 0; + position: fixed; + z-index: 100 + } + + .main-right { + width: 100% + } + + .showSide { + margin: 0; + padding: 0; + display: inline-block; + position: absolute; + width: 18.75rem; + height: 2.8125rem; + padding: 1.15rem 2rem; + z-index: 100 + } + + .showSide:before { + content: "\e20e"; + font-size: 1.7rem + } + + #maincontent>.container { + margin: 20px + } + + .node-main-login .showSide { + display: none !important + } + + .cbi-value-title { + width: 35% + } + + .node-network-diagnostics>.main .cbi-map fieldset>div * { + width: 100% !important + } + + .node-network-diagnostics>.main .cbi-map fieldset>div input[type=text] {} + + .node-network-diagnostics>.main .cbi-map fieldset>div:nth-child(4) input[type=text] { + margin: 0 !important + } + + .node-network-diagnostics>.main .cbi-map fieldset>div select, + .node-network-diagnostics>.main .cbi-map fieldset>div input[type=button] { + margin: 1rem 0 0 + } + + .node-network-diagnostics>.main .cbi-map fieldset>div { + width: 100% !important + } + + .node-main-login>.main .cbi-value-title { + text-align: left + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px + } + + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px + } + + #detail-bubble { + left: unset !important; + width: unset !important + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw) !important + } + + #detail-bubble .head { + display: block; + overflow: auto + } + + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto + } + + header { + box-shadow: 0 2px 4px rgba(0, 0, 0, .08) + } +} + +@media screen and (max-width:700px) { + #cbi-vssr-servers .cbi-button-add { + position: static !important; + width: auto !important; + height: 2rem !important; + line-height: 2rem !important; + color: #fff; + display: block; + padding: 0 !important; + font-size: .92rem; + border-radius: 10px !important; + box-shadow: none; + background-image: none + } + + #cbi-vssr-servers .cbi-section-table-row { + margin: 10px 0 !important + } + + #cbi-vssr-servers .p-in5 { + padding-bottom: 10px !important; + margin: 0 !important + } + + #cbi-vssr-servers .cbi-page-actions { + padding-bottom: 10px !important + } + + #maincontent>.container { + margin: 20px + } + + #detail-bubble { + left: unset !important; + width: unset !important + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw) !important + } + + #detail-bubble .head { + display: block; + overflow: auto + } + + #detail-bubble #bubble-table { + display: inline-table; + overflow: auto + } +} + +@media screen and (max-width:470px) { + #detail-bubble { + left: unset !important; + width: unset !important + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw) !important + } + + #detail-bubble .head { + display: block; + overflow: auto + } + + #detail-bubble #bubble-table { + display: block; + overflow: auto + } + + .main-right>#maincontent { + overflow: auto + } + + div [id*=cbi-network-] [id*=-__status] table td, + div [id*=cbi-wireless] [id*=-__status] table td { + white-space: normal + } + + .node-system-leds .cbi-section em, + .node-network-network #cbi-network .cbi-map .cbi-section-table cbi-section-table-row, + .node-network-network #cbi-network .cbi-map .cbi-section-table td { + display: block + } + + .node-network-network #cbi-network .cbi-map .cbi-section-table td { + width: 100% !important; + text-align: center !important; + white-space: normal + } + + .node-network-network #cbi-network .cbi-map .cbi-button { + min-width: 60px !important + } + + .node-network-network .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell { + flex: 1 !important + } + + .node-network-network .cbi-section-table .cbi-section-table-titles th:nth-child(2) { + text-align: center !important + } + + .node-network-network .cbi-section-table .cbi-section-table-titles { + display: flex + } + + .node-network-wireless fieldset:nth-child(1) table>tbody>tr>td, + .node-network-wireless fieldset:nth-child(2) table>tbody>tr>td { + white-space: normal + } +} + +@media screen and (max-width:370px) { + fieldset {} + + select { + width: 100% + } + + header { + height: 55px + } + + h3 { + padding: 0 10px 10px + } + + .showSide { + height: 45px + } + + #maincontent>.container { + margin: 20px + } + + .main { + top: 45px + } + + .main-left { + top: 45px + } + + .main>.main-left>.nav>.slide>.menu {} + + .main>.main-left>.nav>.slide>.slide-menu>li>a {} + + .cbi-value { + margin-bottom: 20px; + display: table; + padding: 0; + border-bottom: none + } + + .cbi-value-title { + width: 100%; + font-weight: 700; + float: left; + padding: 0; + margin: 0; + margin-bottom: .25rem + } + + .cbi-section-node { + padding: 10px !important + } + + .cbi-value-description { + width: 100%; + display: block + } + + .cbi-value>.cbi-value-field { + display: block; + float: left; + width: 100% + } + + img[src*="/luci-static/resources/cbi/add.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px + } + + img[src*="/luci-static/resources/cbi/remove.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px + } + + img[src*="/luci-static/resources/cbi/reload.gif"] { + right: 45px; + display: block; + position: absolute; + margin-top: -34px + } + + .cbi-section-node>.cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor) + } + + .cbi-tabcontainer>.cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor) + } + + div>.cbi-value:nth-of-type(2n) { + background-color: var(--sectionbgColor) + } + + .node-main-login>.main .cbi-value { + padding: 0 + } + + .node-main-login>.main form>div:nth-last-child(1) { + margin-top: 2rem + } + + .node-main-login>.main fieldset { + margin: 0; + padding: .5rem + } + + #container\.network\.lan\.physical .cbi-value-title, + #cbi-network-1-_ifname .cbi-value-title { + width: 35% + } + + #cbi-network-1-_ifname .cbi-value-field { + width: 65% + } + + h2 { + font-size: 1.2rem; + text-transform: capitalize + } + + select, + input {} + + input[type=checkbox] { + height: 1.2rem !important; + width: 1.2rem !important + } + + #swaptotal div div small, + #swapfree div div small, + #swapcache div div small, + #memfree div div small, + #membuff div div small, + #conns div div small, + #memcache div div small, + #memtotal div div small {} + + #swaptotal div div, + #swapfree div div, + #swapcache div div, + #memfree div div, + #membuff div div, + #conns div div, + #memcache div div, + #memtotal div div {} + + .node-status-iptables>.main div>.cbi-map>form input[type=submit] { + margin: 0 + } + + #cbi-samba-cfg010f89-_tmpl .cbi-value-title { + width: 15% + } + + #cbi-samba-cfg010f89-_tmpl .cbi-value-field { + width: 95% + } + + #detail-bubble { + left: unset !important; + width: unset !important + } + + #detail-bubble.in { + color: #000; + padding-bottom: calc(60px + env(safe-area-inset-bottom)); + left: unset !important; + width: calc(100vw) !important + } + + #detail-bubble .head { + display: block; + overflow: auto + } + + #detail-bubble #bubble-table { + display: block; + overflow: auto + } +} + +@media screen and (max-width:315px) { + .label { + position: absolute; + right: 5px; + top: -70px + } +} + +#intervalSelect { + height: 40px !important +} + +.commandbox div { + position: unset !important +} + +#cbi-netspeedtest-homebox- { + display: unset !important +} + +.node-status-realtime .container { + overflow: auto +} + +.node-network-network div[onclick*="document.getElementById('cbid.network."], +#cbi-network div[onclick*="document.getElementById('cbid.network."] { + background-color: unset !important +} + +form[action="/cgi-bin/luci/admin/network/wireless"] input[class="cbi-button cbi-button-reset"], +form[action="/cgi-bin/luci/admin/network/wireless_join"] input[class="cbi-button cbi-input-find"] { + height: 25px; + min-width: 80px +} + +.node-services-aliyundrive-webdav #mask-box { + background: transparent +} + +.node-services-ddns #cbi-ddns-service input { + width: unset +} + +.node-services-ddns .cbi-value input[type=password], +.node-services-ddns .cbi-value input[type=text] { + width: 100% !important +} + +.fb-container .cbi-button { + border-radius: var(--commonRadius0); + margin: 3px 3px 3px 0; + height: unset !important +} + +.node-system-commands h3 { + text-transform: unset +} + +.node-system-commands .commandbox { + width: auto; + display: inline-block; + float: none +} + +.node-system-commands .commandbox p { + word-break: keep-all; + white-space: nowrap +} + +.node-system-commands div.cbi-map fieldset.cbi-section { + align-items: center; + text-align: center +} + +.node-system-commands #cbi-luci.cbi-map fieldset.cbi-section { + align-items: unset; + text-align: unset +} + +.node-network-network .ifacebox strong { + color: var(--ifaceboxFontColor); + padding: 5px +} + +.node-network-firewall .zonebadge strong, +.node-network-firewall label strong { + color: var(--ifaceboxFontColor) +} + +.node-services-openclash ul li.selected { + background-color: var(--liSelectedColor) !important +} + +.node-services-openclash .cbi-button-reset, +.node-services-openclash .cbi-input-remove { + max-width: unset !important +} + +.node-services-openclash #tab-header ul li.selected, +.node-services-openclash #tab-header ul li { + color: #000 !important; + background-color: unset !important +} + +.node-nas-qbittorrent p#qBittorrent_status input { + line-height: unset +} + +.node-system-diskman.dialog-format-active #dialog_format .dialog_box { + background: var(--alertBackground); + border-radius: var(--commonRadius1) +} + +.node-services-watchcat-plus select[id*="cbi.opt.watchcat"] { + width: auto +} + +.node-nas-fileassistant .fb-container .cbi-value-owner, +.node-nas-fileassistant .fb-container .cbi-value-perm { + display: table-cell +} + +.node-services-adguardhome input[onclick*="window.open('http://'+window.location.hostname+':"] { + line-height: 0 +} \ No newline at end of file diff --git a/luci-theme-design/htdocs/luci-static/design/favicon.ico b/luci-theme-design/htdocs/luci-static/design/favicon.ico new file mode 100644 index 00000000..f82da9bb Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/favicon.ico differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/Cocon-Regular-Font.otf b/luci-theme-design/htdocs/luci-static/design/fonts/Cocon-Regular-Font.otf new file mode 100644 index 00000000..9a71297f Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/Cocon-Regular-Font.otf differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/GenJyuuGothic-Medium.otf b/luci-theme-design/htdocs/luci-static/design/fonts/GenJyuuGothic-Medium.otf new file mode 100644 index 00000000..916b4a11 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/GenJyuuGothic-Medium.otf differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/font.eot b/luci-theme-design/htdocs/luci-static/design/fonts/font.eot new file mode 100644 index 00000000..9e6ffc9b Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/font.eot differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/font.svg b/luci-theme-design/htdocs/luci-static/design/fonts/font.svg new file mode 100644 index 00000000..d38d057d --- /dev/null +++ b/luci-theme-design/htdocs/luci-static/design/fonts/font.svg @@ -0,0 +1,16 @@ + + + +Generated by IcoMoon + + + + + + + + + + + + \ No newline at end of file diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/font.ttf b/luci-theme-design/htdocs/luci-static/design/fonts/font.ttf new file mode 100644 index 00000000..84669323 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/font.ttf differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/font.woff b/luci-theme-design/htdocs/luci-static/design/fonts/font.woff new file mode 100644 index 00000000..00cf84ea Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/font.woff differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.ttf b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.ttf new file mode 100644 index 00000000..033794e5 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.ttf differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff new file mode 100644 index 00000000..45714f9e Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff differ diff --git a/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff2 b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff2 new file mode 100644 index 00000000..1de5ca50 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/fonts/iconfont-Regular.woff2 differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/add.png b/luci-theme-design/htdocs/luci-static/design/images/add.png new file mode 100644 index 00000000..c85ee10a Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/add.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/apple-touch-icon.png b/luci-theme-design/htdocs/luci-static/design/images/apple-touch-icon.png new file mode 100644 index 00000000..1baa5c7e Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/apple-touch-icon.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/bg.jpg b/luci-theme-design/htdocs/luci-static/design/images/bg.jpg new file mode 100644 index 00000000..1f97096c Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/bg.jpg differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/bridge.png b/luci-theme-design/htdocs/luci-static/design/images/bridge.png new file mode 100644 index 00000000..cd0ce109 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/bridge.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/bridge_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/bridge_disabled.png new file mode 100644 index 00000000..c603b970 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/bridge_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/ethernet.png b/luci-theme-design/htdocs/luci-static/design/images/ethernet.png new file mode 100644 index 00000000..eae05cc5 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/ethernet.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/ethernet_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/ethernet_disabled.png new file mode 100644 index 00000000..66246809 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/ethernet_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/home.png b/luci-theme-design/htdocs/luci-static/design/images/home.png new file mode 100644 index 00000000..c8e900a9 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/home.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/icon.png b/luci-theme-design/htdocs/luci-static/design/images/icon.png new file mode 100644 index 00000000..c98e8883 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/icon.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/link.png b/luci-theme-design/htdocs/luci-static/design/images/link.png new file mode 100644 index 00000000..e5307d9b Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/link.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/loading.gif b/luci-theme-design/htdocs/luci-static/design/images/loading.gif new file mode 100644 index 00000000..a84d1cac Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/loading.gif differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/openclash.png b/luci-theme-design/htdocs/luci-static/design/images/openclash.png new file mode 100644 index 00000000..8aed32ab Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/openclash.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/port_down.png b/luci-theme-design/htdocs/luci-static/design/images/port_down.png new file mode 100644 index 00000000..7e9edacb Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/port_down.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/port_up.png b/luci-theme-design/htdocs/luci-static/design/images/port_up.png new file mode 100644 index 00000000..2cca1be8 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/port_up.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/rank.png b/luci-theme-design/htdocs/luci-static/design/images/rank.png new file mode 100644 index 00000000..eccc5c10 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/rank.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/reload.png b/luci-theme-design/htdocs/luci-static/design/images/reload.png new file mode 100644 index 00000000..192b9add Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/reload.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/remove.png b/luci-theme-design/htdocs/luci-static/design/images/remove.png new file mode 100644 index 00000000..fce54d92 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/remove.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-0-25.png b/luci-theme-design/htdocs/luci-static/design/images/signal-0-25.png new file mode 100644 index 00000000..00eaf3d4 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-0-25.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-0.png b/luci-theme-design/htdocs/luci-static/design/images/signal-0.png new file mode 100644 index 00000000..a24d883c Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-0.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-25-50.png b/luci-theme-design/htdocs/luci-static/design/images/signal-25-50.png new file mode 100644 index 00000000..ab12b5ef Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-25-50.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-50-75.png b/luci-theme-design/htdocs/luci-static/design/images/signal-50-75.png new file mode 100644 index 00000000..0329cc65 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-50-75.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-75-100.png b/luci-theme-design/htdocs/luci-static/design/images/signal-75-100.png new file mode 100644 index 00000000..d033ab1c Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-75-100.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/signal-none.png b/luci-theme-design/htdocs/luci-static/design/images/signal-none.png new file mode 100644 index 00000000..a03e99b7 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/signal-none.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/ssr.png b/luci-theme-design/htdocs/luci-static/design/images/ssr.png new file mode 100644 index 00000000..ee9dfd71 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/ssr.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/switch.png b/luci-theme-design/htdocs/luci-static/design/images/switch.png new file mode 100644 index 00000000..ade12a53 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/switch.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/switch_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/switch_disabled.png new file mode 100644 index 00000000..346d7527 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/switch_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/tunnel.png b/luci-theme-design/htdocs/luci-static/design/images/tunnel.png new file mode 100644 index 00000000..b5ff65a6 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/tunnel.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/tunnel_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/tunnel_disabled.png new file mode 100644 index 00000000..ae4a60bb Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/tunnel_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/user.png b/luci-theme-design/htdocs/luci-static/design/images/user.png new file mode 100644 index 00000000..a0ffe2b4 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/user.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/vlan.png b/luci-theme-design/htdocs/luci-static/design/images/vlan.png new file mode 100644 index 00000000..5df3667c Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/vlan.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/vlan_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/vlan_disabled.png new file mode 100644 index 00000000..c0cef94f Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/vlan_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/wifi.png b/luci-theme-design/htdocs/luci-static/design/images/wifi.png new file mode 100644 index 00000000..4897d4a0 Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/wifi.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/wifi_big.png b/luci-theme-design/htdocs/luci-static/design/images/wifi_big.png new file mode 100644 index 00000000..f63c29ac Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/wifi_big.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/wifi_big_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/wifi_big_disabled.png new file mode 100644 index 00000000..c0556b9a Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/wifi_big_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/images/wifi_disabled.png b/luci-theme-design/htdocs/luci-static/design/images/wifi_disabled.png new file mode 100644 index 00000000..b511e9bc Binary files /dev/null and b/luci-theme-design/htdocs/luci-static/design/images/wifi_disabled.png differ diff --git a/luci-theme-design/htdocs/luci-static/design/js/design.js b/luci-theme-design/htdocs/luci-static/design/js/design.js new file mode 100644 index 00000000..9b6982f1 --- /dev/null +++ b/luci-theme-design/htdocs/luci-static/design/js/design.js @@ -0,0 +1,177 @@ +XHR = function() { + this.reinit = function() { + if (window.XMLHttpRequest) { + this._xmlHttp = new XMLHttpRequest(); + } else if (window.ActiveXObject) { + this._xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); + } else { + alert("xhr.js: XMLHttpRequest is not supported by this browser!"); + } + } + this.busy = function() { + if (!this._xmlHttp) + return false; + switch (this._xmlHttp.readyState) { + case 1: + case 2: + case 3: + return true; + default: + return false; + } + } + this.abort = function() { + if (this.busy()) + this._xmlHttp.abort(); + } + this.get = function(url, data, callback) { + this.reinit(); + var xhr = this._xmlHttp; + var code = this._encode(data); + url = location.protocol + '//' + location.host + url; + if (code) + if (url.substr(url.length - 1, 1) == '&') + url += code; + else + url += '?' + code; + xhr.open('GET', url, true); + xhr.onreadystatechange = function() { + if (xhr.readyState == 4) { + var json = null; + if (xhr.getResponseHeader("Content-Type") == "application/json") { + try { + json = eval('(' + xhr.responseText + ')'); + } catch (e) { + json = null; + } + } + callback(xhr, json); + } + } + xhr.send(null); + } + this.post = function(url, data, callback) { + this.reinit(); + var xhr = this._xmlHttp; + var code = this._encode(data); + xhr.onreadystatechange = function() { + if (xhr.readyState == 4) + callback(xhr); + } + xhr.open('POST', url, true); + xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); + xhr.send(code); + } + this.cancel = function() { + this._xmlHttp.onreadystatechange = function() {}; + this._xmlHttp.abort(); + } + this.send_form = function(form, callback, extra_values) { + var code = ''; + for (var i = 0; i < form.elements.length; i++) { + var e = form.elements[i]; + if (e.options) { + code += (code ? '&' : '') + + form.elements[i].name + '=' + encodeURIComponent(e.options[e.selectedIndex].value); + } else if (e.length) { + for (var j = 0; j < e.length; j++) + if (e[j].name) { + code += (code ? '&' : '') + + e[j].name + '=' + encodeURIComponent(e[j].value); + } + } else { + code += (code ? '&' : '') + + e.name + '=' + encodeURIComponent(e.value); + } + } + if (typeof extra_values == 'object') + for (var key in extra_values) + code += (code ? '&' : '') + + key + '=' + encodeURIComponent(extra_values[key]); + return ((form.method == 'get') ? this.get(form.getAttribute('action'), code, callback) : this.post(form.getAttribute('action'), code, callback)); + } + this._encode = function(obj) { + obj = obj ? obj : {}; + obj['_'] = Math.random(); + if (typeof obj == 'object') { + var code = ''; + var self = this; + for (var k in obj) + code += (code ? '&' : '') + + k + '=' + encodeURIComponent(obj[k]); + return code; + } + return obj; + } +} +XHR.get = function(url, data, callback) { + (new XHR()).get(url, data, callback); +} +XHR.poll = function(interval, url, data, callback) { + if (isNaN(interval) || interval < 1) + interval = 5; + if (!XHR._q) { + XHR._t = 0; + XHR._q = []; + XHR._r = function() { + for (var i = 0, e = XHR._q[0]; i < XHR._q.length; e = XHR._q[++i]) { + if (!(XHR._t % e.interval) && !e.xhr.busy()) + e.xhr.get(e.url, e.data, e.callback); + } + XHR._t++; + }; + } + XHR._q.push({ + interval: interval, + callback: callback, + url: url, + data: data, + xhr: new XHR() + }); + XHR.run(); +} +XHR.halt = function() { + if (XHR._i) { + try { + document.getElementById('xhr_poll_status').style.display = ''; + document.getElementById('xhr_poll_status_on').style.display = 'none'; + document.getElementById('xhr_poll_status_off').style.display = ''; + document.getElementById('notice_status').style.marginRight = '30px' + } catch (e) {} + window.clearInterval(XHR._i); + XHR._i = null; + } +} +XHR.run = function() { + if (XHR._r && !XHR._i) { + try { + document.getElementById('xhr_poll_status').style.display = ''; + document.getElementById('xhr_poll_status_on').style.display = ''; + document.getElementById('xhr_poll_status_off').style.display = 'none'; + document.getElementById('notice_status').style.marginRight = '30px' + } catch (e) {} + XHR._r(); + XHR._i = window.setInterval(XHR._r, 1000); + } +} +XHR.running = function() { + return !!(XHR._r && XHR._i); +}; +(function($) { + function settingsStatusRealtimeOverflow() { + if (self.location.pathname.includes("status/realtime")) { + const nodeStatusRealtime = $('.node-status-realtime'); + const selectorValues = ['bandwidth', 'wifirate', 'wireless']; + for (let i = 0; i < selectorValues.length; i++) { + const value = selectorValues[i]; + const target = nodeStatusRealtime.find(`embed[src="/luci-static/resources/${value}.svg"] + div + br + table`); + if (target.length) { + target.wrap('
'); + } + } + } + } + $(document).ready(() => { + settingsStatusRealtimeOverflow(); + }); +})(jQuery); \ No newline at end of file diff --git a/luci-theme-design/htdocs/luci-static/design/js/jquery.min.js b/luci-theme-design/htdocs/luci-static/design/js/jquery.min.js new file mode 100644 index 00000000..fb8e4b91 --- /dev/null +++ b/luci-theme-design/htdocs/luci-static/design/js/jquery.min.js @@ -0,0 +1,6 @@ +/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.3",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b="length"in a&&a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1; + +return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function aa(){return!0}function ba(){return!1}function ca(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),ha=/^\s+/,ia=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ja=/<([\w:]+)/,ka=/\s*$/g,ra={option:[1,""],legend:[1,"",""],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:k.htmlSerialize?[0,"",""]:[1,"X
","
"]},sa=da(y),ta=sa.appendChild(y.createElement("div"));ra.optgroup=ra.option,ra.tbody=ra.tfoot=ra.colgroup=ra.caption=ra.thead,ra.th=ra.td;function ua(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ua(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function va(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wa(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xa(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function ya(a){var b=pa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function za(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Aa(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Ba(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xa(b).text=a.text,ya(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!ga.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ta.innerHTML=a.outerHTML,ta.removeChild(f=ta.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ua(f),h=ua(a),g=0;null!=(e=h[g]);++g)d[g]&&Ba(e,d[g]);if(b)if(c)for(h=h||ua(a),d=d||ua(f),g=0;null!=(e=h[g]);g++)Aa(e,d[g]);else Aa(a,f);return d=ua(f,"script"),d.length>0&&za(d,!i&&ua(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=da(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(la.test(f)){h=h||o.appendChild(b.createElement("div")),i=(ja.exec(f)||["",""])[1].toLowerCase(),l=ra[i]||ra._default,h.innerHTML=l[1]+f.replace(ia,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&ha.test(f)&&p.push(b.createTextNode(ha.exec(f)[0])),!k.tbody){f="table"!==i||ka.test(f)?""!==l[1]||ka.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ua(p,"input"),va),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ua(o.appendChild(f),"script"),g&&za(h),c)){e=0;while(f=h[e++])oa.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ua(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fa,""):void 0;if(!("string"!=typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra[(ja.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ia,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ua(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ua(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&na.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ua(i,"script"),xa),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ua(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,ya),j=0;f>j;j++)d=g[j],oa.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qa,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Ca,Da={};function Ea(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fa(a){var b=y,c=Da[a];return c||(c=Ea(a,b),"none"!==c&&c||(Ca=(Ca||m("