├── png └── Theme.png ├── luci-theme-netgear ├── htdocs │ └── luci-static │ │ └── netgear │ │ ├── logo.png │ │ ├── nlogo.png │ │ ├── favicon.ico │ │ ├── fonts │ │ ├── font.eot │ │ ├── font.ttf │ │ ├── font.woff │ │ ├── advancedtomato.eot │ │ ├── advancedtomato.ttf │ │ ├── advancedtomato.woff │ │ ├── Roboto-Medium-webfont.woff │ │ ├── Roboto-Regular-webfont.woff │ │ ├── font.svg │ │ └── advancedtomato.svg │ │ ├── js │ │ ├── script.js │ │ └── jquery.min.js │ │ └── css │ │ └── style.css ├── root │ └── etc │ │ └── uci-defaults │ │ └── 30_luci-theme-netgear ├── Makefile └── luasrc │ └── view │ └── themes │ └── netgear │ ├── footer.htm │ └── header.htm └── README.md /png/Theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/png/Theme.png -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/logo.png -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/nlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/nlogo.png -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/favicon.ico -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/font.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/fonts/font.eot -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/fonts/font.ttf -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/font.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/fonts/font.woff -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/advancedtomato.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/fonts/advancedtomato.eot -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/advancedtomato.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/fonts/advancedtomato.ttf -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/advancedtomato.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/fonts/advancedtomato.woff -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/Roboto-Medium-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/fonts/Roboto-Medium-webfont.woff -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/Roboto-Regular-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aslin-Ameng/luci-theme-netgear/HEAD/luci-theme-netgear/htdocs/luci-static/netgear/fonts/Roboto-Regular-webfont.woff -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | luci-theme-netgear主题修改 2 | === 3 | 4 | 5 | 6 | 直接下载主题源码放到package目录下即可 然后make menuconfig就能luci->themes查看到 7 | 8 | 软件截图 9 | --- 10 | ![demo](https://github.com/Aslin-Ameng/luci-theme-netgear/blob/master/png/Theme.png) 11 | -------------------------------------------------------------------------------- /luci-theme-netgear/root/etc/uci-defaults/30_luci-theme-netgear: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | uci batch <<-EOF 3 | set luci.themes.netgear=/luci-static/netgear 4 | set luci.main.mediaurlbase=/luci-static/netgear 5 | commit luci 6 | EOF 7 | exit 0 8 | -------------------------------------------------------------------------------- /luci-theme-netgear/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2008-2014 The LuCI Team 3 | # 4 | # This is free software, licensed under the Apache License, Version 2.0 . 5 | # 6 | 7 | include $(TOPDIR)/rules.mk 8 | 9 | LUCI_TITLE:=Netgear Theme 10 | LUCI_DEPENDS:= 11 | 12 | include $(TOPDIR)/feeds/luci/luci.mk 13 | 14 | # call BuildPackage - OpenWrt buildroot signature 15 | -------------------------------------------------------------------------------- /luci-theme-netgear/luasrc/view/themes/netgear/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 | 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 | 21 | <% 22 | local ver = require "luci.version" 23 | local disp = require "luci.dispatcher" 24 | local request = disp.context.path 25 | local category = request[1] 26 | local tree = disp.node() 27 | local categories = disp.node_childs(tree) 28 | %> 29 | 30 | 42 | 43 | 44 | 45 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/font.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by IcoMoon 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/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: "15rem" 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 | 203 | 204 | 205 | 206 | 207 | 208 | $(".main-right").focus(); 209 | $(".main-right").blur(); 210 | $("input").attr("size", "0"); 211 | 212 | if (mainNodeName != undefined) { 213 | console.log(mainNodeName); 214 | switch (mainNodeName) { 215 | case "node-status-system_log": 216 | case "node-status-kernel_log": 217 | $("#syslog").focus(function () { 218 | $("#syslog").blur(); 219 | $(".main-right").focus(); 220 | $(".main-right").blur(); 221 | }); 222 | break; 223 | case "node-status-firewall": 224 | var button = $(".node-status-firewall > .main fieldset li > a"); 225 | button.addClass("cbi-button cbi-button-reset a-to-btn"); 226 | break; 227 | case "node-system-reboot": 228 | var button = $(".node-system-reboot > .main > .main-right p > a"); 229 | button.addClass("cbi-button cbi-input-reset a-to-btn"); 230 | break; 231 | } 232 | } 233 | 234 | })(jQuery); 235 | -------------------------------------------------------------------------------- /luci-theme-netgear/luasrc/view/themes/netgear/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 | 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 | 21 | <% 22 | local ver = require "luci.version" 23 | local sys = require "luci.sys" 24 | local util = require "luci.util" 25 | local http = require "luci.http" 26 | local disp = require "luci.dispatcher" 27 | 28 | local boardinfo = util.ubus("system", "board") 29 | local boardinfo={} 30 | boardinfo.hostname=sys.hostname() 31 | 32 | local request = disp.context.path 33 | local request2 = disp.context.request 34 | 35 | local category = request[1] 36 | local cattree = category and disp.node(category) 37 | 38 | local leaf = request2[#request2] 39 | 40 | local tree = disp.node() 41 | local node = disp.context.dispatched 42 | 43 | local categories = disp.node_childs(tree) 44 | 45 | local c = tree 46 | local i, r 47 | 48 | -- tag all nodes leading to this page 49 | for i, r in ipairs(request) do 50 | if c.nodes and c.nodes[r] then 51 | c = c.nodes[r] 52 | c._menu_selected = true 53 | end 54 | end 55 | 56 | -- send as HTML5 57 | http.prepare_content("text/html") 58 | 59 | local function nodeurl(prefix, name, query) 60 | local url = controller .. prefix .. name .. "/" 61 | if query then 62 | url = url .. http.build_querystring(query) 63 | end 64 | return pcdata(url) 65 | end 66 | 67 | local function subtree(prefix, node, level) 68 | if not level then 69 | level = 1 70 | end 71 | 72 | local childs = disp.node_childs(node) 73 | if #childs > 0 then 74 | 75 | if level > 2 then 76 | %> 77 |
    78 | <% 79 | end 80 | 81 | local selected_node 82 | local selected_name 83 | local i, v 84 | 85 | for i, v in ipairs(childs) do 86 | local nnode = node.nodes[v] 87 | if nnode._menu_selected then 88 | selected_node = nnode 89 | selected_name = v 90 | end 91 | if level > 2 then 92 | %> 93 |
  • 94 | <%=striptags(translate(nnode.title))%> 95 |
  • 96 | <% end 97 | end 98 | 99 | if level > 2 then 100 | %> 101 |
102 | <% end 103 | 104 | if selected_node then 105 | subtree(prefix .. selected_name .. "/", selected_node, level + 1) 106 | end 107 | end 108 | end 109 | -%> 110 | 111 | 112 | 113 | 114 | <%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | - LuCI"> 128 | - LuCI"> 129 | 130 | 131 | 132 | 133 | 134 | 135 | <% if node and node.css then %> 136 | 137 | <% end -%> 138 | <% if css then %> 139 | 142 | <% end -%> 143 | 144 | 145 | 146 | 147 | 148 |
149 | 150 | 151 | 152 |
153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | > 163 | 164 |
165 | <% 166 | -- calculate the number of unsaved changes 167 | if tree.nodes[category] and tree.nodes[category].ucidata then 168 | local ucichanges = 0 169 | for i, j in pairs(require("luci.model.uci").cursor():changes()) do 170 | for k, l in pairs(j) do 171 | for m, n in pairs(l) do 172 | ucichanges = ucichanges + 1; 173 | end 174 | end 175 | end 176 | %> 177 | <% if ucichanges > 0 then %> 178 | "><%:Unsaved Changes%>: <%=ucichanges%> 179 | <% end %> 180 | 184 | <% end %> 185 |
186 | 187 | 188 | 189 | 190 | 191 |
192 |
193 | 194 |
195 |
Loading...
196 |
197 | 244 |
245 |
246 |
247 |
248 |
249 | <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%> 250 |
251 |

<%:No password set!%>

252 | <%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>
253 | "><%:Go to password configuration...%> 254 |
255 | <%- end -%> 256 | <% if category then subtree("/" .. category .. "/", cattree) end %> 257 | 258 | -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/fonts/advancedtomato.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Generated by Fontastic.me 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/css/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Netgear 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 | * Licensed to the public under the Apache License 2.0 8 | */ 9 | 10 | /* 11 | * Font generate by Icomoon Advancetomato 12 | */ 13 | 14 | @font-face { 15 | font-family: 'Roboto'; 16 | src: local('Roboto Medium'), local('Roboto-Medium'), url('../fonts/Roboto-Medium-webfont.woff') format('woff'); 17 | font-weight: 500; 18 | font-style: normal; 19 | } 20 | 21 | @font-face { 22 | font-family: 'Roboto'; 23 | src: local('Roboto'), local('Roboto Regular'), local('Roboto-Regular'), url('../fonts/Roboto-Regular-webfont.woff') format('woff'); 24 | font-weight: normal; 25 | font-style: normal; 26 | } 27 | 28 | @font-face { 29 | font-family: 'icomoon'; 30 | src: url('../fonts/font.eot'); 31 | src: url('../fonts/font.eot') format('embedded-opentype'), 32 | url('../fonts/font.ttf') format('truetype'), 33 | url('../fonts/font.woff') format('woff'), 34 | url('../fonts/font.svg') format('svg'); 35 | font-weight: normal; 36 | font-style: normal; 37 | } 38 | @font-face { 39 | font-family: "advancedtomato"; 40 | src:url("../fonts/advancedtomato.eot"); 41 | src:url("../fonts/advancedtomato.eot?#iefix") format("embedded-opentype"), 42 | url("../fonts/advancedtomato.woff") format("woff"), 43 | url("../fonts/advancedtomato.ttf") format("truetype"), 44 | url("../fonts/advancedtomato.svg#advancedtomato") format("svg"); 45 | font-weight: normal; 46 | font-style: normal; 47 | 48 | } 49 | 50 | 51 | .cbi-button-up, 52 | .cbi-button-down, 53 | .cbi-value-helpicon, 54 | .showSide, 55 | .main > .loading > span { 56 | font-family: 'icomoon', Roboto !important; 57 | font-size:10px; 58 | speak: none; 59 | font-style: normal !important; 60 | font-weight: normal !important; 61 | font-variant: normal !important; 62 | text-transform: none !important; 63 | line-height: 1; 64 | 65 | -webkit-font-smoothing: antialiased; 66 | -moz-osx-font-smoothing: grayscale; 67 | } 68 | 69 | * { 70 | margin: 0; 71 | padding: 0; 72 | box-sizing: border-box; 73 | } 74 | 75 | .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { 76 | font-family: Roboto, 'Microsoft Yahei' !important; 77 | font-weight: 600; 78 | line-height: 1.1; 79 | color: inherit; 80 | clear:both; 81 | } 82 | 83 | 84 | html { 85 | -webkit-text-size-adjust: 100%; 86 | -ms-text-size-adjust: 100%; 87 | } 88 | 89 | html, body { 90 | margin: 0px; 91 | padding: 0px; 92 | height: 100%; 93 | font-family: Roboto, 'Microsoft Yahei' !important; 94 | font-size:10pt; 95 | line-height: 150%; 96 | /*color:#76838f;*/ 97 | color:rgb(132,119,116); 98 | /*min-width: 960px;*/ 99 | } 100 | 101 | body div { 102 | line-height:150%; 103 | } 104 | 105 | a { 106 | color: rgb(154,37,143); 107 | text-decoration: none; 108 | } 109 | 110 | em {font-style:normal !important;} 111 | 112 | select { 113 | padding: 0.36rem 0.8rem; 114 | color: #555; 115 | background-color: #fff; 116 | background-image: none; 117 | border: 1px solid #ccc; 118 | } 119 | 120 | select, 121 | input { 122 | color: #76838f; 123 | padding: 6px 10px; 124 | margin: 0; 125 | height: 34px; 126 | line-height: normal; 127 | font-size: 10pt; 128 | font-family: "Roboto", sans-serif, Helvetica, Arial, sans-serif; 129 | border: 1px solid #e4eaec; 130 | background-color: #fff; 131 | transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; 132 | -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; 133 | outline-style: none; 134 | vertical-align: baseline; 135 | border-radius: 3px; 136 | } 137 | 138 | select:not([multiple="multiple"]):focus, 139 | input:focus { 140 | border-color: #948FE1; 141 | box-shadow:0 0 6px #948FE1; 142 | -webkit-box-shadow:0 0 6px #948FE1; 143 | -moz-box-shadow:0 0 6px #948FE1; 144 | } 145 | 146 | select[multiple="multiple"] { 147 | height: auto; 148 | } 149 | 150 | code { 151 | color: #0099CC; 152 | } 153 | 154 | abbr { 155 | color: #333; 156 | text-decoration: underline; 157 | cursor: help; 158 | } 159 | 160 | hr{ 161 | margin: 1rem 0; 162 | border-color: #EEE; 163 | opacity: 0.1; 164 | } 165 | 166 | header, .main { 167 | width: 100%; 168 | position: absolute; 169 | } 170 | 171 | header { 172 | height: 60px; 173 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); 174 | transition: box-shadow .2s; 175 | float: left; 176 | position: fixed; 177 | z-index: 101; 178 | } 179 | 180 | footer { 181 | text-align: right; 182 | padding: 1rem; 183 | color: #aaa; 184 | font-size: 11px; 185 | /*text-shadow: 0px 0px 2px #BBB;*/ 186 | } 187 | 188 | footer > a { 189 | color: rgb(154,37,143); 190 | text-decoration: none; 191 | } 192 | 193 | .myIcon{ 194 | font-family: "advancedtomato" !important; 195 | font-style: normal !important; 196 | font-weight: normal !important; 197 | font-variant: normal !important; 198 | text-transform: none !important; 199 | } 200 | 201 | .myIcon-logout:after{ 202 | content: "\e005"; 203 | } 204 | 205 | .myIcon-reboot:after{ 206 | content: "\e02a"; 207 | } 208 | 209 | .myIcon-wifi:after{ 210 | content: "\e00c"; 211 | } 212 | 213 | .main { 214 | top: 4rem; 215 | bottom: 0rem; 216 | position: relative; 217 | height: 100%; 218 | height: calc(100% - 4rem); 219 | } 220 | 221 | .main > .loading { 222 | position: fixed; 223 | width: 100%; 224 | height: 100%; 225 | z-index: 1000; 226 | display: block; 227 | background-color: rgb(240, 240, 240); 228 | top: 0; 229 | } 230 | 231 | .main > .loading > span { 232 | display: block; 233 | text-align: center; 234 | margin-top: 2rem; 235 | color: #888; 236 | font-size: 14px; 237 | } 238 | 239 | .main > .loading > span > .loading-img:before { 240 | content: "\e603"; 241 | } 242 | 243 | .main > .loading > span > .loading-img { 244 | animation: anim-rotate 2s infinite linear; 245 | margin-right: 0.2rem; 246 | display: inline-block; 247 | } 248 | 249 | @keyframes anim-rotate { 250 | 0% { 251 | -webkit-transform: rotate(0); 252 | -ms-transform: rotate(0); 253 | transform: rotate(0); 254 | } 255 | 100% { 256 | -webkit-transform: rotate(360deg); 257 | -ms-transform: rotate(360deg); 258 | transform: rotate(360deg) 259 | } 260 | } 261 | 262 | .main-left { 263 | float: left; 264 | top: 4rem; 265 | width: 17rem; 266 | bottom: 0rem; 267 | background-color: rgb(229,229,229); 268 | 269 | overflow-x: auto; 270 | position: fixed; 271 | } 272 | 273 | .main-right { 274 | width: 85%; 275 | width: calc(100% - 17rem); 276 | float: right; 277 | height: 100%; 278 | background-color: rgb(242,242,242); 279 | } 280 | 281 | .main-right > #maincontent { 282 | background-color: #f1f4f5; 283 | } 284 | 285 | .pull-right { 286 | float: right; 287 | margin-top:10px; 288 | margin-right:10px; 289 | } 290 | 291 | .pull-left { 292 | float: left; 293 | } 294 | 295 | header { 296 | background: #fff; 297 | color: white; 298 | } 299 | 300 | header > .container { 301 | margin:0; 302 | padding:0; 303 | } 304 | 305 | header > .container > .brand { 306 | font-size: 32px; 307 | /*font-weight:bold;*/ 308 | line-height:60px; 309 | /*color: white;*/ 310 | color:rgb(111,42,142); 311 | cursor: default; 312 | /*background: rgb(148,143,225);*/ 313 | display:block; 314 | width:17rem; 315 | padding-right: 10px; 316 | height:60px; 317 | text-align:center; 318 | float:left; 319 | font-weight:900; 320 | letter-spacing:3px; 321 | } 322 | header > .container > a[class="brand"]:after { 323 | content:"®"; 324 | font-size:14px; 325 | font-family:Tahoma; 326 | position: absolute; 327 | top:-10px; 328 | font-weight:normal !important; 329 | } 330 | 331 | header > .container > .brand-hostname { 332 | font-size: 14px; 333 | line-height:60px; 334 | color: #555555; 335 | cursor: default; 336 | display:block; 337 | width:17rem; 338 | padding-right: 10px; 339 | height:60px; 340 | text-align:left; 341 | float:left; 342 | margin-top: 7px; 343 | font-weight:300; 344 | margin-left: -15px; 345 | } 346 | 347 | .warning { 348 | background-color: #FF7D60 !important; 349 | color: #FFF; 350 | } 351 | 352 | .errorbox, 353 | .alert-message { 354 | margin: 5px 0 0 0; 355 | padding: 2rem; 356 | border: 0; 357 | font-weight: normal; 358 | font-style: normal; 359 | line-height: 1; 360 | font-family: inherit; 361 | min-width: inherit; 362 | overflow: auto; 363 | border-radius: 0; 364 | background-color: #FFF; 365 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); 366 | } 367 | 368 | .errorbox { 369 | color: #fff; 370 | background-color: #f0ad4e; 371 | border-color: #eea236; 372 | } 373 | 374 | .error { 375 | color: red; 376 | } 377 | 378 | #maincontent > .container > div:nth-child(1).alert-message.warning > a { 379 | font: inherit; 380 | overflow: visible; 381 | text-transform: none; 382 | display: inline-block; 383 | margin-bottom: 0; 384 | font-weight: 400; 385 | text-align: center; 386 | white-space: nowrap; 387 | vertical-align: middle; 388 | touch-action: manipulation; 389 | cursor: pointer; 390 | -webkit-user-select: none; 391 | -moz-user-select: none; 392 | -ms-user-select: none; 393 | user-select: none; 394 | background-image: none; 395 | min-width: 6rem; 396 | padding: 0.5rem 1rem; 397 | font-size: 14px; 398 | line-height: 1.42857143; 399 | color: #fff; 400 | background-color: #5bc0de; 401 | border-color: #46b8da; 402 | margin-top: 2rem; 403 | text-decoration: inherit; 404 | } 405 | 406 | .main > .main-left > .nav { 407 | overflow-y: visible !important; 408 | font-size: 11pt; 409 | width: 90%; 410 | margin: 0 auto; 411 | margin-top: 2rem; 412 | } 413 | 414 | .main > .main-left > .nav > li a { 415 | /*color: black;*/ 416 | font-weight:bold; 417 | display: block; 418 | background-color: rgb(255,255,255); 419 | padding-top:6px; 420 | border: 0px solid #eee; 421 | border-radius: 4px; 422 | box-shadow: 4px 4px 4px rgba(0,0,0,.05); 423 | cursor: pointer; 424 | } 425 | 426 | /* 427 | .main > .main-left > .nav > li:nth-last-child(1) { 428 | font-size: 11pt; 429 | height:40px; 430 | padding-top:6px; 431 | } 432 | */ 433 | 434 | .main > .main-left > .nav > li { 435 | cursor: pointer; 436 | padding-top:6px; 437 | } 438 | 439 | 440 | 441 | .main > .main-left > .nav > .slide { 442 | padding: 0; 443 | padding-top:6px; 444 | } 445 | .main > .main-left > .nav > .slide > a[data-title="Status"]:before { 446 | content: "\e026"; 447 | display: inline-block; 448 | top: -1px; 449 | left:-10px; 450 | position: relative; 451 | vertical-align: middle; 452 | display: inline-block; 453 | font-family: "advancedtomato" !important; 454 | font-style: normal !important; 455 | font-weight: normal !important; 456 | font-variant: normal !important; 457 | text-transform: none !important; 458 | speak: none; 459 | line-height: 1; 460 | -webkit-font-smoothing: antialiased; 461 | } 462 | .main > .main-left > .nav > .slide > a:before { 463 | display: inline-block; 464 | top: -1px; 465 | left:-10px; 466 | position: relative; 467 | vertical-align: middle; 468 | display: inline-block; 469 | font-family: "advancedtomato" !important; 470 | font-style: normal !important; 471 | font-weight: normal !important; 472 | font-variant: normal !important; 473 | text-transform: none !important; 474 | speak: none; 475 | line-height: 1; 476 | -webkit-font-smoothing: antialiased; 477 | } 478 | 479 | 480 | .main > .main-left > .nav > .slide > a[data-title="Status"]:before { 481 | content: "\e026"; 482 | } 483 | 484 | .main > .main-left > .nav > .slide > a[data-title="System"]:before { 485 | content: "\e01c"; 486 | } 487 | 488 | .main > .main-left > .nav > .slide > a[data-title="Network"]:before { 489 | content: "\e00e"; 490 | } 491 | .main > .main-left > .nav > .slide > a[data-title="Usbapps"]:before { 492 | content: "\e00b"; 493 | } 494 | .main > .main-left > .nav > .slide > a[data-title="Services"]:before { 495 | content: "\e029"; 496 | } 497 | .main > .main-left > .nav > .slide > a[data-title="NAS"]:before { 498 | content: "\e00b"; 499 | } 500 | 501 | .main > .main-left > .nav > li > a[data-title="Logout"] { 502 | padding: 10px 35px; 503 | } 504 | .main > .main-left > .nav > li > a[data-title="Logout"]:before { 505 | content: "\e005"; 506 | display: inline-block; 507 | top: -1px; 508 | left:-10px; 509 | position: relative; 510 | vertical-align: middle; 511 | display: inline-block; 512 | font-family: "advancedtomato" !important; 513 | font-style: normal !important; 514 | font-weight: normal !important; 515 | font-variant: normal !important; 516 | text-transform: none !important; 517 | speak: none; 518 | line-height: 1; 519 | -webkit-font-smoothing: antialiased; 520 | } 521 | 522 | .main > .main-left > .nav > li > a[data-title="Reboot"] { 523 | padding: 10px 35px; 524 | } 525 | .main > .main-left > .nav > li > a[data-title="Reboot"]:before { 526 | content: "\e004"; 527 | display: inline-block; 528 | top: -1px; 529 | left:-10px; 530 | position: relative; 531 | vertical-align: middle; 532 | display: inline-block; 533 | font-family: "advancedtomato" !important; 534 | font-style: normal !important; 535 | font-weight: normal !important; 536 | font-variant: normal !important; 537 | text-transform: none !important; 538 | speak: none; 539 | line-height: 1; 540 | -webkit-font-smoothing: antialiased; 541 | } 542 | 543 | .main > .main-left > .nav > .slide > ul { 544 | display: none; 545 | list-style:dotted; 546 | } 547 | 548 | .main > .main-left > .nav > .slide > .menu { 549 | display: block; 550 | padding: 10px 35px; 551 | text-decoration: none; 552 | cursor: pointer;; 553 | } 554 | 555 | .main > .main-left > .nav > li:hover, 556 | .main > .main-left > .nav > .slide > .menu:hover { 557 | background: rgb(133,129,216); 558 | color:white; 559 | } 560 | .main > .main-left > .nav > .slide > .menu2:hover { 561 | background: rgb(133,129,216); 562 | color:white; 563 | } 564 | 565 | .main > .main-left > .nav > .slide:hover { 566 | background: none; 567 | } 568 | .slide-menu { 569 | overflow:hidden; 570 | } 571 | .main > .main-left > .nav > .slide > .slide-menu > li { 572 | padding-left: 30px; 573 | padding-bottom: 4px; 574 | font-size:12px !important; 575 | position: relative; 576 | background-color: rgb(255,255,255); 577 | margin-top:4px; 578 | margin-left: 15px; 579 | border: 1px solid #eee; 580 | border-radius: 5px; 581 | } 582 | 583 | 584 | 585 | .main > .main-left > .nav > .slide > .slide-menu > .active { 586 | background-color: rgb(133,129,216); 587 | } 588 | 589 | .main > .main-left > .nav > .slide > .slide-menu > li > a { 590 | position: relative; 591 | display: block; 592 | color: #555; 593 | /*text-shadow: 0px 1px 3px #222;*/ 594 | vertical-align: middle; 595 | background:none !important; 596 | border: none !important; 597 | } 598 | .main > .main-left > .nav > .slide > .slide-menu > li > a:after{ 599 | font-family: "advancedtomato" !important; 600 | font-style: normal !important; 601 | font-weight: normal !important; 602 | font-variant: normal !important; 603 | content: "\e001"; 604 | float: right; 605 | padding-right: 5px; 606 | } 607 | 608 | .main > .main-left > .nav > .slide > .slide-menu > li > a:hover { 609 | color:white; 610 | } 611 | 612 | .main > .main-left > .nav > .slide > .slide-menu > .active > a { 613 | color: white; 614 | } 615 | 616 | .main > .main-left > .nav > .slide > .slide-menu > li:hover { 617 | background: rgb(133,129,216); 618 | color:white !important; 619 | } 620 | 621 | .main > .main-left > .nav > .slide > .slide-menu > .active:hover { 622 | background-color: rgb(133,129,216); 623 | cursor: pointer; 624 | } 625 | 626 | li { 627 | list-style-type: none; 628 | } 629 | 630 | #maincontent > .container { 631 | margin:40px 40px 40px 50px; 632 | } 633 | 634 | h1 { 635 | color:rgb(133,129,216); 636 | font-size: 20px; 637 | padding-bottom: 10px; 638 | border-bottom: 1px solid #eee; 639 | } 640 | 641 | h2 { 642 | color:rgb(133,129,216); 643 | margin: 15px 0 0 0; 644 | font-size: 16px; 645 | padding-bottom: 10px; 646 | padding-left: 5px; 647 | } 648 | 649 | h3 { 650 | color:rgb(133,129,216); 651 | margin: 5px 0 0 0; 652 | font-size: 10pt; 653 | padding-bottom: 10px; 654 | } 655 | 656 | h4 { 657 | 658 | } 659 | 660 | label { 661 | display: inline-block; 662 | padding: 0px 10px; 663 | vertical-align: middle; 664 | } 665 | fieldset { 666 | margin: 10px 0 0 0; 667 | padding: 2rem; 668 | border: 1px; 669 | font-weight: normal; 670 | font-style: normal; 671 | line-height: 1; 672 | font-family: inherit; 673 | 674 | min-width: inherit; 675 | overflow-x: hidden; 676 | overflow-y: hidden; 677 | 678 | border-radius: 4px; 679 | background-color: #FFF; 680 | box-shadow: 3px 3px 3px rgba(0,0,0,.05); 681 | border-radius: 4px; 682 | -webkit-overflow-scrolling: touch; 683 | } 684 | 685 | fieldset > legend { 686 | display: none !important; 687 | } 688 | 689 | fieldset > fieldset { 690 | margin: 0; 691 | padding: 0; 692 | border: none; 693 | box-shadow: none; 694 | } 695 | 696 | .panel-title { 697 | width: 100%; 698 | display: block; 699 | line-height: 1; 700 | color: #76838f; 701 | font-size: 10pt; 702 | padding-bottom: 10px; 703 | font-weight:bold; 704 | } 705 | 706 | table { 707 | border-spacing: 0; 708 | border-collapse: collapse; 709 | width: 100%; 710 | border: 0px solid #eee; 711 | } 712 | 713 | table > tbody > tr > td, table > tbody > tr > th, table > tfoot > tr > td, table > tfoot > tr > th, table > thead > tr > td, table > thead > tr > th { 714 | padding: 12px; 715 | line-height: 1.42857143; 716 | border-top: 0px dashed #EEE; 717 | 718 | white-space: nowrap; 719 | } 720 | 721 | .cbi-section-table-cell { 722 | text-align: center; 723 | } 724 | 725 | .cbi-section-table-row { 726 | text-align: center; 727 | } 728 | 729 | .cbi-section-remove{ 730 | margin-bottom: 10px; 731 | } 732 | 733 | fieldset > table > tbody > tr:nth-of-type(odd) { 734 | background-color: #f9f9f9; 735 | } 736 | 737 | /* fix progress bar */ 738 | #swaptotal > div, 739 | #swapfree > div, 740 | #swapcache > div, 741 | #memfree > div, 742 | #membuff > div, 743 | #conns > div, 744 | #memcache > div, 745 | #memtotal > div { 746 | width: 100% !important; 747 | border-color:#ccc !important; 748 | height:20px !important; 749 | color:#76838f !important; 750 | } 751 | 752 | #swaptotal > div > div, 753 | #swapfree > div > div, 754 | #swapcache > div > div, 755 | #memfree > div > div, 756 | #membuff > div > div, 757 | #conns > div > div, 758 | #memcache > div > div, 759 | #memtotal > div > div { 760 | height: 1.4rem !important; 761 | background-color: #e4eaec !important; 762 | } 763 | 764 | /* fix multiple table */ 765 | 766 | table table { 767 | border: none; 768 | } 769 | 770 | .cbi-value-field table { 771 | border: none; 772 | } 773 | 774 | td > table > tbody > tr > td { 775 | border: none; 776 | } 777 | 778 | .cbi-value-field > table > tbody > tr > td { 779 | border: none; 780 | } 781 | 782 | /* button style */ 783 | 784 | .cbi-button { 785 | -webkit-appearance: none; 786 | text-transform: uppercase; 787 | color: #fff; 788 | background-color: #337ab7; 789 | transition: all 0.2s ease-in-out; 790 | display: inline-block; 791 | padding: 0.2rem 1rem; 792 | border: none; 793 | border-radius: 0.3rem; 794 | cursor: pointer; 795 | -ms-touch-action: manipulation; 796 | touch-action: manipulation; 797 | background-image: none; 798 | text-align: center; 799 | white-space: nowrap; 800 | -webkit-user-select: none; 801 | -moz-user-select: none; 802 | -ms-user-select: none; 803 | user-select: none; 804 | font-size: 10pt; 805 | width: auto !important; 806 | min-width: 80px; 807 | } 808 | 809 | .cbi-button:hover, 810 | .cbi-button:focus, 811 | .cbi-button:active { 812 | color: #fff; 813 | outline: 0; 814 | text-decoration: none; 815 | background-color: rgb(106,101,214); 816 | } 817 | 818 | .cbi-button:hover, 819 | .cbi-button:focus { 820 | box-shadow: 0 1px 1px rgba(0,0,0,.05); 821 | } 822 | 823 | .cbi-button:active { 824 | box-shadow: 0 1px 1px rgba(0,0,0,.05); 825 | } 826 | 827 | .cbi-button:disabled { 828 | cursor: not-allowed; 829 | pointer-events: none; 830 | opacity: 0.60; 831 | box-shadow: none; 832 | } 833 | 834 | form.inline + form.inline, 835 | .cbi-button + .cbi-button { 836 | margin-left: 0.6rem; 837 | } 838 | 839 | .cbi-button-reset, 840 | .cbi-input-remove { 841 | color: #fff !important; 842 | background-color: #617486 !important; 843 | } 844 | 845 | .cbi-button-reset:hover, 846 | .cbi-input-remove:hover, 847 | .cbi-button-remove:hover{ 848 | color: #fff !important; 849 | background-color: rgb(83,100,115) !important; 850 | } 851 | 852 | .cbi-button-link, 853 | .cbi-input-find, 854 | .cbi-input-save, 855 | .cbi-button-add, 856 | .cbi-button-save, 857 | .cbi-button-find, 858 | .cbi-input-reload, 859 | .cbi-button-reload { 860 | color: #fff !important; 861 | background-color: rgb(0,171,232) !important; 862 | border-color: rgb(0,171,232) !important; 863 | } 864 | 865 | .cbi-button-link:hover, 866 | .cbi-input-find:hover, 867 | .cbi-input-save:hover, 868 | .cbi-button-add:hover, 869 | .cbi-button-save:hover, 870 | .cbi-button-find:hover, 871 | .cbi-input-reload:hover, 872 | .cbi-button-reload:hover{ 873 | color: #fff !important; 874 | background-color: #337ab7 !important; 875 | border-color: #337ab7 !important; 876 | } 877 | 878 | .cbi-input-apply, 879 | .cbi-button-apply, 880 | .cbi-button-edit { 881 | color: #fff !important; 882 | background-color: rgb(148,143,225); 883 | } 884 | 885 | .cbi-input-reset, 886 | .cbi-button-remove { 887 | color: #fff !important; 888 | background: #617486; 889 | } 890 | 891 | .cbi-tab{ 892 | font-weight:bold; 893 | } 894 | 895 | .a-to-btn { 896 | text-decoration: none; 897 | } 898 | 899 | /* table */ 900 | 901 | .tabs { 902 | padding-left: 0.5rem; 903 | background-color: #FFFFFF; 904 | } 905 | 906 | .cbi-tabmenu > li, 907 | .tabs > li { 908 | display: inline-block; 909 | padding: 0.9rem 0rem; 910 | } 911 | 912 | .cbi-tabmenu > li > a, 913 | .tabs > li > a { 914 | text-decoration: none; 915 | color: #76838f; 916 | padding: 0.9rem 1.5rem; 917 | } 918 | 919 | .tabs > li[class~="active"], 920 | .tabs > li:hover{ 921 | cursor: pointer; 922 | border-bottom: 2px solid rgb(133,129,216); 923 | 924 | } 925 | 926 | .tabs > li[class~="active"] > a { 927 | color:rgb(133,129,216) !important; 928 | font-weight:bold; 929 | } 930 | 931 | .tabs > li:hover { 932 | /*border-bottom: 0.18751rem solid rgb(133,129,216);*/ 933 | } 934 | 935 | .cbi-tabmenu { 936 | border-top: 1px solid #e4eaec; 937 | 938 | border-left: 1px solid #e4eaec; 939 | border-right: 1px solid #e4eaec; 940 | 941 | background-color: #F7F7F7; 942 | } 943 | 944 | .cbi-tabmenu > li:hover { 945 | background-color: #F1F1F1; 946 | } 947 | 948 | .cbi-tabmenu > li[class~="cbi-tab"] { 949 | background-color: white; 950 | } 951 | 952 | 953 | .cbi-section-node-tabbed { 954 | padding: 0; 955 | margin-top: 0; 956 | border-bottom: 1px solid #e4eaec; 957 | border-left: 1px solid #e4eaec; 958 | border-right: 1px solid #e4eaec; 959 | } 960 | 961 | .cbi-tabcontainer { 962 | clear:both; 963 | } 964 | .cbi-tabcontainer > .cbi-value:nth-of-type(2n) { 965 | background-color: #f9f9f9; 966 | } 967 | 968 | .cbi-value-field, 969 | .cbi-value-description { 970 | display: table-cell; 971 | } 972 | 973 | .cbi-value-helpicon > img { 974 | display: none; 975 | } 976 | 977 | .cbi-value-helpicon:before { 978 | content: "\f059"; 979 | } 980 | 981 | .cbi-value-description { 982 | font-size: small; 983 | opacity: 0.5; 984 | padding: 0.5rem 0 0 0; 985 | } 986 | 987 | .cbi-value-title { 988 | word-wrap: break-word; 989 | line-height:150%; 990 | vertical-align: middle; 991 | padding:6px 10px; 992 | width: 23rem; 993 | float: left; 994 | text-align: right; 995 | display: table-cell; 996 | } 997 | 998 | .cbi-value { 999 | padding: 5px; 1000 | vertical-align: middle; 1001 | display: inline-block; 1002 | display:block; 1003 | width: 100%; 1004 | border-top:0px dashed #e4eaec; 1005 | } 1006 | 1007 | .cbi-section-table-descr > .cbi-section-table-cell, 1008 | .cbi-section-table-titles > .cbi-section-table-cell { 1009 | border: none; 1010 | } 1011 | 1012 | .cbi-rowstyle-2 { 1013 | background-color: #F9FBFB; 1014 | } 1015 | 1016 | .cbi-rowstyle-2 .cbi-button-up, 1017 | .cbi-rowstyle-2 .cbi-button-down{ 1018 | background-color: #FFF !important; 1019 | } 1020 | 1021 | .cbi-section-table .cbi-section-table-titles .cbi-section-table-cell { 1022 | width: auto !important; 1023 | } 1024 | 1025 | /* desc */ 1026 | .cbi-section-descr, 1027 | .cbi-map-descr { 1028 | margin-bottom:10px; 1029 | padding-left:5px; 1030 | font-size: small; 1031 | } 1032 | 1033 | /* luci */ 1034 | 1035 | .hidden { 1036 | display: none 1037 | } 1038 | 1039 | .left { 1040 | text-align: left !important; 1041 | } 1042 | 1043 | .right { 1044 | text-align: right !important; 1045 | } 1046 | 1047 | .inline { 1048 | display: inline; 1049 | } 1050 | 1051 | .cbi-page-actions { 1052 | text-align: right; 1053 | } 1054 | 1055 | /* input */ 1056 | .cbi-value input[type="password"], 1057 | .cbi-value input[type="text"] { 1058 | min-width: 15rem; 1059 | } 1060 | 1061 | /* select */ 1062 | .cbi-value-field .cbi-input-select { 1063 | min-width: 15rem; 1064 | } 1065 | 1066 | .ifacebadge { 1067 | display: inline-flex; 1068 | padding: 0.5rem 1rem; 1069 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); 1070 | -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); 1071 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); 1072 | } 1073 | 1074 | .ifacebadge > img { 1075 | float: right; 1076 | margin-left: 0.3rem; 1077 | } 1078 | 1079 | /*textarea*/ 1080 | 1081 | .cbi-input-textarea { 1082 | color: #76838f; 1083 | padding: 6px 10px; 1084 | margin: 0; 1085 | line-height: normal; 1086 | font-size: 10pt; 1087 | font-family: "Roboto", sans-serif, Helvetica, Arial, sans-serif; 1088 | border: 1px solid #e4eaec; 1089 | background-color: #fff; 1090 | transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; 1091 | -webkit-transition: color 150ms ease, border-color 150ms ease, opacity 150ms ease; 1092 | outline-style: none; 1093 | vertical-align: baseline; 1094 | border-radius: 3px; 1095 | } 1096 | 1097 | #syslog { 1098 | width: 100%; 1099 | min-height: 15rem; 1100 | padding: 1rem; 1101 | font-size: small; 1102 | color: #5F5F5F; 1103 | 1104 | margin-bottom: 20px; 1105 | border-radius: 0; 1106 | background-color: #FFF; 1107 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); 1108 | border: none; 1109 | } 1110 | 1111 | /* change */ 1112 | #wan4_i, #wan6_i { 1113 | width:50px !important; 1114 | } 1115 | 1116 | .uci-change-list { 1117 | font-family: monospace; 1118 | } 1119 | 1120 | .uci-change-list ins, 1121 | .uci-change-legend-label ins { 1122 | text-decoration: none; 1123 | border: 1px solid #00FF00; 1124 | background-color: #CCFFCC; 1125 | display: block; 1126 | padding: 2px; 1127 | } 1128 | 1129 | .uci-change-list del, 1130 | .uci-change-legend-label del { 1131 | text-decoration: none; 1132 | border: 1px solid #FF0000; 1133 | background-color: #FFCCCC; 1134 | display: block; 1135 | font-style: normal; 1136 | padding: 2px; 1137 | } 1138 | 1139 | .uci-change-list var, 1140 | .uci-change-legend-label var { 1141 | text-decoration: none; 1142 | border: 1px solid #CCCCCC; 1143 | background-color: #EEEEEE; 1144 | display: block; 1145 | font-style: normal; 1146 | padding: 2px; 1147 | } 1148 | 1149 | .uci-change-list var ins, 1150 | .uci-change-list var del { 1151 | border: none; 1152 | white-space: pre; 1153 | font-style: normal; 1154 | padding: 0px; 1155 | } 1156 | 1157 | .uci-change-legend { 1158 | padding: 5px; 1159 | } 1160 | 1161 | .uci-change-legend-label { 1162 | width: 150px; 1163 | float: left; 1164 | } 1165 | 1166 | .uci-change-legend-label > ins, 1167 | .uci-change-legend-label > del, 1168 | .uci-change-legend-label > var { 1169 | float: left; 1170 | margin-right: 4px; 1171 | width: 10px; 1172 | height: 10px; 1173 | display: block; 1174 | } 1175 | 1176 | .uci-change-legend-label var ins, 1177 | .uci-change-legend-label var del { 1178 | line-height: 6px; 1179 | border: none; 1180 | } 1181 | 1182 | .uci-change-list var, 1183 | .uci-change-list del, 1184 | .uci-change-list ins { 1185 | padding: 0.5rem; 1186 | } 1187 | 1188 | /* other fix */ 1189 | #iwsvg, 1190 | #iwsvg2, 1191 | #bwsvg { 1192 | border: 1px solid #e4eaec !important; 1193 | border-top: none !important; 1194 | } 1195 | 1196 | .ifacebox { 1197 | border: 1px solid #e4eaec; 1198 | background-color: #f9f9f9; 1199 | } 1200 | 1201 | .ifacebox strong { 1202 | color:#f7f7f7; 1203 | } 1204 | 1205 | .cbi-image-button { 1206 | margin: 5px 10px; 1207 | } 1208 | 1209 | .zonebadge { 1210 | padding: 0.2rem 0.5rem; 1211 | display: inline-block; 1212 | cursor: pointer; 1213 | } 1214 | 1215 | .zonebadge > .ifacebadge { 1216 | padding: 0.2rem 1rem; 1217 | margin: 0.3rem; 1218 | border: 1px solid #6C6C6C; 1219 | } 1220 | 1221 | .zonebadge > input[type="text"] { 1222 | padding: 0.16rem 1rem; 1223 | min-width: 10rem; 1224 | margin-top: 0.3rem; 1225 | } 1226 | 1227 | .cbi-value-field .cbi-input-checkbox, 1228 | .cbi-value-field .cbi-input-radio { 1229 | vertical-align: middle; 1230 | } 1231 | 1232 | .cbi-section-table-row > .cbi-value-field .cbi-input-select { 1233 | min-width: 7rem; 1234 | } 1235 | 1236 | .cbi-section-create > .cbi-button-add { 1237 | margin: 0.5rem; 1238 | } 1239 | 1240 | div.cbi-value var, td.cbi-value-field var { 1241 | font-style: italic; 1242 | color: #0069D6; 1243 | } 1244 | 1245 | small { 1246 | font-size: small; 1247 | white-space: normal; 1248 | } 1249 | 1250 | .cbi-button-up, 1251 | .cbi-button-down { 1252 | display: inline-block; 1253 | min-width: 0; 1254 | padding: 0.2rem 0.3rem; 1255 | font-size: 10pt; 1256 | } 1257 | 1258 | .cbi-optionals { 1259 | padding: 1rem 1rem 0 1rem; 1260 | border-top: 1px solid #CCC; 1261 | } 1262 | 1263 | #diag-rc-output > pre { 1264 | background-color: #f5f5f5; 1265 | display: block; 1266 | padding: 8.5px; 1267 | margin: 0 0 18px; 1268 | line-height: 1.5rem; 1269 | -moz-border-radius: 3px; 1270 | white-space: pre-wrap; 1271 | word-wrap: break-word; 1272 | font-size: 10pt; 1273 | color: #76838f; 1274 | } 1275 | 1276 | input[name="ping"], 1277 | input[name="traceroute"], 1278 | input[name="nslookup"] { 1279 | width: 80%; 1280 | } 1281 | 1282 | header > .container > .pull-right > * { 1283 | position: relative; 1284 | top: 0.45rem; 1285 | cursor: pointer; 1286 | } 1287 | 1288 | #xhr_poll_status > .label.success { 1289 | /*background-color: #14CE14;*/ 1290 | background-color: rgb(0,171,232); 1291 | } 1292 | 1293 | .label { 1294 | padding: 0.2rem 1rem; 1295 | font-size: 10pt; 1296 | font-weight: bold; 1297 | color: #ffffff !important; 1298 | text-transform: uppercase; 1299 | white-space: nowrap; 1300 | background-color: #bfbfbf; 1301 | -webkit-border-radius: 3px; 1302 | -moz-border-radius: 3px; 1303 | border-radius: 3px; 1304 | text-shadow: none; 1305 | text-decoration: none; 1306 | margin-right:20px; 1307 | } 1308 | 1309 | .notice { 1310 | background-color: #5BC0DE; 1311 | } 1312 | 1313 | .showSide:before { 1314 | display:none; 1315 | color:#76838f; 1316 | content: "\e029"; 1317 | font-family: "advancedtomato" !important; 1318 | font-weight: normal !important; 1319 | font-size:14px; 1320 | top: 18px; 1321 | left:10px; 1322 | position: relative; 1323 | vertical-align: middle; 1324 | 1325 | -webkit-font-smoothing: antialiased; 1326 | -moz-osx-font-smoothing: grayscale; 1327 | } 1328 | 1329 | .darkMask { 1330 | width: 100%; 1331 | height: 100%; 1332 | position: fixed; 1333 | background-color: rgba(0, 0, 0, 0.56); 1334 | content: ""; 1335 | z-index: 99; 1336 | display: none; 1337 | } 1338 | 1339 | /* fix Main Login*/ 1340 | .node-main-login > .main > .main-left { 1341 | display: none; 1342 | } 1343 | 1344 | .node-main-login > .main > .main-right { 1345 | width: 100%; 1346 | } 1347 | 1348 | .node-main-login > .main fieldset { 1349 | padding: 5px; 1350 | margin-bottom: 1rem; 1351 | display: inline; 1352 | background: none; 1353 | border: none; 1354 | box-shadow: none; 1355 | overflow: hidden; 1356 | } 1357 | 1358 | .node-main-login > .main .cbi-value-title { 1359 | width: 7rem; 1360 | } 1361 | 1362 | .node-main-login > .main #maincontent { 1363 | 1364 | text-align: center; 1365 | } 1366 | 1367 | .node-main-login > .main .container { 1368 | display: inline-block; 1369 | padding: 2rem 4rem; 1370 | margin-top: 2rem !important; 1371 | background-color: #FFF; 1372 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); 1373 | text-align: left; 1374 | } 1375 | 1376 | .node-main-login > .main form > div:nth-last-child(1) { 1377 | float: right; 1378 | } 1379 | 1380 | .node-main-login > .main .cbi-value { 1381 | display: block; 1382 | } 1383 | 1384 | .node-main-login > .main .cbi-value > * { 1385 | display: inline-block !important; 1386 | } 1387 | 1388 | .node-main-login > .main .cbi-input-user, 1389 | .node-main-login > .main .cbi-input-password { 1390 | min-width: 15rem; 1391 | } 1392 | 1393 | .node-main-login footer { 1394 | bottom: 0; 1395 | position: absolute; 1396 | width: 100%; 1397 | } 1398 | 1399 | /* fix status overview */ 1400 | 1401 | .node-status-overview > .main fieldset:nth-child(4) td:nth-child(2) { 1402 | white-space: normal; 1403 | } 1404 | 1405 | /* fix status processes */ 1406 | 1407 | .node-status-processes > .main table tr td:nth-child(3) { 1408 | white-space: normal; 1409 | } 1410 | 1411 | .node-status-iptables > .main div > .cbi-map > form { 1412 | margin: 2rem 2rem 0 0; 1413 | } 1414 | 1415 | .cbi-map fieldset h3 { 1416 | padding:10px 0; 1417 | } 1418 | 1419 | .cbi-map fieldset ul li { 1420 | background:#f7f7f7; 1421 | margin-right:0 !important; 1422 | } 1423 | /* fix system reboot */ 1424 | 1425 | .node-system-reboot > .main > .main-right p, 1426 | .node-system-reboot > .main > .main-right h3 { 1427 | } 1428 | 1429 | /* fix Services Network Shares*/ 1430 | .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-title { 1431 | margin-bottom: 1rem; 1432 | } 1433 | 1434 | .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-field { 1435 | display: list-item; 1436 | } 1437 | 1438 | .node-services-samba > .main .cbi-tabcontainer:nth-child(3) .cbi-value-description { 1439 | padding-top: 1rem; 1440 | line-height:150%; 1441 | } 1442 | 1443 | /* fix System Software*/ 1444 | .node-system-packages > .main table tr td:nth-child(1) { 1445 | width: auto !important; 1446 | } 1447 | 1448 | .node-system-packages > .main table tr td:nth-last-child(1) { 1449 | white-space: normal; 1450 | font-size: small; 1451 | color: #76838f; 1452 | } 1453 | 1454 | .node-system-packages > .main .cbi-tabmenu > li > a, .tabs > li > a { 1455 | padding: 0.5rem 1rem; 1456 | } 1457 | 1458 | .node-system-packages > .main .cbi-value > pre { 1459 | background-color: #eee; 1460 | padding: 0.5rem; 1461 | overflow: auto; 1462 | } 1463 | 1464 | .cbi-tabmenu + .cbi-section { 1465 | margin-top: 0; 1466 | } 1467 | 1468 | /* fix network firewall*/ 1469 | .node-network-firewall > .main .cbi-section-table-row > .cbi-value-field .cbi-input-select { 1470 | min-width: 4rem; 1471 | } 1472 | 1473 | .node-status-iptables fieldset, 1474 | .node-system-packages fieldset, 1475 | .node-system-flashops fieldset { 1476 | margin-top: 0; 1477 | } 1478 | 1479 | .node-status-iptables .cbi-tabmenu, 1480 | .node-system-packages .cbi-tabmenu, 1481 | .node-system-flashops .cbi-tabmenu { 1482 | border: none; 1483 | } 1484 | 1485 | #cbi-firewall-redirect table *, 1486 | #cbi-network-switch_vlan table *, 1487 | #cbi-firewall-zone table *{ 1488 | font-size: small; 1489 | } 1490 | 1491 | #cbi-firewall-redirect table input[type="text"], 1492 | #cbi-network-switch_vlan table input[type="text"], 1493 | #cbi-firewall-zone table input[type="text"]{ 1494 | width: 5rem; 1495 | } 1496 | 1497 | #cbi-firewall-redirect table select, 1498 | #cbi-network-switch_vlan table select, 1499 | #cbi-firewall-zone table select{ 1500 | min-width: 3.5rem; 1501 | } 1502 | 1503 | 1504 | /* language fix */ 1505 | body.lang_pl.node-main-login .cbi-value-title { 1506 | width: 12rem; 1507 | } 1508 | 1509 | 1510 | @media screen and (max-width: 1600px) { 1511 | .main-left { 1512 | /*width: calc(0% + 15rem);*/ 1513 | } 1514 | 1515 | .main-right { 1516 | width: calc(100% - 15rem); 1517 | } 1518 | 1519 | .cbi-button { 1520 | padding: 0.3rem 0.6rem; 1521 | font-size: 1rem; 1522 | line-height: 1.5; 1523 | } 1524 | 1525 | header > .container > .pull-right > * { 1526 | top: 0.35rem; 1527 | } 1528 | 1529 | .label { 1530 | padding: 0.2rem 0.6rem; 1531 | } 1532 | 1533 | .cbi-value-title { 1534 | width: 15rem; 1535 | padding-right: 0.6rem; 1536 | } 1537 | 1538 | fieldset { 1539 | padding: 1rem; 1540 | } 1541 | 1542 | .cbi-input-textarea { 1543 | font-size: small; 1544 | } 1545 | 1546 | .node-status-iptables > .main fieldset li > a { 1547 | padding: 0.3rem 0.6rem; 1548 | } 1549 | } 1550 | 1551 | @media screen and (max-width: 1280px) { 1552 | header { 1553 | /*height: 3.5rem;*/ 1554 | } 1555 | 1556 | header > .container { 1557 | /*margin-top: 0.25rem;*/ 1558 | } 1559 | 1560 | .main { 1561 | top: 3.5rem; 1562 | height: calc(100% - 3.5rem); 1563 | } 1564 | 1565 | .main-left { 1566 | width: calc(0% + 17rem); 1567 | top: 3.5rem; 1568 | height: calc(100% - 3.5rem); 1569 | } 1570 | 1571 | .main-right { 1572 | width: calc(100% - 17rem); 1573 | } 1574 | 1575 | .cbi-tabmenu > li > a, .tabs > li > a { 1576 | padding: 0.2rem 0.5rem; 1577 | } 1578 | 1579 | .panel-title { 1580 | font-size: 1.3rem; 1581 | padding-bottom: 1rem; 1582 | } 1583 | 1584 | table { 1585 | font-size: 0.8rem !important; 1586 | width: 100% !important; 1587 | } 1588 | 1589 | .main > .main-left > .nav > li, 1590 | .main > .main-left > .nav > li a, 1591 | .main > .main-left > .nav > .slide > .menu { 1592 | font-size: 1.3rem; 1593 | } 1594 | 1595 | .main > .main-left > .nav > .slide > .slide-menu > li > a { 1596 | font-size: 0.9rem; 1597 | } 1598 | } 1599 | 1600 | @media screen and (max-width: 992px) { 1601 | 1602 | header { 1603 | height: 3.5rem; 1604 | } 1605 | 1606 | header > .container > .brand { 1607 | font-size: 18px; 1608 | height: 3.5rem; 1609 | line-height: 3.5rem; 1610 | width: calc(0% + 15rem); 1611 | /*width: initial;*/ 1612 | padding-left: 5px; 1613 | padding-right: 20px; 1614 | } 1615 | 1616 | .main-left { 1617 | width: 0; 1618 | position: fixed; 1619 | z-index: 100; 1620 | } 1621 | 1622 | .main-right { 1623 | width: 100%; 1624 | } 1625 | 1626 | .showSide { 1627 | margin: 0; 1628 | padding: 0; 1629 | display: inline-block; 1630 | position: absolute; 1631 | width: 100%; 1632 | height: 100%; 1633 | } 1634 | 1635 | .showSide:before { 1636 | content: "\e20e"; 1637 | font-size: 1.7rem; 1638 | } 1639 | 1640 | .node-main-login .showSide { 1641 | display: none !important; 1642 | } 1643 | 1644 | .cbi-value-title { 1645 | width: 9rem; 1646 | padding-right: 1rem; 1647 | } 1648 | 1649 | .node-network-diagnostics > .main .cbi-map fieldset > div * { 1650 | width: 100% !important; 1651 | } 1652 | 1653 | .node-network-diagnostics > .main .cbi-map fieldset > div input[type="text"] { 1654 | margin: 3rem 0 0 0 !important; 1655 | } 1656 | 1657 | .node-network-diagnostics > .main .cbi-map fieldset > div:nth-child(4) input[type="text"] { 1658 | margin: 0 !important; 1659 | } 1660 | 1661 | .node-network-diagnostics > .main .cbi-map fieldset > div select, 1662 | .node-network-diagnostics > .main .cbi-map fieldset > div input[type="button"] { 1663 | margin: 1rem 0 0 0; 1664 | } 1665 | 1666 | .node-network-diagnostics > .main .cbi-map fieldset > div { 1667 | width: 100% !important; 1668 | } 1669 | 1670 | #diag-rc-output > pre { 1671 | font-size: 1.2rem; 1672 | } 1673 | 1674 | .node-main-login > .main .cbi-value-title { 1675 | text-align: left; 1676 | } 1677 | } 1678 | 1679 | @media screen and (max-width: 480px) { 1680 | fieldset { 1681 | padding: 1rem; 1682 | margin: 1rem 0 0 0; 1683 | overflow-x: auto; 1684 | } 1685 | 1686 | .tabs { 1687 | margin: 0 -1rem; 1688 | } 1689 | 1690 | #maincontent > .container { 1691 | margin: 0 1rem 1.5rem 1rem; 1692 | } 1693 | 1694 | .main > .main-left > .nav > .slide > .menu { 1695 | font-size: 1.3rem; 1696 | } 1697 | 1698 | .main > .main-left > .nav > .slide > .slide-menu > li > a { 1699 | font-size: 1.1rem; 1700 | } 1701 | 1702 | .cbi-value-title { 1703 | width: 100%; 1704 | min-width: 0rem !important; 1705 | display: block; 1706 | margin-top: 1rem; 1707 | margin-bottom: 0.5rem; 1708 | text-align: left; 1709 | } 1710 | 1711 | .cbi-value-field, .cbi-value-description { 1712 | width: 100%; 1713 | } 1714 | 1715 | .cbi-value > .cbi-value-field { 1716 | display: inline-block; 1717 | } 1718 | 1719 | .cbi-tabmenu > li, .tabs > li { 1720 | padding: 0.6rem 0rem; 1721 | } 1722 | 1723 | .cbi-tabmenu > li > a, .tabs > li > a { 1724 | padding: 0.2rem 0.3rem; 1725 | font-size: 0.9rem; 1726 | } 1727 | 1728 | .cbi-page-actions > div > input { 1729 | display: none; 1730 | } 1731 | 1732 | .node-main-login > .main .container { 1733 | padding: 0.5rem 1rem 2rem 1rem; 1734 | } 1735 | 1736 | .node-main-login > .main .cbi-value { 1737 | padding: 0; 1738 | } 1739 | 1740 | .node-main-login > .main form > div:nth-last-child(1) { 1741 | margin-top: 2rem; 1742 | } 1743 | 1744 | .node-main-login > .main .cbi-value-title { 1745 | width: 100% !important; 1746 | font-size: 1.2rem; 1747 | } 1748 | 1749 | .node-main-login > .main fieldset { 1750 | margin: 0; 1751 | padding: 0.5rem; 1752 | } 1753 | 1754 | h2 { 1755 | font-size: 2rem; 1756 | } 1757 | 1758 | .tabs > li > a { 1759 | font-size: 0.9rem; 1760 | } 1761 | 1762 | select, 1763 | input { 1764 | font-size: 0.9rem; 1765 | } 1766 | 1767 | .mobile-hide { 1768 | display: none; 1769 | } 1770 | 1771 | .panel-title { 1772 | font-size: 1.4rem; 1773 | padding-bottom: 1rem; 1774 | } 1775 | 1776 | .node-system-packages > .main .cbi-value.cbi-value-last > div { 1777 | width: 100% !important; 1778 | } 1779 | 1780 | .node-system-packages > .main .cbi-value .cbi-value-field input { 1781 | width: 100%; 1782 | } 1783 | 1784 | .node-status-iptables > .main div > .cbi-map > form { 1785 | position: static !important; 1786 | margin: 0 0 2rem 0; 1787 | padding: 2rem; 1788 | border: 0; 1789 | font-weight: normal; 1790 | font-style: normal; 1791 | line-height: 1; 1792 | font-family: inherit; 1793 | min-width: inherit; 1794 | overflow-x: auto; 1795 | overflow-y: hidden; 1796 | border-radius: 0; 1797 | background-color: #FFF; 1798 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12); 1799 | -webkit-overflow-scrolling: touch; 1800 | } 1801 | 1802 | .node-status-iptables > .main div > .cbi-map > form input[type="submit"]{ 1803 | width: 100% !important; 1804 | margin: 0; 1805 | } 1806 | 1807 | .node-status-iptables > .main div > .cbi-map > form input[type="submit"] + input[type="submit"]{ 1808 | margin-top: 1rem; 1809 | } 1810 | } 1811 | 1812 | @media screen and (min-width: 992px) { 1813 | .cbi-value input[type="password"], 1814 | .cbi-value input[type="text"] { 1815 | min-width: 20rem; 1816 | } 1817 | 1818 | .cbi-value-field .cbi-input-select { 1819 | min-width: 20rem; 1820 | } 1821 | } 1822 | 1823 | @media screen and (min-width: 1280px) { 1824 | .cbi-value input[type="password"], 1825 | .cbi-value input[type="text"] { 1826 | min-width: 22rem; 1827 | } 1828 | 1829 | .cbi-value-field .cbi-input-select { 1830 | min-width: 22rem; 1831 | } 1832 | } 1833 | 1834 | @media screen and (min-width: 1600px) { 1835 | .cbi-value input[type="password"], 1836 | .cbi-value input[type="text"] { 1837 | min-width: 25rem; 1838 | } 1839 | 1840 | .cbi-value-field .cbi-input-select { 1841 | min-width: 25rem; 1842 | } 1843 | } 1844 | -------------------------------------------------------------------------------- /luci-theme-netgear/htdocs/luci-static/netgear/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("