diff --git a/themes/luci-theme-nightstrap/Makefile b/themes/luci-theme-nightstrap/Makefile deleted file mode 100644 index 5bb753bf..00000000 --- a/themes/luci-theme-nightstrap/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2008-2014 The LuCI Team -# -# This is free software, licensed under the Apache License, Version 2.0 . -# - -include $(TOPDIR)/rules.mk - -LUCI_TITLE:=Nightstrap Theme -LUCI_DEPENDS:= - -PKG_LICENSE:=Apache-2.0 - -include ../../luci.mk - -# call BuildPackage - OpenWrt buildroot signature diff --git a/themes/luci-theme-nightstrap/htdocs/luci-static/nightstrap/cascade.css b/themes/luci-theme-nightstrap/htdocs/luci-static/nightstrap/cascade.css deleted file mode 100644 index 2aeead79..00000000 --- a/themes/luci-theme-nightstrap/htdocs/luci-static/nightstrap/cascade.css +++ /dev/null @@ -1 +0,0 @@ -html{margin:0;padding:0}body{margin:0;padding:5px}.table,.tbody,.td,.tfoot,.th,.thead,.tr,a,abbr,acronym,button,caption,code,dd,del,dl,dt,em,fieldset,form,h1,h2,h3,h4,h5,h6,img,label,legend,li,ol,p,pre,q,s,small,strike,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,ul,var{margin:0;padding:0;border:0;font-weight:400;font-style:normal;font-size:100%;line-height:1;font-family:inherit}abbr[title],acronym[title]{border-bottom:1px dotted;font-weight:inherit;cursor:help}table{border-collapse:collapse;border-spacing:0}ol,ul{list-style:none}blockquote:after,blockquote:before,q:after,q:before{content:""}html{overflow-y:scroll;font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted}a:active,a:hover{outline:0}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0;-ms-interpolation-mode:bicubic}button,input,option,select,textarea{font-size:100%;margin:0;box-sizing:border-box;vertical-align:baseline}button,input{line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}button[disabled],input[type=button][disabled],input[type=reset][disabled],input[type=submit][disabled]{opacity:.7}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}body{background-color:#1a1a1a;margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:400;line-height:18px;color:#ccc;padding-top:58px}.container{width:100%;max-width:940px;margin-left:auto;margin-right:auto;zoom:1}.container:after,.container:before{display:table;content:"";zoom:1}.container:after{clear:both}a{color:#2960a5;text-decoration:none;line-height:inherit;font-weight:inherit}a:hover{color:#5378a6;text-decoration:underline}.pull-left{float:left}.pull-right{float:right}.cbi-map-descr,.cbi-section-descr,.table .tr.cbi-section-table-descr .th,p{font-size:13px;font-weight:400;line-height:18px;margin-bottom:9px}p small{font-size:11px;color:#ccc}h1,h2,h3,h4,h5,h6,legend{font-weight:500;color:#ccc}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#ccc}h1{margin-bottom:18px;font-size:30px;line-height:36px}h1 small{font-size:18px}h2{font-size:24px;line-height:36px}h2 small{font-size:14px}h3,h4,h5,h6,legend{line-height:36px}h3,legend{font-size:18px}h3 small{font-size:14px}h4{font-size:16px}h4 small{font-size:12px}h5{font-size:14px}h6{font-size:13px;color:#ccc;text-transform:uppercase}ol,ul{margin:0 0 18px 25px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}ul{list-style:disc}ol{list-style:decimal}li{line-height:18px;color:grey}ul.unstyled{list-style:none;margin-left:0}dl{margin-bottom:18px}dl dd,dl dt{line-height:18px}dl dt{font-weight:500}dl dd{margin-left:9px}hr{margin:20px 0 19px;border:0;border-bottom:1px solid #4d4d4d}strong{font-style:inherit;font-weight:500}em{font-style:italic;font-weight:inherit;line-height:inherit}small{font-size:.9em}address{display:block;line-height:18px;margin-bottom:18px}code,pre{padding:0 3px 2px;font-family:Monaco,"Andale Mono","Courier New",monospace;font-size:12px;border-radius:3px}code{background-color:#d0ae83;color:#404040;padding:1px 3px}pre{background-color:#2b2b2b;display:block;padding:8.5px;margin:0 0 18px;line-height:18px;font-size:12px;border:1px solid #4d4d4d;border-radius:3px;white-space:pre;white-space:pre-wrap;word-wrap:break-word}form{margin-bottom:18px}fieldset{margin-bottom:9px;padding-top:9px}fieldset legend{display:block;font-size:19.5px;line-height:1;color:#ccc;padding-top:20px}form .cbi-tab-descr{line-height:18px;margin-bottom:18px}form .cbi-value,form .clearfix{margin-bottom:18px;zoom:1}form .cbi-value:after,form .cbi-value:before,form .clearfix:after,form .clearfix:before{display:table;content:"";zoom:1}form .cbi-value:after,form .clearfix:after{clear:both}input,label,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:400;line-height:normal}form .cbi-value-field,form .input{margin-left:200px}form .cbi-value label.cbi-value-title{padding-top:6px;font-size:13px;line-height:18px;float:left;width:180px;text-align:right;color:#ccc}input[type=checkbox],input[type=radio]{cursor:pointer}.cbi-dropdown,.cbi-input-text,.uneditable-input,input,select,textarea{display:inline-block;width:210px;height:30px;padding:4px;font-size:13px;line-height:18px;color:#ccc;border:1px solid #4d4d4d!important;border-radius:3px;box-sizing:border-box}input[type=file]{border:none!important}.cbi-dropdown{min-width:210px;max-width:400px;width:auto}input[type=checkbox],input[type=radio]{width:auto;height:auto;padding:0;margin:3px 0;line-height:normal;border:none}input[type=file]{background-color:transparent;padding:initial;border:initial;line-height:initial;box-shadow:none;width:auto!important}input[type=button],input[type=reset],input[type=submit]{width:auto;height:auto}select{padding:5px 15px 5px 5px;font-size:13px;border:1px solid #4d4d4d;border-radius:3px;background:url("data:image/svg+xml;utf8,%3Csvg width='100%' height='100%' viewBox='0 0 8 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4,4l4,-4l-8,0l4,4Z' style='fill:%23ccc;'/%3E%3C/svg%3E") right 5px center/8px no-repeat #2b2b2b;height:28px;box-shadow:inset 0 1px 3px rgba(14,21,28,.1);-webkit-appearance:none;-moz-appearance:none;appearance:none}select[multiple]{height:inherit;background-color:#2b2b2b}textarea{height:auto}.td>.cbi-dropdown,.td>input[type=password],.td>input[type=text],.td>select{width:100%}.uneditable-input{background-color:#1a1a1a;display:block;border-color:#4d4d4d;box-shadow:inset 0 1px 2px rgba(14,21,28,.025);cursor:not-allowed}::-webkit-input-placeholder{color:grey}::-moz-placeholder{color:grey}.btn,.cbi-button,input,textarea{background-color:#2b2b2b;transition:border linear .2s,box-shadow linear .2s;box-shadow:inset 0 1px 3px rgba(14,21,28,.1)}.btn:hover,input:focus,textarea:focus{outline:0;border-color:#4d4d4d!important;box-shadow:inset 0 1px 3px rgba(14,21,28,.1),0 0 8px rgba(77,77,77,.6);text-decoration:none}input[type=checkbox]:focus,input[type=file]:focus,select:focus{box-shadow:none;outline:0}input[disabled],input[readonly],select[disabled],select[readonly],textarea[disabled],textarea[readonly]{background-color:#2b2b2b;border-color:#4d4d4d;pointer-events:none;cursor:default}select[readonly],textarea[readonly]{pointer-events:auto;cursor:auto}.cbi-input-textarea{overflow-x:auto!important}.cbi-optionals,.cbi-section-create{padding:0 0 10px 10px}.cbi-section-create{margin:-3px;display:inline-flex;align-items:center}.cbi-section-create>*{margin:3px;flex:1 1 auto}.cbi-section-create>*>input{width:100%}.actions,.cbi-page-actions{background:#2b2b2b;margin-bottom:18px;padding:17px 20px 18px 17px;border-top:1px solid #4d4d4d;border-radius:0 0 3px 3px;text-align:right}.actions .secondary-action,.cbi-page-actions .secondary-action{float:right}.actions .secondary-action a,.cbi-page-actions .secondary-action a{line-height:30px}.actions .secondary-action a:hover,.cbi-page-actions .secondary-action a:hover{text-decoration:underline}.cbi-page-actions>form{display:inline;margin:0}.help-block,.help-inline{font-size:13px;line-height:18px;color:#ccc}.help-inline{padding-left:5px}.help-block{display:block;max-width:600px}form[action*="/admin/system/packages"] .cbi-section-node:first-child .cbi-value>div{background-color:#81a642!important;border:1px solid #4d4d4d!important;border-radius:3px;margin:8px 0!important;width:100%!important}form[action*="/admin/system/packages"] .cbi-section-node:first-child .cbi-value>div>div{background-color:#a64b42!important;border-right:none!important;border-radius:2px}form[action*="/admin/system/commands"] .cbi-section .cbi-input-checkbox,form[action*="/admin/services/adblock"] #cbi-adblock-source .cbi-section-node .cbi-input-checkbox,form[action*="/admin/network/firewall"] .table.cbi-section-table .cbi-input-checkbox{margin-top:0}form[action*="/admin/system/commands"] .cbi-section .commandbox{margin:0;width:100%}form[action*="/admin/services/adblock"] #cbi-adblock-global .cbi-value-field>span.runtime{padding-top:5px}form[action*="/admin/services/adblock"] #cbi-adblock .cbi-input-text{padding-left:4px}form[action*="/admin/services/adblock"] select[id*="adblock.extra"]+.cbi-button,form[action*="/adblock/advanced/query"] input[type=text]+.cbi-button{border-radius:0 3px 3px 0;border-color:#4d4d4d;margin:0 0 1px -2px;padding:0 14px;vertical-align:top;height:28px;font-size:13px;line-height:26px}form[action*="/adblock/advanced/query"] input[type=text]+.cbi-button{margin:0 0 1px -5px;height:30px}.tr{display:table-row}.table[width="33%"],.td[width="33%"],.th[width="33%"]{width:33%}.table[width="100%"],.td[width="100%"],.th[width="100%"]{width:100%}.table{display:table;width:100%;margin-bottom:18px;padding:0;font-size:13px;border-collapse:collapse;position:relative}.table .td,.table .th{display:table-cell;vertical-align:middle;padding:10px 6.15px 9px;line-height:18px;text-align:left}#cbi-dropbear .table .td.cbi-value-field{padding:10px 0 9px}.table .tr:first-child .th{padding-top:9px;font-weight:500;vertical-align:top}.table .td,.table .th{border-top:1px solid #4d4d4d}.tr.placeholder{height:calc(3em + 20px)}.tr.placeholder>.td{position:absolute;left:0;right:0;bottom:0;text-align:center;line-height:3em}header{height:40px;position:fixed;top:0;left:0;right:0;z-index:10000;overflow:visible;color:#ccc}header a{color:#ccc;text-shadow:0 -1px 0 rgba(14,21,28,.25)}header .brand:hover,header h3 a:hover,header ul .active>a{background-color:#202020;background-color:rgba(204,204,204,.05);color:#f9f9f9;text-decoration:none}header h3{position:relative}header .brand,header h3 a{float:left;display:block;padding:9px 20px 11px;margin-left:-20px;color:#f9f9f9;font-size:20px;font-weight:200;line-height:1}header p{margin:0;line-height:40px}header .fill{background-color:#303030;background-repeat:repeat-x;background-image:linear-gradient(to bottom,#303030,#202020);box-shadow:0 2px 8px rgba(14,21,28,.25),0 -1px 0 rgba(14,21,28,.25);padding:0 5px}.nav,header div>ul{display:block;float:left;margin:0 10px 0 0;position:relative;left:0}.nav>li,header div>ul>li{display:block;float:left}.nav a,header div>ul a{display:block;float:none;padding:10px 10px 11px;line-height:19px;text-decoration:none}.nav a:hover,header div>ul a:hover{color:#f9f9f9;text-decoration:none}.nav .active>a,header div>ul .active>a{background-color:#303030;background-color:rgba(204,204,204,.05)}.nav.secondary-nav,header div>ul.secondary-nav{float:right;margin-left:10px;margin-right:0}.nav.secondary-nav .dropdown-menu,.nav.secondary-nav .menu-dropdown,header div>ul.secondary-nav .dropdown-menu,header div>ul.secondary-nav .menu-dropdown{right:0;border:0}.nav .dropdown-toggle:hover,.nav .dropdown.open .dropdown-toggle,.nav a.menu:hover,.nav li.open .menu,header div>ul .dropdown-toggle:hover,header div>ul .dropdown.open .dropdown-toggle,header div>ul a.menu:hover,header div>ul li.open .menu{background-color:#303030;background-color:rgba(204,204,204,.05)}.nav .dropdown-menu,.nav .menu-dropdown,header div>ul .dropdown-menu,header div>ul .menu-dropdown{background-color:#202020}.nav .dropdown-menu .dropdown-toggle,.nav .dropdown-menu a.menu,.nav .menu-dropdown .dropdown-toggle,.nav .menu-dropdown a.menu,header div>ul .dropdown-menu .dropdown-toggle,header div>ul .dropdown-menu a.menu,header div>ul .menu-dropdown .dropdown-toggle,header div>ul .menu-dropdown a.menu{color:#f9f9f9}.nav .dropdown-menu .dropdown-toggle.open,.nav .dropdown-menu a.menu.open,.nav .menu-dropdown .dropdown-toggle.open,.nav .menu-dropdown a.menu.open,header div>ul .dropdown-menu .dropdown-toggle.open,header div>ul .dropdown-menu a.menu.open,header div>ul .menu-dropdown .dropdown-toggle.open,header div>ul .menu-dropdown a.menu.open{background-color:#303030;background-color:rgba(204,204,204,.05)}.nav .dropdown-menu li a,.nav .menu-dropdown li a,header div>ul .dropdown-menu li a,header div>ul .menu-dropdown li a{color:#ccc;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.nav .dropdown-menu li a:hover,.nav .menu-dropdown li a:hover,header div>ul .dropdown-menu li a:hover,header div>ul .menu-dropdown li a:hover{background-color:#303030;background-color:rgba(204,204,204,.05);color:#f9f9f9}.nav .dropdown-menu .active a,.nav .menu-dropdown .active a,header div>ul .dropdown-menu .active a,header div>ul .menu-dropdown .active a{color:#f9f9f9}.nav .dropdown-menu .divider,.nav .menu-dropdown .divider,header div>ul .dropdown-menu .divider,header div>ul .menu-dropdown .divider{background-color:#202020;border-color:#404040}header ul .dropdown-menu li a,header ul .menu-dropdown li a{padding:4px 15px}.dropdown,li.menu{position:relative}.dropdown-toggle:after,a.menu:after{width:0;height:0;display:inline-block;content:"↓";text-indent:-99999px;vertical-align:top;margin-top:8px;margin-left:4px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #f9f9f9;opacity:.5}.dropdown-menu,.menu-dropdown{background-color:#202020;float:left;position:absolute;top:40px;left:-9999px;z-index:900;min-width:160px;max-width:220px;margin-left:0;margin-right:0;padding:6px 0;zoom:1;border-color:#202020 #050505 #050505 #050505;border-color:#1a1a1a rgba(0,0,0,.2) rgba(0,0,0,.2) rgba(0,0,0,.2);border-style:solid;border-width:1px;border-radius:0 0 6px 6px;box-shadow:0 2px 8px rgba(14,21,28,.25);background-clip:padding-box}.dropdown-menu li,.menu-dropdown li{float:none;display:block;background-color:transparent}.dropdown-menu .divider,.menu-dropdown .divider{height:1px;margin:5px 0;overflow:hidden;background-color:#4d4d4d;border-bottom:1px solid #1a1a1a}.dropdown-menu a,header .dropdown-menu a{display:block;padding:4px 15px;clear:both;font-weight:400;line-height:18px;color:grey;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.dropdown-menu a.hover,.dropdown-menu a:hover,header .dropdown-menu a.hover,header .dropdown-menu a:hover{background-color:#303030;background-color:rgba(204,204,204,.05);color:#ccc;text-decoration:none;box-shadow:inset 0 1px 0 rgba(249,249,249,.025),inset 0 -1px rgba(249,249,249,.025)}.dropdown.open .dropdown-toggle,.dropdown.open .menu,.open .dropdown-toggle,.open .menu{color:#f9f9f9;background:#ccc;background:rgba(0,0,0,.3)}.dropdown.open .dropdown-menu,.dropdown.open .menu-dropdown,.open .dropdown-menu,.open .menu-dropdown{left:-1px}.dropdown:hover ul.dropdown-menu{left:-1px}.dropdown-menu .dropdown-menu{position:absolute;left:159px}.dropdown-menu li{position:relative}.cbi-tabmenu,.tabs{margin:0 0 18px;padding:0;list-style:none;zoom:1}.cbi-tabmenu:after,.cbi-tabmenu:before,.tabs:after,.tabs:before{display:table;content:"";zoom:1}.cbi-tabmenu:after,.tabs:after{clear:both}.cbi-tabmenu>li,.tabs>li{float:left}.cbi-tabmenu>li>a,.tabs>li>a{display:block}.cbi-tabmenu,.tabs{border-color:#4d4d4d;border-style:solid;border-width:0 0 1px}.cbi-tabmenu>li,.tabs>li{position:relative;margin-bottom:-1px}.cbi-tabmenu.map{margin:0}.cbi-tabmenu.map>li{font-size:16.5px;font-weight:500}.cbi-tabcontainer>fieldset.cbi-section[id]>legend{display:none}.cbi-tabmenu>li>a,.tabs>li>a{padding:0 15px;margin-right:2px;line-height:34px;border:1px solid #4d4d4d;border-radius:4px 4px 0 0}.cbi-tabmenu>li>a:hover,.tabs>li>a:hover{text-decoration:none;background-color:#2b2b2b;border-color:#4d4d4d}.cbi-tab>a:hover,.cbi-tab>a:link,.cbi-tabmenu .active>a,.cbi-tabmenu .active>a:hover,.tabs .active>a,.tabs .active>a:hover{color:#ccc;background-color:#1a1a1a;border:1px solid #4d4d4d;border-bottom-color:transparent;cursor:default}.cbi-tab-disabled>a{border:1px solid transparent!important}.cbi-tab-disabled>a:hover{border:1px solid #4d4d4d!important}.cbi-tabmenu .dropdown-menu,.cbi-tabmenu .menu-dropdown,.tabs .dropdown-menu,.tabs .menu-dropdown{top:35px;border-width:1px;border-radius:0 6px 6px 6px}.cbi-tabmenu .dropdown-toggle:after,.cbi-tabmenu a.menu:after,.tabs .dropdown-toggle:after,.tabs a.menu:after{border-top-color:#4d4d4d;margin-top:15px;margin-left:5px}.cbi-tabmenu .open.dropdown .dropdown-toggle,.cbi-tabmenu li.open.menu .menu,.tabs .open.dropdown .dropdown-toggle,.tabs li.open.menu .menu{border-color:#4d4d4d}.cbi-tabmenu .dropdown.open .dropdown-toggle:after,.cbi-tabmenu li.open a.menu:after,.tabs .dropdown.open .dropdown-toggle:after,.tabs li.open a.menu:after{border-top-color:#4d4d4d}.tab-content>.tab-pane,.tab-content>div{display:none}.tab-content>.active{display:block}.breadcrumb{padding:7px 14px;margin:0 0 18px;background-color:#2b2b2b;border:1px solid #4d4d4d;border-radius:3px;box-shadow:inset 0 1px 1px rgba(14,21,28,.1)}.breadcrumb li{display:inline;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.breadcrumb .divider{padding:0 5px;color:#ccc}.breadcrumb .active a{color:#ccc}footer{margin-top:17px;padding-top:17px;border-top:1px solid #4d4d4d}.alert-message.danger,.alert-message.danger:hover,.alert-message.error,.alert-message.error:hover,.alert-message.info,.alert-message.info:hover,.alert-message.success,.alert-message.success:hover,.btn.danger,.btn.danger:hover,.btn.error,.btn.error:hover,.btn.info,.btn.info:hover,.btn.success,.btn.success:hover{color:#f9f9f9}.alert-message .close,.btn .close{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;line-height:18px}.alert-message.danger,.alert-message.error,.btn.danger,.btn.error{background:linear-gradient(to bottom,#a63429,#a64b42) repeat-x;text-shadow:0 -1px 0 rgba(14,21,28,.25);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25)}.alert-message.success,.btn.success{background:linear-gradient(to bottom,#78a629,#81a642) repeat-x;text-shadow:0 -1px 0 rgba(14,21,28,.25);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25)}.alert-message.info,.btn.info{background:linear-gradient(to bottom,#2960a5,#426fa6) repeat-x;text-shadow:0 -1px 0 rgba(14,21,28,.25);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25)}.alert-message.notice{background:linear-gradient(to bottom,#918e8c,#b8b5b2) repeat-x;text-shadow:0 -1px 0 rgba(14,21,28,.25);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25)}.btn,.cbi-button{cursor:pointer;display:inline-block;background:linear-gradient(to bottom,#918e8c,#b8b5b2) no-repeat;padding:6px 14px 6px;text-shadow:0 -1px 0 rgba(14,21,28,.25);color:#f9f9f9;font-size:13px;line-height:normal;border:1px solid #918e8c;border-radius:4px;box-shadow:inset 0 1px 0 rgba(249,249,249,.25),0 1px 2px rgba(14,21,28,.05)}.btn:focus,.cbi-button:focus{outline:0}.cbi-input-invalid,.cbi-value-error input{color:#a63429!important;border-color:#a63429!important}.cbi-button-add,.cbi-button-fieldadd,.cbi-button-positive,.cbi-button-save{border-color:#78a629;background:linear-gradient(to bottom,#78a629,#81a642) no-repeat;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.cbi-button-add:hover,.cbi-button-fieldadd:hover,.cbi-button-positive:hover,.cbi-button-save:hover{border-color:#81a642;box-shadow:inset 0 1px 3px rgba(14,21,28,.1),0 0 8px rgba(126,166,66,.6)}.cbi-button-down,.cbi-button-download,.cbi-button-find,.cbi-button-link,.cbi-button-neutral,.cbi-button-up{border-color:#918e8c;background:linear-gradient(to bottom,#918e8c,#b8b5b2) no-repeat;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.cbi-button-down:hover,.cbi-button-download:hover,.cbi-button-find:hover,.cbi-button-link:hover,.cbi-button-neutral:hover,.cbi-button-up:hover{border-color:#b8b5b2;box-shadow:inset 0 1px 3px rgba(14,21,28,.1),0 0 8px rgba(184,181,178,.6)}.btn.primary,.cbi-button-action,.cbi-button-apply,.cbi-button-edit,.cbi-button-reload{border-color:#2960a5;background:linear-gradient(to bottom,#2960a5,#426fa6) no-repeat;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.btn.primary:hover,.cbi-button-action:hover,.cbi-button-apply:hover,.cbi-button-edit:hover,.cbi-button-reload:hover{border-color:#426fa6;box-shadow:inset 0 1px 3px rgba(14,21,28,.1),0 0 8px rgba(66,111,166,.6)}.cbi-button-negative,.cbi-button-remove,.cbi-button-reset,.cbi-section-remove .cbi-button{border-color:#a63429;background:linear-gradient(to bottom,#a63429,#a64b42) no-repeat;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.cbi-button-negative:hover,.cbi-button-remove:hover,.cbi-button-reset:hover,.cbi-section-remove .cbi-button:hover{border-color:#a64b42;box-shadow:inset 0 1px 3px rgba(14,21,28,.1),0 0 8px rgba(166,75,66,.6)}.cbi-page-actions::after{display:table;content:"";clear:both}.cbi-page-actions>:not([method=post]):not(.cbi-button-apply):not(.cbi-button-save):not(.cbi-button-reset){float:left;margin-right:.4em}.btn.primary,.cbi-button-action.important,.cbi-page-actions .cbi-button-apply,.cbi-section-actions .cbi-button-edit{color:#f9f9f9;background:linear-gradient(to bottom,#2960a5,#426fa6) no-repeat;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.cbi-button-positive.important,.cbi-page-actions .cbi-button-save{color:#f9f9f9;background:linear-gradient(to bottom,#78a629,#81a642) no-repeat;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.cbi-button-negative.important,.cbi-page-actions .cbi-button-reset{color:#f9f9f9;background:linear-gradient(to bottom,#a63429,#a64b42) no-repeat;text-shadow:0 -1px 0 rgba(14,21,28,.25)}.cbi-dropdown{border:1px solid #4d4d4d;border-radius:3px;display:inline-flex;padding:0;cursor:pointer;height:auto;background-color:#2b2b2b;position:relative;color:#ccc}.cbi-dropdown>ul{margin:0!important;padding:0;list-style:none;overflow-x:hidden;overflow-y:auto;display:flex;width:100%}.cbi-dropdown>ul.preview{display:none}.cbi-dropdown>.more,.cbi-dropdown>.open{flex-grow:0;flex-shrink:0;display:flex;flex-direction:column;justify-content:center;text-align:center;line-height:2em;padding:0 4.5px}.cbi-dropdown:focus,.cbi-dropdown>.open:focus,.cbi-dropdown>ul:focus,.cbi-dropdown>ul>li:focus{outline:0}.cbi-dropdown>.more,.cbi-dropdown>ul>li[placeholder]{color:grey;font-weight:500;text-shadow:0 -1px 0 rgba(14,21,28,.25);display:none}.cbi-dropdown>ul>li{display:none;padding:.25em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:1;flex-grow:1;align-items:center;align-self:center;color:#ccc;min-height:20px}.cbi-dropdown>ul>li .hide-open{display:block;display:initial}.cbi-dropdown>ul>li .hide-close{display:none}.cbi-dropdown>ul>li[display]:not([display="0"]){border-left:1px solid #4d4d4d}.cbi-dropdown[empty]>ul{max-width:1px}.cbi-dropdown>ul>li>form{display:none;margin:0;padding:0;pointer-events:none}.cbi-dropdown>ul>li img{vertical-align:middle;margin-right:.25em}.cbi-dropdown>ul>li>form>input[type=checkbox]{margin:0}.cbi-dropdown>ul>li input[type=text]{height:20px}.cbi-dropdown[open]{position:relative}.cbi-dropdown[open]>ul.dropdown{display:block;background:#2b2b2b;border:1px solid #4d4d4d;box-shadow:0 2px 4px rgba(14,21,28,.25);position:absolute;z-index:1000;max-width:none;min-width:100%;width:auto}.cbi-dropdown>ul>li[display],.cbi-dropdown[multiple]>ul>li>label,.cbi-dropdown[multiple][empty]>.more,.cbi-dropdown[multiple][more]>.more,.cbi-dropdown[multiple][open]>ul.dropdown>li,.cbi-dropdown[open]>ul.dropdown>li,.cbi-dropdown[open]>ul.preview{flex-grow:1;display:flex}.cbi-dropdown[multiple]>ul>li>label{margin-left:5px}.cbi-dropdown[empty]>ul>li,.cbi-dropdown[multiple][open]>ul.dropdown>li>form,.cbi-dropdown[optional][open]>ul.dropdown>li[placeholder]{display:block}.cbi-dropdown[open]>ul.dropdown>li .hide-open{display:none}.cbi-dropdown[open]>ul.dropdown>li .hide-close{display:block;display:initial}.cbi-dropdown[open]>ul.dropdown>li{border-bottom:1px solid #4d4d4d}.cbi-dropdown[open]>ul.dropdown>li.focus,.cbi-dropdown[open]>ul.dropdown>li[selected]{background-color:#404040}.cbi-dropdown[open]>ul.dropdown>li:last-child{margin-bottom:0;border-bottom:none}.cbi-dropdown[disabled]{pointer-events:none;opacity:.6}input[type=text]+.cbi-button,input[type=password]+.cbi-button,select+.cbi-button{border-radius:0 3px 3px 0;border-color:#4d4d4d;margin:0 0 1px -2px;padding:0 6px;vertical-align:top;height:28px;font-size:13px;line-height:26px}select+.cbi-button{border-left-color:transparent;margin:0 0 1px -5px;padding:0 14px}.cbi-title-ref{color:#426fa6}.cbi-title-ref::after{content:"➙"}.cbi-tooltip-container{cursor:help}.cbi-tooltip{position:absolute;z-index:1000;left:-1000px;opacity:0;transition:opacity .25s ease-out}.cbi-tooltip-container:hover .cbi-tooltip:not(:empty){left:auto;opacity:1;transition:opacity .25s ease-in}.zonebadge .cbi-tooltip{padding:1px;background:inherit;margin:-1.6em 0 0 -5px;border-radius:3px;pointer-events:none;box-shadow:0 0 3px #404040}.zonebadge .cbi-tooltip>*{margin:1px}.zone-forwards{display:flex;flex-wrap:wrap}.zone-forwards>*{flex:1 1 40%;padding:1px}.zone-forwards>span{flex-basis:10%;text-align:center}.zone-forwards .zone-dest,.zone-forwards .zone-src{display:flex;flex-direction:column}.btn.active,.btn:active{box-shadow:inset 0 2px 4px rgba(14,21,28,.25),0 1px 2px rgba(14,21,28,.05)}.btn.disabled{cursor:default;background-image:none;opacity:.65;box-shadow:none}.btn[disabled]{cursor:default;background-image:none;opacity:.65;box-shadow:none}.btn.large{font-size:15px;line-height:normal;padding:9px 14px 9px;border-radius:6px}.btn.small{padding:7px 9px 7px;font-size:11px}button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0}.close{float:right;color:#ccc;font-size:20px;font-weight:500;line-height:13.5px;text-shadow:0 -1px 0 rgba(14,21,28,.25);opacity:.25}.close:hover{color:#ccc;text-decoration:none;opacity:.4}.alert-message{position:relative;padding:7px 15px;margin-bottom:18px;color:#f9f9f9;background:linear-gradient(to bottom,#bf7c30,#bf8a4c) repeat-x;text-shadow:0 -1px 0 rgba(14,21,28,.25);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);border-width:1px;border-style:solid;border-radius:4px;box-shadow:inset 0 1px 0 rgba(249,249,249,.25)}.alert-message .close{margin-top:1px}.alert-message a{font-weight:500;color:#ccc}.alert-message.danger p a,.alert-message.error p a,.alert-message.info p a,.alert-message.success p a{color:#ccc}.alert-message h5{line-height:18px}.alert-message p{margin-bottom:0}.alert-message div{margin-top:5px;margin-bottom:2px;line-height:28px}.label{padding:1px 3px 2px;font-size:9.75px;font-weight:500;color:#f9f9f9!important;text-transform:uppercase;white-space:nowrap;background-color:#2b2b2b;border-radius:3px;text-shadow:none}a.label:link,a.label:visited{color:#f9f9f9}a.label:hover{text-decoration:none}.label.important{background-color:#a64b42}.label.warning{background-color:#bf8a4c}.label.success{background-color:#81a642}.label.notice{background-color:#426fa6}.hidden{display:none}#conns>div,#membuff>div,#memcache>div,#memfree>div,#memtotal>div{border:1px solid #4d4d4d!important;border-radius:3px!important;color:#ccc!important;display:inline-block;font-size:13px;line-height:16px}#conns>div>div,#membuff>div>div,#memcache>div>div,#memfree>div>div,#memtotal>div>div{border-radius:2px!important;background-color:#426fa6!important}#conns>div>div>div>small,#membuff>div>div>div>small,#memcache>div>div>div>small,#memfree>div>div>div>small,#memtotal>div>div>div>small{color:#ccc}#xhr_poll_status{cursor:pointer}form.inline{display:inline;margin-bottom:0}header .pull-right{padding-top:10px}#modemenu li:last-child span.divider{display:none}#syslog{width:100%}#bwsvg,#iwsvg,#iwsvg2{background-color:transparent!important;border:1px solid #4d4d4d!important;border-radius:3px}.cbi-section-table .tr.cbi-section-table-descr .th{font-weight:400}.cbi-section-table-descr.named::before,.cbi-section-table-row[data-title]::before,.cbi-section-table-titles.named::before{content:attr(data-title) " ";display:table-cell;padding:10px 10px 9px;line-height:18px;font-weight:500;vertical-align:middle}.cbi-section-table-descr.named::before,.cbi-section-table-row[data-title]::before,.cbi-section-table-titles.named::before{border-top:1px solid #4d4d4d}.left{text-align:left!important}.right{text-align:right!important}.center{text-align:center!important}.top{vertical-align:top!important}.middle{vertical-align:middle!important}.bottom{vertical-align:bottom!important}.cbi-value-field{line-height:1.5em}.cbi-value-field input[type=checkbox],.cbi-value-field input[type=radio]{margin-top:8px;margin-right:2px}.cbi-value-field label+label input[type=checkbox],.cbi-value-field label+label input[type=radio]{margin-left:6px;margin-right:2px}.cbi-value-field table td,table table td{border:none}.table.cbi-section-table input[type=text],.table.cbi-section-table input[type=password],.table.cbi-section-table select,.table.cbi-section-table textarea{width:100%}.table.cbi-section-table .td.cbi-section-table-cell{white-space:nowrap;text-align:right}.table.cbi-section-table .td.cbi-section-table-cell select{width:inherit}.td.cbi-section-actions{text-align:right;vertical-align:middle}.td.cbi-section-actions>*{display:flex}.td.cbi-section-actions>*>*,.td.cbi-section-actions>*>form>*{flex:1 1 4em;margin:0 1px}.td.cbi-section-actions>*>form{display:inline-flex;margin:0}.table.valign-middle .td{vertical-align:middle}.cbi-rowstyle-2,.tr.cbi-section-table-titles,.tr.table-titles{background:#2b2b2b}.cbi-value-description{background-image:url(/luci-static/resources/cbi/help.gif);background-position:.25em .2em;background-repeat:no-repeat;margin:.25em 0 0 0;padding:0 0 0 1.7em}.cbi-value-description>code{background-color:inherit;color:inherit}.cbi-section-error{border:1px solid #a63429;border-radius:3px;background-color:#a64b42;padding:5px;margin-bottom:18px}.cbi-section-error ul{margin:0 0 0 20px}.cbi-section-error ul li{color:#a63429;font-weight:500}#cbi-wireless .cbi-tabcontainer .cbi-value .cbi-value-field>label>select{margin-top:3px}.ifacebox{background-color:#1a1a1a;border:1px solid #4d4d4d;margin:0 10px;text-align:center;white-space:nowrap;background-image:linear-gradient(#1a1a1a,#1a1a1a 25%,#2b2b2b);text-shadow:0 1px 1px rgba(14,21,28,.25);border-radius:4px;box-shadow:inset 0 1px 0 rgba(14,21,28,.25),0 1px 2px rgba(14,21,28,.05);display:inline-flex;flex-direction:column;line-height:1.2em;min-width:100px}.ifacebox .ifacebox-head{background:#2b2b2b;border-bottom:1px solid #4d4d4d;border-radius:2px 2px 0 0;color:#404040;padding:2px;text-shadow:0 1px 1px rgba(249,249,249,.25)}.network-status-table .ifacebox .ifacebox-head{color:#ccc;text-shadow:0 1px 1px rgba(14,21,28,.25)}.ifacebox .ifacebox-head.active{background:#426fa6}.ifacebox .ifacebox-body{padding:.25em}.ifacebadge{display:inline-block;flex-direction:row;white-space:nowrap;background-color:#1a1a1a;border:1px solid #4d4d4d;padding:2px 3px 1px 3px;background-image:linear-gradient(#1a1a1a,#1a1a1a 25%,#2b2b2b);text-shadow:0 1px 1px rgba(14,21,28,.25);border-radius:4px;box-shadow:inset 0 1px 0 rgba(14,21,28,.25),0 1px 2px rgba(14,21,28,.05);cursor:default;line-height:1.25em}.ifacebadge img{width:16px;height:16px;vertical-align:text-bottom}.ifacebadge-active{border-color:#4d4d4d;font-weight:500}.network-status-table{display:flex;flex-wrap:wrap}.network-status-table .ifacebox{margin:.5em;flex-grow:1}.network-status-table .ifacebox-body{display:flex;flex-direction:column;height:100%;text-align:left}.network-status-table .ifacebox-body>*{margin:.25em}.network-status-table .ifacebox-body>span{flex:10 10 auto}.network-status-table .ifacebox-body>div{display:flex;flex-wrap:wrap;margin:-.125em}#dsl_status_table .ifacebox-body>span>strong{display:inline-block;min-width:35%}.ifacebadge.large,.network-status-table .ifacebox-body .ifacebadge{display:inline-flex;flex:1;padding:.25em;min-width:220px;margin:.125em}.ifacebadge.large>*,.ifacebadge>*{margin:0 .125em}.zonebadge{padding:2px;border-radius:4px;display:inline-block;white-space:nowrap;color:#ccc}.zonebadge>em,.zonebadge>strong{margin:0 2px;display:inline-block}.zonebadge>strong{color:#404040}.zonebadge input{width:6em}.zonebadge>.ifacebadge{margin-left:2px}.zonebadge-empty{border:1px dashed #ccc;color:#ccc;font-style:italic;font-size:smaller}.zonebadge-empty>strong{color:#ccc}.td.cbi-value-field var,div.cbi-value var{font-style:italic;color:#2960a5}.uci-change-list{font-family:monospace}.uci-change-legend-label ins,.uci-change-list ins{text-decoration:none;border-radius:3px;background-color:#81a642;color:#404040;display:block;padding:2px}.uci-change-legend-label del,.uci-change-list del{text-decoration:none;border-radius:3px;background-color:#a64b42;color:#404040;display:block;font-style:normal;padding:2px}.uci-change-legend-label var,.uci-change-list var{text-decoration:none;border-radius:3px;background-color:#b8b5b2;color:#404040;display:block;font-style:normal;padding:2px;line-height:19px;white-space:pre}.uci-change-list var del,.uci-change-list var ins{display:inline;white-space:pre;font-style:normal;margin-left:-2px;padding:0 2px}.uci-change-list del,.uci-change-list ins,.uci-change-list var{padding:2px 6px}.uci-change-legend{padding:5px}.uci-change-legend-label{width:150px;float:left}.uci-change-legend-label>del,.uci-change-legend-label>ins,.uci-change-legend-label>var{float:left;border-radius:3px!important;margin-right:4px;width:10px;height:10px;display:block}.uci-change-legend-label var del,.uci-change-legend-label var ins{line-height:6px;border:none}html body.apply-overlay-active{height:calc(100vh - 63px)}#applyreboot-section{line-height:300%} \ No newline at end of file diff --git a/themes/luci-theme-nightstrap/htdocs/luci-static/nightstrap/favicon.ico b/themes/luci-theme-nightstrap/htdocs/luci-static/nightstrap/favicon.ico deleted file mode 100644 index 77a138ba..00000000 Binary files a/themes/luci-theme-nightstrap/htdocs/luci-static/nightstrap/favicon.ico and /dev/null differ diff --git a/themes/luci-theme-nightstrap/htdocs/luci-static/nightstrap/mobile.css b/themes/luci-theme-nightstrap/htdocs/luci-static/nightstrap/mobile.css deleted file mode 100644 index 132f1353..00000000 --- a/themes/luci-theme-nightstrap/htdocs/luci-static/nightstrap/mobile.css +++ /dev/null @@ -1 +0,0 @@ -header .brand,header h3 a{display:none!important}@media screen and (max-device-width:600px){#maincontent.container{margin-top:30px}}@media screen and (max-device-width:360px){#maincontent.container{margin-top:60px}}@media screen and (max-device-width:200px){#maincontent.container{margin-top:230px}} \ No newline at end of file diff --git a/themes/luci-theme-nightstrap/luasrc/view/themes/nightstrap/footer.htm b/themes/luci-theme-nightstrap/luasrc/view/themes/nightstrap/footer.htm deleted file mode 100644 index e0a41e1b..00000000 --- a/themes/luci-theme-nightstrap/luasrc/view/themes/nightstrap/footer.htm +++ /dev/null @@ -1,30 +0,0 @@ -<%# - Copyright 2008 Steven Barth - Copyright 2008 Jo-Philipp Wich - Copyright 2012 David Menting - Licensed to the public under the Apache License 2.0. --%> - -<% - local ver = require "luci.version" - local disp = require "luci.dispatcher" - local request = disp.context.path - local category = request[1] - local tree = disp.node() - local categories = disp.node_childs(tree) -%> - - - - - - diff --git a/themes/luci-theme-nightstrap/luasrc/view/themes/nightstrap/header.htm b/themes/luci-theme-nightstrap/luasrc/view/themes/nightstrap/header.htm deleted file mode 100644 index 6ad32efb..00000000 --- a/themes/luci-theme-nightstrap/luasrc/view/themes/nightstrap/header.htm +++ /dev/null @@ -1,210 +0,0 @@ -<%# - Copyright 2008 Steven Barth - Copyright 2008-2016 Jo-Philipp Wich - Copyright 2012 David Menting - Licensed to the public under the Apache License 2.0. --%> - -<% - local sys = require "luci.sys" - local util = require "luci.util" - local http = require "luci.http" - local disp = require "luci.dispatcher" - - local boardinfo = util.ubus("system", "board") - - local request = disp.context.path - local request2 = disp.context.request - - local category = request[1] - local cattree = category and disp.node(category) - - local leaf = request2[#request2] - - local tree = disp.node() - local node = disp.context.dispatched - - local categories = disp.node_childs(tree) - - local c = tree - local i, r - - -- tag all nodes leading to this page - for i, r in ipairs(request) do - if c.nodes and c.nodes[r] then - c = c.nodes[r] - c._menu_selected = true - end - end - - -- send as HTML5 - http.prepare_content("text/html") - - local function nodeurl(prefix, name, query) - local u = url(prefix, name) - if query then - u = u .. http.build_querystring(query) - end - return pcdata(u) - end - - local function render_tabmenu(prefix, node, level) - if not level then - level = 1 - end - - local childs = disp.node_childs(node) - if #childs > 0 then - if level > 2 then - write('
    ') - end - - local selected_node - local selected_name - local i, v - - for i, v in ipairs(childs) do - local nnode = node.nodes[v] - if nnode._menu_selected then - selected_node = nnode - selected_name = v - end - - if level > 2 then - write('
  • %s
  • ' %{ - v, (nnode._menu_selected or (node.leaf and v == leaf)) and 'active' or '', - nodeurl(prefix, v, nnode.query), - striptags(translate(nnode.title)) - }) - end - end - - if level > 2 then - write('
') - end - - if selected_node then - render_tabmenu(prefix .. "/" .. selected_name, selected_node, level + 1) - end - end - end - - local function render_submenu(prefix, node) - local childs = disp.node_childs(node) - if #childs > 0 then - write('') - end - end - - local function render_topmenu() - local childs = disp.node_childs(cattree) - if #childs > 0 then - write('') - end - end - - local function render_changes() - -- calculate the number of unsaved changes - if tree.nodes[category] and tree.nodes[category].ucidata then - local ucichanges = 0 - - for i, j in pairs(require("luci.model.uci").cursor():changes()) do - for k, l in pairs(j) do - for m, n in pairs(l) do - ucichanges = ucichanges + 1; - end - end - end - - if ucichanges > 0 then - write('%s: %d' %{ - url(category, 'uci/changes'), - http.urlencode(http.formvalue('redir') or table.concat(disp.context.request, "/")), - translate('Unsaved Changes'), - ucichanges - }) - end - end - end --%> - - - - - <%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI - - - - - <% if node and node.css then %> - - <% end -%> - <% if css then %> - - <% end -%> - - - - - -
-
-
- <%=boardinfo.hostname or "?"%> - <% render_topmenu() %> -
- <% render_changes() %> - -
-
-
-
- -
- <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%> -
-

<%:No password set!%>

-

<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>

- -
- <%- end -%> - - - - <% if category then render_tabmenu(category, cattree) end %> diff --git a/themes/luci-theme-nightstrap/root/etc/uci-defaults/30_luci-theme-nightstrap b/themes/luci-theme-nightstrap/root/etc/uci-defaults/30_luci-theme-nightstrap deleted file mode 100644 index f2b11db1..00000000 --- a/themes/luci-theme-nightstrap/root/etc/uci-defaults/30_luci-theme-nightstrap +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -uci batch <<-EOF - set luci.themes.Bootstrap=/luci-static/nightstrap - set luci.main.mediaurlbase=/luci-static/nightstrap - commit luci -EOF -exit 0