├── .gitignore ├── preview ├── IMG_6474.PNG ├── IMG_6475.PNG ├── IMG_6476.PNG ├── IMG_6478.PNG ├── IMG_6479.PNG ├── IMG_6480.PNG ├── IMG_6481.PNG ├── SCR-20220223-iw6.png ├── SCR-20220223-iwe.png ├── SCR-20220223-iwp.png ├── SCR-20220223-ix1.png ├── SCR-20220223-ixs.png ├── SCR-20220223-j1l.png ├── SCR-20220514-d0j.png ├── SCR-20220514-d1g.png └── SCR-20220514-d1n.png ├── htdocs └── luci-static │ └── neobird │ ├── favicon.ico │ ├── fonts │ ├── font.eot │ ├── font.ttf │ ├── font.woff │ ├── iconfont.ttf │ ├── iconfont.woff │ ├── iconfont.woff2 │ └── font.svg │ ├── images │ ├── add.png │ ├── home.png │ ├── icon.png │ ├── link.png │ ├── logo.png │ ├── rank.png │ ├── ssr.png │ ├── user.png │ ├── bridge.png │ ├── loading.gif │ ├── logod.png │ ├── mlogo.png │ ├── mlogod.png │ ├── port_up.png │ ├── reload.png │ ├── remove.png │ ├── splash.png │ ├── ethernet.png │ └── ethernet_disabled.png │ ├── manifest.json │ ├── js │ ├── script.js │ └── jquery.min.js │ └── css │ └── style.css ├── root └── etc │ └── uci-defaults │ └── 30_luci-theme-neobird ├── Makefile ├── README.md ├── luasrc └── view │ └── themes │ └── neobird │ ├── footer.htm │ └── header.htm └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | preview 2 | -------------------------------------------------------------------------------- /preview/IMG_6474.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/IMG_6474.PNG -------------------------------------------------------------------------------- /preview/IMG_6475.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/IMG_6475.PNG -------------------------------------------------------------------------------- /preview/IMG_6476.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/IMG_6476.PNG -------------------------------------------------------------------------------- /preview/IMG_6478.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/IMG_6478.PNG -------------------------------------------------------------------------------- /preview/IMG_6479.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/IMG_6479.PNG -------------------------------------------------------------------------------- /preview/IMG_6480.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/IMG_6480.PNG -------------------------------------------------------------------------------- /preview/IMG_6481.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/IMG_6481.PNG -------------------------------------------------------------------------------- /preview/SCR-20220223-iw6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/SCR-20220223-iw6.png -------------------------------------------------------------------------------- /preview/SCR-20220223-iwe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/SCR-20220223-iwe.png -------------------------------------------------------------------------------- /preview/SCR-20220223-iwp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/SCR-20220223-iwp.png -------------------------------------------------------------------------------- /preview/SCR-20220223-ix1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/SCR-20220223-ix1.png -------------------------------------------------------------------------------- /preview/SCR-20220223-ixs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/SCR-20220223-ixs.png -------------------------------------------------------------------------------- /preview/SCR-20220223-j1l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/SCR-20220223-j1l.png -------------------------------------------------------------------------------- /preview/SCR-20220514-d0j.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/SCR-20220514-d0j.png -------------------------------------------------------------------------------- /preview/SCR-20220514-d1g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/SCR-20220514-d1g.png -------------------------------------------------------------------------------- /preview/SCR-20220514-d1n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/preview/SCR-20220514-d1n.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/favicon.ico -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/fonts/font.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/fonts/font.eot -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/fonts/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/fonts/font.ttf -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/fonts/font.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/fonts/font.woff -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/add.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/home.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/icon.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/link.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/logo.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/rank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/rank.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/ssr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/ssr.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/user.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/fonts/iconfont.ttf -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/bridge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/bridge.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/loading.gif -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/logod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/logod.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/mlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/mlogo.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/mlogod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/mlogod.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/port_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/port_up.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/reload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/reload.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/remove.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/splash.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/fonts/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/fonts/iconfont.woff -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/fonts/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/fonts/iconfont.woff2 -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/ethernet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/ethernet.png -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/images/ethernet_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktip/luci-theme-neobird/HEAD/htdocs/luci-static/neobird/images/ethernet_disabled.png -------------------------------------------------------------------------------- /root/etc/uci-defaults/30_luci-theme-neobird: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | uci batch <<-EOF 3 | set luci.themes.Neobird=/luci-static/neobird 4 | set luci.main.mediaurlbase=/luci-static/neobird 5 | commit luci 6 | EOF 7 | exit 0 8 | # ↑↑↑ DO NOT EDIT THIS LINE 9 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # This program is free software; you can redistribute it and/or 2 | # modify it under the terms of the GNU General Public License 3 | # as published by the Free Software Foundation; either version 2 4 | # of the License, or (at your option) any later version. 5 | 6 | include $(TOPDIR)/rules.mk 7 | 8 | LUCI_TITLE:=Neobird Theme 9 | LUCI_DEPENDS:= 10 | PKG_VERSION:=2.0 11 | PKG_RELEASE:=202202260758 12 | 13 | include $(TOPDIR)/feeds/luci/luci.mk 14 | 15 | # call BuildPackage - OpenWrt buildroot signature 16 | -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"Neobird", 3 | "short_name":"Neobird", 4 | "description":"Neobird for OpenWRT by 2smile.", 5 | "start_url":"/", 6 | "scope": "/", 7 | "orientation":"portrait", 8 | "display":"standalone", 9 | "prompt_message":"在主屏幕添加图标,以便快速访问 Neobird", 10 | "icons":[ 11 | { 12 | "src":"images/icon.png", 13 | "sizes":"144x144", 14 | "type":"image/png" 15 | }, 16 | { 17 | "src":"images/icon.png", 18 | "sizes":"192x192", 19 | "type":"image/png" 20 | } 21 | ], 22 | "gcm_sender_id":"524223308106", 23 | "gcm_user_visible_only":true, 24 | "status":"ok" 25 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # luci-theme-neobird 2 | ## 针对移动端优化的Openwrt主题 3 | 4 | For Lean's OpenWRT Only 5 | https://github.com/coolsnowwolf/lede 6 | 7 | 六年前用OP,随手把luci-theme-material改成了自己喜欢的Advancedtomato样式 8 | 因为用了很短时间便没再用OP了,主题也没再管。 9 | 后来便有了lede固件默认使用material主题的修改版做主题,包括今天的luci-theme-netgear和luci-theme-argon还是我的思路,不过都不是我喜欢的样子。 10 | 还有一些luci-theme-atmaterial之类的都是当时我的样式表改的,还存在于某些固件中。 11 | 12 | 前几天又用上了OP做旁路,顺手又改了一把,然后随便找了个LOGO(netgear arlo),起了个名字,编译了一下。 13 | 14 | ## 主要特点: 15 | * 针对移动端优化,特别适合手机端做为webapp使用; 16 | * 修改很多细节,尽量视觉统一(但由于luci插件开发不规范,页面结构有些杂乱,难免有些小问题无法修正); 17 | * 极简易用设计,移动端去除繁杂信息,隐藏了提示信息(可能并不适合OP新手,请手机横屏查看提示文本); 18 | * 简洁的登录界面,底部导航栏,类App的沉浸式体验; 19 | * 适配深色模式,适配系统自动切换; 20 | * 全(tou)新(lai)的APP桌面图标; 21 | * Retina图片适配。 22 | 23 | ## 体验Webapp方法: 24 | * 在移动端(iOS/iPadOS)浏览器打开管理界面,添加到主屏幕即可。 25 | * 想要实现完全的沉浸式(无浏览器导航、无地址栏等)体验,需要使用SSL证书,请自行申请域名、证书、安装并启用。 26 | * 如果不使用SSL证书,基于安全原因,iOS/iPadOS 在打开新的页面后,将会显示浏览器顶部菜单栏。 27 | 28 | ## 目前存在的问题 29 | * 做为旁路由,安装的插件比较少,接口比较少,部分图片不可见则懒得换,可能未来会主动把图片换掉; 30 | * 部分插件或页面仅通过样式表很难达到完美,需要修改底层页面结构,这部分内容存在于luci源码中; 31 | 32 | ## 关于其它 33 | * 你可以改来自己用,也可以继续优化共享,但如果想改进后共享给他人,请再三确认自己的审美能力,以确保不是丑化我的成果 34 | * 因为用了arlo的logo,请勿用于商业用途 35 | * 我可能会在某个时间改掉logo 36 | * luci插件众多,不规范的插件可能会存在显示问题,不做保证 37 | 38 | ## 预览 39 | ![macOS](https://github.com/thinktip/luci-theme-neobird/blob/main/preview/SCR-20220223-iw6.png) 40 | ![macOS](https://github.com/thinktip/luci-theme-neobird/blob/main/preview/SCR-20220223-iwp.png) 41 | ![macOS](https://github.com/thinktip/luci-theme-neobird/blob/main/preview/SCR-20220223-j1l.png) 42 | ![iOS](https://github.com/thinktip/luci-theme-neobird/blob/main/preview/IMG_6478.PNG) 43 | ![iOS](https://github.com/thinktip/luci-theme-neobird/blob/main/preview/IMG_6481.PNG) 44 | ![iOS](https://github.com/thinktip/luci-theme-neobird/blob/main/preview/IMG_6474.PNG) 45 | ## 自行编译: 46 | 47 | ``` 48 | cd lede/package/lean 49 | rm -rf luci-theme-neobird 50 | git clone https://github.com/thinktip/luci-theme-neobird.git 51 | cd ~/lede/ 52 | make menuconfig #choose LUCI->Theme->Luci-theme-neobird 53 | make -j1 V=s 54 | ``` 55 | -------------------------------------------------------------------------------- /luasrc/view/themes/neobird/footer.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI 3 | 4 | luci-theme-material 5 | Copyright 2015 Lutty Yang 6 | 7 | luci-theme-neobird 8 | Copyright 2021 2smile 9 | 10 | Have a bug? Please create an issue here on GitHub! 11 | https://github.com/LuttyYang/luci-theme-material/issues 12 | 13 | luci-theme-bootstrap: 14 | Copyright 2008 Steven Barth 15 | Copyright 2008 Jo-Philipp Wich 16 | Copyright 2012 David Menting 17 | 18 | MUI: 19 | https://github.com/muicss/mui 20 | 21 | Licensed to the public under the Apache License 2.0 22 | -%> 23 | 24 | <% 25 | local ver = require "luci.version" 26 | local disp = require "luci.dispatcher" 27 | local request = disp.context.path 28 | local category = request[1] 29 | local tree = disp.node() 30 | local categories = disp.node_childs(tree) 31 | %> 32 | 33 | 46 | 47 | 48 | 49 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/fonts/font.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/js/script.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI 3 | * 4 | * luci-theme-material 5 | * Copyright 2015 Lutty Yang 6 | * 7 | * Have a bug? Please create an issue here on GitHub! 8 | * https://github.com/LuttyYang/luci-theme-material/issues 9 | * 10 | * luci-theme-bootstrap: 11 | * Copyright 2008 Steven Barth 12 | * Copyright 2008 Jo-Philipp Wich 13 | * Copyright 2012 David Menting 14 | * 15 | * MUI: 16 | * https://github.com/muicss/mui 17 | * 18 | * Licensed to the public under the Apache License 2.0 19 | */ 20 | (function ($) { 21 | $(".main > .loading").fadeOut(); 22 | 23 | /** 24 | * trim text, Remove spaces, wrap 25 | * @param text 26 | * @returns {string} 27 | */ 28 | function trimText(text) { 29 | return text.replace(/[ \t\n\r]+/g, " "); 30 | } 31 | 32 | 33 | var lastNode = undefined; 34 | var mainNodeName = undefined; 35 | 36 | var nodeUrl = ""; 37 | (function(node){ 38 | if (node[0] == "admin"){ 39 | luciLocation = [node[1], node[2]]; 40 | }else{ 41 | luciLocation = node; 42 | } 43 | 44 | for(var i in luciLocation){ 45 | nodeUrl += luciLocation[i]; 46 | if (i != luciLocation.length - 1){ 47 | nodeUrl += "/"; 48 | } 49 | } 50 | })(luciLocation); 51 | 52 | /** 53 | * get the current node by Burl (primary) 54 | * @returns {boolean} success? 55 | */ 56 | function getCurrentNodeByUrl() { 57 | var ret = false; 58 | if (!$('body').hasClass('logged-in')) { 59 | luciLocation = ["Main", "Login"]; 60 | return true; 61 | } 62 | 63 | $(".main > .main-left > .nav > .slide > .menu").each(function () { 64 | var ulNode = $(this); 65 | ulNode.next().find("a").each(function () { 66 | var that = $(this); 67 | var href = that.attr("href"); 68 | 69 | if (href.indexOf(nodeUrl) != -1) { 70 | ulNode.click(); 71 | ulNode.next(".slide-menu").stop(true, true); 72 | lastNode = that.parent(); 73 | lastNode.addClass("active"); 74 | ret = true; 75 | return true; 76 | } 77 | }); 78 | }); 79 | return ret; 80 | } 81 | 82 | /** 83 | * menu click 84 | */ 85 | $(".main > .main-left > .nav > .slide > .menu").click(function () { 86 | var ul = $(this).next(".slide-menu"); 87 | var menu = $(this); 88 | if (!ul.is(":visible")) { 89 | menu.addClass("active"); 90 | ul.addClass("active"); 91 | ul.stop(true).slideDown("fast"); 92 | } else { 93 | ul.stop(true).slideUp("fast", function () { 94 | menu.removeClass("active"); 95 | ul.removeClass("active"); 96 | }); 97 | } 98 | return false; 99 | }); 100 | 101 | /** 102 | * hook menu click and add the hash 103 | */ 104 | $(".main > .main-left > .nav > .slide > .slide-menu > li > a").click(function () { 105 | if (lastNode != undefined) lastNode.removeClass("active"); 106 | $(this).parent().addClass("active"); 107 | $(".main > .loading").fadeIn("fast"); 108 | return true; 109 | }); 110 | 111 | /** 112 | * fix menu click 113 | */ 114 | $(".main > .main-left > .nav > .slide > .slide-menu > li").click(function () { 115 | if (lastNode != undefined) lastNode.removeClass("active"); 116 | $(this).addClass("active"); 117 | $(".main > .loading").fadeIn("fast"); 118 | window.location = $($(this).find("a")[0]).attr("href"); 119 | return false; 120 | }); 121 | 122 | /** 123 | * get current node and open it 124 | */ 125 | if (getCurrentNodeByUrl()) { 126 | mainNodeName = "node-" + luciLocation[0] + "-" + luciLocation[1]; 127 | mainNodeName = mainNodeName.replace(/[ \t\n\r\/]+/g, "_").toLowerCase(); 128 | $("body").addClass(mainNodeName); 129 | } 130 | $(".cbi-button-up").val(""); 131 | $(".cbi-button-down").val(""); 132 | 133 | 134 | /** 135 | * hook other "A Label" and add hash to it. 136 | */ 137 | $("#maincontent > .container").find("a").each(function () { 138 | var that = $(this); 139 | var onclick = that.attr("onclick"); 140 | if (onclick == undefined || onclick == "") { 141 | that.click(function () { 142 | var href = that.attr("href"); 143 | if (href.indexOf("#") == -1) { 144 | $(".main > .loading").fadeIn("fast"); 145 | return true; 146 | } 147 | }); 148 | } 149 | }); 150 | 151 | /** 152 | * Sidebar expand 153 | */ 154 | var showSide = false; 155 | $(".showSide").click(function () { 156 | if (showSide) { 157 | $(".darkMask").stop(true).fadeOut("fast"); 158 | $(".main-left").stop(true).animate({ 159 | width: "0" 160 | }, "fast"); 161 | $(".main-right").css("overflow-y", "auto"); 162 | showSide = false; 163 | } else { 164 | $(".darkMask").stop(true).fadeIn("fast"); 165 | $(".main-left").stop(true).animate({ 166 | width: "20rem" 167 | }, "fast"); 168 | $(".main-right").css("overflow-y", "hidden"); 169 | showSide = true; 170 | } 171 | }); 172 | 173 | 174 | $(".darkMask").click(function () { 175 | if (showSide) { 176 | showSide = false; 177 | $(".darkMask").stop(true).fadeOut("fast"); 178 | $(".main-left").stop(true).animate({ 179 | width: "0" 180 | }, "fast"); 181 | $(".main-right").css("overflow-y", "auto"); 182 | } 183 | }); 184 | 185 | $(window).resize(function () { 186 | if ($(window).width() > 921) { 187 | $(".main-left").css("width", ""); 188 | $(".darkMask").stop(true); 189 | $(".darkMask").css("display", "none"); 190 | showSide = false; 191 | } 192 | }); 193 | 194 | /** 195 | * fix legend position 196 | */ 197 | $("legend").each(function () { 198 | var that = $(this); 199 | that.after("" + that.text() + ""); 200 | }); 201 | 202 | $(".main-right").focus(); 203 | $(".main-right").blur(); 204 | $("input").attr("size", "0"); 205 | 206 | if (mainNodeName != undefined) { 207 | console.log(mainNodeName); 208 | switch (mainNodeName) { 209 | case "node-status-system_log": 210 | case "node-status-kernel_log": 211 | $("#syslog").focus(function () { 212 | $("#syslog").blur(); 213 | $(".main-right").focus(); 214 | $(".main-right").blur(); 215 | }); 216 | break; 217 | case "node-status-firewall": 218 | var button = $(".node-status-firewall > .main fieldset li > a"); 219 | button.addClass("cbi-button cbi-button-reset a-to-btn"); 220 | break; 221 | case "node-system-reboot": 222 | var button = $(".node-system-reboot > .main > .main-right p > a"); 223 | button.addClass("cbi-button cbi-input-reset a-to-btn"); 224 | break; 225 | } 226 | } 227 | 228 | })(jQuery); 229 | -------------------------------------------------------------------------------- /luasrc/view/themes/neobird/header.htm: -------------------------------------------------------------------------------- 1 | <%# 2 | Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI 3 | 4 | luci-theme-material 5 | Copyright 2015 Lutty Yang 6 | 7 | luci-theme-neobird 8 | Copyright 2021 2smile 9 | 10 | Have a bug? Please create an issue here on GitHub! 11 | https://github.com/thinktip/luci-theme-neobird 12 | 13 | luci-theme-bootstrap: 14 | Copyright 2008 Steven Barth 15 | Copyright 2008 Jo-Philipp Wich 16 | Copyright 2012 David Menting 17 | 18 | MUI: 19 | https://github.com/muicss/mui 20 | 21 | Licensed to the public under the Apache License 2.0 22 | -%> 23 | 24 | <% 25 | local ver = require "luci.version" 26 | local sys = require "luci.sys" 27 | local util = require "luci.util" 28 | local http = require "luci.http" 29 | local disp = require "luci.dispatcher" 30 | 31 | local boardinfo = util.ubus("system", "board") 32 | local boardinfo={} 33 | boardinfo.hostname=sys.hostname() 34 | 35 | local request = disp.context.path 36 | local request2 = disp.context.request 37 | 38 | local category = request[1] 39 | local cattree = category and disp.node(category) 40 | 41 | local leaf = request2[#request2] 42 | 43 | local tree = disp.node() 44 | local node = disp.context.dispatched 45 | 46 | local categories = disp.node_childs(tree) 47 | 48 | local c = tree 49 | local i, r 50 | 51 | -- tag all nodes leading to this page 52 | for i, r in ipairs(request) do 53 | if c.nodes and c.nodes[r] then 54 | c = c.nodes[r] 55 | c._menu_selected = true 56 | end 57 | end 58 | 59 | -- send as HTML5 60 | http.prepare_content("text/html") 61 | 62 | local function nodeurl(prefix, name, query) 63 | local url = controller .. prefix .. name .. "/" 64 | if query then 65 | url = url .. http.build_querystring(query) 66 | end 67 | return pcdata(url) 68 | end 69 | 70 | local function subtree(prefix, node, level) 71 | if not level then 72 | level = 1 73 | end 74 | 75 | local childs = disp.node_childs(node) 76 | if #childs > 0 then 77 | 78 | if level > 2 then 79 | %> 80 |
    81 | <% 82 | end 83 | 84 | local selected_node 85 | local selected_name 86 | local i, v 87 | 88 | for i, v in ipairs(childs) do 89 | local nnode = node.nodes[v] 90 | if nnode._menu_selected then 91 | selected_node = nnode 92 | selected_name = v 93 | end 94 | if level > 2 then 95 | %> 96 |
  • 97 | <%=striptags(translate(nnode.title))%> 98 |
  • 99 | <% end 100 | end 101 | 102 | if level > 2 then 103 | %> 104 |
105 | <% end 106 | 107 | if selected_node then 108 | subtree(prefix .. selected_name .. "/", selected_node, level + 1) 109 | end 110 | end 111 | end 112 | -%> 113 | 114 | 115 | 116 | 117 | 118 | 119 | <%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | "> 130 | "> 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | <% if node and node.css then %> 141 | 142 | <% end -%> 143 | <% if css then %> 144 | 147 | <% end -%> 148 | 149 | 150 | 151 | 152 | 153 |
154 | 155 | 162 | 163 |
164 | 165 | > 166 | 167 |
168 | <% 169 | -- calculate the number of unsaved changes 170 | if tree.nodes[category] and tree.nodes[category].ucidata then 171 | local ucichanges = 0 172 | for i, j in pairs(require("luci.model.uci").cursor():changes()) do 173 | for k, l in pairs(j) do 174 | for m, n in pairs(l) do 175 | ucichanges = ucichanges + 1; 176 | end 177 | end 178 | end 179 | %> 180 | <% if ucichanges > 0 then %> 181 | "><%=translate('Unsaved Changes')%>: <%=ucichanges%> 182 | <% end %> 183 | 187 | <% end %> 188 |
189 | 190 | 191 | 192 | 193 | 194 |
195 |
196 | 197 |
198 |
199 | 246 |
247 |
248 |
249 |
250 |
251 | <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%> 252 |
253 |

<%:No password set!%>

254 | <%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>
255 | "><%:Go to password configuration...%> 256 |
257 | <%- end -%> 258 | <% if category then subtree("/" .. category .. "/", cattree) end %> 259 | 260 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/css/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Neobird is a clean HTML5 theme for LuCI. It is based on luci-theme-material 3 | * 4 | * luci-theme-material 5 | * Copyright 2015 Lutty Yang 6 | * 7 | * luci-theme-Neobird 8 | * Copyright 2021 2smile 9 | * 10 | * Licensed to the public under the Apache License 2.0 11 | */ 12 | 13 | :root { 14 | --bg: #f1f4f5; 15 | --mainbg: #fff; 16 | --bgwhite: #fff; 17 | --activeColor: #51c291; 18 | --activeBottom: #51c291 2px solid; 19 | --textColor: rgb(132,119,116); 20 | --borderColor: rgba(0,0,0,.15); 21 | --navbgColor: rgba(255, 255, 255, .7); 22 | --navBorder: 1px solid #f2f2f2; 23 | --sectionbgColor: #fff; 24 | --sectionbgColor2: #fff; 25 | --sectionShaddow: 3px 3px 3px rgba(0,0,0,.05); 26 | --sectionBorder: none; 27 | --sectiontabBorder: none; 28 | --tabmenuBorderLR: none; 29 | --tabmenubgColor: none; 30 | --tabmenuBottom: #e4eaec 1px solid; 31 | --tabmenuRadius: 0; 32 | --sectionnodeBorder: #f7f7f7 1px solid; 33 | --cbilineColor: #f7f7f7 1px solid; 34 | --tabbgColor: #fff; 35 | --inputbgColor: #f8f8f8; 36 | --inputtextColor: #76838f; 37 | --inputBorder: 1px solid #e4eaec; 38 | --mainleftbgColor: rgb(255,255,255); 39 | --bttextColor: #fff; 40 | --badgebgColor: #f7f7f7; 41 | --badgeBorder: #e4eaec 1px solid; 42 | --progressbarColor: #c8c8c8; 43 | --progressbar: #51c291; 44 | --progressbartxtColor: #fff; 45 | --logo: url('/luci-static/neobird/images/logo.png'); 46 | --mlogo: url('/luci-static/neobird/images/mlogo.png'); 47 | } 48 | 49 | @media (prefers-color-scheme: dark) { 50 | :root { 51 | --bg: #000; 52 | --bgwhite: #000; 53 | --textColor: #fefefe; 54 | --activeColor: #51c291; 55 | --activeBottom: #51c291 2px solid; 56 | --borderColor: #2C2C3A; 57 | --navbgColor: hsla(0, 0%, 7%, .8); 58 | --navBorder: 1px solid #1c1c1e; 59 | --sectionbgColor: #1c1c1e; 60 | --sectionbgColor2: #1c1c1e; 61 | --sectionShaddow: 3px 3px 3px rgba(0,0,0,.05); 62 | --sectionBorder: none; 63 | --sectiontabBorder: none; 64 | --sectionnodeBorder: #3d3d41 1px solid; 65 | --cbilineColor: #2d2d2d 1px solid; 66 | --tabbgColor: #1c1c1e; 67 | --tabmenuBorderLR: none; 68 | --tabmenubgColor: none; 69 | --tabmenuBottom: #2d2d2d 1px solid; 70 | --tabmenuRadius: 6px 6px 0 0; 71 | --inputbgColor: #2f2f2f; 72 | --inputtextColor: #fefefe; 73 | --inputBorder: 1px solid #4d4d4d; 74 | --mainleftbgColor: #000; 75 | --bttextColor: #fefefe; 76 | --badgebgColor: #fefefe; 77 | --badgeBorder: #3d3d40 1px solid; 78 | --progressbarColor: #6d6d6d; 79 | --progressbar: #51c291; 80 | --progressbartxtColor: #fefefe; 81 | --logo: url('/luci-static/neobird/images/logod.png'); 82 | --mlogo: url('/luci-static/neobird/images/mlogod.png'); 83 | } 84 | } 85 | 86 | @font-face { 87 | font-family: 'icomoon'; 88 | src: url('../fonts/font.eot'); 89 | src: url('../fonts/font.eot') format('embedded-opentype'), 90 | url('../fonts/font.ttf') format('truetype'), 91 | url('../fonts/font.woff') format('woff'), 92 | url('../fonts/font.svg') format('svg'); 93 | font-weight: normal; 94 | font-style: normal; 95 | } 96 | 97 | @font-face { 98 | font-family: 'neobird'; 99 | src: url(''); 100 | src: url('?#iefix') format('embedded-opentype'), 101 | url('../fonts/iconfont.woff2') format('woff2'), 102 | url('../fonts/iconfont.woff') format('woff'), 103 | url('../fonts/iconfont.ttf') format('truetype'), 104 | url('#iconfont') format('svg'); 105 | } 106 | 107 | 108 | html { 109 | -webkit-text-size-adjust: 100%; 110 | -ms-text-size-adjust: 100%; 111 | } 112 | 113 | html, body { 114 | margin: 0px; 115 | padding: 0px; 116 | height: 100%; 117 | font-family: -apple-system, 'Microsoft Yahei' !important; 118 | font-size: 0.92rem; 119 | line-height: 150%; 120 | background-color: var(--bg); 121 | color:var(--textColor); 122 | } 123 | 124 | body div { 125 | line-height:150%; 126 | } 127 | 128 | a { 129 | color: var(--textColor); 130 | text-decoration: none; 131 | } 132 | 133 | em { 134 | font-style:normal !important; 135 | line-height: 1.5; 136 | padding-left: 10px; 137 | } 138 | 139 | * { 140 | margin: 0; 141 | padding: 0; 142 | box-sizing: border-box; 143 | } 144 | 145 | select { 146 | overflow: hidden !important; 147 | width: 100%; 148 | appearance: none; 149 | -webkit-appearance: none; 150 | -moz-appearance: none; 151 | padding: 0 25px 0 10px !important; 152 | background-size: 24px 16px; 153 | background-repeat: no-repeat; 154 | background-position: right center; 155 | 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'); 156 | } 157 | 158 | select, 159 | input { 160 | color: var(--inputtextColor); 161 | padding: 5px 10px; 162 | font-size: 0.92rem; 163 | font-family: -apple-system, 'Microsoft Yahei', sans-serif, Helvetica, Arial, sans-serif; 164 | border: var(--inputBorder); 165 | background-color: var(--inputbgColor); 166 | transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; 167 | -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; 168 | outline-style: none; 169 | vertical-align: middle; 170 | border-radius: 8px; 171 | margin: 3px 3px 3px 0; 172 | height: 2.8rem; 173 | line-height: 2.8rem; 174 | max-width: 550px; 175 | } 176 | } 177 | 178 | select:not([multiple="multiple"]):focus, 179 | input:focus { 180 | border-color: #948FE1; 181 | box-shadow:0 0 6px #948FE1; 182 | -webkit-box-shadow:0 0 6px #948FE1; 183 | -moz-box-shadow:0 0 6px #948FE1; 184 | } 185 | 186 | input[type='file'] { 187 | border: none; 188 | background: none; 189 | height: auto; 190 | line-height: 1rem; 191 | } 192 | 193 | input[type='checkbox'] { 194 | height: 1.2rem; 195 | width: 1.2rem; 196 | 197 | } 198 | input[type='radio'] { 199 | height: 1.2rem; 200 | width: 1.2rem; 201 | } 202 | 203 | select[multiple="multiple"] { 204 | height: auto; 205 | } 206 | 207 | input[type='text'],input[type='password'] { 208 | width: 100%; 209 | } 210 | code { 211 | color: #0099CC; 212 | } 213 | 214 | img[src*="/images/logo.png"] 215 | { 216 | height: 60px; 217 | background-image: var(--logo); 218 | background-size: 220px; 219 | background-repeat: no-repeat; 220 | padding: 0 0 0 250px; 221 | width: 0; 222 | background-position-x: 10px; 223 | background-position-y: 10px; 224 | background-color: var(--mainleftbgColor); 225 | } 226 | 227 | abbr { 228 | text-decoration: underline; 229 | cursor: help; 230 | } 231 | 232 | br { 233 | display: block; 234 | margin-bottom: 0.2px; 235 | content: ''; 236 | } 237 | 238 | hr{ 239 | margin: 1rem 0; 240 | border-color: #EEE; 241 | opacity: 0.1; 242 | } 243 | 244 | .cbi-section-table-cell br, #cbi-system br, #cbi-dropbear br, .node-status-routes br { 245 | display: none; 246 | } 247 | 248 | header, .main { 249 | width: 100%; 250 | position: absolute; 251 | } 252 | 253 | header { 254 | background-color: var(--bgwhite); 255 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); 256 | transition: box-shadow .2s; 257 | height: 50px; 258 | float: left; 259 | position: fixed; 260 | z-index: 101; 261 | } 262 | 263 | footer { 264 | text-align: right; 265 | padding: 1rem; 266 | color: #aaa; 267 | font-size: 11px; 268 | height: 80px; 269 | visibility:hidden; 270 | /*text-shadow: 0px 0px 2px #BBB;*/ 271 | } 272 | 273 | footer > a { 274 | color: rgb(154,37,143); 275 | text-decoration: none; 276 | } 277 | 278 | text, line { 279 | font-family: Verdana !important; 280 | } 281 | 282 | .cbi-button-up, 283 | .cbi-button-down, 284 | .cbi-value-helpicon, 285 | .showSide, 286 | .main > .loading > span { 287 | font-family: 'icomoon' !important; 288 | font-size:10px; 289 | speak: none; 290 | font-style: normal !important; 291 | font-weight: normal !important; 292 | font-variant: normal !important; 293 | text-transform: none !important; 294 | line-height: 1; 295 | 296 | -webkit-font-smoothing: antialiased; 297 | -moz-osx-font-smoothing: grayscale; 298 | } 299 | 300 | input.cbi-button.cbi-button-add { 301 | /* margin-left: 10px; */ 302 | } 303 | 304 | .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { 305 | font-family: -apple-system, 'Microsoft Yahei'; 306 | font-weight: 600; 307 | line-height: 1.1; 308 | color: inherit; 309 | clear:both; 310 | text-transform: capitalize; 311 | } 312 | 313 | label.zonebadge{ 314 | border-radius: 5px; 315 | padding: 2px 5px 2px 5px !important; 316 | background-color: #5bdeae !important; 317 | display: inline-block; 318 | cursor: pointer; 319 | color: #fefefe; 320 | } 321 | .zonebadge { 322 | background-color: var(--tabmenubgColor) !important; 323 | border-radius: 6px; 324 | padding: 5px; 325 | } 326 | 327 | .zonebadge em { 328 | padding:3px; 329 | } 330 | 331 | svg { 332 | background-color: var(--sectionbgColor); 333 | } 334 | 335 | /* fix p#aliyundrive-webdav_status b */ 336 | 337 | p#aliyundrive-webdav_status b { 338 | color: #ff6666 !important; 339 | text-transform:capitalize; 340 | } 341 | 342 | /* fix .cbi-section .cbi-section */ 343 | 344 | .cbi-section .cbi-section { 345 | margin: 10px; 346 | } 347 | 348 | /* fix node-services-vssr */ 349 | 350 | .node-services-vssr .status-bar { 351 | bottom: 50px; 352 | display: none; 353 | } 354 | 355 | .node-services-vssr .ssr-button { 356 | min-width: 30px; 357 | } 358 | .node-services-vssr #cbi-vssr .panel-title { 359 | padding: 10px 0 10px 10px !important; 360 | letter-spacing: 0 !important; 361 | } 362 | 363 | .node-services-vssr .status .block { 364 | border-radius: 10px !important; 365 | box-shadow: none !important; 366 | background-color: var(--sectionbgColor) !important; 367 | } 368 | 369 | .node-services-vssr button { 370 | border-radius: 10px !important; 371 | } 372 | 373 | #cbi-vssr-servers .cbi-section-table-row { 374 | position: relative; 375 | margin: 10px !important; 376 | padding: 8px 15px 8px 70px; 377 | box-shadow: none !important; 378 | border-radius: 10px !important; 379 | border: 0; 380 | color: var(--textColor) !important; 381 | text-align: left; 382 | line-height: 1.7em; 383 | overflow: hidden; 384 | letter-spacing: normal; 385 | background-color: var(--inputbgColor) !important; 386 | } 387 | .cbi-section-table-row.fast { 388 | background-color: #add8e6 !important; 389 | } 390 | .incon .tp { 391 | text-transform: uppercase; 392 | color: var(--bg) !important; 393 | } 394 | 395 | /** img retina **/ 396 | 397 | img[src*="/luci-static/resources/icons/port_up.png"] { 398 | background-image: url(../images/port_up.png); 399 | background-size: 32px 32px; 400 | height: 32px; 401 | padding: 0 0 0 32px; 402 | width: 0; 403 | } 404 | 405 | img[src*="/luci-static/resources/icons/ethernet.png"] { 406 | background-image: url(../images/ethernet.png); 407 | background-size: 32px 32px; 408 | height: 32px; 409 | width: 32px; 410 | padding: 0 0 0 32px; 411 | width: 0; 412 | } 413 | 414 | img[src*="/luci-static/resources/icons/ethernet_disabled.png"] { 415 | background-image: url(../images/ethernet_disabled.png); 416 | background-size: 32px 32px; 417 | height: 32px; 418 | width: 32px; 419 | padding: 0 0 0 32px; 420 | width: 0; 421 | } 422 | #cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet.png"], 423 | #cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet.png"], 424 | .ifacebadge img[src*="/luci-static/resources/icons/ethernet.png"] 425 | { 426 | background-size: 16px 16px; 427 | height: 16px; 428 | width: 16px; 429 | padding: 0 0 0 16px; 430 | } 431 | #cbi-network-lan-ifname_multi img[src*="/luci-static/resources/icons/ethernet_disabled.png"], 432 | #cbi-network-1-_ifname img[src*="/luci-static/resources/icons/ethernet_disabled.png"], 433 | .ifacebadge img[src*="/luci-static/resources/icons/ethernet_disabled.png"] 434 | { 435 | background-size: 16px 16px; 436 | height: 16px; 437 | width: 16px; 438 | padding: 0 0 0 16px; 439 | } 440 | 441 | 442 | img[src*="/luci-static/resources/icons/loading.gif"] { 443 | background-image: url(../images/loading.gif); 444 | background-size: 20px 20px; 445 | height: 20px; 446 | width: 20px; 447 | padding: 0 0 0 20px; 448 | width: 0; 449 | } 450 | 451 | 452 | img[src*="/luci-static/resources/icons/bridge.png"] { 453 | background-image: url(../images/bridge.png); 454 | background-size: 16px 16px; 455 | height: 16px; 456 | width: 16px; 457 | padding: 0 0 0 16px; 458 | width: 0; 459 | } 460 | 461 | .ifacebox-body img { 462 | background-size: 22px 22px; 463 | padding: 0 0 0 22px; 464 | width:22px !important; 465 | height:22px !important; 466 | padding: 0 0 0 22px !important; 467 | } 468 | .ifacebox-head { 469 | background-color: #1096db !important; 470 | border-radius: 4px 4px 0 0; 471 | } 472 | 473 | 474 | img[src*="/luci-static/resources/cbi/add.gif"] { 475 | background-image: url(../images/add.png); 476 | background-size: 20px 20px; 477 | height: 20px; 478 | padding: 0 0 0 20px; 479 | width: 0; 480 | z-index: 2; 481 | 482 | } 483 | img[src*="/luci-static/resources/cbi/remove.gif"] { 484 | background-image: url(../images/remove.png); 485 | background-size: 20px 20px; 486 | height: 20px; 487 | padding: 0 0 0 20px; 488 | width: 0; 489 | z-index: 2; 490 | } 491 | 492 | img[src*="/luci-static/resources/cbi/reload.gif"] { 493 | background-image: url(../images/reload.png); 494 | background-size: 20px 20px; 495 | height: 20px; 496 | padding: 0 0 0 20px; 497 | width: 0; 498 | z-index: 2; 499 | } 500 | 501 | 502 | .myIcon{ 503 | font-family: "neobird" !important; 504 | font-style: normal !important; 505 | font-variant: normal !important; 506 | text-transform: none !important; 507 | } 508 | 509 | .myIcon-logout:after{ 510 | content: "\e005"; 511 | } 512 | 513 | .myIcon-reboot:after{ 514 | content: "\e02a"; 515 | } 516 | 517 | .myIcon-wifi:after{ 518 | content: "\e00c"; 519 | } 520 | 521 | .main { 522 | top: 50px; 523 | bottom: 0rem; 524 | position: relative; 525 | height: 100%; 526 | height: calc(100% - 4rem); 527 | } 528 | 529 | .main > .loading { 530 | position: fixed; 531 | width: 100%; 532 | height: 100%; 533 | z-index: 1000; 534 | display: block; 535 | background-color: rgb(240, 240, 240); 536 | top: 0; 537 | } 538 | 539 | .main > .loading > span { 540 | display: block; 541 | text-align: center; 542 | margin-top: 2rem; 543 | color: #888; 544 | font-size: 1rem; 545 | } 546 | 547 | .main > .loading > span > .loading-img:before { 548 | content: "\e603"; 549 | } 550 | 551 | .main > .loading > span > .loading-img { 552 | animation: anim-rotate 2s infinite linear; 553 | margin-right: 0.2rem; 554 | display: inline-block; 555 | } 556 | 557 | .navbar { 558 | overflow: hidden; 559 | position: fixed; 560 | bottom: 0; 561 | width: 100%; 562 | border-top: var(--navBorder); 563 | text-align: center; 564 | height:calc(50px + constant(safe-area-inset-bottom)); 565 | height:calc(50px + env(safe-area-inset-bottom)); 566 | background-color: var(--navbgColor); 567 | -webkit-backdrop-filter: blur(10px); 568 | backdrop-filter: blur(10px); 569 | } 570 | 571 | .navbar a { 572 | float: left; 573 | text-align: center; 574 | padding: 8px 0; 575 | width: 20%; 576 | text-decoration: none; 577 | max-width: 100px; 578 | } 579 | 580 | .cbi-map { 581 | margin-top: 10px; 582 | } 583 | 584 | #cbi-shadowsocksr .cbi-map-descr { 585 | display: none; 586 | } 587 | 588 | .navbar a img { 589 | width: 28px; 590 | } 591 | 592 | @keyframes anim-rotate { 593 | 0% { 594 | -webkit-transform: rotate(0); 595 | -ms-transform: rotate(0); 596 | transform: rotate(0); 597 | } 598 | 100% { 599 | -webkit-transform: rotate(360deg); 600 | -ms-transform: rotate(360deg); 601 | transform: rotate(360deg) 602 | } 603 | } 604 | 605 | 606 | .main-left { 607 | float: left; 608 | width: 17rem; 609 | background-color: var(--mainleftbgColor); 610 | overflow-x: auto; 611 | height: calc(100% - 3.5rem); 612 | position: fixed; 613 | padding-top: 15px; 614 | } 615 | 616 | .main-right { 617 | width: 85%; 618 | width: calc(100% - 17rem); 619 | float: right; 620 | height: 100%; 621 | border-left: var(--sectionBorder); 622 | } 623 | 624 | .main-right > #maincontent { 625 | } 626 | 627 | .pull-right { 628 | position: absolute; 629 | top: -2px; 630 | right: 30px; 631 | cursor: pointer; 632 | } 633 | 634 | .pull-left { 635 | float: left; 636 | } 637 | 638 | 639 | header > .container { 640 | margin:0; 641 | padding:0; 642 | } 643 | 644 | header > .container > .brand { 645 | font-size: 32px; 646 | /*font-weight:bold;*/ 647 | line-height:60px; 648 | /*color: white;*/ 649 | color:rgb(111,42,142); 650 | cursor: default; 651 | /*background: #51c291;*/ 652 | display:block; 653 | width:17rem; 654 | padding-right: 10px; 655 | height:60px; 656 | text-align:center; 657 | float:left; 658 | font-weight:900; 659 | letter-spacing:3px; 660 | } 661 | header > .container > a[class="brand"]:after { 662 | content:"鎼达拷"; 663 | font-size:14px; 664 | font-family:Tahoma; 665 | position: absolute; 666 | top:-10px; 667 | font-weight:normal !important; 668 | } 669 | 670 | header > .container > .brand-hostname { 671 | font-size: 14px; 672 | line-height:60px; 673 | color: #555555; 674 | cursor: default; 675 | display:block; 676 | width:17rem; 677 | padding-right: 10px; 678 | height:60px; 679 | text-align:left; 680 | float:left; 681 | margin-top: 7px; 682 | font-weight:300; 683 | margin-left: -15px; 684 | } 685 | 686 | .warning { 687 | background-color: #FF7D60 !important; 688 | color: #FFF; 689 | } 690 | 691 | .errorbox, 692 | .alert-message { 693 | margin: 0 0 10px 0; 694 | padding: 20px; 695 | line-height: 1.5; 696 | font-family: inherit; 697 | min-width: inherit; 698 | overflow: auto; 699 | border-radius: 10px; 700 | background-color: #FFF; 701 | } 702 | 703 | .errorbox { 704 | color: #fff; 705 | background-color: #ff6767; 706 | border-radius: 10px; 707 | } 708 | 709 | .error { 710 | color: red; 711 | } 712 | p#shadowsocksr_status { 713 | padding: 3px; 714 | } 715 | 716 | 717 | #maincontent > .container > div:nth-child(1).alert-message.warning > a { 718 | font: inherit; 719 | overflow: visible; 720 | text-transform: none; 721 | display: inline-block; 722 | margin-bottom: 0; 723 | font-weight: 400; 724 | text-align: center; 725 | white-space: nowrap; 726 | vertical-align: middle; 727 | touch-action: manipulation; 728 | cursor: pointer; 729 | -webkit-user-select: none; 730 | -moz-user-select: none; 731 | -ms-user-select: none; 732 | user-select: none; 733 | background-image: none; 734 | min-width: 6rem; 735 | padding: 0.5rem 1rem; 736 | font-size: 14px; 737 | line-height: 1.42857143; 738 | color: #fff; 739 | background-color: #5bc0de; 740 | border-color: #46b8da; 741 | margin-top: 2rem; 742 | text-decoration: inherit; 743 | } 744 | 745 | .main > .main-left > .nav { 746 | overflow-y: visible !important; 747 | font-size: 1rem; 748 | width: 90%; 749 | margin: auto; 750 | margin-bottom: 90px; 751 | } 752 | 753 | .main > .main-left > .nav > li a { 754 | color: var(--activeColor); 755 | display: block; 756 | border-radius: 6px; 757 | cursor: pointer; 758 | font-weight: bold; 759 | font-size: 1.1rem; 760 | } 761 | 762 | /* 763 | .main > .main-left > .nav > li:nth-last-child(1) { 764 | font-size: 11pt; 765 | height:40px; 766 | padding-top:6px; 767 | } 768 | */ 769 | 770 | .main > .main-left > .nav > li { 771 | cursor: pointer; 772 | padding-top:6px; 773 | } 774 | 775 | 776 | 777 | .main > .main-left > .nav > .slide { 778 | padding: 0; 779 | padding-top:8px; 780 | } 781 | 782 | .main > .main-left > .nav > .slide > a:before { 783 | display: inline-block; 784 | left:-10px; 785 | top: 1px; 786 | position: relative; 787 | font-family: "neobird" !important; 788 | font-weight: bold !important; 789 | text-transform: none !important; 790 | speak: none; 791 | font-size: 1.2rem !important; 792 | -webkit-font-smoothing: antialiased; 793 | } 794 | 795 | 796 | .main > .main-left > .nav > .slide > a[data-title="Status"]:before { 797 | content: "\e6b8"; 798 | } 799 | 800 | .main > .main-left > .nav > .slide > a[data-title="System"]:before { 801 | content: "\e645"; 802 | } 803 | 804 | .main > .main-left > .nav > .slide > a[data-title="Services"]:before { 805 | content: "\e6cb"; 806 | } 807 | 808 | .main > .main-left > .nav > .slide > a[data-title="Docker"]:before { 809 | content: "\e676"; 810 | } 811 | 812 | .main > .main-left > .nav > .slide > a[data-title="NAS"]:before { 813 | content: "\eb04"; 814 | } 815 | 816 | .main > .main-left > .nav > .slide > a[data-title="VPN"]:before { 817 | content: "\e6fa"; 818 | } 819 | 820 | .main > .main-left > .nav > .slide > a[data-title="Network"]:before { 821 | content: "\e8f8"; 822 | } 823 | 824 | .main > .main-left > .nav > .slide > a[data-title="Bandwidth Monitor"]:before { 825 | content: "\e764"; 826 | } 827 | 828 | .main .main-left .nav li.slide .menu[data-title="Statistics"]:before { 829 | content: "\e604"; 830 | } 831 | 832 | .main .main-left .nav li.slide .menu[data-title="Control"]:before { 833 | content: "\e67a"; 834 | } 835 | 836 | .main .main-left .nav li.slide .menu[data-title="Asterisk"]:before { 837 | content: "\e7dd"; 838 | } 839 | 840 | .main > .main-left > .nav > li > a[data-title="Logout"] { 841 | padding: 10px 0px 10px 25px 842 | } 843 | .main > .main-left > .nav > li > a[data-title="Logout"]:before { 844 | content: "\e641"; 845 | } 846 | 847 | .main > .main-left > .nav > li > a[data-title="Reboot"] { 848 | padding: 6px 25px; 849 | } 850 | .main > .main-left > .nav > li > a[data-title="Reboot"]:before { 851 | content: "\e004"; 852 | } 853 | 854 | .main > .main-left > .nav > .slide > ul { 855 | display: none; 856 | list-style:dotted; 857 | } 858 | 859 | .main > .main-left > .nav > .slide > .menu { 860 | display: block; 861 | padding: 10px 25px; 862 | text-decoration: none; 863 | cursor: pointer;; 864 | } 865 | 866 | .main > .main-left > .nav > li:hover, 867 | .main > .main-left > .nav > .slide > .menu:hover { 868 | background: var(--activeColor); 869 | color:white; 870 | } 871 | .main > .main-left > .nav > .slide > .menu2:hover { 872 | background: var(--activeColor); 873 | color:white; 874 | } 875 | 876 | .main > .main-left > .nav > .slide:hover { 877 | background: none; 878 | } 879 | .slide-menu { 880 | overflow:hidden; 881 | } 882 | .main > .main-left > .nav > .slide > .slide-menu > li { 883 | margin-top: 8px; 884 | border-radius: 6px; 885 | } 886 | 887 | 888 | 889 | .main > .main-left > .nav > .slide > .slide-menu > .active { 890 | background-color: var(--activeColor); 891 | } 892 | 893 | .main > .main-left > .nav > .slide > .slide-menu > li > a { 894 | position: relative; 895 | display: block; 896 | color: var(--textColor); 897 | vertical-align: middle; 898 | background:none !important; 899 | border: none !important; 900 | text-transform: capitalize; 901 | font-size: 1rem; 902 | padding: 8px 0px 8px 25px; 903 | } 904 | .main > .main-left > .nav > .slide > .slide-menu > li > a:after{ 905 | font-family: "neobird" !important; 906 | font-style: normal !important; 907 | font-variant: normal !important; 908 | content: "\eb03"; 909 | float: right; 910 | padding-right: 5px; 911 | } 912 | 913 | .main > .main-left > .nav > .slide > .slide-menu > li > a:hover { 914 | color:white; 915 | } 916 | 917 | .main > .main-left > .nav > .slide > .slide-menu > .active > a { 918 | color: white; 919 | } 920 | 921 | .main > .main-left > .nav > .slide > .slide-menu > li:hover { 922 | background: var(--activeColor); 923 | color:white !important; 924 | } 925 | 926 | .main > .main-left > .nav > .slide > .slide-menu > .active:hover { 927 | background-color: var(--activeColor); 928 | cursor: pointer; 929 | } 930 | 931 | .cbi-tab-descr { 932 | padding:10px; 933 | } 934 | 935 | li { 936 | list-style-type: none; 937 | } 938 | 939 | #maincontent > .container { 940 | margin:30px 30px 50px 30px; 941 | } 942 | 943 | h1 { 944 | color: var(--activeColor); 945 | font-size: 20px; 946 | padding-bottom: 10px; 947 | border-bottom: 1px solid #eee; 948 | } 949 | 950 | h2 { 951 | color: var(--activeColor); 952 | padding: 0 12px 6px 12px; 953 | text-transform: capitalize; 954 | } 955 | 956 | h3 { 957 | font-size: 1.2rem; 958 | color: var(--activeColor); 959 | font-weight:bold; 960 | padding: 0 12px 10px 12px; 961 | } 962 | 963 | h4 { 964 | 965 | } 966 | 967 | label { 968 | display: inline-block; 969 | vertical-align: middle; 970 | } 971 | fieldset { 972 | /* margin: 10px 0 0 0; */ 973 | padding: 10px; 974 | border: 1px; 975 | font-weight: normal; 976 | font-style: normal; 977 | line-height: 1; 978 | font-family: inherit; 979 | text-align: left; 980 | min-width: inherit; 981 | overflow-x: auto; 982 | overflow-y: hidden; 983 | background-color: var(--sectionbgColor); 984 | /* box-shadow: var(--sectionShaddow); */ 985 | -webkit-overflow-scrolling: touch; 986 | } 987 | 988 | fieldset > legend { 989 | display: none !important; 990 | } 991 | 992 | fieldset > fieldset { 993 | /* margin: 0; */ 994 | padding: 0; 995 | /* border: none; */ 996 | /* box-shadow: none; */ 997 | } 998 | 999 | .panel-title { 1000 | width: 100%; 1001 | display: block; 1002 | padding: 10px; 1003 | font-weight: bold; 1004 | font-size: 1rem; 1005 | } 1006 | 1007 | table { 1008 | border-spacing: 0; 1009 | border-collapse: collapse; 1010 | width: 100%; 1011 | border: 0px solid #eee; 1012 | } 1013 | 1014 | table tr th:empty { 1015 | display: none; 1016 | } 1017 | strong { 1018 | font-weight: bold; 1019 | } 1020 | 1021 | #lb_load01_cur, 1022 | #lb_load01_peak, 1023 | #lb_load05_cur, 1024 | #lb_load15_cur{ 1025 | text-align:right !important; 1026 | } 1027 | 1028 | #lb_load01_peak { 1029 | text-align:left !important; 1030 | } 1031 | #lb_load01_cur { 1032 | 1033 | } 1034 | 1035 | table > tbody > tr > td, table > tbody > tr > th, table > tfoot > tr > td, table > tfoot > tr > th, table > thead > tr > td, table > thead > tr > th { 1036 | padding: 12px; 1037 | white-space: nowrap; 1038 | line-height:1.5; 1039 | vertical-align: middle !important; 1040 | } 1041 | 1042 | table > tbody > tr { 1043 | border-bottom: var(--cbilineColor) !important; 1044 | } 1045 | 1046 | table > tbody > tr:last-child { 1047 | border-bottom: none !important; 1048 | } 1049 | 1050 | .cbi-section-table-cell { 1051 | text-align: center; 1052 | } 1053 | 1054 | .cbi-section-table-row { 1055 | text-align: center; 1056 | } 1057 | 1058 | .cbi-section-remove{ 1059 | margin-bottom: 2px; 1060 | } 1061 | .cbi-section-remove > input { 1062 | background-color: #cc0066; 1063 | } 1064 | fieldset > table > tbody > tr:nth-of-type(odd) { 1065 | background-color: var(--sectionbgColor2); 1066 | } 1067 | 1068 | /* fix progress bar */ 1069 | #swaptotal > div, 1070 | #swapfree > div, 1071 | #swapcache > div, 1072 | #memfree > div, 1073 | #membuff > div, 1074 | #conns > div, 1075 | #memcache > div, 1076 | #memtotal > div { 1077 | width: 100% !important; 1078 | border-color: var(--progressbarColor) !important; 1079 | background-color:var(--progressbarColor) !important; 1080 | } 1081 | 1082 | #swaptotal > div > div, 1083 | #swapfree > div > div, 1084 | #swapcache > div > div, 1085 | #memfree > div > div, 1086 | #membuff > div > div, 1087 | #conns > div > div, 1088 | #memcache > div > div, 1089 | #memtotal > div > div { 1090 | background-color: var(--progressbar) !important; 1091 | color: var(--progressbartxtColor) !important; 1092 | } 1093 | 1094 | #swaptotal div div, 1095 | #swapfree div div, 1096 | #swapcache div div, 1097 | #memfree div div, 1098 | #membuff div div, 1099 | #conns div div, 1100 | #memcache div div, 1101 | #memtotal div div { 1102 | align-items: center; 1103 | align-content: center; 1104 | justify-content: center; 1105 | display: flex; 1106 | } 1107 | 1108 | #swaptotal div div small, 1109 | #swapfree div div small, 1110 | #swapcache div div small, 1111 | #memfree div div small, 1112 | #membuff div div small, 1113 | #conns div div small, 1114 | #memcache div div small, 1115 | #memtotal div div small{ 1116 | font-size: 0.75rem !important; 1117 | line-height: 130%; 1118 | color: var(--progressbartxtColor) !important; 1119 | } 1120 | 1121 | .cbi-value-field { 1122 | width: 65%; 1123 | } 1124 | /* fix node-system-admin */ 1125 | .node-system-admin .cbi-value-field li div { 1126 | padding: 0 !important; 1127 | } 1128 | 1129 | .node-system-admin em { 1130 | padding: 0 !important; 1131 | } 1132 | 1133 | /* fix node-nlbw-display */ 1134 | .node-nlbw-display hr { 1135 | display: none; 1136 | } 1137 | 1138 | .node-nlbw-display p { 1139 | line-height: 1.5; 1140 | padding: 0 10px 5px 10px; 1141 | } 1142 | 1143 | 1144 | /* fix node-network-network */ 1145 | 1146 | #cbi-network-lan-__status table { 1147 | width: auto; 1148 | } 1149 | 1150 | #cbi-network-lan-__status table td { 1151 | width: 0; 1152 | padding: 0; 1153 | 1154 | } 1155 | #cbi-network-lan-__status table td small { 1156 | font-size: 11px; 1157 | white-space: nowrap; 1158 | } 1159 | 1160 | 1161 | /* fix node-status-routes */ 1162 | 1163 | .node-status-routes .cbi-section-node{ 1164 | max-height: 500px; 1165 | overflow-y: auto; 1166 | overflow-x: hidden; 1167 | } 1168 | 1169 | /* fix multiple table */ 1170 | 1171 | table table { 1172 | border: none; 1173 | } 1174 | 1175 | .cbi-value-field table { 1176 | border: none; 1177 | } 1178 | .cbi-value-field label { 1179 | padding: 0 ; 1180 | } 1181 | td > table > tbody > tr > td { 1182 | border: none; 1183 | } 1184 | 1185 | .cbi-value-field > table > tbody > tr > td { 1186 | border: none; 1187 | } 1188 | 1189 | div#container\.nlbw\.traffic { 1190 | overflow: auto; 1191 | } 1192 | 1193 | td#__status-ifc-signal { 1194 | width: 60px !important; 1195 | } 1196 | 1197 | td#__status-ifc-signal img[src*="/luci-static/resources/icons/bridge.png"] { 1198 | background-image: url(../images/bridge.png); 1199 | background-size: 32px 32px; 1200 | height: 32px !important; 1201 | width: 32px !important; 1202 | padding: 0 0 0 32px; 1203 | width: 0; 1204 | } 1205 | 1206 | /* button style */ 1207 | 1208 | .cbi-button { 1209 | -webkit-appearance: none; 1210 | text-transform: uppercase; 1211 | color: #fff; 1212 | background-color: #337ab7; 1213 | transition: all 0.2s ease-in-out; 1214 | display: inline-block; 1215 | border: none; 1216 | cursor: pointer; 1217 | -ms-touch-action: manipulation; 1218 | touch-action: manipulation; 1219 | background-image: none; 1220 | text-align: center; 1221 | white-space: nowrap; 1222 | -webkit-user-select: none; 1223 | -moz-user-select: none; 1224 | -ms-user-select: none; 1225 | user-select: none; 1226 | width: auto !important; 1227 | min-width: 80px; 1228 | padding: 0px 8px 0px 8px; 1229 | max-width: 160px; 1230 | height: 35px; 1231 | line-height: 35px; 1232 | } 1233 | 1234 | .cbi-button:hover, 1235 | .cbi-button:focus, 1236 | .cbi-button:active { 1237 | color: #fff; 1238 | outline: 0; 1239 | text-decoration: none; 1240 | background-color: rgb(106,101,214); 1241 | } 1242 | 1243 | .cbi-button:hover, 1244 | .cbi-button:focus { 1245 | box-shadow: 0 1px 1px rgba(0,0,0,.05); 1246 | } 1247 | 1248 | .cbi-button:active { 1249 | box-shadow: 0 1px 1px rgba(0,0,0,.05); 1250 | } 1251 | 1252 | .cbi-button:disabled { 1253 | cursor: not-allowed; 1254 | pointer-events: none; 1255 | opacity: 0.60; 1256 | box-shadow: none; 1257 | } 1258 | 1259 | form.inline + form.inline, 1260 | .cbi-button + .cbi-button { 1261 | } 1262 | 1263 | .cbi-button-reset, 1264 | .cbi-input-remove { 1265 | color: #fff !important; 1266 | background-color: #617486 !important; 1267 | } 1268 | 1269 | .cbi-button-reset:hover, 1270 | .cbi-input-remove:hover, 1271 | .cbi-button-remove:hover{ 1272 | color: #fff !important; 1273 | background-color: rgb(83,100,115) !important; 1274 | } 1275 | 1276 | .cbi-button-link, 1277 | .cbi-input-find, 1278 | .cbi-input-save, 1279 | .cbi-button-add, 1280 | .cbi-button-save, 1281 | .cbi-button-find, 1282 | .cbi-input-reload, 1283 | .cbi-button-reload { 1284 | color: var(--bttextColor); 1285 | background-color: rgb(0,171,232) !important; 1286 | border-color: rgb(0,171,232) !important; 1287 | } 1288 | 1289 | .cbi-button-link:hover, 1290 | .cbi-input-find:hover, 1291 | .cbi-input-save:hover, 1292 | .cbi-button-add:hover, 1293 | .cbi-button-save:hover, 1294 | .cbi-button-find:hover, 1295 | .cbi-input-reload:hover, 1296 | .cbi-button-reload:hover{ 1297 | color: #fff !important; 1298 | background-color: #337ab7 !important; 1299 | border-color: #337ab7 !important; 1300 | } 1301 | 1302 | .cbi-input-apply, 1303 | .cbi-button-apply, 1304 | .cbi-button-edit { 1305 | color: #fff !important; 1306 | background-color: var(--activeColor); 1307 | } 1308 | 1309 | .cbi-input-reset, 1310 | .cbi-button-remove { 1311 | color: #fff !important; 1312 | background: #617486; 1313 | } 1314 | 1315 | 1316 | .a-to-btn { 1317 | text-decoration: none; 1318 | } 1319 | 1320 | /* table */ 1321 | 1322 | .tabs { 1323 | margin: 15px 0; 1324 | overflow-x: auto; 1325 | } 1326 | 1327 | .cbi-tabmenu > li, 1328 | .tabs > li { 1329 | display: table-cell; 1330 | } 1331 | 1332 | .cbi-tabmenu > li { 1333 | border-radius: var(--tabmenuRadius); 1334 | } 1335 | 1336 | .tabs > li > a { 1337 | text-decoration: none; 1338 | padding: 0 6px 0 6px; 1339 | float: left; 1340 | display: block; 1341 | white-space: nowrap; 1342 | height: 2.5rem; 1343 | line-height: 2.5rem; 1344 | font-size: 0.92rem; 1345 | } 1346 | 1347 | .cbi-tabmenu > li > a { 1348 | text-decoration: none; 1349 | float: left; 1350 | display: block; 1351 | white-space: nowrap; 1352 | height: 2.5rem; 1353 | line-height: 2.5rem; 1354 | font-size: 0.92rem; 1355 | margin: 0 10px; 1356 | } 1357 | 1358 | .tabs > li[class~="active"], 1359 | .tabs > li:hover{ 1360 | cursor: pointer; 1361 | 1362 | } 1363 | 1364 | .tabs > li[class~="active"] > a { 1365 | color: var(--activeColor) !important; 1366 | padding-bottom: 8px; 1367 | border-bottom: var(--activeColor) 2px solid; 1368 | } 1369 | 1370 | .tabs > li:hover { 1371 | /*border-bottom: 0.18751rem solid rgb(133,129,216);*/ 1372 | } 1373 | 1374 | .cbi-tabmenu { 1375 | border-top: var(--sectiontabBorder); 1376 | border-left: var(--tabmenuBorderLR); 1377 | border-right: var(--tabmenuBorderLR); 1378 | border-bottom: var(--tabmenuBottom); 1379 | background-color: var(--tabmenubgColor); 1380 | width: 100%; 1381 | overflow-x: auto; 1382 | margin-top: 5px; 1383 | margin-bottom: 10px; 1384 | } 1385 | 1386 | .cbi-tabmenu > li:hover { 1387 | background-color: none; 1388 | } 1389 | 1390 | .cbi-tabmenu > li[class~="cbi-tab"] { 1391 | background-color: none; 1392 | } 1393 | 1394 | .cbi-tabmenu > li[class~="cbi-tab"] a { 1395 | color: var(--activeColor) ; 1396 | border-bottom: 2px solid var(--activeColor); 1397 | } 1398 | 1399 | .cbi-section-node-tabbed { 1400 | margin-top: 0; 1401 | border-bottom: var(--sectiontabBorder); 1402 | border-left: var(--sectiontabBorder); 1403 | border-right: var(--sectiontabBorder); 1404 | border-radius: 0 0; 1405 | } 1406 | 1407 | 1408 | .cbi-tabcontainer { 1409 | clear:both; 1410 | } 1411 | .cbi-tabcontainer > .cbi-value:nth-of-type(2n) { 1412 | background-color: var(--sectionbgColor2); 1413 | } 1414 | 1415 | .cbi-section-node > .cbi-value:nth-of-type(2n) { 1416 | background-color: var(--sectionbgColor2); 1417 | } 1418 | div > .cbi-value:nth-of-type(2n) { 1419 | background-color: var(--sectionbgColor2); 1420 | } 1421 | 1422 | .cbi-value-field, 1423 | .cbi-value-description { 1424 | display: table-cell; 1425 | } 1426 | 1427 | .cbi-value-field { 1428 | /* padding: 10px 10px 10px 0; */ 1429 | } 1430 | 1431 | .cbi-value-helpicon > img { 1432 | display: none; 1433 | } 1434 | 1435 | .cbi-value-helpicon:before { 1436 | content: "\f059"; 1437 | } 1438 | 1439 | .cbi-value-description { 1440 | opacity: 0.6; 1441 | padding-left: 4px; 1442 | } 1443 | 1444 | .cbi-value-title { 1445 | word-wrap: break-word; 1446 | display: table-cell; 1447 | width: 35%; 1448 | float: left; 1449 | padding: 13px 10px 5px 3px; 1450 | } 1451 | 1452 | .cbi-value { 1453 | display: flex; 1454 | width: 100%; 1455 | align-items: center; 1456 | align-content: center; 1457 | justify-content: flex-start; 1458 | min-height: 40px; 1459 | padding: 8px 10px; 1460 | flex-flow:row wrap; 1461 | border-bottom: var(--cbilineColor); 1462 | } 1463 | 1464 | .cbi-value:last-child { 1465 | border-bottom: none; 1466 | } 1467 | 1468 | .cbi-value strong { 1469 | font-weight: normal; 1470 | } 1471 | 1472 | .cbi-section-table-descr > .cbi-section-table-cell, 1473 | .cbi-section-table-titles > .cbi-section-table-cell { 1474 | border: none; 1475 | } 1476 | 1477 | .cbi-rowstyle-2 { 1478 | background-color: var(--sectionbgColor2); 1479 | } 1480 | 1481 | .cbi-rowstyle-2 .cbi-button-up, 1482 | .cbi-rowstyle-2 .cbi-button-down{ 1483 | } 1484 | 1485 | .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell { 1486 | width: auto !important; 1487 | } 1488 | .cbi-section-table tr .cbi-value-field { 1489 | text-align: center ; 1490 | width: 20% !important; 1491 | padding: 10px !important; 1492 | } 1493 | .cbi-section-table tr .cbi-value-field input { 1494 | width: auto; 1495 | } 1496 | .cbi-section-table tr .cbi-value-field .ifacebox { 1497 | margin: auto; 1498 | width: fit-content; 1499 | min-width: 60px; 1500 | } 1501 | 1502 | /* desc */ 1503 | .cbi-section-descr { 1504 | padding: 3px 10px; 1505 | } 1506 | 1507 | .cbi-map-descr { 1508 | padding: 5px 5px 5px 12px; 1509 | } 1510 | 1511 | .cbi-map-descr h3 { 1512 | font-size: 0.92rem; 1513 | font-weight: normal; 1514 | color: #666; 1515 | } 1516 | 1517 | #cbi-vsftpd .cbi-map-descr { 1518 | color: var(--activeColor); 1519 | padding: 0 12px 0px 12px; 1520 | font-size: 1.2rem; 1521 | font-weight: bold; 1522 | } 1523 | 1524 | 1525 | /* luci */ 1526 | 1527 | .hidden { 1528 | display: none 1529 | } 1530 | 1531 | .left { 1532 | text-align: left !important; 1533 | } 1534 | 1535 | .right { 1536 | text-align: right !important; 1537 | } 1538 | 1539 | .right .cbi-button { 1540 | height: 20px; 1541 | line-height: 20px; 1542 | min-width: 60px; 1543 | padding: 0; 1544 | margin: 0; 1545 | } 1546 | 1547 | .inline { 1548 | display: inline; 1549 | } 1550 | 1551 | .cbi-page-actions { 1552 | text-align: center; 1553 | } 1554 | 1555 | /* input */ 1556 | .cbi-value input[type="password"], 1557 | .cbi-value input[type="text"] { 1558 | 1559 | } 1560 | 1561 | /* select */ 1562 | 1563 | 1564 | .ifacebadge { 1565 | display: inline-flex; 1566 | padding: 5px; 1567 | background-color: var(--badgebgColor); 1568 | align-content: center; 1569 | align-items: center; 1570 | border-radius: 5px; 1571 | border: var(--badgeBorder); 1572 | color: rgb(132,119,116); 1573 | } 1574 | 1575 | #content_syslog { 1576 | padding: 5px; 1577 | margin-top:10px; 1578 | border-radius: 10px; 1579 | background-color: var(--sectionbgColor); 1580 | box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); 1581 | } 1582 | 1583 | .ifacebadge > img { 1584 | float: right; 1585 | margin-left: 0.3rem; 1586 | } 1587 | 1588 | img.cbi-image-button { 1589 | vertical-align: middle; 1590 | 1591 | } 1592 | 1593 | fieldset.cbi-section{ 1594 | border: var(--sectionBorder); 1595 | margin-bottom: 20px; 1596 | border-radius: 10px; 1597 | margin-top: 5px; 1598 | } 1599 | 1600 | /*textarea*/ 1601 | 1602 | .cbi-input-textarea, textarea { 1603 | color: var(--inputtextColor); 1604 | padding: 10px; 1605 | line-height: normal; 1606 | border: var(--sectionBorder); 1607 | background-color: var(--inputbgColor); 1608 | transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; 1609 | -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; 1610 | outline-style: none; 1611 | vertical-align: baseline; 1612 | border-radius: 10px; 1613 | font-family: Menlo, Mono; 1614 | font-size: 0.9rem; 1615 | white-space: pre; 1616 | margin-bottom: 5px; 1617 | } 1618 | 1619 | #syslog { 1620 | width: 100%; 1621 | min-height: 15rem; 1622 | padding: 10px; 1623 | margin-bottom: 20px; 1624 | border-radius: 0; 1625 | background-color: var(--sectionbgColor); 1626 | border: none; 1627 | } 1628 | 1629 | /* change */ 1630 | #wan4_i, #wan6_i { 1631 | width:50px !important; 1632 | } 1633 | 1634 | .uci-change-list { 1635 | font-family: monospace; 1636 | } 1637 | 1638 | .uci-change-list ins, 1639 | .uci-change-legend-label ins { 1640 | text-decoration: none; 1641 | border: 1px solid #00FF00; 1642 | background-color: #CCFFCC; 1643 | display: block; 1644 | padding: 2px; 1645 | } 1646 | 1647 | .uci-change-list del, 1648 | .uci-change-legend-label del { 1649 | text-decoration: none; 1650 | border: 1px solid #FF0000; 1651 | background-color: #FFCCCC; 1652 | display: block; 1653 | font-style: normal; 1654 | padding: 2px; 1655 | } 1656 | 1657 | .uci-change-list var, 1658 | .uci-change-legend-label var { 1659 | text-decoration: none; 1660 | border: 1px solid #CCCCCC; 1661 | background-color: #EEEEEE; 1662 | display: block; 1663 | font-style: normal; 1664 | padding: 2px; 1665 | } 1666 | 1667 | .uci-change-list var ins, 1668 | .uci-change-list var del { 1669 | border: none; 1670 | white-space: pre; 1671 | font-style: normal; 1672 | padding: 0px; 1673 | } 1674 | 1675 | .uci-change-legend { 1676 | padding: 5px; 1677 | } 1678 | 1679 | .uci-change-legend-label { 1680 | width: 150px; 1681 | float: left; 1682 | display: flex; 1683 | /* align-content: center; */ 1684 | align-items: center; 1685 | } 1686 | 1687 | .uci-change-legend-label > ins, 1688 | .uci-change-legend-label > del, 1689 | .uci-change-legend-label > var { 1690 | float: left; 1691 | margin-right: 4px; 1692 | width: 10px; 1693 | height: 10px; 1694 | display: block; 1695 | } 1696 | 1697 | .uci-change-legend-label var ins, 1698 | .uci-change-legend-label var del { 1699 | border: none; 1700 | height: 10px; 1701 | width: 10px; 1702 | } 1703 | 1704 | .uci-change-list var, 1705 | .uci-change-list del, 1706 | .uci-change-list ins { 1707 | padding: 0.5rem; 1708 | } 1709 | 1710 | /* other fix */ 1711 | #iwsvg, 1712 | #iwsvg2, 1713 | #bwsvg { 1714 | border: var(--sectionBorder) !important; 1715 | font-family: -apple-system; 1716 | background: none !important; 1717 | } 1718 | 1719 | .ifacebox { 1720 | border: #1096db 1px solid; 1721 | border-radius: 5px; 1722 | font-size:0.92rem; 1723 | font-weight:normal; 1724 | } 1725 | .ifacebox-head { 1726 | color:#fff; 1727 | } 1728 | .ifacebox-body small { 1729 | font-size:0.8rem !important; 1730 | } 1731 | 1732 | .ifacebox-body strong { 1733 | color:#f7f7f7; 1734 | font-size: 0px !important; 1735 | } 1736 | 1737 | .cbi-image-button { 1738 | 1739 | } 1740 | 1741 | 1742 | .zonebadge > .ifacebadge { 1743 | padding: 3px 5px; 1744 | margin: 5px; 1745 | } 1746 | 1747 | .zonebadge > input[type="text"] { 1748 | padding: 0.16rem 1rem; 1749 | min-width: 10rem; 1750 | margin-top: 0.3rem; 1751 | } 1752 | 1753 | .cbi-value-field .cbi-input-checkbox, 1754 | .cbi-value-field .cbi-input-radio { 1755 | vertical-align: middle; 1756 | } 1757 | 1758 | .cbi-section-table-row > .cbi-value-field .cbi-input-select { 1759 | min-width: 7rem; 1760 | } 1761 | 1762 | .cbi-section-create { 1763 | padding: 0 10px; 1764 | } 1765 | .cbi-section-create > .cbi-button-add { 1766 | margin: 10px 0 10px 0 1767 | } 1768 | 1769 | div.cbi-value var, td.cbi-value-field var { 1770 | font-style: italic; 1771 | color: #0069D6; 1772 | } 1773 | 1774 | small { 1775 | font-size: small; 1776 | font-weight: normal !important; 1777 | white-space: normal; 1778 | } 1779 | 1780 | .cbi-button-up, 1781 | .cbi-button-down { 1782 | display: inline-block; 1783 | min-width: 0; 1784 | font-size: 0.9rem; 1785 | } 1786 | 1787 | .cbi-optionals { 1788 | padding: 1rem 1rem 0 1rem; 1789 | border-top: 1px solid #CCC; 1790 | } 1791 | 1792 | #diag-rc-output > pre { 1793 | display: block; 1794 | padding: 10px; 1795 | line-height: 1.5rem; 1796 | -moz-border-radius: 3px; 1797 | white-space: pre-wrap; 1798 | word-wrap: break-word; 1799 | color: #76838f; 1800 | } 1801 | 1802 | input[name="ping"], 1803 | input[name="traceroute"], 1804 | input[name="nslookup"] { 1805 | width: 80%; 1806 | } 1807 | 1808 | table.cbi-section-table select { 1809 | width: auto !important; 1810 | } 1811 | 1812 | header > .container > .pull-right > * { 1813 | 1814 | } 1815 | 1816 | #xhr_poll_status > .label.success { 1817 | padding: 3px 10px; 1818 | border-radius: 20px; 1819 | } 1820 | 1821 | #xhr_poll_status_off { 1822 | padding: 3px 10px; 1823 | border-radius: 20px; 1824 | } 1825 | 1826 | .label { 1827 | padding: 0 3px 0 3px; 1828 | white-space: nowrap; 1829 | border-radius: 3px; 1830 | position: absolute; 1831 | right: 5px; 1832 | top: 15px; 1833 | line-height: 150%; 1834 | } 1835 | 1836 | .notice { 1837 | background-color: var(--activeColor); 1838 | color: #fff; 1839 | font-size: 0.8rem; 1840 | padding: 3px 10px; 1841 | border-radius: 20px; 1842 | z-index: 10; 1843 | } 1844 | 1845 | #refresh_on, #refresh_off { 1846 | font-size: 1.5rem; 1847 | font-family: neobird; 1848 | } 1849 | 1850 | #refresh_on { 1851 | color: var(--activeColor); 1852 | } 1853 | #refresh_off { 1854 | color: var(--progressbarColor); 1855 | } 1856 | 1857 | .darkMask { 1858 | width: 100%; 1859 | height: 100%; 1860 | position: fixed; 1861 | background-color: rgba(0, 0, 0, 0.56); 1862 | content: ""; 1863 | z-index: 99; 1864 | display: none; 1865 | } 1866 | 1867 | /* fix Main Login*/ 1868 | 1869 | .node-main-login { 1870 | text-align: center; 1871 | background-color: var(--bgwhite) !important; 1872 | } 1873 | .node-main-login .cbi-section-node > .cbi-value:nth-of-type(2n) { 1874 | background: none; 1875 | } 1876 | .node-main-login h2 { 1877 | font-size: 1.5rem; 1878 | } 1879 | 1880 | .node-main-login header { 1881 | display: none; 1882 | } 1883 | .node-main-login > .main > .main-left { 1884 | display: none; 1885 | } 1886 | 1887 | .node-main-login > .main > .main-right { 1888 | width: 100%; 1889 | } 1890 | 1891 | .node-main-login > .main fieldset { 1892 | padding: 0px !important; 1893 | margin-bottom: 1rem; 1894 | display: inline; 1895 | background: none; 1896 | border: none; 1897 | box-shadow: none; 1898 | overflow: hidden; 1899 | } 1900 | 1901 | .node-main-login > .main fieldset .cbi-value-title { 1902 | display: none !important; 1903 | } 1904 | 1905 | .node-main-login > .main .cbi-section { 1906 | margin-top: 10px !important; 1907 | } 1908 | 1909 | .node-main-login > .main .cbi-map { 1910 | } 1911 | 1912 | .node-main-login > .main fieldset .cbi-value { 1913 | } 1914 | 1915 | .node-main-login > .main fieldset .cbi-value-title { 1916 | padding: 10px 0 10px 5px !important; 1917 | } 1918 | 1919 | .node-main-login > .main .cbi-value { 1920 | border: none; 1921 | } 1922 | 1923 | .node-main-login > .main .cbi-value-title { 1924 | width: 7rem; 1925 | } 1926 | 1927 | .node-main-login > .main #maincontent { 1928 | display: flex; 1929 | height: 100%; 1930 | text-align: center; 1931 | align-items: center; 1932 | align-content: center; 1933 | justify-content: center; 1934 | } 1935 | 1936 | .node-main-login > .main .container { 1937 | background-image: var(--logo); 1938 | background-repeat: no-repeat; 1939 | background-size: 300px auto; 1940 | width: 300px; 1941 | padding: 80px 0 0 0; 1942 | } 1943 | 1944 | .node-main-login > .main form > div:nth-last-child(1) { 1945 | } 1946 | 1947 | 1948 | .node-main-login > .main .cbi-value > * { 1949 | display: inline-block !important; 1950 | } 1951 | 1952 | .node-main-login > .main .cbi-input-user, 1953 | .node-main-login > .main .cbi-input-password { 1954 | min-width: 15rem; 1955 | } 1956 | 1957 | .node-main-login footer { 1958 | bottom: 0; 1959 | position: absolute; 1960 | width: 100%; 1961 | } 1962 | 1963 | /* fix node-services-shadowsocksr */ 1964 | 1965 | .node-services-shadowsocksr .cbi-input-textarea, 1966 | .node-nlbw-config .cbi-input-textarea { 1967 | /* margin: 10px; */ 1968 | } 1969 | 1970 | .node-services-shadowsocksr #cbi-logview .cbi-section { 1971 | padding: 0; 1972 | } 1973 | 1974 | /* fix node-network-diagnostics */ 1975 | .node-network-diagnostics .cbi-section { 1976 | border-radius: 10px; 1977 | } 1978 | 1979 | 1980 | /* fix status overview */ 1981 | 1982 | .node-status-overview > .main fieldset:nth-child(4) td:nth-child(2) { 1983 | white-space: normal; 1984 | } 1985 | 1986 | /* fix status processes */ 1987 | 1988 | .node-status-processes > .main table tr td:nth-child(3) { 1989 | white-space: normal; 1990 | } 1991 | 1992 | .cbi-map fieldset h3 { 1993 | } 1994 | 1995 | .cbi-map fieldset ul li { 1996 | margin-right:0 !important; 1997 | } 1998 | /* fix system reboot */ 1999 | 2000 | .node-system-reboot > .main > .main-right p, 2001 | .node-system-reboot > .main > .main-right h3 { 2002 | margin-left: 12px; 2003 | } 2004 | 2005 | .node-system-reboot #maincontent { 2006 | } 2007 | 2008 | /* fix Services Network Shares*/ 2009 | .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title { 2010 | margin-bottom: 1rem; 2011 | } 2012 | 2013 | .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field { 2014 | display: list-item; 2015 | } 2016 | 2017 | .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description { 2018 | padding-top: 1rem; 2019 | line-height:150%; 2020 | } 2021 | 2022 | /* fix System Software*/ 2023 | .node-system-packages > .main table tr td:nth-child(1) { 2024 | width: auto !important; 2025 | } 2026 | 2027 | .node-system-packages .cbi-section-node .cbi-value-last { 2028 | /* padding: 8px 12px; */ 2029 | } 2030 | 2031 | .node-system-packages .cbi-section-node .cbi-value-last > div { 2032 | border: none !important; 2033 | } 2034 | 2035 | 2036 | 2037 | .node-system-packages .cbi-section-node .cbi-value-last > div > div { 2038 | border: none !important; 2039 | } 2040 | 2041 | .node-system-packages .cbi-section-node .cbi-value-last:nth-last-child(1) { 2042 | padding: auto; 2043 | } 2044 | 2045 | .node-system-packages > .main table tr td:nth-last-child(1) { 2046 | white-space: normal; 2047 | font-size: small; 2048 | color: #76838f; 2049 | } 2050 | 2051 | .node-system-packages > .main .cbi-value > pre { 2052 | background-color: var(--inputbgColor); 2053 | padding: 10px; 2054 | overflow: auto; 2055 | border: var(--inputBorder); 2056 | border-radius: 10px; 2057 | } 2058 | 2059 | .node-system-packages #cbi-distfeedconf .cbi-section, 2060 | .node-system-packages #cbi-customfeedconf .cbi-section { 2061 | border-radius: 10px; 2062 | } 2063 | 2064 | .node-system-packages .cbi-value-field { 2065 | width: 58%; 2066 | } 2067 | 2068 | #container\.nlbw\.traffic, #container\.nlbw\.layer7, #container\.nlbw\.ipv6, #container\.nlbw\.export { 2069 | margin-top: 0; 2070 | margin-top: 0; 2071 | padding: 10px; 2072 | text-align: center; 2073 | border-bottom: var(--sectionBorder); 2074 | border-left: var(--sectionBorder); 2075 | border-right: var(--sectionBorder); 2076 | background-color: var(--sectionbgColor); 2077 | border-radius: 10px; 2078 | } 2079 | 2080 | #container\.nlbw\.export ul li { 2081 | 2082 | padding: 5px; 2083 | width: 150px; 2084 | margin: 10px; 2085 | border-radius: 5px; 2086 | border: #ccc 1px solid; 2087 | 2088 | } 2089 | 2090 | #container\.nlbw\.traffic table, 2091 | #container\.nlbw\.layer7 table, 2092 | #container\.nlbw\.ipv6 table, 2093 | #container\.nlbw\.export table { 2094 | border: #ccc 1px solid; 2095 | } 2096 | 2097 | #container\.nlbw\.traffic th, 2098 | #container\.nlbw\.traffic td, 2099 | #container\.nlbw\.layer7 th, 2100 | #container\.nlbw\.layer7 td, 2101 | #container\.nlbw\.ipv6 th, 2102 | #container\.nlbw\.ipv6 td, 2103 | #container\.nlbw\.export th, 2104 | #container\.nlbw\.export td, 2105 | { 2106 | padding: 3px; 2107 | border-top: none; 2108 | border-left: #ccc 1px solid; 2109 | border-right: #ccc 1px solid; 2110 | border-bottom: #ccc 1px solid; 2111 | } 2112 | 2113 | .cbi-tabmenu + .cbi-section ul { 2114 | text-align: left; 2115 | } 2116 | 2117 | /* fix network firewall*/ 2118 | .node-network-firewall > .main .cbi-section-table-row > .cbi-value-field .cbi-input-select { 2119 | min-width: 4rem; 2120 | } 2121 | 2122 | .node-status-iptables > .main div > .cbi-map > form { 2123 | position: static !important; 2124 | margin: 10px 0 20px 0; 2125 | padding: 12px; 2126 | border: 0; 2127 | font-weight: normal; 2128 | font-style: normal; 2129 | line-height: 1; 2130 | font-family: inherit; 2131 | min-width: inherit; 2132 | overflow-x: auto; 2133 | overflow-y: hidden; 2134 | box-shadow: 3px 3px 3px rgb(0 0 0 / 5%); 2135 | border-radius: 10px; 2136 | background-color: var(--bgwhite); 2137 | -webkit-overflow-scrolling: touch; 2138 | } 2139 | 2140 | 2141 | 2142 | /** fix system packages 2143 | .node-system-packages .cbi-section { 2144 | border-radius: 0 0 10px 10px; 2145 | } 2146 | 2147 | 2148 | #cbi-ipkgconf .cbi-section { 2149 | border-radius: 0 0 10px 10px; 2150 | } 2151 | 2152 | **/ 2153 | 2154 | 2155 | .node-system-flashops fieldset fieldset { 2156 | border: none; 2157 | } 2158 | .node-system-flashops br { 2159 | display: none; 2160 | } 2161 | 2162 | .node-system-flashops .cbi-section { 2163 | padding: 0; 2164 | } 2165 | .node-system-flashops .cbi-section-descr { 2166 | padding: 12px; 2167 | line-height: 1.5; 2168 | border-radius: 6px; 2169 | /* border: var(--sectiontabBorder); 2170 | background-color: var(--sectionbgColor2); */ 2171 | } 2172 | 2173 | 2174 | .node-status-iptables .cbi-tabmenu, 2175 | .node-system-packages .cbi-tabmenu, 2176 | .node-system-flashops .cbi-tabmenu { 2177 | /* border: none; **/ 2178 | } 2179 | 2180 | #cbi-firewall-redirect table *, 2181 | #cbi-network-switch_vlan table *, 2182 | #cbi-firewall-zone table *{ 2183 | font-size: small; 2184 | } 2185 | 2186 | #cbi-firewall-redirect table input[type="text"], 2187 | #cbi-network-switch_vlan table input[type="text"], 2188 | #cbi-firewall-zone table input[type="text"]{ 2189 | width: 5rem; 2190 | } 2191 | 2192 | #cbi-firewall-redirect table select, 2193 | #cbi-network-switch_vlan table select, 2194 | #cbi-firewall-zone table select{ 2195 | min-width: 3.5rem; 2196 | } 2197 | 2198 | /** fix node-status-realtime **/ 2199 | 2200 | .node-status-realtime table > tbody > tr > td { 2201 | text-align: left !important; 2202 | padding: 10px 3px 10px 3px; 2203 | } 2204 | 2205 | .node-status-realtime table { 2206 | table-layout: auto !important; 2207 | } 2208 | 2209 | 2210 | select#cbi\.combobox\.cbid\.shadowsocksr\.cfg013fd6\.tunnel_forward { 2211 | overflow: hidden; 2212 | 2213 | } 2214 | 2215 | /* language fix */ 2216 | body.lang_pl.node-main-login .cbi-value-title { 2217 | width: 12rem; 2218 | } 2219 | 2220 | @media screen and (max-width: 1280px) { 2221 | header { 2222 | /*height: 3.5rem;*/ 2223 | } 2224 | 2225 | header > .container { 2226 | /*margin-top: 0.25rem;*/ 2227 | } 2228 | 2229 | .main { 2230 | height: calc(100% - 3.5rem); 2231 | } 2232 | 2233 | .main-left { 2234 | width: calc(0% + 17rem); 2235 | top: 50px; 2236 | } 2237 | 2238 | .main-right { 2239 | width: calc(100% - 17rem); 2240 | } 2241 | 2242 | 2243 | table { 2244 | font-size: 0.9rem !important; 2245 | width: 100% !important; 2246 | } 2247 | 2248 | .main > .main-left > .nav > li, 2249 | .main > .main-left > .nav > li a, 2250 | .main > .main-left > .nav > .slide > .menu { 2251 | font-size: 1.1rem; 2252 | } 2253 | 2254 | .main > .main-left > .nav > .slide > .slide-menu > li > a { 2255 | font-size: 1rem; 2256 | text-transform: capitalize; 2257 | } 2258 | 2259 | img[src*="/luci-static/resources/cbi/add.gif"] { 2260 | right: 70px; 2261 | display: block; 2262 | position: absolute; 2263 | margin-top: -34px; 2264 | } 2265 | img[src*="/luci-static/resources/cbi/remove.gif"] { 2266 | right: 70px; 2267 | display: block; 2268 | position: absolute; 2269 | margin-top: -34px; 2270 | } 2271 | 2272 | img[src*="/luci-static/resources/cbi/reload.gif"] { 2273 | right: 70px; 2274 | display: block; 2275 | position: absolute; 2276 | margin-top: -34px; 2277 | } 2278 | } 2279 | 2280 | @media screen and (max-width: 992px) { 2281 | 2282 | img[src*="/images/logo.png"] { 2283 | background-color: var(--mainleftbgColor); 2284 | height: 50px; 2285 | background-image: var(--mlogo); 2286 | background-size: 310px; 2287 | background-repeat: no-repeat; 2288 | padding: 0 0 0 310px; 2289 | width: 0; 2290 | margin: 0; 2291 | background-position: 0; 2292 | } 2293 | 2294 | .main-left { 2295 | width: 0; 2296 | position: fixed; 2297 | z-index: 100; 2298 | } 2299 | 2300 | .main-right { 2301 | width: 100%; 2302 | } 2303 | 2304 | .showSide { 2305 | margin: 0; 2306 | padding: 0; 2307 | display: inline-block; 2308 | position: absolute; 2309 | width: 300px; 2310 | height: 50px; 2311 | } 2312 | 2313 | .showSide:before { 2314 | content: "\e20e"; 2315 | font-size: 1.7rem; 2316 | display: none; 2317 | } 2318 | 2319 | .node-main-login .showSide { 2320 | display: none !important; 2321 | } 2322 | 2323 | .cbi-value-title { 2324 | width:35%; 2325 | } 2326 | 2327 | .node-network-diagnostics > .main .cbi-map fieldset > div * { 2328 | width: 100% !important; 2329 | } 2330 | 2331 | .node-network-diagnostics > .main .cbi-map fieldset > div input[type="text"] { 2332 | } 2333 | 2334 | .node-network-diagnostics > .main .cbi-map fieldset > div:nth-child(4) input[type="text"] { 2335 | margin: 0 !important; 2336 | } 2337 | 2338 | .node-network-diagnostics > .main .cbi-map fieldset > div select, 2339 | .node-network-diagnostics > .main .cbi-map fieldset > div input[type="button"] { 2340 | margin: 1rem 0 0 0; 2341 | } 2342 | 2343 | .node-network-diagnostics > .main .cbi-map fieldset > div { 2344 | width: 100% !important; 2345 | } 2346 | 2347 | .node-main-login > .main .cbi-value-title { 2348 | text-align: left; 2349 | } 2350 | 2351 | img[src*="/luci-static/resources/cbi/add.gif"] { 2352 | right: 70px; 2353 | display: block; 2354 | position: absolute; 2355 | margin-top: -34px; 2356 | } 2357 | img[src*="/luci-static/resources/cbi/remove.gif"] { 2358 | right: 70px; 2359 | display: block; 2360 | position: absolute; 2361 | margin-top: -34px; 2362 | } 2363 | 2364 | img[src*="/luci-static/resources/cbi/reload.gif"] { 2365 | right: 70px; 2366 | display: block; 2367 | position: absolute; 2368 | margin-top: -34px; 2369 | } 2370 | } 2371 | 2372 | @media screen and (max-width: 480px) { 2373 | 2374 | fieldset { 2375 | /* overflow-x: auto; */ 2376 | } 2377 | 2378 | select { 2379 | width: 100%; 2380 | } 2381 | .label { 2382 | position: absolute; 2383 | right: 5px; 2384 | top: -70px; 2385 | } 2386 | 2387 | header { 2388 | height: 45px; 2389 | } 2390 | 2391 | h3 { 2392 | padding: 0 10px 10px 10px; 2393 | } 2394 | 2395 | img[src*="/images/logo.png"] 2396 | { 2397 | height: 45px; 2398 | background-image: var(--mlogo); 2399 | background-size: 310px; 2400 | background-repeat: no-repeat; 2401 | padding: 0 0 0 310px; 2402 | width: 0; 2403 | margin: 0; 2404 | background-position: 0; 2405 | } 2406 | 2407 | .showSide { 2408 | height: 45px; 2409 | } 2410 | 2411 | #maincontent > .container { 2412 | margin: 20px 20px; 2413 | } 2414 | 2415 | .main { 2416 | top: 45px; 2417 | } 2418 | 2419 | .main-left{ 2420 | top: 45px; 2421 | } 2422 | .main > .main-left > .nav > .slide > .menu { 2423 | } 2424 | 2425 | .main > .main-left > .nav > .slide > .slide-menu > li > a { 2426 | } 2427 | 2428 | .cbi-value { 2429 | margin-bottom: 20px; 2430 | display: table; 2431 | padding: 0px; 2432 | border-bottom: none; 2433 | } 2434 | 2435 | .cbi-value-title { 2436 | width: 100%; 2437 | font-weight: 700; 2438 | float: left; 2439 | padding: 0; 2440 | margin: 0; 2441 | margin-bottom: .25rem; 2442 | } 2443 | 2444 | .cbi-section-node { 2445 | padding: 10px !important; 2446 | } 2447 | 2448 | .cbi-value-description { 2449 | width: 100%; 2450 | display: block; 2451 | } 2452 | 2453 | .cbi-value > .cbi-value-field { 2454 | display: block; 2455 | float: left; 2456 | width: 100%; 2457 | } 2458 | img[src*="/luci-static/resources/cbi/add.gif"] { 2459 | right: 45px; 2460 | display: block; 2461 | position: absolute; 2462 | margin-top: -34px; 2463 | } 2464 | img[src*="/luci-static/resources/cbi/remove.gif"] { 2465 | right: 45px; 2466 | display: block; 2467 | position: absolute; 2468 | margin-top: -34px; 2469 | } 2470 | 2471 | img[src*="/luci-static/resources/cbi/reload.gif"] { 2472 | right: 45px; 2473 | display: block; 2474 | position: absolute; 2475 | margin-top: -34px; 2476 | } 2477 | .cbi-section-node > .cbi-value:nth-of-type(2n) { 2478 | background-color: var(--sectionbgColor); 2479 | } 2480 | 2481 | .cbi-tabcontainer > .cbi-value:nth-of-type(2n) { 2482 | background-color: var(--sectionbgColor); 2483 | } 2484 | 2485 | div > .cbi-value:nth-of-type(2n) { 2486 | background-color: var(--sectionbgColor); 2487 | } 2488 | 2489 | .node-main-login > .main .cbi-value { 2490 | padding: 0; 2491 | } 2492 | 2493 | .node-main-login > .main form > div:nth-last-child(1) { 2494 | margin-top: 2rem; 2495 | } 2496 | 2497 | .node-main-login > .main fieldset { 2498 | margin: 0; 2499 | padding: 0.5rem; 2500 | } 2501 | 2502 | #container\.network\.lan\.physical .cbi-value-title, 2503 | #cbi-network-1-_ifname .cbi-value-title 2504 | { 2505 | width: 35%; 2506 | } 2507 | #cbi-network-1-_ifname .cbi-value-field 2508 | { 2509 | width: 65%; 2510 | } 2511 | 2512 | 2513 | h2 { 2514 | font-size: 1.2rem; 2515 | text-transform: capitalize; 2516 | } 2517 | 2518 | select, 2519 | input { 2520 | /* max-width: 200px; */ 2521 | } 2522 | 2523 | input[type='checkbox'] { 2524 | height: 1.2rem !important; 2525 | width: 1.2rem !important; 2526 | } 2527 | 2528 | #swaptotal div div small, 2529 | #swapfree div div small, 2530 | #swapcache div div small, 2531 | #memfree div div small, 2532 | #membuff div div small, 2533 | #conns div div small, 2534 | #memcache div div small, 2535 | #memtotal div div small{ 2536 | } 2537 | #swaptotal div div, 2538 | #swapfree div div, 2539 | #swapcache div div, 2540 | #memfree div div, 2541 | #membuff div div, 2542 | #conns div div, 2543 | #memcache div div, 2544 | #memtotal div div{ 2545 | } 2546 | 2547 | 2548 | .node-status-iptables > .main div > .cbi-map > form input[type="submit"]{ 2549 | margin: 0; 2550 | } 2551 | 2552 | #cbi-samba-cfg010f89-_tmpl .cbi-value-title, 2553 | { 2554 | width: 15%; 2555 | 2556 | } 2557 | #cbi-samba-cfg010f89-_tmpl .cbi-value-field, 2558 | 2559 | { 2560 | width: 95%; 2561 | } 2562 | } 2563 | 2564 | @media screen and (max-width: 700px) { 2565 | 2566 | #cbi-vssr-servers .cbi-button-add { 2567 | position: static !important; 2568 | width: auto !important; 2569 | height: 2rem !important; 2570 | line-height: 2rem !important; 2571 | color: #fff; 2572 | display: block; 2573 | padding: 0 !important; 2574 | font-size: 0.92rem; 2575 | border-radius: 10px !important; 2576 | box-shadow: none ; 2577 | background-image: none; 2578 | } 2579 | #cbi-vssr-servers .cbi-section-table-row { 2580 | margin:10px 0 !important; 2581 | } 2582 | #cbi-vssr-servers .p-in5 { 2583 | padding-bottom: 10px !important; 2584 | margin: 0 !important; 2585 | } 2586 | 2587 | #cbi-vssr-servers .cbi-page-actions { 2588 | padding-bottom: 10px !important; 2589 | } 2590 | } 2591 | -------------------------------------------------------------------------------- /htdocs/luci-static/neobird/js/jquery.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ 2 | !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; 3 | 4 | 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("