├── .gitignore ├── .travis.yml ├── README.md ├── composer.json ├── phpunit.xml ├── public ├── .gitkeep └── menu │ ├── images │ └── spinner.gif │ ├── menu.js │ ├── scripts.js │ ├── scripts2.js │ └── style.css ├── src ├── Garcia │ └── Wmenu │ │ └── WmenuServiceProvider.php ├── config │ └── .gitkeep ├── controllers │ ├── .gitkeep │ ├── BaseController.php │ └── WmenuContoller.php ├── lang │ └── .gitkeep ├── migrations │ ├── .gitkeep │ └── 2015_02_23_145941_create_menuitems_table.php ├── models │ ├── Menu.php │ └── MenuItem.php ├── routes.php └── views │ ├── .gitkeep │ └── wmenuindex.blade.php └── tests └── .gitkeep /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | composer.phar 3 | composer.lock 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.4 5 | - 5.5 6 | - 5.6 7 | - hhvm 8 | 9 | before_script: 10 | - travis_retry composer self-update 11 | - travis_retry composer install --prefer-source --no-interaction --dev 12 | 13 | script: phpunit 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # wmenu 2 | laravel package menu like wordpress 3 | 4 | This is a menu that has the functionality of wordpress, and ease of creating editing and selection, some css and javascripts property was used wordpress. 5 | 6 | It has a nestable menu and sortable. 7 | 8 | This project has two versions of menu creator 9 | 10 | domain.com/menuw 11 | ``` 12 | "require": { 13 | "laravel/framework": "4.2.*", 14 | "garcia/wmenu": "dev-master" 15 | } 16 | 17 | ``` 18 | 19 | 20 | ``` 21 | 'providers' => array( 22 | 'Garcia\Wmenu\WmenuServiceProvider', 23 | ), 24 | 25 | ``` 26 | php artisan asset:publish garcia/wmenu 27 | 28 | ``` 29 | CREATE TABLE `menus` ( 30 | `id` int(11) NOT NULL, 31 | `name` varchar(255) NOT NULL, 32 | `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, 33 | `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' 34 | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; 35 | 36 | CREATE TABLE `menu_items` ( 37 | `id` int(11) NOT NULL, 38 | `label` varchar(255) NOT NULL, 39 | `link` varchar(255) NOT NULL, 40 | `parent` varchar(255) NOT NULL DEFAULT '0', 41 | `sort` int(255) NOT NULL, 42 | `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, 43 | `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', 44 | `class` varchar(50) DEFAULT NULL, 45 | `menu` int(11) DEFAULT '1', 46 | `depth` int(11) NOT NULL DEFAULT '0' 47 | ) ENGINE=InnoDB AUTO_INCREMENT=280 DEFAULT CHARSET=latin1; 48 | 49 | ``` 50 | 51 | ![ScreenShot](http://oi59.tinypic.com/m935vp.jpg) 52 | ![ScreenShot](http://oi61.tinypic.com/4g2bli.jpg) 53 | ![ScreenShot](http://oi62.tinypic.com/28bb6eq.jpg) 54 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "garcia/wmenu", 3 | "description": "", 4 | "keywords": ["menu", "wordpress menu", "wordpress", "laravel", "cms","wmenu"], 5 | 6 | "authors": [ 7 | { 8 | "name": "Cristian Garcia", 9 | "email": "informacion@cristiangarcia.co" 10 | } 11 | ], 12 | "require": { 13 | "php": ">=5.4.0", 14 | "illuminate/support": "4.2.*" 15 | }, 16 | "autoload": { 17 | "classmap": [ 18 | "src/migrations", 19 | "src/models", 20 | "src/controllers" 21 | 22 | ], 23 | "psr-0": { 24 | "Garcia\\Wmenu\\": "src/" 25 | } 26 | }, 27 | "minimum-stability": "stable" 28 | } 29 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 15 | ./tests/ 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /public/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lordmacu/wmenu/65f1863b3cf9059e4ce55392f4c9047c41cd5742/public/.gitkeep -------------------------------------------------------------------------------- /public/menu/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lordmacu/wmenu/65f1863b3cf9059e4ce55392f4c9047c41cd5742/public/menu/images/spinner.gif -------------------------------------------------------------------------------- /public/menu/menu.js: -------------------------------------------------------------------------------- 1 | var arraydata = []; 2 | function getmenus() { 3 | $("#spinsavemenu").show() 4 | 5 | var cont = 0; 6 | $("#menu-to-edit li").each(function(index) { 7 | var dept = 0; 8 | for (var i = 0; i < $("#menu-to-edit li").length; i++) { 9 | 10 | var n = $(this).attr("class").indexOf("menu-item-depth-" + i); 11 | if (n != -1) { 12 | dept = i; 13 | } 14 | }; 15 | var textoiner = $(this).find(".item-edit").context.outerText; 16 | var id = this.id.split("-"); 17 | var textoexplotado = textoiner.split("|"); 18 | var padre = 0; 19 | if (!!textoexplotado[textoexplotado.length-2] && textoexplotado[textoexplotado.length-2]!= id[2]) { 20 | padre = textoexplotado[textoexplotado.length-2] 21 | } 22 | arraydata.push({ 23 | depth : dept, 24 | id : id[2], 25 | parent : padre, 26 | sort : cont 27 | }) 28 | cont++; 29 | }); 30 | actualizarmenu(); 31 | } 32 | 33 | function addcustommenu() { 34 | $("#spincustomu").show(); 35 | 36 | $.ajax({ 37 | data : { 38 | labelmenu : $("#custom-menu-item-name").val(), 39 | linkmenu : $("#custom-menu-item-url").val(), 40 | idmenu : $("#idmenu").val() 41 | }, 42 | 43 | url : addcustommenur, 44 | type : 'POST', 45 | success : function(response) { 46 | $("#spincustomu").hide(); 47 | window.location = ""; 48 | 49 | } 50 | }); 51 | } 52 | 53 | function updateitem(id) { 54 | 55 | var label = $("#idlabelmenu_" + id).val() 56 | var clases = $("#clases_menu_" + id).val() 57 | var url = $("#url_menu_" + id).val() 58 | $.ajax({ 59 | data : { 60 | label : label, 61 | clases : clases, 62 | url : url, 63 | id : id 64 | }, 65 | 66 | url :updateitemr, 67 | type : 'POST', 68 | success : function(response) { 69 | 70 | $("#menutitletemp_" + id).val(label) 71 | 72 | console.log("aqu llega") 73 | //$("#spinsavemenu").hide(); 74 | } 75 | }); 76 | } 77 | 78 | function actualizarmenu() { 79 | 80 | $.ajax({ 81 | dataType : "json", 82 | data : { 83 | arraydata : arraydata, 84 | menuname : $("#menu-name").val(), 85 | idmenu : $("#idmenu").val() 86 | }, 87 | 88 | url : generatemenucontrolr, 89 | type : 'POST', 90 | success : function(response) { 91 | 92 | console.log("aqu llega") 93 | $("#spinsavemenu").hide(); 94 | } 95 | }); 96 | } 97 | 98 | function deleteitem(id) { 99 | $.ajax({ 100 | dataType : "json", 101 | data : { 102 | 103 | id : id 104 | }, 105 | 106 | url :deleteitemmenur, 107 | type : 'POST', 108 | success : function(response) { 109 | 110 | } 111 | }); 112 | } 113 | 114 | function deletemenu() { 115 | 116 | var r = confirm("Do you want to delete this menu ?"); 117 | if (r == true) { 118 | $.ajax({ 119 | dataType : "json", 120 | 121 | data : { 122 | 123 | id : $("#idmenu").val() 124 | }, 125 | 126 | url : deletemenugr, 127 | type : 'POST', 128 | success : function(response) { 129 | 130 | if (!!response.error) { 131 | alert(response.resp) 132 | } 133 | 134 | } 135 | }); 136 | 137 | } else { 138 | return false; 139 | } 140 | 141 | } 142 | 143 | function createnewmenu() { 144 | 145 | if (!!$("#menu-name").val()) { 146 | $.ajax({ 147 | dataType : "json", 148 | 149 | data : { 150 | menuname : $("#menu-name").val(), 151 | }, 152 | 153 | url :createnewmenur, 154 | type : 'POST', 155 | success : function(response) { 156 | 157 | window.location = menuwr+"?menu=" + response.resp 158 | 159 | } 160 | }); 161 | } else { 162 | alert("Enter menu name!") 163 | $("#menu-name").focus(); 164 | return false; 165 | } 166 | 167 | } 168 | -------------------------------------------------------------------------------- /public/menu/scripts2.js: -------------------------------------------------------------------------------- 1 | !function(a){a.fn.hoverIntent=function(b,c,d){var e={interval:100,sensitivity:7,timeout:0};e="object"==typeof b?a.extend(e,b):a.isFunction(c)?a.extend(e,{over:b,out:c,selector:d}):a.extend(e,{over:b,out:b,selector:c});var f,g,h,i,j=function(a){f=a.pageX,g=a.pageY},k=function(b,c){return c.hoverIntent_t=clearTimeout(c.hoverIntent_t),Math.abs(h-f)+Math.abs(i-g)e&&(d=b-e),d>h&&(d=h),d>1?i.css("margin-top","-"+d+"px"):i.css("margin-top","")}function d(a){var b=w.scrollTop(),c=!a||"scroll"!==a.type;if(!(s||u||A.data("wp-responsive"))){if(M.menu+M.adminbarM.wpwrap)return void f();if(L=!0,M.menu+M.adminbar>M.window){if(0>b)return void(I||(I=!0,J=!1,y.css({position:"fixed",top:"",bottom:""})));if(b+M.window>v.height()-1)return void(J||(J=!0,I=!1,y.css({position:"fixed",top:"",bottom:0})));b>H?I?(I=!1,K=y.offset().top-M.adminbar-(b-H),K+M.menu+M.adminbarb?J?(J=!1,K=y.offset().top-M.adminbar+(H-b),K+M.menu>b+M.window&&(K=b),y.css({position:"absolute",top:K,bottom:""})):!I&&y.offset().top>=b+M.adminbar&&(I=!0,y.css({position:"fixed",top:"",bottom:""})):c&&(I=J=!1,K=b+M.window-M.menu-M.adminbar-1,K>0?y.css({position:"absolute",top:K,bottom:""}):f())}H=b}}function e(){M={window:w.height(),wpwrap:z.height(),adminbar:G.height(),menu:y.height()}}function f(){!s&&L&&(I=J=L=!1,y.css({position:"",top:"",bottom:""}))}function g(){e(),A.data("wp-responsive")?(x.removeClass("sticky-menu"),f()):M.menu+M.adminbar>M.window?(d(),x.removeClass("sticky-menu")):(x.addClass("sticky-menu"),f())}var h,i,j,k,l,m,n,o,p=!1,q=a("input.current-page"),r=q.val(),s=/iPhone|iPad|iPod/.test(navigator.userAgent),t=-1!==navigator.userAgent.indexOf("Android"),u=a(document.documentElement).hasClass("ie8"),v=a(document),w=a(b),x=a(document.body),y=a("#adminmenuwrap"),z=a("#wpwrap"),A=a("#adminmenu"),B=a("#wp-responsive-overlay"),C=a("#wp-toolbar"),D=C.find('a[aria-haspopup="true"]'),E=a(".meta-box-sortables"),F=!1,G=a("#wpadminbar"),H=0,I=!1,J=!1,K=0,L=!1,M={window:w.height(),wpwrap:z.height(),adminbar:G.height(),menu:y.height()};A.on("click.wp-submenu-head",".wp-submenu-head",function(b){a(b.target).parent().siblings("a").get(0).click()}),a("#collapse-menu").on("click.collapse-menu",function(){var c,d,e=a(document.body);a("#adminmenu div.wp-submenu").css("margin-top",""),c=b.innerWidth?Math.max(b.innerWidth,document.documentElement.clientWidth):961,c&&960>c?e.hasClass("auto-fold")?(e.removeClass("auto-fold").removeClass("folded"),setUserSetting("unfold",1),setUserSetting("mfold","o"),d="open"):(e.addClass("auto-fold"),setUserSetting("unfold",0),d="folded"):e.hasClass("folded")?(e.removeClass("folded"),setUserSetting("mfold","o"),d="open"):(e.addClass("folded"),setUserSetting("mfold","f"),d="folded"),a(document).trigger("wp-collapse-menu",{state:d})}),("ontouchstart"in b||/IEMobile\/[1-9]/.test(navigator.userAgent))&&(m=s?"touchstart":"click",a(document.body).on(m+".wp-mobile-hover",function(b){A.data("wp-responsive")||a(b.target).closest("#adminmenu").length||A.find("li.opensub").removeClass("opensub")}),A.find("a.wp-has-submenu").on(m+".wp-mobile-hover",function(b){var d=a(this).parent();A.data("wp-responsive")||d.hasClass("opensub")||d.hasClass("wp-menu-open")&&!(d.width()<40)||(b.preventDefault(),c(d),A.find("li.opensub").removeClass("opensub"),d.addClass("opensub"))})),s||t||(A.find("li.wp-has-submenu").hoverIntent({over:function(){var b=a(this),d=b.find(".wp-submenu"),e=parseInt(d.css("top"),10);isNaN(e)||e>-5||A.data("wp-responsive")||(c(b),A.find("li.opensub").removeClass("opensub"),b.addClass("opensub"))},out:function(){A.data("wp-responsive")||a(this).removeClass("opensub").find(".wp-submenu").css("margin-top","")},timeout:200,sensitivity:7,interval:90}),A.on("focus.adminmenu",".wp-submenu a",function(b){A.data("wp-responsive")||a(b.target).closest("li.menu-top").addClass("opensub")}).on("blur.adminmenu",".wp-submenu a",function(b){A.data("wp-responsive")||a(b.target).closest("li.menu-top").removeClass("opensub")}).find("li.wp-has-submenu.wp-not-current-submenu").on("focusin.adminmenu",function(){c(a(this))})),a("div.wrap h2:first").nextAll("div.updated, div.error").addClass("below-h2"),a("div.updated, div.error").not(".below-h2, .inline").insertAfter(a("div.wrap h2:first")),screenMeta.init(),a("tbody").children().children(".check-column").find(":checkbox").click(function(b){if("undefined"==b.shiftKey)return!0;if(b.shiftKey){if(!p)return!0;h=a(p).closest("form").find(":checkbox"),i=h.index(p),j=h.index(this),k=a(this).prop("checked"),i>0&&j>0&&i!=j&&(l=j>i?h.slice(i,j):h.slice(j,i),l.prop("checked",function(){return a(this).closest("tr").is(":visible")?k:!1}))}p=this;var c=a(this).closest("tbody").find(":checkbox").filter(":visible").not(":checked");return a(this).closest("table").children("thead, tfoot").find(":checkbox").prop("checked",function(){return 0===c.length}),!0}),a("thead, tfoot").find(".check-column :checkbox").on("click.wp-toggle-checkboxes",function(b){var c=a(this),d=c.closest("table"),e=c.prop("checked"),f=b.shiftKey||c.data("wp-toggle");d.children("tbody").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return a(this).is(":hidden")?!1:f?!a(this).prop("checked"):e?!0:!1}),d.children("thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",function(){return f?!1:e?!0:!1})}),a("td.post-title, td.title, td.comment, .bookmarks td.column-name, td.blogname, td.username, .dashboard-comment-wrap").focusin(function(){clearTimeout(n),o=a(this).find(".row-actions"),o.addClass("visible")}).focusout(function(){n=setTimeout(function(){o.removeClass("visible")},30)}),a("#default-password-nag-no").click(function(){return setUserSetting("default_password_nag","hide"),a("div.default-password-nag").hide(),!1}),a("#newcontent").bind("keydown.wpevent_InsertTab",function(b){var c,d,e,f,g,h=b.target;if(27==b.keyCode)return void a(h).data("tab-out",!0);if(!(9!=b.keyCode||b.ctrlKey||b.altKey||b.shiftKey)){if(a(h).data("tab-out"))return void a(h).data("tab-out",!1);c=h.selectionStart,d=h.selectionEnd,e=h.value;try{this.lastKey=9}catch(i){}document.selection?(h.focus(),g=document.selection.createRange(),g.text=" "):c>=0&&(f=this.scrollTop,h.value=e.substring(0,c).concat(" ",e.substring(d)),h.selectionStart=h.selectionEnd=c+1,this.scrollTop=f),b.stopPropagation&&b.stopPropagation(),b.preventDefault&&b.preventDefault()}}),a("#newcontent").bind("blur.wpevent_InsertTab",function(){this.lastKey&&9==this.lastKey&&this.focus()}),q.length&&q.closest("form").submit(function(){-1==a('select[name="action"]').val()&&-1==a('select[name="action2"]').val()&&q.val()==r&&q.val("1")}),a('.search-box input[type="search"], .search-box input[type="submit"]').mousedown(function(){a('select[name^="action"]').val("-1")}),a("#contextual-help-link, #show-settings-link").on("focus.scroll-into-view",function(a){a.target.scrollIntoView&&a.target.scrollIntoView(!1)}),function(){function b(){c.prop("disabled",""===d.map(function(){return a(this).val()}).get().join(""))}var c,d,e=a("form.wp-upload-form");e.length&&(c=e.find('input[type="submit"]'),d=e.find('input[type="file"]'),b(),d.on("change",b))}(),s||(w.on("scroll.pin-menu",d),v.on("tinymce-editor-init.pin-menu",function(a,b){b.on("wp-autoresize",e)})),b.wpResponsive={init:function(){var c=this;v.on("wp-responsive-activate.wp-responsive",function(){c.activate()}).on("wp-responsive-deactivate.wp-responsive",function(){c.deactivate()}),a("#wp-admin-bar-menu-toggle a").attr("aria-expanded","false"),a("#wp-admin-bar-menu-toggle").on("click.wp-responsive",function(b){b.preventDefault(),z.toggleClass("wp-responsive-open"),z.hasClass("wp-responsive-open")?(a(this).find("a").attr("aria-expanded","true"),a("#adminmenu a:first").focus()):a(this).find("a").attr("aria-expanded","false")}),A.on("click.wp-responsive","li.wp-has-submenu > a",function(b){A.data("wp-responsive")&&(a(this).parent("li").toggleClass("selected"),b.preventDefault())}),c.trigger(),v.on("wp-window-resized.wp-responsive",a.proxy(this.trigger,this)),w.on("load.wp-responsive",function(){var a=navigator.userAgent.indexOf("AppleWebKit/")>-1?w.width():b.innerWidth;782>=a&&c.disableSortables()})},activate:function(){g(),x.hasClass("auto-fold")||x.addClass("auto-fold"),A.data("wp-responsive",1),this.disableSortables()},deactivate:function(){g(),A.removeData("wp-responsive"),this.enableSortables()},trigger:function(){var a;b.innerWidth&&(a=Math.max(b.innerWidth,document.documentElement.clientWidth),782>=a?F||(v.trigger("wp-responsive-activate"),F=!0):F&&(v.trigger("wp-responsive-deactivate"),F=!1),480>=a?this.enableOverlay():this.disableOverlay())},enableOverlay:function(){0===B.length&&(B=a('
').insertAfter("#wpcontent").hide().on("click.wp-responsive",function(){C.find(".menupop.hover").removeClass("hover"),a(this).hide()})),D.on("click.wp-responsive",function(){B.show()})},disableOverlay:function(){D.off("click.wp-responsive"),B.hide()},disableSortables:function(){if(E.length)try{E.sortable("disable")}catch(a){}},enableSortables:function(){if(E.length)try{E.sortable("enable")}catch(a){}}},b.wpResponsive.init(),g(),v.on("wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu",g)}),function(){function c(){a(document).trigger("wp-window-resized")}function d(){b.clearTimeout(e),e=b.setTimeout(c,200)}var e;a(b).on("resize.wp-fire-once",d)}(),function(){if("-ms-user-select"in document.documentElement.style&&navigator.userAgent.match(/IEMobile\/10\.0/)){var a=document.createElement("style");a.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}")),document.getElementsByTagName("head")[0].appendChild(a)}}()}(jQuery,window); 3 | "undefined"!=typeof jQuery?("undefined"==typeof jQuery.fn.hoverIntent&&!function(a){a.fn.hoverIntent=function(b,c,d){var e={interval:100,sensitivity:7,timeout:0};e="object"==typeof b?a.extend(e,b):a.isFunction(c)?a.extend(e,{over:b,out:c,selector:d}):a.extend(e,{over:b,out:b,selector:c});var f,g,h,i,j=function(a){f=a.pageX,g=a.pageY},k=function(b,c){return c.hoverIntent_t=clearTimeout(c.hoverIntent_t),Math.abs(h-f)+Math.abs(i-g) .ab-item").bind("keydown.adminbar",function(c){if(13==c.which){var d=a(c.target),e=d.closest("ab-sub-wrapper");c.stopPropagation(),c.preventDefault(),e.length||(e=a("#wpadminbar .quicklinks")),e.find(".menupop").removeClass("hover"),d.parent().toggleClass("hover"),d.siblings(".ab-sub-wrapper").find(".ab-item").each(b)}}).each(b),a("#wpadminbar .ab-item").bind("keydown.adminbar",function(c){if(27==c.which){var d=a(c.target);c.stopPropagation(),c.preventDefault(),d.closest(".hover").removeClass("hover").children(".ab-item").focus(),d.siblings(".ab-sub-wrapper").find(".ab-item").each(b)}}),a("#wpadminbar").click(function(b){("wpadminbar"==b.target.id||"wp-admin-bar-top-secondary"==b.target.id)&&(b.preventDefault(),a("html, body").animate({scrollTop:0},"fast"))}),a(".screen-reader-shortcut").keydown(function(b){var c,d;13==b.which&&(c=a(this).attr("href"),d=navigator.userAgent.toLowerCase(),-1!=d.indexOf("applewebkit")&&c&&"#"==c.charAt(0)&&setTimeout(function(){a(c).focus()},100))}),"sessionStorage"in window&&a("#wp-admin-bar-logout a").click(function(){try{for(var a in sessionStorage)-1!=a.indexOf("wp-autosave-")&&sessionStorage.removeItem(a)}catch(b){}}),navigator.userAgent&&-1===document.body.className.indexOf("no-font-face")&&/Android (1.0|1.1|1.5|1.6|2.0|2.1)|Nokia|Opera Mini|w(eb)?OSBrowser|webOS|UCWEB|Windows Phone OS 7|XBLWP7|ZuneWP7|MSIE 7/.test(navigator.userAgent)&&(document.body.className+=" no-font-face")})):!function(a,b){var c,d=function(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,function(){return c.call(a,window.event)})},e=new RegExp("\\bhover\\b","g"),f=[],g=new RegExp("\\bselected\\b","g"),h=function(a){for(var b=f.length;b--;)if(f[b]&&a==f[b][1])return f[b][0];return!1},i=function(b){for(var d,i,j,k,l,m,n=[],o=0;b&&b!=c&&b!=a;)"LI"==b.nodeName.toUpperCase()&&(n[n.length]=b,i=h(b),i&&clearTimeout(i),b.className=b.className?b.className.replace(e,"")+" hover":"hover",k=b),b=b.parentNode;if(k&&k.parentNode&&(l=k.parentNode,l&&"UL"==l.nodeName.toUpperCase()))for(d=l.childNodes.length;d--;)m=l.childNodes[d],m!=k&&(m.className=m.className?m.className.replace(g,""):"");for(d=f.length;d--;){for(j=!1,o=n.length;o--;)n[o]==f[d][1]&&(j=!0);j||(f[d][1].className=f[d][1].className?f[d][1].className.replace(e,""):"")}},j=function(b){for(;b&&b!=c&&b!=a;)"LI"==b.nodeName.toUpperCase()&&!function(a){var b=setTimeout(function(){a.className=a.className?a.className.replace(e,""):""},500);f[f.length]=[b,a]}(b),b=b.parentNode},k=function(b){for(var d,e,f,h=b.target||b.srcElement;;){if(!h||h==a||h==c)return;if(h.id&&"wp-admin-bar-get-shortlink"==h.id)break;h=h.parentNode}for(b.preventDefault&&b.preventDefault(),b.returnValue=!1,-1==h.className.indexOf("selected")&&(h.className+=" selected"),d=0,e=h.childNodes.length;e>d;d++)if(f=h.childNodes[d],f.className&&-1!=f.className.indexOf("shortlink-input")){f.focus(),f.select(),f.onblur=function(){h.className=h.className?h.className.replace(g,""):""};break}return!1},l=function(a){var b,c,d,e,f,g;if(!("wpadminbar"!=a.id&&"wp-admin-bar-top-secondary"!=a.id||(b=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,1>b)))for(g=b>800?130:100,c=Math.min(12,Math.round(b/g)),d=Math.round(b>800?b/30:b/20),e=[],f=0;b;)b-=d,0>b&&(b=0),e.push(b),setTimeout(function(){window.scrollTo(0,e.shift())},f*c),f++};d(b,"load",function(){c=a.getElementById("wpadminbar"),a.body&&c&&(a.body.appendChild(c),c.className&&(c.className=c.className.replace(/nojs/,"")),d(c,"mouseover",function(a){i(a.target||a.srcElement)}),d(c,"mouseout",function(a){j(a.target||a.srcElement)}),d(c,"click",k),d(c,"click",function(a){l(a.target||a.srcElement)}),d(document.getElementById("wp-admin-bar-logout"),"click",function(){if("sessionStorage"in window)try{for(var a in sessionStorage)-1!=a.indexOf("wp-autosave-")&&sessionStorage.removeItem(a)}catch(b){}})),b.location.hash&&b.scrollBy(0,-32),navigator.userAgent&&-1===document.body.className.indexOf("no-font-face")&&/Android (1.0|1.1|1.5|1.6|2.0|2.1)|Nokia|Opera Mini|w(eb)?OSBrowser|webOS|UCWEB|Windows Phone OS 7|XBLWP7|ZuneWP7|MSIE 7/.test(navigator.userAgent)&&(document.body.className+=" no-font-face")})}(document,window); 4 | 5 | 6 | !function(a){function b(a){var b=a.closest(".accordion-section"),c=b.closest(".accordion-container").find(".open"),d=b.find(".accordion-section-content");b.hasClass("cannot-expand")||(b.hasClass("open")?(b.toggleClass("open"),d.toggle(!0).slideToggle(150)):(c.removeClass("open"),c.find(".accordion-section-content").show().slideUp(150),d.toggle(!1).slideToggle(150),b.toggleClass("open")))}a(document).ready(function(){a(".accordion-container").on("click keydown",".accordion-section-title",function(c){("keydown"!==c.type||13===c.which)&&(c.preventDefault(),b(a(this)))})})}(jQuery); 7 | -------------------------------------------------------------------------------- /public/menu/style.css: -------------------------------------------------------------------------------- 1 | #wpwrap { 2 | height: auto; 3 | min-height: 100%; 4 | width: 100%; 5 | position: relative; 6 | -webkit-font-smoothing: subpixel-antialiased; 7 | } 8 | #wpcontent { 9 | height: 100%; 10 | padding-left: 20px; 11 | } 12 | 13 | .folded #wpcontent, .folded #wpfooter { 14 | margin-left: 36px; 15 | } 16 | #wpbody-content { 17 | padding-bottom: 65px; 18 | float: left; 19 | width: 100%; 20 | overflow: visible!important; 21 | } 22 | .inner-sidebar { 23 | float: right; 24 | clear: right; 25 | display: none; 26 | width: 281px; 27 | position: relative; 28 | } 29 | .columns-2 .inner-sidebar { 30 | margin-right: auto; 31 | width: 286px; 32 | display: block; 33 | } 34 | .columns-2 .inner-sidebar #side-sortables, .inner-sidebar #side-sortables { 35 | min-height: 300px; 36 | width: 280px; 37 | padding: 0; 38 | } 39 | .has-right-sidebar .inner-sidebar { 40 | display: block; 41 | } 42 | .has-right-sidebar #post-body { 43 | float: left; 44 | clear: left; 45 | width: 100%; 46 | margin-right: -2000px; 47 | } 48 | .has-right-sidebar #post-body-content { 49 | margin-right: 300px; 50 | float: none; 51 | width: auto; 52 | } 53 | #col-container, #col-left, #col-right { 54 | overflow: hidden; 55 | padding: 0; 56 | margin: 0; 57 | } 58 | #col-left { 59 | width: 35%} 60 | #col-right { 61 | float: right; 62 | clear: right; 63 | width: 65%} 64 | .col-wrap { 65 | padding: 0 7px; 66 | } 67 | .alignleft { 68 | float: left; 69 | } 70 | .alignright { 71 | float: right; 72 | } 73 | .textleft { 74 | text-align: left; 75 | } 76 | .textright { 77 | text-align: right; 78 | } 79 | .clear { 80 | clear: both; 81 | } 82 | .screen-reader-text, .screen-reader-text span, .ui-helper-hidden-accessible { 83 | position: absolute; 84 | margin: -1px; 85 | padding: 0; 86 | height: 1px; 87 | width: 1px; 88 | overflow: hidden; 89 | clip: rect(0 0 0 0); 90 | border: 0; 91 | } 92 | .screen-reader-shortcut { 93 | position: absolute; 94 | top: -1000em; 95 | } 96 | .screen-reader-shortcut:focus { 97 | left: 6px; 98 | top: -25px; 99 | height: auto; 100 | width: auto; 101 | display: block; 102 | font-size: 14px; 103 | font-weight: 600; 104 | padding: 15px 23px 14px; 105 | background: #f1f1f1; 106 | color: #21759b; 107 | z-index: 100000; 108 | line-height: normal; 109 | -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6); 110 | box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6); 111 | text-decoration: none; 112 | outline: 0; 113 | } 114 | .hidden, .js .closed .inside, .js .hide-if-js, .js .wp-core-ui .hide-if-js, .js.wp-core-ui .hide-if-js, .no-js .hide-if-no-js, .no-js .wp-core-ui .hide-if-no-js, .no-js.wp-core-ui .hide-if-no-js { 115 | display: none; 116 | } 117 | #menu-management .menu-edit, #menu-settings-column .accordion-container, .feature-filter, .imgedit-group, .manage-menus, .menu-item-handle, .popular-tags, .stuffbox, .widget-inside, .widget-top, .widgets-holder-wrap, .wp-editor-container, p.popular-tags, table.widefat { 118 | border: 1px solid #e5e5e5; 119 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 120 | box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 121 | } 122 | .feature-filter, .imgedit-group, .popular-tags, .stuffbox, .widgets-holder-wrap, .wp-editor-container, p.popular-tags, table.widefat { 123 | background: #fff; 124 | } 125 | body, html { 126 | height: 100%; 127 | margin: 0; 128 | padding: 0; 129 | } 130 | html { 131 | background: #f1f1f1; 132 | } 133 | body { 134 | color: #444; 135 | font-family: "Open Sans", sans-serif; 136 | font-size: 13px; 137 | line-height: 1.4em; 138 | min-width: 600px; 139 | } 140 | body.iframe { 141 | min-width: 0; 142 | padding-top: 1px; 143 | } 144 | body.modal-open { 145 | overflow: hidden; 146 | } 147 | body.mobile.modal-open #wpwrap { 148 | overflow: hidden; 149 | height: 100%} 150 | iframe, img { 151 | border: 0; 152 | } 153 | td { 154 | font-family: inherit; 155 | font-size: inherit; 156 | font-weight: inherit; 157 | line-height: inherit; 158 | } 159 | a { 160 | color: #0074a2; 161 | -webkit-transition-property: border, background, color; 162 | transition-property: border, background, color; 163 | -webkit-transition-duration: .05s; 164 | transition-duration: .05s; 165 | -webkit-transition-timing-function: ease-in-out; 166 | transition-timing-function: ease-in-out; 167 | } 168 | a, div { 169 | outline: 0; 170 | } 171 | a:active, a:hover { 172 | color: #2ea2cc; 173 | } 174 | a:focus { 175 | color: #124964; 176 | -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 177 | box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 178 | } 179 | .ie8 a:focus { 180 | outline: #5b9dd9 solid 1px; 181 | } 182 | #adminmenu a:focus, .screen-reader-text:focus { 183 | -webkit-box-shadow: none; 184 | box-shadow: none; 185 | outline: 0; 186 | } 187 | blockquote, q { 188 | quotes: none; 189 | } 190 | blockquote:after, blockquote:before, q:after, q:before { 191 | content: ''; 192 | content: none; 193 | } 194 | p { 195 | font-size: 13px; 196 | line-height: 1.5; 197 | margin: 1em 0; 198 | } 199 | blockquote { 200 | margin: 1em; 201 | } 202 | dd, li { 203 | margin-bottom: 6px; 204 | } 205 | h1, h2, h3, h4, h5, h6 { 206 | display: block; 207 | font-weight: 600; 208 | } 209 | h1 { 210 | font-size: 2em; 211 | margin: .67em 0; 212 | } 213 | h2 { 214 | color: #222; 215 | font-size: 1.5em; 216 | margin: .83em 0; 217 | font-weight: 400; 218 | } 219 | h3 { 220 | color: #222; 221 | font-size: 1.3em; 222 | margin: 1em 0; 223 | } 224 | h4 { 225 | font-size: 1em; 226 | margin: 1.33em 0; 227 | } 228 | h5 { 229 | font-size: .83em; 230 | margin: 1.67em 0; 231 | } 232 | h6 { 233 | font-size: .67em; 234 | margin: 2.33em 0; 235 | } 236 | ol, ul { 237 | padding: 0; 238 | } 239 | ul { 240 | list-style: none; 241 | } 242 | .wp-filter .search-form select { 243 | margin: 0; 244 | height: 32px; 245 | vertical-align: top; 246 | } 247 | .wp-filter .search-form.search-plugins { 248 | display: inline-block; 249 | } 250 | .wp-filter .drawer-toggle { 251 | display: inline-block; 252 | margin: 0 10px; 253 | padding: 4px 6px; 254 | color: #666; 255 | cursor: pointer; 256 | } 257 | .wp-filter .drawer-toggle:before { 258 | display: inline-block; 259 | vertical-align: top; 260 | content: "\f111"; 261 | margin: 0 5px 0 0; 262 | width: 16px; 263 | height: 16px; 264 | color: #777; 265 | -webkit-transition: color .1s ease-in 0; 266 | transition: color .1s ease-in 0; 267 | font-family: dashicons; 268 | font-size: 16px; 269 | line-height: 1; 270 | text-align: center; 271 | text-decoration: inherit; 272 | font-weight: 400; 273 | font-style: normal; 274 | -webkit-font-smoothing: antialiased; 275 | } 276 | .wp-filter .drawer-toggle:hover, .wp-filter .drawer-toggle:hover:before { 277 | color: #2ea2cc; 278 | } 279 | .wp-filter .drawer-toggle.current:before { 280 | color: #fff; 281 | } 282 | .filter-drawer { 283 | display: none; 284 | margin: 0 -20px; 285 | padding: 20px; 286 | border-top: 1px solid #eee; 287 | background: #fafafa; 288 | } 289 | .show-filters .filter-drawer { 290 | display: block; 291 | overflow: hidden; 292 | width: 100%} 293 | .show-filters .wp-filter .drawer-toggle:focus, .show-filters .wp-filter .drawer-toggle:hover { 294 | background: #2ea2cc; 295 | } 296 | .show-filters .filter-links a.current { 297 | border-bottom: none; 298 | } 299 | .show-filters .wp-filter .drawer-toggle { 300 | -webkit-border-radius: 2px; 301 | border-radius: 2px; 302 | border: none; 303 | background: #777; 304 | color: #fff; 305 | } 306 | .show-filters .wp-filter .drawer-toggle:before { 307 | color: #fff; 308 | } 309 | .filter-group { 310 | -webkit-box-sizing: border-box; 311 | -moz-box-sizing: border-box; 312 | box-sizing: border-box; 313 | float: left; 314 | margin: 0 1% 0 0; 315 | padding: 10px; 316 | width: 24%; 317 | background: #fff; 318 | border: 1px solid #e5e5e5; 319 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 320 | box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 321 | } 322 | .filter-group h4 { 323 | position: relative; 324 | margin: 0; 325 | } 326 | .filter-drawer ol { 327 | margin: 20px 0 0; 328 | list-style-type: none; 329 | font-size: 12px; 330 | } 331 | .filter-drawer li { 332 | display: inline-block; 333 | vertical-align: top; 334 | margin: 5px 0; 335 | padding-right: 25px; 336 | width: 160px; 337 | list-style-type: none; 338 | } 339 | .filter-drawer .buttons { 340 | margin-bottom: 20px; 341 | } 342 | .filter-drawer .buttons .button span { 343 | display: inline-block; 344 | opacity: .8; 345 | font-size: 12px; 346 | text-indent: 10px; 347 | } 348 | .wp-filter .button.clear-filters { 349 | display: none; 350 | margin: 0 0 20px 10px; 351 | } 352 | .filtered-by { 353 | display: none; 354 | margin: 0; 355 | } 356 | .filtered-by>span { 357 | font-weight: 600; 358 | } 359 | .filtered-by a { 360 | margin-left: 10px; 361 | } 362 | .filtered-by .tags { 363 | display: inline; 364 | } 365 | .filtered-by .tag { 366 | margin: 0 5px; 367 | padding: 4px 8px; 368 | border: 1px solid #e5e5e5; 369 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 370 | box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 371 | background: #fff; 372 | font-size: 11px; 373 | } 374 | .filters-applied .filter-drawer .buttons, .filters-applied .filter-drawer br, .filters-applied .filter-group { 375 | display: none!important; 376 | } 377 | .filters-applied .filtered-by { 378 | display: block; 379 | } 380 | .filters-applied .filter-drawer { 381 | padding: 20px; 382 | } 383 | .error .content-filterable, .loading-content .content-filterable, .show-filters .content-filterable, .show-filters.filters-applied.loading-content .content-filterable { 384 | display: none; 385 | } 386 | .show-filters.filters-applied .content-filterable { 387 | display: block; 388 | } 389 | .loading-content .spinner { 390 | display: block; 391 | margin: 40px auto 0; 392 | float: none; 393 | } 394 | @media only screen and (max-width:1120px) { 395 | .filter-drawer { 396 | border-bottom: 1px solid #eee; 397 | } 398 | .filter-group { 399 | margin-bottom: 0; 400 | margin-top: 5px; 401 | width: 100%} 402 | .filter-group li { 403 | margin: 10px 0; 404 | } 405 | }@media only screen and (max-width:1000px) { 406 | .filter-items { 407 | float: none; 408 | } 409 | .wp-filter .media-toolbar-primary, .wp-filter .media-toolbar-secondary, .wp-filter .search-form { 410 | float: none; 411 | position: relative; 412 | max-width: 100%} 413 | }@media only screen and (max-width:782px) { 414 | .filter-group li { 415 | padding: 0; 416 | width: 50%} 417 | }@media only screen and (max-width:320px) { 418 | .filter-count { 419 | display: none; 420 | } 421 | .wp-filter .drawer-toggle { 422 | margin: 10px 0; 423 | } 424 | .filter-group li, .wp-filter .search-form input[type=search] { 425 | width: 100%} 426 | }.notice, div.error, div.updated { 427 | background: #fff; 428 | border-left: 4px solid #fff; 429 | -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1); 430 | box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1); 431 | margin: 5px 15px 2px; 432 | padding: 1px 12px; 433 | } 434 | .form-table td .notice p, .notice p, div.error p, div.updated p { 435 | margin: .5em 0; 436 | padding: 2px; 437 | } 438 | .notice-success, div.updated { 439 | border-color: #7ad03a; 440 | } 441 | .notice-warning { 442 | border-color: #ffba00; 443 | } 444 | .notice-error, div.error { 445 | border-color: #dd3d36; 446 | } 447 | .notice-info { 448 | border-color: #2ea2cc; 449 | } 450 | .media-upload-form .notice, .media-upload-form div.error, .wrap .notice, .wrap div.error, .wrap div.updated { 451 | margin: 5px 0 15px; 452 | } 453 | #update-nag, .update-nag { 454 | display: inline-block; 455 | line-height: 19px; 456 | padding: 11px 15px; 457 | font-size: 14px; 458 | text-align: left; 459 | margin: 25px 20px 0 2px; 460 | background-color: #fff; 461 | border-left: 4px solid #ffba00; 462 | -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1); 463 | box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1); 464 | } 465 | .update-message { 466 | color: #000; 467 | } 468 | .update-php .spinner { 469 | float: none; 470 | margin: -4px 0; 471 | } 472 | #ajax-loading, .ajax-feedback, .ajax-loading, .imgedit-wait-spin, .list-ajax-loading { 473 | visibility: hidden; 474 | } 475 | #ajax-response.alignleft { 476 | margin-left: 2em; 477 | } 478 | #adminmenu a, #catlist a, #sidemenu a, #taglist a { 479 | text-decoration: none; 480 | } 481 | #contextual-help-wrap, #screen-options-wrap { 482 | margin: 0; 483 | padding: 8px 20px 12px; 484 | position: relative; 485 | } 486 | 487 | #contextual-help-link-wrap, #screen-options-link-wrap { 488 | float: right; 489 | height: 28px; 490 | margin: 0 0 0 6px; 491 | border: 1px solid #ddd; 492 | border-top: none; 493 | background: #fff; 494 | -webkit-box-shadow: 0 1px 1px -1px rgba(0, 0, 0, .1); 495 | box-shadow: 0 1px 1px -1px rgba(0, 0, 0, .1); 496 | } 497 | #screen-meta-links .screen-meta-toggle { 498 | position: relative; 499 | top: 0; 500 | } 501 | #screen-meta-links a { 502 | color: #777; 503 | } 504 | #screen-meta-links a:active, #screen-meta-links a:focus, #screen-meta-links a:hover { 505 | color: #333; 506 | } 507 | #screen-meta-links a.show-settings { 508 | display: block; 509 | font-size: 13px; 510 | height: 22px; 511 | line-height: 22px; 512 | text-decoration: none; 513 | z-index: 1; 514 | } 515 | #screen-meta-links a:after { 516 | right: 0; 517 | content: '\f140'; 518 | font: 400 20px/1 dashicons; 519 | speak: none; 520 | display: inline-block; 521 | padding: 0 5px 0 0; 522 | bottom: 2px; 523 | position: relative; 524 | vertical-align: bottom; 525 | -webkit-font-smoothing: antialiased; 526 | -moz-osx-font-smoothing: grayscale; 527 | text-decoration: none!important; 528 | color: #bbb; 529 | } 530 | #screen-meta-links a.screen-meta-active:after { 531 | content: '\f0de'} 532 | #screen-meta-links a.show-settings:hover { 533 | text-decoration: none; 534 | } 535 | .toggle-arrow { 536 | background-repeat: no-repeat; 537 | background-position: top left; 538 | background-color: transparent; 539 | height: 22px; 540 | line-height: 22px; 541 | display: block; 542 | } 543 | .toggle-arrow-active { 544 | background-position: bottom left; 545 | } 546 | #contextual-help-wrap h5, #screen-options-wrap h5 { 547 | margin: 8px 0; 548 | font-size: 13px; 549 | } 550 | .metabox-prefs label { 551 | display: inline-block; 552 | padding-right: 15px; 553 | line-height: 30px; 554 | } 555 | .metabox-prefs label input[type=checkbox] { 556 | margin-top: -4px; 557 | margin-right: 6px; 558 | } 559 | .metabox-prefs label input { 560 | margin: 0 5px 0 2px; 561 | } 562 | .metabox-prefs .columns-prefs label input { 563 | margin: 0 2px; 564 | } 565 | .metabox-prefs label a { 566 | display: none; 567 | } 568 | #contextual-help-wrap { 569 | padding: 0; 570 | } 571 | #contextual-help-columns { 572 | position: relative; 573 | } 574 | #contextual-help-back { 575 | position: absolute; 576 | top: 0; 577 | bottom: 0; 578 | left: 150px; 579 | right: 170px; 580 | border: 1px solid #e1e1e1; 581 | border-top: none; 582 | border-bottom: none; 583 | background: #f6fbfd; 584 | } 585 | #contextual-help-wrap.no-sidebar #contextual-help-back { 586 | right: 0; 587 | border-right-width: 0; 588 | -webkit-border-bottom-right-radius: 2px; 589 | border-bottom-right-radius: 2px; 590 | } 591 | .contextual-help-tabs { 592 | float: left; 593 | width: 150px; 594 | margin: 0; 595 | } 596 | .contextual-help-tabs ul { 597 | margin: 1em 0; 598 | } 599 | .contextual-help-tabs li { 600 | margin-bottom: 0; 601 | list-style-type: none; 602 | border-style: solid; 603 | border-width: 0 0 0 2px; 604 | border-color: transparent; 605 | } 606 | .contextual-help-tabs a { 607 | display: block; 608 | padding: 5px 5px 5px 12px; 609 | line-height: 18px; 610 | text-decoration: none; 611 | border: 1px solid transparent; 612 | border-right: none; 613 | border-left: none; 614 | } 615 | .contextual-help-tabs a:hover { 616 | color: #333; 617 | } 618 | .contextual-help-tabs .active { 619 | padding: 0; 620 | margin: 0 -1px 0 0; 621 | border-left: 2px solid #2ea2cc; 622 | background: #f6fbfd; 623 | -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, .02), 0 1px 0 rgba(0, 0, 0, .02); 624 | box-shadow: 0 2px 0 rgba(0, 0, 0, .02), 0 1px 0 rgba(0, 0, 0, .02); 625 | } 626 | .contextual-help-tabs .active a { 627 | border-color: #e1e1e1; 628 | color: #333; 629 | } 630 | .contextual-help-tabs-wrap { 631 | padding: 0 20px; 632 | overflow: auto; 633 | } 634 | .help-tab-content { 635 | display: none; 636 | margin: 0 22px 12px 0; 637 | line-height: 1.6em; 638 | } 639 | .help-tab-content.active { 640 | display: block; 641 | } 642 | .help-tab-content ul li { 643 | list-style-type: disc; 644 | margin-left: 18px; 645 | } 646 | .contextual-help-sidebar { 647 | width: 150px; 648 | float: right; 649 | padding: 0 8px 0 12px; 650 | overflow: auto; 651 | } 652 | html.wp-toolbar { 653 | padding-top: 32px; 654 | -webkit-box-sizing: border-box; 655 | -moz-box-sizing: border-box; 656 | box-sizing: border-box; 657 | } 658 | .narrow { 659 | width: 70%; 660 | margin-bottom: 40px; 661 | } 662 | .narrow p { 663 | line-height: 150%} 664 | .widefat td, .widefat th { 665 | overflow: hidden; 666 | color: #555; 667 | } 668 | .widefat th { 669 | font-weight: 400; 670 | } 671 | .widefat tfoot tr th, .widefat thead tr th { 672 | color: #333; 673 | } 674 | .widefat td p { 675 | margin: 2px 0 .8em; 676 | } 677 | .widefat ol, .widefat p, .widefat ul { 678 | color: #333; 679 | } 680 | .widefat .column-comment p { 681 | margin: .6em 0; 682 | } 683 | .postbox-container { 684 | float: left; 685 | } 686 | .postbox-container .meta-box-sortables { 687 | -webkit-box-sizing: border-box; 688 | -moz-box-sizing: border-box; 689 | box-sizing: border-box; 690 | } 691 | #wpbody-content .metabox-holder { 692 | padding-top: 10px; 693 | } 694 | .metabox-holder .postbox-container .empty-container { 695 | border: 3px dashed #bbb; 696 | height: 250px; 697 | } 698 | .columns-2 #postbox-container-3 .empty-container, .columns-2 #postbox-container-4 .empty-container, .columns-3 #postbox-container-4 .empty-container, .metabox-holder.columns-1 .postbox-container .empty-container { 699 | border: 0; 700 | height: 0; 701 | min-height: 0; 702 | } 703 | #post-body-content { 704 | width: 100%; 705 | min-width: 463px; 706 | float: left; 707 | } 708 | #post-body.columns-2 #postbox-container-1 { 709 | float: right; 710 | margin-right: -300px; 711 | width: 280px; 712 | } 713 | #post-body.columns-2 #side-sortables { 714 | min-height: 250px; 715 | } 716 | @media only screen and (max-width:799px) { 717 | #wpbody-content .metabox-holder .postbox-container .empty-container { 718 | border: 0; 719 | height: 0; 720 | min-height: 0; 721 | } 722 | }.js .postbox .hndle, .js .widget .widget-top { 723 | cursor: move; 724 | } 725 | .hndle a { 726 | font-size: 11px; 727 | font-weight: 400; 728 | } 729 | .postbox .handlediv { 730 | float: right; 731 | width: 27px; 732 | height: 30px; 733 | } 734 | .js .postbox .handlediv { 735 | cursor: pointer; 736 | } 737 | .sortable-placeholder { 738 | border: 1px dashed #bbb; 739 | margin-bottom: 20px; 740 | } 741 | .postbox, .stuffbox { 742 | margin-bottom: 20px; 743 | padding: 0; 744 | line-height: 1; 745 | } 746 | .postbox .hndle, .stuffbox .hndle { 747 | -webkit-user-select: none; 748 | -moz-user-select: none; 749 | -ms-user-select: none; 750 | user-select: none; 751 | } 752 | .postbox .inside, .stuffbox .inside { 753 | padding: 0 12px 12px; 754 | line-height: 1.4em; 755 | font-size: 13px; 756 | } 757 | .postbox .inside { 758 | margin: 11px 0; 759 | position: relative; 760 | } 761 | .postbox .inside>p:last-child, .rss-widget ul li:last-child { 762 | margin-bottom: 1px!important; 763 | } 764 | .postbox.closed h3 { 765 | border: none; 766 | -webkit-box-shadow: none; 767 | box-shadow: none; 768 | } 769 | .postbox table.form-table { 770 | margin-bottom: 0; 771 | } 772 | .postbox table.widefat { 773 | -webkit-box-shadow: none; 774 | box-shadow: none; 775 | } 776 | .temp-border { 777 | border: 1px dotted #ccc; 778 | } 779 | .columns-prefs label { 780 | padding: 0 5px; 781 | } 782 | #adminmenu .wp-submenu li.current, #adminmenu .wp-submenu li.current a, #adminmenu .wp-submenu li.current a:hover, #dashboard_right_now .versions .b, #ed_reply_toolbar #ed_reply_strong, #pass-strength-result.short, #pass-strength-result.strong, #post-status-display, #post-visibility-display, .feature-filter .feature-name, .item-controls .item-order a, .media-item .percent, .plugins .name { 783 | font-weight: 600; 784 | } 785 | #wpfooter { 786 | position: absolute; 787 | bottom: 0; 788 | left: 0; 789 | right: 0; 790 | padding: 10px 20px; 791 | color: #777; 792 | } 793 | #wpfooter p { 794 | font-size: 13px; 795 | margin: 0; 796 | line-height: 20px; 797 | } 798 | #footer-thankyou { 799 | font-style: italic; 800 | } 801 | #wpfooter a { 802 | text-decoration: none; 803 | } 804 | #wpfooter a:hover { 805 | text-decoration: underline; 806 | } 807 | .nav-tab { 808 | border: 1px solid #ccc; 809 | border-bottom: none; 810 | background: #e4e4e4; 811 | color: #555; 812 | font-size: 12px; 813 | line-height: 16px; 814 | display: inline-block; 815 | padding: 4px 14px 6px; 816 | text-decoration: none; 817 | margin: -4px 4px -1px 0; 818 | } 819 | .nav-tab:hover { 820 | background-color: #fff; 821 | color: #464646; 822 | } 823 | .nav-tab-active, .nav-tab-active:hover { 824 | border-bottom: 1px solid #f1f1f1; 825 | background: #f1f1f1; 826 | color: #000; 827 | } 828 | h2.nav-tab-wrapper, h3.nav-tab-wrapper { 829 | border-bottom: 1px solid #ccc; 830 | padding-bottom: 0; 831 | padding-left: 10px; 832 | } 833 | h2 .nav-tab { 834 | padding: 6px 10px; 835 | font-weight: 700; 836 | font-size: 15px; 837 | line-height: 24px; 838 | } 839 | .spinner { 840 | background: url(images/spinner.gif) 0 0/20px 20px no-repeat; 841 | -webkit-background-size: 20px 20px; 842 | display: none; 843 | float: right; 844 | opacity: .7; 845 | filter: alpha(opacity=70); 846 | width: 20px; 847 | height: 20px; 848 | margin: 2px 5px 0; 849 | } 850 | #template div { 851 | margin-right: 190px; 852 | } 853 | .metabox-holder h3 { 854 | font-size: 14px; 855 | padding: 8px 12px; 856 | margin: 0; 857 | line-height: 1.4; 858 | } 859 | #templateside ul li a { 860 | text-decoration: none; 861 | } 862 | #sidemenu { 863 | margin: -30px 15px 0 315px; 864 | list-style: none; 865 | position: relative; 866 | float: right; 867 | padding-left: 10px; 868 | font-size: 12px; 869 | } 870 | #sidemenu a { 871 | padding: 0 7px; 872 | display: block; 873 | float: left; 874 | line-height: 28px; 875 | border-top: 1px solid #f9f9f9; 876 | border-bottom: 1px solid #dfdfdf; 877 | background-color: #f9f9f9; 878 | -webkit-transition: none; 879 | transition: none; 880 | } 881 | #sidemenu li { 882 | display: inline; 883 | line-height: 200%; 884 | list-style: none; 885 | text-align: center; 886 | white-space: nowrap; 887 | margin: 0; 888 | padding: 0; 889 | } 890 | #sidemenu a.current { 891 | font-weight: 400; 892 | padding-left: 6px; 893 | padding-right: 6px; 894 | -webkit-border-top-left-radius: 3px; 895 | border-top-left-radius: 3px; 896 | -webkit-border-top-right-radius: 3px; 897 | border-top-right-radius: 3px; 898 | border: 1px solid #dfdfdf; 899 | border-bottom-color: #f1f1f1; 900 | background-color: #f1f1f1; 901 | color: #000; 902 | } 903 | 904 | table .column-rating, table .column-visible, table .vers { 905 | text-align: left; 906 | } 907 | .error-message { 908 | color: red; 909 | font-weight: 600; 910 | } 911 | body.iframe { 912 | height: 98%} 913 | .lp-show-latest p { 914 | display: none; 915 | } 916 | .lp-show-latest .lp-error p, .lp-show-latest p:last-child { 917 | display: block; 918 | } 919 | td.media-icon { 920 | text-align: center; 921 | width: 80px; 922 | padding-top: 8px; 923 | padding-bottom: 8px; 924 | } 925 | td.media-icon img { 926 | max-width: 80px; 927 | max-height: 60px; 928 | width: auto; 929 | height: auto; 930 | } 931 | 932 | #submitdiv h3 { 933 | margin-bottom: 0!important; 934 | } 935 | .zerosize { 936 | height: 0; 937 | width: 0; 938 | margin: 0; 939 | border: 0; 940 | padding: 0; 941 | overflow: hidden; 942 | position: absolute; 943 | } 944 | br.clear { 945 | height: 2px; 946 | line-height: 2px; 947 | } 948 | .checkbox { 949 | border: none; 950 | margin: 0; 951 | padding: 0; 952 | } 953 | fieldset { 954 | border: 0; 955 | padding: 0; 956 | margin: 0; 957 | } 958 | .post-categories { 959 | display: inline; 960 | margin: 0; 961 | padding: 0; 962 | } 963 | .post-categories li { 964 | display: inline; 965 | } 966 | div.star-holder { 967 | position: relative; 968 | height: 17px; 969 | width: 100px; 970 | background: url(images/stars.png?ver=20121108) bottom left repeat-x; 971 | } 972 | div.star-holder .star-rating { 973 | background: url(images/stars.png?ver=20121108) top left repeat-x; 974 | height: 17px; 975 | float: left; 976 | } 977 | 978 | 979 | #wphead { 980 | border-bottom: 1px solid #dfdfdf; 981 | } 982 | #wphead h1 a { 983 | color: #464646; 984 | } 985 | .js .meta-box-sortables .postbox:hover .handlediv { 986 | margin-right: 0!important; 987 | } 988 | .js .meta-box-sortables .postbox .handlediv:before, .js .sidebar-name .sidebar-name-arrow:before { 989 | right: 12px; 990 | font: 400 20px/1 dashicons; 991 | speak: none; 992 | display: inline-block; 993 | padding: 8px 10px; 994 | top: 0; 995 | position: relative; 996 | -webkit-font-smoothing: antialiased; 997 | -moz-osx-font-smoothing: grayscale; 998 | text-decoration: none!important; 999 | } 1000 | .js #widgets-left .sidebar-name .sidebar-name-arrow { 1001 | display: none; 1002 | } 1003 | .js #widgets-left .sidebar-name:hover .sidebar-name-arrow, .js #widgets-left .widgets-holder-wrap.closed .sidebar-name .sidebar-name-arrow { 1004 | display: block; 1005 | } 1006 | .js .meta-box-sortables .postbox .handlediv:before, .js .sidebar-name .sidebar-name-arrow:before { 1007 | content: '\f0de'} 1008 | .js .meta-box-sortables .postbox.closed .handlediv:before, .js .widgets-holder-wrap.closed .sidebar-name-arrow:before { 1009 | content: '\f140'} 1010 | .error a { 1011 | text-decoration: underline; 1012 | } 1013 | .updated a { 1014 | text-decoration: none; 1015 | padding-bottom: 2px; 1016 | } 1017 | #photo-add-url-div input[type=text] { 1018 | width: 300px; 1019 | } 1020 | .alignleft h3 { 1021 | margin: 0; 1022 | } 1023 | #template textarea { 1024 | font-family: Consolas, Monaco, monospace; 1025 | font-size: 13px; 1026 | width: 97%; 1027 | background: #f9f9f9; 1028 | outline: 0; 1029 | } 1030 | #docs-list, #template textarea { 1031 | direction: ltr; 1032 | } 1033 | #template p { 1034 | width: 97%} 1035 | #templateside { 1036 | float: right; 1037 | width: 190px; 1038 | word-wrap: break-word; 1039 | } 1040 | #postcustomstuff p.submit, #templateside h3 { 1041 | margin: 0; 1042 | } 1043 | #templateside h4 { 1044 | margin: 1em 0 0; 1045 | } 1046 | #templateside ol, #templateside ul { 1047 | margin: .5em 0; 1048 | padding: 0; 1049 | } 1050 | #templateside li { 1051 | margin: 4px 0; 1052 | } 1053 | #templateside li a, .theme-editor-php .highlight { 1054 | display: block; 1055 | padding: 3px 3px 3px 12px; 1056 | text-decoration: none; 1057 | } 1058 | .theme-editor-php .highlight { 1059 | margin: -3px 3px -3px -12px; 1060 | } 1061 | #templateside .highlight { 1062 | border: none; 1063 | font-weight: 700; 1064 | } 1065 | .nonessential { 1066 | color: #666; 1067 | font-size: 11px; 1068 | font-style: italic; 1069 | padding-left: 12px; 1070 | } 1071 | #documentation { 1072 | margin-top: 10px; 1073 | } 1074 | #documentation label { 1075 | line-height: 22px; 1076 | vertical-align: baseline; 1077 | font-weight: 600; 1078 | } 1079 | .fileedit-sub { 1080 | padding: 10px 0 8px; 1081 | line-height: 180%} 1082 | .accordion-section-title:after, .control-section .accordion-section-title:after, .nav-menus-php .item-edit:before, .widget-top a.widget-action:after { 1083 | right: 0; 1084 | content: "\f0dd"; 1085 | border: none; 1086 | background: 0 0; 1087 | font: 400 20px/1 FontAwesome; 1088 | speak: none; 1089 | display: block; 1090 | padding: 0; 1091 | text-indent: 0; 1092 | text-align: center; 1093 | position: relative; 1094 | -webkit-font-smoothing: antialiased; 1095 | -moz-osx-font-smoothing: grayscale; 1096 | text-decoration: none!important; 1097 | 1098 | 1099 | 1100 | } 1101 | .accordion-section-title:after, .handlediv, .item-edit, .sidebar-name-arrow, .widget-action { 1102 | color: #aaa; 1103 | } 1104 | .accordion-section-title:hover:after, .handlediv:hover, .item-edit:hover, .sidebar-name:hover .sidebar-name-arrow, .widget-action:hover { 1105 | color: #777; 1106 | } 1107 | .widget-top a.widget-action:after { 1108 | padding: 12px 12px 11px; 1109 | } 1110 | .widget-top a.widget-action:focus:after { 1111 | -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 1112 | box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 1113 | } 1114 | .nav-menus-php .item-edit:before { 1115 | line-height: 2.1; 1116 | } 1117 | .accordion-section-title:after, .control-section .accordion-section-title:after { 1118 | float: right; 1119 | right: 20px; 1120 | top: -2px; 1121 | } 1122 | #customize-info.open .accordion-section-title:after, .control-section.open .accordion-section-title:after, .nav-menus-php .menu-item-edit-active .item-edit:before, .widget.open .widget-top a.widget-action:after { 1123 | content: '\f0de'} 1124 | /*! 1125 | * jQuery UI Draggable/Sortable 1.11.2 1126 | * http://jqueryui.com 1127 | * 1128 | * Copyright 2014 jQuery Foundation and other contributors 1129 | * Released under the MIT license. 1130 | * http://jquery.org/license 1131 | */.ui-draggable-handle, .ui-sortable-handle { 1132 | -ms-touch-action: none; 1133 | touch-action: none; 1134 | } 1135 | .accordion-section { 1136 | border-bottom: 1px solid #dfdfdf; 1137 | margin: 0; 1138 | } 1139 | .accordion-section.open .accordion-section-content, .no-js .accordion-section .accordion-section-content { 1140 | display: block; 1141 | } 1142 | .accordion-section.open:hover { 1143 | border-bottom-color: #dfdfdf; 1144 | } 1145 | .accordion-section-content { 1146 | display: none; 1147 | padding: 10px 20px 15px; 1148 | overflow: hidden; 1149 | background: #fff; 1150 | } 1151 | .accordion-section-title { 1152 | margin: 0; 1153 | padding: 12px 15px 15px; 1154 | position: relative; 1155 | border-left: 1px solid #dfdfdf; 1156 | border-right: 1px solid #dfdfdf; 1157 | -webkit-user-select: none; 1158 | -moz-user-select: none; 1159 | -ms-user-select: none; 1160 | user-select: none; 1161 | } 1162 | .js .accordion-section-title { 1163 | cursor: pointer; 1164 | } 1165 | .js .accordion-section-title:after { 1166 | position: absolute; 1167 | top: 12px; 1168 | right: 10px; 1169 | z-index: 1; 1170 | } 1171 | .accordion-section-title:focus { 1172 | outline: 0; 1173 | } 1174 | .accordion-section-title:focus:after, .accordion-section-title:hover:after { 1175 | border-color: #aaa transparent; 1176 | } 1177 | .cannot-expand .accordion-section-title { 1178 | cursor: auto; 1179 | } 1180 | .cannot-expand .accordion-section-title:after { 1181 | display: none; 1182 | } 1183 | .control-section .accordion-section-title { 1184 | border-left: none; 1185 | border-right: none; 1186 | padding: 10px 10px 11px 14px; 1187 | line-height: 21px; 1188 | background: #fff; 1189 | } 1190 | .control-section .accordion-section-title:after { 1191 | top: 11px; 1192 | } 1193 | .js .control-section .accordion-section-title:focus, .js .control-section .accordion-section-title:hover, .js .control-section.open .accordion-section-title, .js .control-section:hover .accordion-section-title { 1194 | color: #222; 1195 | background: #f5f5f5; 1196 | } 1197 | .control-section.open .accordion-section-title { 1198 | border-bottom: 1px solid #dfdfdf; 1199 | } 1200 | @media only screen and (min-width:769px) { 1201 | #col-left { 1202 | width: 35%} 1203 | #col-right { 1204 | width: 65%} 1205 | }@media only screen and (max-width:860px) { 1206 | #col-left { 1207 | width: 35%} 1208 | #col-right { 1209 | width: 65%} 1210 | }@media only screen and (min-width:980px) { 1211 | #col-left { 1212 | width: 35%} 1213 | #col-right { 1214 | width: 65%} 1215 | }@media only screen and (max-width:768px) { 1216 | #col-left, #col-right { 1217 | width: 100%} 1218 | }@media print, (-o-min-device-pixel-ratio:5/4), (-webkit-min-device-pixel-ratio:1.25), (min-resolution:120dpi) { 1219 | div.star-holder, div.star-holder .star-rating { 1220 | background: url(images/stars-2x.png?ver=20121108) bottom left/21px 37px repeat-x; 1221 | -webkit-background-size: 21px 37px; 1222 | } 1223 | .spinner { 1224 | background-image: url(images/spinner-2x.gif); 1225 | } 1226 | #bulk-titles div a, #bulk-titles div a:hover, #screen-meta-links a.show-settings, .curtime #timestamp, .meta-box-sortables .postbox:hover .handlediv, .sidebar-name-arrow, .sidebar-name:hover .sidebar-name-arrow, .tagchecklist span a, .tagchecklist span a:hover, .widget-top a.widget-action, .widget-top a.widget-action:hover { 1227 | background: none!important; 1228 | } 1229 | }@-ms-viewport { 1230 | width: device-width; 1231 | } 1232 | @media screen and (max-width:782px) { 1233 | html.wp-toolbar { 1234 | padding-top: 46px; 1235 | } 1236 | body { 1237 | min-width: 240px; 1238 | overflow-x: hidden; 1239 | } 1240 | body * { 1241 | -webkit-tap-highlight-color: transparent!important; 1242 | } 1243 | #wpcontent { 1244 | position: relative; 1245 | margin-left: 0; 1246 | padding-left: 10px; 1247 | } 1248 | #wpbody-content { 1249 | padding-bottom: 100px; 1250 | } 1251 | .wrap { 1252 | margin-right: 12px; 1253 | margin-left: 0; 1254 | } 1255 | .col-wrap { 1256 | padding: 0; 1257 | } 1258 | #collapse-menu, #screen-meta, #screen-meta-links, .post-format-select { 1259 | display: none!important; 1260 | } 1261 | .wrap .add-new-h2, .wrap .add-new-h2:active { 1262 | padding: 10px 15px; 1263 | font-size: 14px; 1264 | } 1265 | .wp-color-result { 1266 | height: auto; 1267 | padding-left: 45px; 1268 | } 1269 | .wp-color-result:after { 1270 | font-size: 14px; 1271 | height: auto; 1272 | padding: 6px 14px; 1273 | } 1274 | .media-upload-form div.error, .wrap div.error, .wrap div.updated { 1275 | margin: 20px 0 10px; 1276 | padding: 5px 10px; 1277 | font-size: 14px; 1278 | line-height: 175%} 1279 | .wrap .icon32+h2 { 1280 | margin-top: -2px; 1281 | } 1282 | .wp-responsive-open #wpbody { 1283 | right: -190px; 1284 | } 1285 | code { 1286 | word-wrap: break-word; 1287 | } 1288 | .postbox { 1289 | font-size: 14px; 1290 | } 1291 | .metabox-holder h3 { 1292 | padding: 12px; 1293 | } 1294 | .postbox .handlediv { 1295 | margin-top: 3px; 1296 | } 1297 | .subsubsub { 1298 | font-size: 16px; 1299 | text-align: center; 1300 | margin-bottom: 15px; 1301 | } 1302 | #templateside { 1303 | float: none; 1304 | width: auto; 1305 | } 1306 | #templateside li { 1307 | margin: 0; 1308 | } 1309 | #templateside li a { 1310 | display: block; 1311 | padding: 5px; 1312 | } 1313 | #templateside .highlight { 1314 | padding: 5px; 1315 | margin-left: -5px; 1316 | margin-top: -5px; 1317 | } 1318 | #template div { 1319 | float: none; 1320 | margin: 0; 1321 | width: auto; 1322 | } 1323 | #template textarea { 1324 | width: 100%} 1325 | .fileedit-sub .alignright { 1326 | margin-top: 15px; 1327 | } 1328 | #comments-form .checkforspam, #wpfooter { 1329 | display: none; 1330 | } 1331 | }@media screen and (max-width:600px) { 1332 | #wpwrap.wp-responsive-open { 1333 | overflow-x: hidden; 1334 | } 1335 | html.wp-toolbar { 1336 | padding-top: 0; 1337 | } 1338 | #wpbody { 1339 | padding-top: 46px; 1340 | } 1341 | div#post-body.metabox-holder.columns-1 { 1342 | overflow-x: hidden; 1343 | } 1344 | }input, textarea { 1345 | -webkit-box-sizing: border-box; 1346 | -moz-box-sizing: border-box; 1347 | box-sizing: border-box; 1348 | } 1349 | input[type=checkbox], input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=radio], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], select, textarea { 1350 | border: 1px solid #ddd; 1351 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07); 1352 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07); 1353 | background-color: #fff; 1354 | color: #333; 1355 | outline: 0; 1356 | -webkit-transition: .05s border-color ease-in-out; 1357 | transition: .05s border-color ease-in-out; 1358 | } 1359 | input[type=checkbox]:focus, input[type=color]:focus, input[type=date]:focus, input[type=datetime-local]:focus, input[type=datetime]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=radio]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, select:focus, textarea:focus { 1360 | border-color: #5b9dd9; 1361 | -webkit-box-shadow: 0 0 2px rgba(30, 140, 190, .8); 1362 | box-shadow: 0 0 2px rgba(30, 140, 190, .8); 1363 | } 1364 | input[type=email], input[type=url] { 1365 | direction: ltr; 1366 | } 1367 | input[type=checkbox], input[type=radio] { 1368 | border: 1px solid #bbb; 1369 | background: #fff; 1370 | color: #555; 1371 | clear: none; 1372 | cursor: pointer; 1373 | display: inline-block; 1374 | line-height: 0; 1375 | height: 16px; 1376 | margin: -4px 4px 0 0; 1377 | outline: 0; 1378 | padding: 0!important; 1379 | text-align: center; 1380 | vertical-align: middle; 1381 | width: 16px; 1382 | min-width: 16px; 1383 | -webkit-appearance: none; 1384 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); 1385 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); 1386 | -webkit-transition: .05s border-color ease-in-out; 1387 | transition: .05s border-color ease-in-out; 1388 | } 1389 | input[type=radio]:checked+label:before { 1390 | color: #888; 1391 | } 1392 | .wp-core-ui input[type=reset]:active, .wp-core-ui input[type=reset]:hover { 1393 | color: #2ea2cc; 1394 | } 1395 | .wp-admin p input[type=checkbox], .wp-admin p input[type=radio], td>input[type=checkbox] { 1396 | margin-top: 0; 1397 | } 1398 | .wp-admin p label input[type=checkbox] { 1399 | margin-top: -4px; 1400 | } 1401 | .wp-admin p label input[type=radio] { 1402 | margin-top: -2px; 1403 | } 1404 | input[type=radio] { 1405 | -webkit-border-radius: 50%; 1406 | border-radius: 50%; 1407 | margin-right: 4px; 1408 | line-height: 10px; 1409 | } 1410 | input[type=checkbox]:checked:before, input[type=radio]:checked:before { 1411 | display: inline-block; 1412 | font: normal normal normal 14px/1 FontAwesome; 1413 | font-size: inherit; 1414 | text-rendering: auto; 1415 | -webkit-font-smoothing: antialiased; 1416 | -moz-osx-font-smoothing: grayscale; 1417 | transform: translate(0, 0); 1418 | } 1419 | input[type=checkbox]:checked:before { 1420 | content: "\f00c"; 1421 | margin: 0; 1422 | color: #1e8cbe; 1423 | } 1424 | input[type=radio]:checked:before { 1425 | content: '\2022'; 1426 | text-indent: -9999px; 1427 | -webkit-border-radius: 50px; 1428 | border-radius: 50px; 1429 | font-size: 24px; 1430 | width: 6px; 1431 | height: 6px; 1432 | margin: 4px; 1433 | line-height: 16px; 1434 | background-color: #1e8cbe; 1435 | } 1436 | @-moz-document url-prefix() { 1437 | .form-table input.tog, input[type=checkbox], input[type=radio] { 1438 | margin-bottom: -1px; 1439 | } 1440 | }input[type=search] { 1441 | -webkit-appearance: textfield; 1442 | } 1443 | input[type=search]::-webkit-search-decoration { 1444 | display: none; 1445 | } 1446 | .ie8 input[type=password] { 1447 | font-family: sans-serif; 1448 | } 1449 | button, input, select, textarea { 1450 | font-family: inherit; 1451 | font-size: inherit; 1452 | font-weight: inherit; 1453 | } 1454 | input, select, textarea { 1455 | font-size: 14px; 1456 | -webkit-border-radius: 0; 1457 | border-radius: 0; 1458 | } 1459 | textarea { 1460 | overflow: auto; 1461 | padding: 2px 6px; 1462 | line-height: 1.4; 1463 | } 1464 | .wp-admin input[type=file] { 1465 | padding: 3px 0; 1466 | } 1467 | label { 1468 | cursor: pointer; 1469 | } 1470 | input, select { 1471 | margin: 1px; 1472 | padding: 3px 5px; 1473 | } 1474 | input.code { 1475 | padding-top: 6px; 1476 | width: 100% 1477 | } 1478 | textarea.code { 1479 | line-height: 1.4; 1480 | padding: 4px 6px 1px; 1481 | } 1482 | input.readonly, input[readonly], textarea.readonly, textarea[readonly] { 1483 | background-color: #eee; 1484 | } 1485 | .wp-core-ui :-moz-placeholder, :-moz-placeholder { 1486 | color: #a9a9a9; 1487 | } 1488 | 1489 | th.sortable a, th.sorted a { 1490 | display: block; 1491 | overflow: hidden; 1492 | padding: 7px 7px 8px 10px; 1493 | } 1494 | th.manage-column a, th.sortable a:active, th.sortable a:focus, th.sortable a:hover { 1495 | color: #333; 1496 | } 1497 | th.sortable a:focus { 1498 | background: #e1e1e1; 1499 | } 1500 | .fixed .column-comments.sortable a, .fixed .column-comments.sorted a { 1501 | padding: 8px 0; 1502 | } 1503 | th.sortable a span, th.sorted a span { 1504 | float: left; 1505 | cursor: pointer; 1506 | } 1507 | th.desc:hover span.sorting-indicator, th.sorted.asc .sorting-indicator { 1508 | display: block; 1509 | background-position: 0 0; 1510 | } 1511 | th.asc:hover span.sorting-indicator, th.sorted.desc .sorting-indicator { 1512 | display: block; 1513 | background-position: -7px 0; 1514 | } 1515 | .tablenav-pages a { 1516 | font-weight: 600; 1517 | margin-right: 1px; 1518 | padding: 0 2px; 1519 | } 1520 | 1521 | .wp-list-table.plugins .plugin-title strong, .wp-list-table.plugins .theme-title strong { 1522 | font-size: 1.4em; 1523 | line-height: 1.6em; 1524 | } 1525 | 1526 | 1527 | 1528 | }#poststuff { 1529 | padding-top: 10px; 1530 | min-width: 763px; 1531 | } 1532 | #poststuff #post-body { 1533 | padding: 0; 1534 | } 1535 | #poststuff .postbox-container { 1536 | width: 100%} 1537 | #poststuff #post-body.columns-2 { 1538 | margin-right: 300px; 1539 | } 1540 | #show-comments { 1541 | overflow: hidden; 1542 | } 1543 | #save-action .spinner, #show-comments .spinner, #show-comments a { 1544 | float: left; 1545 | } 1546 | #lost-connection-notice .spinner { 1547 | display: block; 1548 | float: left; 1549 | margin: 0 5px 0 0; 1550 | } 1551 | #titlediv { 1552 | position: relative; 1553 | } 1554 | #titlediv label { 1555 | cursor: text; 1556 | } 1557 | #titlediv div.inside { 1558 | margin: 0; 1559 | } 1560 | #poststuff #titlewrap { 1561 | border: 0; 1562 | padding: 0; 1563 | } 1564 | #titlediv #title { 1565 | padding: 3px 8px; 1566 | font-size: 1.7em; 1567 | line-height: 100%; 1568 | height: 1.7em; 1569 | width: 100%; 1570 | outline: 0; 1571 | margin: 0; 1572 | background-color: #fff; 1573 | } 1574 | #titlediv #title-prompt-text { 1575 | color: #777; 1576 | position: absolute; 1577 | font-size: 1.7em; 1578 | padding: 11px 10px; 1579 | } 1580 | #wp-fullscreen-save .fs-saved { 1581 | color: #999; 1582 | float: right; 1583 | margin-top: 4px; 1584 | } 1585 | #poststuff .inside-submitbox, #side-sortables .inside-submitbox { 1586 | margin: 0 3px; 1587 | font-size: 11px; 1588 | } 1589 | input#link_description, input#link_url { 1590 | width: 98%} 1591 | #pending { 1592 | background: 0 none; 1593 | border: 0; 1594 | padding: 0; 1595 | font-size: 11px; 1596 | margin-top: -1px; 1597 | } 1598 | #edit-slug-box { 1599 | line-height: 24px; 1600 | min-height: 25px; 1601 | margin-top: 5px; 1602 | padding: 0 10px; 1603 | color: #666; 1604 | } 1605 | #edit-slug-box .cancel { 1606 | margin-right: 10px; 1607 | font-size: 11px; 1608 | } 1609 | #editable-post-name-full { 1610 | display: none; 1611 | } 1612 | #editable-post-name { 1613 | background-color: #fffbcc; 1614 | } 1615 | #editable-post-name input { 1616 | font-size: 13px; 1617 | height: 22px; 1618 | margin: 0; 1619 | width: 16em; 1620 | } 1621 | .postarea h3 label { 1622 | float: left; 1623 | } 1624 | .submitbox .submit { 1625 | text-align: left; 1626 | padding: 12px 10px 10px; 1627 | font-size: 11px; 1628 | background-color: #464646; 1629 | color: #ccc; 1630 | } 1631 | .submitbox .submitdelete { 1632 | text-decoration: none; 1633 | padding: 1px 2px; 1634 | } 1635 | #normal-sortables .submitbox .submitdelete:hover { 1636 | color: #000; 1637 | background-color: red; 1638 | border-bottom-color: red; 1639 | } 1640 | .submitbox .submit a:hover { 1641 | text-decoration: underline; 1642 | } 1643 | .submitbox .submit input { 1644 | margin-bottom: 8px; 1645 | margin-right: 4px; 1646 | padding: 6px; 1647 | } 1648 | .inside-submitbox #post_status { 1649 | margin: 2px 0 2px -2px; 1650 | } 1651 | #post-status-select { 1652 | margin-top: 3px; 1653 | } 1654 | #post-body #normal-sortables { 1655 | min-height: 50px; 1656 | } 1657 | .postbox { 1658 | position: relative; 1659 | min-width: 255px; 1660 | border: 1px solid #e5e5e5; 1661 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 1662 | box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 1663 | background: #fff; 1664 | } 1665 | #trackback_url { 1666 | width: 99%} 1667 | #normal-sortables .postbox .submit { 1668 | background: 0 0; 1669 | border: 0; 1670 | float: right; 1671 | padding: 0 12px; 1672 | margin: 0; 1673 | } 1674 | .category-add input[type=text], .category-add select { 1675 | width: 100%; 1676 | max-width: 260px; 1677 | vertical-align: baseline; 1678 | } 1679 | #side-sortables .category-add input[type=text], #side-sortables .category-add select { 1680 | margin: 0 0 1em; 1681 | } 1682 | #side-sortables .add-menu-item-tabs li, .wp-tab-bar li, ul.category-tabs li { 1683 | display: inline; 1684 | line-height: 1.35em; 1685 | } 1686 | .no-js .category-tabs li.hide-if-no-js { 1687 | display: none; 1688 | } 1689 | #side-sortables .add-menu-item-tabs a, .category-tabs a, .wp-tab-bar a { 1690 | text-decoration: none; 1691 | } 1692 | #post-body ul.add-menu-item-tabs li.tabs a, #post-body ul.category-tabs li.tabs a, #side-sortables .add-menu-item-tabs .tabs a, #side-sortables .category-tabs .tabs a, .wp-tab-bar .wp-tab-active a { 1693 | color: #333; 1694 | } 1695 | .category-tabs { 1696 | margin: 8px 0 5px; 1697 | } 1698 | #category-adder h4 { 1699 | margin: 10px 0; 1700 | } 1701 | #side-sortables .add-menu-item-tabs, .wp-tab-bar { 1702 | margin-bottom: 3px; 1703 | } 1704 | #normal-sortables .postbox #replyrow .submit { 1705 | float: none; 1706 | margin: 0; 1707 | padding: 0 7px 5px; 1708 | } 1709 | #side-sortables .submitbox .submit .preview, #side-sortables .submitbox .submit a.preview:hover, #side-sortables .submitbox .submit input { 1710 | border: 0; 1711 | } 1712 | #side-sortables .inside-submitbox .insidebox, .stuffbox .insidebox { 1713 | margin: 11px 0; 1714 | } 1715 | ul.add-menu-item-tabs, ul.category-tabs, ul.wp-tab-bar { 1716 | margin-top: 12px; 1717 | } 1718 | ul.add-menu-item-tabs li, ul.category-tabs li { 1719 | border: 1px solid transparent; 1720 | position: relative; 1721 | } 1722 | .wp-tab-active, ul.add-menu-item-tabs li.tabs, ul.category-tabs li.tabs { 1723 | border: 1px solid #dfdfdf; 1724 | border-bottom-color: #fdfdfd; 1725 | background-color: #fdfdfd; 1726 | } 1727 | ul.add-menu-item-tabs li, ul.category-tabs li, ul.wp-tab-bar li { 1728 | padding: 3px 5px 5px; 1729 | } 1730 | #postimagediv .inside img { 1731 | max-width: 100%; 1732 | height: auto; 1733 | width: auto; 1734 | } 1735 | form#tags-filter { 1736 | position: relative; 1737 | } 1738 | td.plugin-title strong, td.post-title strong { 1739 | display: block; 1740 | margin-bottom: .2em; 1741 | font-size: 14px; 1742 | } 1743 | td.plugin-title p, td.post-title p { 1744 | margin: 6px 0; 1745 | } 1746 | .ui-tabs-hide, .wp-hidden-children .wp-hidden-child { 1747 | display: none; 1748 | } 1749 | #post-body .tagsdiv #newtag { 1750 | margin-right: 5px; 1751 | width: 16em; 1752 | } 1753 | #side-sortables input#post_password { 1754 | width: 94%} 1755 | #side-sortables .tagsdiv #newtag { 1756 | width: 68%} 1757 | #post-status-info { 1758 | width: 100%; 1759 | border-spacing: 0; 1760 | border: 1px solid #e5e5e5; 1761 | border-top: none; 1762 | background-color: #f7f7f7; 1763 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 1764 | box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 1765 | z-index: 999; 1766 | } 1767 | 1768 | .post-format-icon.post-format-standard:before, .post-state-format.post-format-standard:before, a.post-state-format.format-standard:before { 1769 | content: '\f109'} 1770 | .post-format-icon.post-format-image:before, .post-state-format.post-format-image:before, a.post-state-format.format-image:before { 1771 | content: '\f128'} 1772 | .post-format-icon.post-format-gallery:before, .post-state-format.post-format-gallery:before, a.post-state-format.format-gallery:before { 1773 | content: '\f161'} 1774 | .post-format-icon.post-format-audio:before, .post-state-format.post-format-audio:before, a.post-state-format.format-audio:before { 1775 | content: '\f127'} 1776 | .post-format-icon.post-format-video:before, .post-state-format.post-format-video:before, a.post-state-format.format-video:before { 1777 | content: '\f126'} 1778 | .post-format-icon.post-format-chat:before, .post-state-format.post-format-chat:before, a.post-state-format.format-chat:before { 1779 | content: '\f125'} 1780 | .post-format-icon.post-format-status:before, .post-state-format.post-format-status:before, a.post-state-format.format-status:before { 1781 | content: '\f130'} 1782 | .post-format-icon.post-format-aside:before, .post-state-format.post-format-aside:before, a.post-state-format.format-aside:before { 1783 | content: '\f123'} 1784 | .post-format-icon.post-format-quote:before, .post-state-format.post-format-quote:before, a.post-state-format.format-quote:before { 1785 | content: '\f122'} 1786 | .post-format-icon.post-format-link:before, .post-state-format.post-format-link:before, a.post-state-format.format-link:before { 1787 | content: '\f103'} 1788 | .category-adder { 1789 | margin-left: 120px; 1790 | padding: 4px 0; 1791 | } 1792 | .category-adder h4 { 1793 | margin: 0 0 8px; 1794 | } 1795 | #side-sortables .category-adder { 1796 | margin: 0; 1797 | } 1798 | .categorydiv div.tabs-panel, .customlinkdiv div.tabs-panel, .posttypediv div.tabs-panel, .taxonomydiv div.tabs-panel, .wp-tab-panel { 1799 | min-height: 42px; 1800 | max-height: 200px; 1801 | overflow: auto; 1802 | padding: 0 .9em; 1803 | border: 1px solid #dfdfdf; 1804 | background-color: #fdfdfd; 1805 | } 1806 | div.tabs-panel-active { 1807 | display: block; 1808 | } 1809 | div.tabs-panel-inactive { 1810 | display: none; 1811 | } 1812 | #front-page-warning, #front-static-pages ul, .categorydiv ul.categorychecklist ul, .customlinkdiv ul.categorychecklist ul, .inline-editor ul.cat-checklist ul, .posttypediv ul.categorychecklist ul, .taxonomydiv ul.categorychecklist ul, ul.export-filters { 1813 | margin-left: 18px; 1814 | } 1815 | ul.categorychecklist li { 1816 | margin: 0; 1817 | padding: 0; 1818 | line-height: 22px; 1819 | word-wrap: break-word; 1820 | } 1821 | 1822 | 1823 | .comment-ays { 1824 | margin-bottom: 0; 1825 | border-bottom-style: solid; 1826 | border-bottom-width: 1px; 1827 | } 1828 | .comment-ays .alt { 1829 | background-color: transparent; 1830 | } 1831 | .spam-undo-inside, .trash-undo-inside { 1832 | margin: 1px 8px 1px 0; 1833 | line-height: 16px; 1834 | } 1835 | .spam-undo-inside .avatar, .trash-undo-inside .avatar { 1836 | height: 20px; 1837 | width: 20px; 1838 | margin-right: 8px; 1839 | vertical-align: middle; 1840 | } 1841 | .stuffbox .editcomment { 1842 | clear: none; 1843 | } 1844 | #comment-status-radio p { 1845 | margin: 3px 0 5px; 1846 | } 1847 | #comment-status-radio input { 1848 | margin: 2px 3px 5px 0; 1849 | vertical-align: middle; 1850 | } 1851 | #comment-status-radio label { 1852 | padding: 5px 0; 1853 | } 1854 | table.links-table { 1855 | width: 100%; 1856 | border-spacing: 0; 1857 | } 1858 | .links-table th { 1859 | font-weight: 400; 1860 | text-align: left; 1861 | vertical-align: top; 1862 | min-width: 80px; 1863 | width: 20%; 1864 | word-wrap: break-word; 1865 | } 1866 | .links-table td, .links-table th { 1867 | padding: 5px 0; 1868 | } 1869 | .links-table td label { 1870 | margin-right: 8px; 1871 | } 1872 | .links-table td input[type=text], .links-table td textarea { 1873 | width: 100%} 1874 | .links-table #link_rel { 1875 | max-width: 280px; 1876 | } 1877 | #qt_content_dfw, #wp-content-wrap .mce-wp-dfw { 1878 | display: none; 1879 | } 1880 | #post-visibility-select { 1881 | line-height: 280%} 1882 | .wp-core-ui .save-post-visibility, .wp-core-ui .save-timestamp { 1883 | vertical-align: middle; 1884 | margin-right: 15px; 1885 | } 1886 | 1887 | div.quicktags-toolbar input { 1888 | padding: 10px 20px; 1889 | } 1890 | button.wp-switch-editor { 1891 | font-size: 16px; 1892 | line-height: 1em; 1893 | margin: 7px 0 0 7px; 1894 | padding: 8px 12px; 1895 | } 1896 | #wp-content-media-buttons a { 1897 | font-size: 16px; 1898 | line-height: 37px; 1899 | height: 39px; 1900 | padding: 0 20px 0 15px; 1901 | } 1902 | .wp-media-buttons span.jetpack-contact-form-icon, .wp-media-buttons span.wp-media-buttons-icon { 1903 | width: 22px!important; 1904 | margin-top: -3px!important; 1905 | margin-left: -5px!important; 1906 | } 1907 | .wp-media-buttons #insert-jetpack-contact-form span.jetpack-contact-form-icon:before, .wp-media-buttons .add_media span.wp-media-buttons-icon:before { 1908 | font-size: 20px!important; 1909 | } 1910 | #content_wp_fullscreen { 1911 | display: none; 1912 | } 1913 | .misc-pub-section { 1914 | padding: 20px 10px; 1915 | } 1916 | .misc-pub-section>a { 1917 | float: right; 1918 | font-size: 16px; 1919 | } 1920 | #delete-action, #publishing-action { 1921 | line-height: 47px; 1922 | } 1923 | .comment-ays { 1924 | border-bottom: none; 1925 | } 1926 | .links-table #link_rel { 1927 | max-width: none; 1928 | } 1929 | .links-table td, .links-table th { 1930 | padding: 10px 0; 1931 | } 1932 | }@media only screen and (max-width:500px) { 1933 | #wp-content-media-buttons a { 1934 | font-size: 14px; 1935 | padding: 0 10px; 1936 | } 1937 | } 1938 | .drag-drop #drag-drop-area { 1939 | border: 4px dashed #bbb; 1940 | height: 200px; 1941 | } 1942 | .drag-drop .drag-drop-inside { 1943 | margin: 70px auto 0; 1944 | width: 250px; 1945 | } 1946 | .drag-drop-inside p { 1947 | color: #aaa; 1948 | font-size: 14px; 1949 | margin: 5px 0; 1950 | display: none; 1951 | } 1952 | .drag-drop .drag-drop-inside p { 1953 | text-align: center; 1954 | } 1955 | .drag-drop-inside p.drag-drop-info { 1956 | font-size: 20px; 1957 | } 1958 | .drag-drop .drag-drop-inside p, .drag-drop-inside p.drag-drop-buttons { 1959 | display: block; 1960 | } 1961 | .drag-drop.drag-over #drag-drop-area { 1962 | border-color: #83b4d8; 1963 | } 1964 | #plupload-upload-ui { 1965 | position: relative; 1966 | } 1967 | 1968 | @media screen and (max-width:782px) { 1969 | .about-wrap .one-col>div, .about-wrap .three-col>div, .about-wrap .two-col>div { 1970 | width: 100%; 1971 | margin: 0 0 40px; 1972 | padding: 0 0 40px; 1973 | border-bottom: 1px solid rgba(0, 0, 0, .1); 1974 | } 1975 | .about-wrap .col>div.last-feature, .about-wrap .feature-list div { 1976 | margin: 0; 1977 | padding: 0; 1978 | border-bottom: none; 1979 | } 1980 | .about-wrap .headline-feature .feature-section { 1981 | max-width: 100%} 1982 | .about-wrap .feature-list .feature-section { 1983 | padding: 0 0 40px; 1984 | } 1985 | }@media only screen and (max-width:500px) { 1986 | .about-wrap { 1987 | margin-right: 20px; 1988 | margin-left: 10px; 1989 | } 1990 | .about-wrap .about-text, .about-wrap h1 { 1991 | margin-right: 0; 1992 | } 1993 | .about-wrap .about-text { 1994 | margin-bottom: .25em; 1995 | } 1996 | .about-wrap .wp-badge { 1997 | position: relative; 1998 | margin-bottom: 1.5em; 1999 | width: 100%} 2000 | .about-wrap h2.nav-tab-wrapper { 2001 | padding-left: 0; 2002 | border-bottom: 0; 2003 | } 2004 | .about-wrap h2 .nav-tab { 2005 | margin-top: 10px; 2006 | margin-right: 10px; 2007 | border-bottom: 1px solid #ccc; 2008 | } 2009 | .about-wrap .headline-feature .feature-section div, .about-wrap .three-col div { 2010 | width: 100%!important; 2011 | float: none!important; 2012 | } 2013 | .about-wrap .dfw p { 2014 | max-width: 90%} 2015 | }@media only screen and (max-width:400px) { 2016 | .about-wrap .feature-list svg { 2017 | margin-top: 15px; 2018 | height: 65px; 2019 | width: 65px; 2020 | } 2021 | .about-wrap .feature-list.finer-points h4, .about-wrap .feature-list.finer-points p { 2022 | margin-left: 80px; 2023 | } 2024 | }.no-js #message { 2025 | display: block; 2026 | } 2027 | ul.add-menu-item-tabs li { 2028 | padding: 3px 5px 3px 8px; 2029 | } 2030 | .accordion-section ul.add-menu-item-tabs, .accordion-section ul.category-tabs, .accordion-section ul.wp-tab-bar { 2031 | margin: 0; 2032 | } 2033 | .accordion-section .categorychecklist { 2034 | margin: 13px 0; 2035 | } 2036 | #nav-menu-meta .accordion-section-content { 2037 | padding: 18px 13px; 2038 | } 2039 | #nav-menu-meta .button-controls { 2040 | margin-bottom: 0; 2041 | } 2042 | #nav-menus-frame { 2043 | margin-left: 300px; 2044 | margin-top: 23px; 2045 | } 2046 | #wpbody-content #menu-settings-column { 2047 | display: inline; 2048 | width: 281px; 2049 | margin-left: -300px; 2050 | clear: both; 2051 | float: left; 2052 | padding-top: 0; 2053 | } 2054 | #menu-settings-column .inside { 2055 | clear: both; 2056 | margin: 10px 0 0; 2057 | } 2058 | .metabox-holder-disabled .accordion-section-content, .metabox-holder-disabled .accordion-section-title, .metabox-holder-disabled .postbox { 2059 | opacity: .5; 2060 | filter: alpha(opacity=50); 2061 | } 2062 | .metabox-holder-disabled .button-controls .select-all { 2063 | display: none; 2064 | } 2065 | #wpbody { 2066 | position: relative; 2067 | } 2068 | .blank-slate .menu-name { 2069 | height: 2em; 2070 | } 2071 | .blank-slate .menu-settings { 2072 | border: none; 2073 | margin-top: 0; 2074 | padding-top: 0; 2075 | overflow: hidden; 2076 | } 2077 | .is-submenu { 2078 | color: #999; 2079 | font-style: italic; 2080 | font-weight: 400; 2081 | margin-left: 4px; 2082 | } 2083 | .manage-menus { 2084 | margin-top: 23px; 2085 | padding: 10px; 2086 | overflow: hidden; 2087 | background: #fbfbfb; 2088 | } 2089 | .manage-menus select { 2090 | float: left; 2091 | margin-right: 6px; 2092 | } 2093 | .manage-menus .selected-menu { 2094 | float: left; 2095 | margin: 5px 6px 0 0; 2096 | } 2097 | .manage-menus .submit-btn { 2098 | float: left; 2099 | margin-top: 1px; 2100 | } 2101 | .menu-edit p { 2102 | margin: .3em 0 .6em; 2103 | } 2104 | .menu-edit #post-body-content h3 { 2105 | margin: 1em 0 10px; 2106 | } 2107 | .menu-settings { 2108 | border-top: 1px solid #eee; 2109 | margin-top: 2em; 2110 | } 2111 | .menu-settings dl { 2112 | margin: 0 0 10px; 2113 | overflow: hidden; 2114 | padding-left: 18%} 2115 | .menu-settings dd { 2116 | float: left; 2117 | margin: 0; 2118 | width: 100%} 2119 | .menu-settings dt { 2120 | float: left; 2121 | clear: both; 2122 | width: 21.951%; 2123 | padding: 3px 0 0; 2124 | margin-left: -21.951%} 2125 | .menu-settings label { 2126 | vertical-align: baseline; 2127 | } 2128 | .menu-edit .checkbox-input { 2129 | margin-top: 4px; 2130 | } 2131 | .theme-location-set { 2132 | color: #999; 2133 | font-size: 11px; 2134 | } 2135 | #menu-management-liquid { 2136 | float: left; 2137 | min-width: 100%; 2138 | margin-top: 3px; 2139 | } 2140 | #menu-management { 2141 | position: relative; 2142 | margin-right: 20px; 2143 | margin-top: -3px; 2144 | width: 100%; 2145 | background: #f5f5f5; 2146 | } 2147 | #menu-management .menu-edit { 2148 | margin-bottom: 20px; 2149 | } 2150 | .nav-menus-php #post-body { 2151 | padding: 0 10px 10px; 2152 | border-top: 1px solid #fff; 2153 | border-bottom: 1px solid #dfdfdf; 2154 | background: #fff; 2155 | } 2156 | #nav-menu-footer, #nav-menu-header { 2157 | padding: 0 10px; 2158 | } 2159 | #nav-menu-header { 2160 | border-bottom: 1px solid #dfdfdf; 2161 | margin-bottom: 0; 2162 | } 2163 | #nav-menu-header .menu-name-label { 2164 | margin-top: 4px; 2165 | } 2166 | .nav-menus-php #post-body div.error, .nav-menus-php #post-body div.updated { 2167 | margin: 0; 2168 | } 2169 | .nav-menus-php #post-body-content { 2170 | position: relative; 2171 | float: none; 2172 | } 2173 | #menu-management .menu-add-new abbr { 2174 | font-weight: 600; 2175 | } 2176 | #select-nav-menu-container { 2177 | text-align: right; 2178 | padding: 0 10px 3px; 2179 | margin-bottom: 5px; 2180 | } 2181 | #select-nav-menu { 2182 | width: 100px; 2183 | display: inline; 2184 | } 2185 | #menu-name-label { 2186 | margin-top: -2px; 2187 | } 2188 | .widefat td.menu-location-menus { 2189 | padding-bottom: 5px; 2190 | } 2191 | .menu-location-menus select { 2192 | float: left; 2193 | } 2194 | #locations-nav-menu-wrapper { 2195 | padding: 5px 0; 2196 | } 2197 | .locations-nav-menu-select select { 2198 | float: left; 2199 | width: 160px; 2200 | margin-right: 5px; 2201 | } 2202 | .locations-row-links { 2203 | float: left; 2204 | margin: 6px 0 0 6px; 2205 | } 2206 | .locations-add-menu-link, .locations-edit-menu-link { 2207 | margin: 0 3px; 2208 | } 2209 | .locations-edit-menu-link { 2210 | padding-right: 3px; 2211 | border-right: 1px solid #ccc; 2212 | } 2213 | #wpbody .open-label { 2214 | display: block; 2215 | float: left; 2216 | } 2217 | #wpbody .open-label span { 2218 | padding-right: 10px; 2219 | } 2220 | .js .input-with-default-title { 2221 | color: #aaa; 2222 | font-style: italic; 2223 | } 2224 | #menu-management .inside { 2225 | padding: 0 10px; 2226 | } 2227 | .accordion-container .howto input, .postbox .howto input { 2228 | width: 180px; 2229 | float: right; 2230 | } 2231 | .accordion-container .outer-border { 2232 | margin: 0; 2233 | } 2234 | .customlinkdiv .howto input { 2235 | width: 180px; 2236 | } 2237 | .customlinkdiv p { 2238 | margin-top: 0; 2239 | } 2240 | #nav-menu-theme-locations .howto select { 2241 | width: 100%} 2242 | #nav-menu-theme-locations .button-controls { 2243 | text-align: right; 2244 | } 2245 | .add-menu-item-view-all { 2246 | height: 400px; 2247 | } 2248 | #menu-container .submit { 2249 | margin: 0 0 10px; 2250 | padding: 0; 2251 | } 2252 | .nav-menus-php .add-new-menu-action { 2253 | float: left; 2254 | margin: 6px 0 0 6px; 2255 | line-height: 15px; 2256 | } 2257 | .nav-menus-php .meta-sep, .nav-menus-php .submitcancel, .nav-menus-php .submitdelete { 2258 | display: block; 2259 | float: left; 2260 | margin: 6px 0; 2261 | line-height: 15px; 2262 | } 2263 | .meta-sep { 2264 | padding: 0 2px; 2265 | } 2266 | #cancel-save { 2267 | text-decoration: underline; 2268 | font-size: 12px; 2269 | margin-left: 20px; 2270 | margin-top: 5px; 2271 | } 2272 | .button-primary.right, .button-secondary.right, .button.right { 2273 | float: right; 2274 | } 2275 | .list-controls { 2276 | float: left; 2277 | margin-top: 5px; 2278 | } 2279 | .add-to-menu { 2280 | float: right; 2281 | } 2282 | .postbox .spinner { 2283 | display: none; 2284 | vertical-align: middle; 2285 | } 2286 | .button-controls { 2287 | clear: both; 2288 | margin: 10px 0; 2289 | } 2290 | .hide-all, .show-all { 2291 | cursor: pointer; 2292 | } 2293 | .hide-all { 2294 | display: none; 2295 | } 2296 | #menu-name { 2297 | width: 270px; 2298 | } 2299 | #manage-menu .inside { 2300 | padding: 0; 2301 | } 2302 | #available-links dt { 2303 | display: block; 2304 | } 2305 | #add-custom-link .howto { 2306 | font-size: 12px; 2307 | } 2308 | #add-custom-link label span { 2309 | display: block; 2310 | float: left; 2311 | margin-top: 5px; 2312 | padding-right: 5px; 2313 | } 2314 | .menu-item-textbox { 2315 | width: 180px; 2316 | } 2317 | .nav-menus-php .howto span { 2318 | margin-top: 6px; 2319 | display: block; 2320 | float: left; 2321 | } 2322 | .quick-search { 2323 | width: 190px; 2324 | } 2325 | .nav-menus-php .list-wrap { 2326 | display: none; 2327 | clear: both; 2328 | margin-bottom: 10px; 2329 | } 2330 | .nav-menus-php .postbox p.submit { 2331 | margin-bottom: 0; 2332 | } 2333 | .nav-menus-php .list li { 2334 | display: none; 2335 | margin: 0 0 5px; 2336 | } 2337 | .nav-menus-php .list li .menu-item-title { 2338 | cursor: pointer; 2339 | display: block; 2340 | } 2341 | .nav-menus-php .list li .menu-item-title input { 2342 | margin-right: 3px; 2343 | margin-top: -3px; 2344 | } 2345 | .menu-item-title input[type=checkbox] { 2346 | display: inline-block; 2347 | margin-top: -4px; 2348 | } 2349 | #menu-container .inside { 2350 | padding-bottom: 10px; 2351 | } 2352 | .menu { 2353 | padding-top: 1em; 2354 | } 2355 | #menu-to-edit { 2356 | margin: 0; 2357 | padding: .1em 0; 2358 | } 2359 | .menu ul { 2360 | width: 100%} 2361 | .menu li { 2362 | margin-bottom: 0; 2363 | position: relative; 2364 | } 2365 | .menu-item-bar { 2366 | clear: both; 2367 | line-height: 1.5em; 2368 | position: relative; 2369 | margin: 9px 0 0; 2370 | } 2371 | .menu-item-bar .menu-item-handle { 2372 | border: 1px solid #dfdfdf; 2373 | position: relative; 2374 | padding: 10px 15px; 2375 | height: auto; 2376 | min-height: 20px; 2377 | width: 382px; 2378 | line-height: 30px; 2379 | overflow: hidden; 2380 | word-wrap: break-word; 2381 | } 2382 | .menu-item-bar .menu-item-handle:hover { 2383 | border-color: #999; 2384 | background-color: white 2385 | } 2386 | #menu-to-edit .menu-item-invalid .menu-item-handle { 2387 | background: #f6c9cc; 2388 | border-color: #f1acb1; 2389 | } 2390 | .no-js .menu-item-edit-active .item-edit { 2391 | display: none; 2392 | } 2393 | .js .menu-item-handle { 2394 | cursor: move; 2395 | } 2396 | .menu li.deleting .menu-item-handle { 2397 | background-image: none; 2398 | background-color: #f66; 2399 | } 2400 | .menu-item-handle .item-title { 2401 | font-size: 13px; 2402 | font-weight: 600; 2403 | line-height: 20px; 2404 | display: block; 2405 | margin-right: 13em; 2406 | } 2407 | .menu-item-handle .menu-item-title.no-title { 2408 | color: #999; 2409 | } 2410 | li.menu-item.ui-sortable-helper dl { 2411 | margin-top: 0; 2412 | } 2413 | li.menu-item.ui-sortable-helper .menu-item-transport dl { 2414 | margin-top: 13px; 2415 | } 2416 | .menu .sortable-placeholder { 2417 | height: 35px; 2418 | width: 410px; 2419 | margin-top: 13px; 2420 | } 2421 | .menu-item-depth-0 { 2422 | margin-left: 0; 2423 | } 2424 | .menu-item-depth-1 { 2425 | margin-left: 30px; 2426 | } 2427 | .menu-item-depth-2 { 2428 | margin-left: 60px; 2429 | } 2430 | .menu-item-depth-3 { 2431 | margin-left: 90px; 2432 | } 2433 | .menu-item-depth-4 { 2434 | margin-left: 120px; 2435 | } 2436 | .menu-item-depth-5 { 2437 | margin-left: 150px; 2438 | } 2439 | .menu-item-depth-6 { 2440 | margin-left: 180px; 2441 | } 2442 | .menu-item-depth-7 { 2443 | margin-left: 210px; 2444 | } 2445 | .menu-item-depth-8 { 2446 | margin-left: 240px; 2447 | } 2448 | .menu-item-depth-9 { 2449 | margin-left: 270px; 2450 | } 2451 | .menu-item-depth-10 { 2452 | margin-left: 300px; 2453 | } 2454 | .menu-item-depth-11 { 2455 | margin-left: 330px; 2456 | } 2457 | .menu-item-depth-0 .menu-item-transport { 2458 | margin-left: 0; 2459 | } 2460 | .menu-item-depth-1 .menu-item-transport { 2461 | margin-left: -30px; 2462 | } 2463 | .menu-item-depth-2 .menu-item-transport { 2464 | margin-left: -60px; 2465 | } 2466 | .menu-item-depth-3 .menu-item-transport { 2467 | margin-left: -90px; 2468 | } 2469 | .menu-item-depth-4 .menu-item-transport { 2470 | margin-left: -120px; 2471 | } 2472 | .menu-item-depth-5 .menu-item-transport { 2473 | margin-left: -150px; 2474 | } 2475 | .menu-item-depth-6 .menu-item-transport { 2476 | margin-left: -180px; 2477 | } 2478 | .menu-item-depth-7 .menu-item-transport { 2479 | margin-left: -210px; 2480 | } 2481 | .menu-item-depth-8 .menu-item-transport { 2482 | margin-left: -240px; 2483 | } 2484 | .menu-item-depth-9 .menu-item-transport { 2485 | margin-left: -270px; 2486 | } 2487 | .menu-item-depth-10 .menu-item-transport { 2488 | margin-left: -300px; 2489 | } 2490 | .menu-item-depth-11 .menu-item-transport { 2491 | margin-left: -330px; 2492 | } 2493 | body.menu-max-depth-0 { 2494 | min-width: 950px!important; 2495 | } 2496 | body.menu-max-depth-1 { 2497 | min-width: 980px!important; 2498 | } 2499 | body.menu-max-depth-2 { 2500 | min-width: 1010px!important; 2501 | } 2502 | body.menu-max-depth-3 { 2503 | min-width: 1040px!important; 2504 | } 2505 | body.menu-max-depth-4 { 2506 | min-width: 1070px!important; 2507 | } 2508 | body.menu-max-depth-5 { 2509 | min-width: 1100px!important; 2510 | } 2511 | body.menu-max-depth-6 { 2512 | min-width: 1130px!important; 2513 | } 2514 | body.menu-max-depth-7 { 2515 | min-width: 1160px!important; 2516 | } 2517 | body.menu-max-depth-8 { 2518 | min-width: 1190px!important; 2519 | } 2520 | body.menu-max-depth-9 { 2521 | min-width: 1220px!important; 2522 | } 2523 | body.menu-max-depth-10 { 2524 | min-width: 1250px!important; 2525 | } 2526 | body.menu-max-depth-11 { 2527 | min-width: 1280px!important; 2528 | } 2529 | .item-type { 2530 | color: #777; 2531 | font-size: 12px; 2532 | padding: 12px 10px; 2533 | line-height: 18px; 2534 | display: block; 2535 | } 2536 | .item-controls { 2537 | font-size: 12px; 2538 | position: absolute; 2539 | right: 20px; 2540 | top: -1px; 2541 | } 2542 | .item-controls a { 2543 | text-decoration: none; 2544 | } 2545 | .item-controls a:hover { 2546 | cursor: pointer; 2547 | } 2548 | .item-controls .item-order { 2549 | padding-right: 10px; 2550 | } 2551 | .nav-menus-php .item-edit { 2552 | position: absolute; 2553 | right: -20px; 2554 | top: 0; 2555 | display: block; 2556 | width: 30px; 2557 | height: 40px; 2558 | margin-right: 0!important; 2559 | text-indent: 100%; 2560 | outline: 0; 2561 | overflow: hidden; 2562 | white-space: nowrap; 2563 | } 2564 | .menu-instructions-inactive { 2565 | display: none; 2566 | } 2567 | .menu-item-settings { 2568 | display: block; 2569 | width: 402px; 2570 | padding: 10px 0 10px 10px; 2571 | position: relative; 2572 | z-index: 10; 2573 | border: 1px solid #e5e5e5; 2574 | border-top: none; 2575 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 2576 | box-shadow: 0 1px 1px rgba(0, 0, 0, .04); 2577 | } 2578 | .menu-item-settings .field-move a { 2579 | display: none; 2580 | margin: 0 2px; 2581 | } 2582 | .menu-item-edit-active .menu-item-settings { 2583 | display: block; 2584 | } 2585 | .menu-item-edit-inactive .menu-item-settings { 2586 | display: none; 2587 | } 2588 | .add-menu-item-pagelinks { 2589 | margin: .5em auto; 2590 | text-align: center; 2591 | } 2592 | .link-to-original { 2593 | display: block; 2594 | margin: 0 0 10px; 2595 | padding: 3px 5px 5px; 2596 | border: 1px solid #dfdfdf; 2597 | color: #777; 2598 | font-size: 12px; 2599 | font-style: italic; 2600 | } 2601 | .link-to-original a { 2602 | padding-left: 4px; 2603 | font-style: normal; 2604 | } 2605 | .hidden-field { 2606 | display: none; 2607 | } 2608 | .menu-item-settings .description-thin, .menu-item-settings .description-wide { 2609 | margin-right: 10px; 2610 | float: left; 2611 | } 2612 | .description-thin { 2613 | width: 190px; 2614 | height: 40px; 2615 | } 2616 | .description-wide { 2617 | width: 390px; 2618 | } 2619 | .menu-item-actions { 2620 | padding-top: 15px; 2621 | } 2622 | #cancel-save { 2623 | cursor: pointer; 2624 | } 2625 | .nav-menus-php .major-publishing-actions { 2626 | clear: both; 2627 | padding: 3px 0 6px; 2628 | } 2629 | .nav-menus-php .major-publishing-actions .publishing-action { 2630 | text-align: right; 2631 | float: right; 2632 | line-height: 23px; 2633 | margin: 4px 0 1px; 2634 | } 2635 | .nav-menus-php .blank-slate .menu-settings { 2636 | display: none; 2637 | } 2638 | .nav-menus-php .delete-action { 2639 | float: left; 2640 | margin-top: 2px; 2641 | } 2642 | .nav-menus-php .submitbox .submitcancel { 2643 | border-bottom: 1px solid #0074a2; 2644 | padding: 1px 2px; 2645 | color: #0074a2; 2646 | text-decoration: none; 2647 | } 2648 | .nav-menus-php .submitbox .submitcancel:hover { 2649 | background: #0074a2; 2650 | color: #fff; 2651 | } 2652 | .nav-menus-php .major-publishing-actions .form-invalid { 2653 | padding-left: 4px; 2654 | margin-left: -4px; 2655 | } 2656 | #menu-item-name-wrap:after, #menu-item-url-wrap:after, #menu-name-label:after, #menu-settings-column .inside:after, #nav-menus-frame:after, .nav-menus-php #post-body-content:after, .nav-menus-php .button-controls:after, .nav-menus-php .major-publishing-actions:after, .nav-menus-php .menu-item-settings:after { 2657 | clear: both; 2658 | content: "."; 2659 | display: block; 2660 | height: 0; 2661 | visibility: hidden; 2662 | } 2663 | #menu-item-name-wrap, #menu-item-url-wrap, #nav-menus-frame, .button-controls { 2664 | display: block; 2665 | } 2666 | @media screen and (max-width:782px) { 2667 | body.nav-menus-php { 2668 | min-width: 0!important; 2669 | } 2670 | #nav-menus-frame { 2671 | margin-left: 0; 2672 | float: none; 2673 | width: 100%} 2674 | #wpbody-content #menu-settings-column { 2675 | display: block; 2676 | width: 100%; 2677 | float: none; 2678 | margin-left: 0; 2679 | } 2680 | #side-sortables .add-menu-item-tabs { 2681 | margin: 15px 0 14px; 2682 | } 2683 | ul.add-menu-item-tabs li.tabs { 2684 | padding: 13px 15px 14px; 2685 | } 2686 | .nav-menus-php .item-controls .item-type { 2687 | margin-top: 2px; 2688 | } 2689 | .nav-menus-php .customlinkdiv .howto input { 2690 | width: 65%} 2691 | .nav-menus-php .quick-search { 2692 | width: 85%} 2693 | #menu-management-liquid { 2694 | margin-top: 25px; 2695 | } 2696 | .nav-menus-php .menu-name-label.howto span { 2697 | margin-top: 13px; 2698 | } 2699 | .menu-name-label #menu-name { 2700 | margin-top: 4px; 2701 | } 2702 | .nav-menus-php .major-publishing-actions .publishing-action { 2703 | margin-top: 6px; 2704 | } 2705 | .nav-menus-php .delete-action { 2706 | font-size: 14px; 2707 | line-height: 50px; 2708 | margin-top: 12px; 2709 | } 2710 | .description-wide, .menu-item-bar .menu-item-handle, .menu-item-settings { 2711 | width: auto; 2712 | } 2713 | .menu-item-settings { 2714 | padding: 10px; 2715 | } 2716 | .menu-item-settings .description-thin, .menu-item-settings .description-wide { 2717 | width: 100%; 2718 | height: auto; 2719 | } 2720 | .menu-item-settings input { 2721 | width: 100%} 2722 | .menu-settings dl { 2723 | padding-left: 0; 2724 | } 2725 | .menu-settings dd { 2726 | float: none; 2727 | width: 100%; 2728 | margin-bottom: 15px; 2729 | } 2730 | .menu-settings dt { 2731 | float: none; 2732 | width: auto; 2733 | margin-left: 0; 2734 | margin-bottom: 15px; 2735 | } 2736 | }@media only screen and (max-width:768px) { 2737 | #menu-locations-wrap .widefat { 2738 | width: 100%} 2739 | }.widget { 2740 | margin: 0 auto 10px; 2741 | position: relative; 2742 | -webkit-box-sizing: border-box; 2743 | -moz-box-sizing: border-box; 2744 | box-sizing: border-box; 2745 | } 2746 | .widget-top { 2747 | font-size: 13px; 2748 | font-weight: 600; 2749 | background: #f7f7f7; 2750 | } 2751 | .widget-top a.widget-action, .widget-top a.widget-action:hover { 2752 | -webkit-box-shadow: none; 2753 | box-shadow: none; 2754 | outline: 0; 2755 | text-decoration: none; 2756 | } 2757 | .widget-title h4 { 2758 | margin: 0; 2759 | padding: 15px; 2760 | line-height: 1; 2761 | overflow: hidden; 2762 | white-space: nowrap; 2763 | text-overflow: ellipsis; 2764 | -webkit-user-select: none; 2765 | -moz-user-select: none; 2766 | -ms-user-select: none; 2767 | user-select: none; 2768 | } 2769 | .widgets-holder-wrap .widget-inside { 2770 | border-top: none; 2771 | padding: 1px 15px 15px; 2772 | line-height: 16px; 2773 | } 2774 | #available-widgets .widget-description, #widgets-right a.widget-control-edit, .in-widget-title { 2775 | color: #666; 2776 | } 2777 | .deleting .widget-title, .deleting .widget-top a.widget-action:after { 2778 | color: #aaa; 2779 | } 2780 | .widget.ui-draggable-dragging { 2781 | min-width: 100%} 2782 | .widget.ui-sortable-helper { 2783 | opacity: .8; 2784 | } 2785 | .widget-placeholder { 2786 | border: 1px dashed #bbb; 2787 | margin: 0 auto 10px; 2788 | height: 45px; 2789 | width: 100%; 2790 | -webkit-box-sizing: border-box; 2791 | -moz-box-sizing: border-box; 2792 | box-sizing: border-box; 2793 | } 2794 | #widgets-right .widget-placeholder { 2795 | margin-top: 0; 2796 | } 2797 | #widgets-right .closed .widget-placeholder { 2798 | height: 0; 2799 | border: 0; 2800 | margin-top: -10px; 2801 | } 2802 | .sidebar-name { 2803 | position: relative; 2804 | -webkit-box-sizing: border-box; 2805 | -moz-box-sizing: border-box; 2806 | box-sizing: border-box; 2807 | } 2808 | 2809 | .wp-core-ui .button, .wp-core-ui .button-primary, .wp-core-ui .button-secondary { 2810 | display: inline-block; 2811 | text-decoration: none; 2812 | font-size: 13px; 2813 | line-height: 26px; 2814 | height: 28px; 2815 | margin: 0; 2816 | padding: 0 10px 1px; 2817 | cursor: pointer; 2818 | border-width: 1px; 2819 | border-style: solid; 2820 | -webkit-appearance: none; 2821 | -webkit-border-radius: 3px; 2822 | border-radius: 3px; 2823 | white-space: nowrap; 2824 | -webkit-box-sizing: border-box; 2825 | -moz-box-sizing: border-box; 2826 | box-sizing: border-box; 2827 | } 2828 | .wp-core-ui button::-moz-focus-inner, .wp-core-ui input[type=button]::-moz-focus-inner, .wp-core-ui input[type=reset]::-moz-focus-inner, .wp-core-ui input[type=submit]::-moz-focus-inner { 2829 | border-width: 0; 2830 | border-style: none; 2831 | padding: 0; 2832 | } 2833 | .wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large { 2834 | height: 30px; 2835 | line-height: 28px; 2836 | padding: 0 12px 2px; 2837 | } 2838 | .wp-core-ui .button-group.button-small .button, .wp-core-ui .button.button-small { 2839 | height: 24px; 2840 | line-height: 22px; 2841 | padding: 0 8px 1px; 2842 | font-size: 11px; 2843 | } 2844 | .wp-core-ui .button-group.button-hero .button, .wp-core-ui .button.button-hero { 2845 | font-size: 14px; 2846 | height: 46px; 2847 | line-height: 44px; 2848 | padding: 0 36px; 2849 | } 2850 | .wp-core-ui .button:active, .wp-core-ui .button:focus { 2851 | outline: 0; 2852 | } 2853 | .wp-core-ui .button.hidden { 2854 | display: none; 2855 | } 2856 | .wp-core-ui input[type=reset], .wp-core-ui input[type=reset]:active, .wp-core-ui input[type=reset]:focus, .wp-core-ui input[type=reset]:hover { 2857 | background: 0 0; 2858 | border: none; 2859 | -webkit-box-shadow: none; 2860 | box-shadow: none; 2861 | padding: 0 2px 1px; 2862 | width: auto; 2863 | } 2864 | .wp-core-ui .button, .wp-core-ui .button-secondary { 2865 | color: #555; 2866 | border-color: #ccc; 2867 | background: #f7f7f7; 2868 | -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0, 0, 0, .08); 2869 | box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0, 0, 0, .08); 2870 | vertical-align: top; 2871 | } 2872 | .wp-core-ui p .button { 2873 | vertical-align: baseline; 2874 | } 2875 | .wp-core-ui .button-secondary:focus, .wp-core-ui .button-secondary:hover, .wp-core-ui .button.focus, .wp-core-ui .button.hover, .wp-core-ui .button:focus, .wp-core-ui .button:hover { 2876 | background: #fafafa; 2877 | border-color: #999; 2878 | color: #222; 2879 | } 2880 | .wp-core-ui .button-secondary:focus, .wp-core-ui .button.focus, .wp-core-ui .button:focus { 2881 | -webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 2882 | box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 2883 | } 2884 | .wp-core-ui .button-secondary:active, .wp-core-ui .button.active, .wp-core-ui .button.active:hover, .wp-core-ui .button:active { 2885 | background: #eee; 2886 | border-color: #999; 2887 | color: #333; 2888 | -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, .5); 2889 | box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, .5); 2890 | } 2891 | .wp-core-ui .button.active:focus { 2892 | -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, .5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 2893 | box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, .5), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 2894 | } 2895 | .wp-core-ui .button-disabled, .wp-core-ui .button-secondary.disabled, .wp-core-ui .button-secondary:disabled, .wp-core-ui .button-secondary[disabled], .wp-core-ui .button.disabled, .wp-core-ui .button:disabled, .wp-core-ui .button[disabled] { 2896 | color: #aaa!important; 2897 | border-color: #ddd!important; 2898 | background: #f7f7f7!important; 2899 | -webkit-box-shadow: none!important; 2900 | box-shadow: none!important; 2901 | text-shadow: 0 1px 0 #fff!important; 2902 | cursor: default; 2903 | } 2904 | .wp-core-ui .button-primary { 2905 | background: #2ea2cc; 2906 | border-color: #0074a2; 2907 | -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, .5), 0 1px 0 rgba(0, 0, 0, .15); 2908 | box-shadow: inset 0 1px 0 rgba(120, 200, 230, .5), 0 1px 0 rgba(0, 0, 0, .15); 2909 | color: #fff; 2910 | text-decoration: none; 2911 | } 2912 | .wp-core-ui .button-primary.focus, .wp-core-ui .button-primary.hover, .wp-core-ui .button-primary:focus, .wp-core-ui .button-primary:hover { 2913 | background: #1e8cbe; 2914 | border-color: #0074a2; 2915 | -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, .6); 2916 | box-shadow: inset 0 1px 0 rgba(120, 200, 230, .6); 2917 | color: #fff; 2918 | } 2919 | .wp-core-ui .button-primary.focus, .wp-core-ui .button-primary:focus { 2920 | border-color: #0e3950; 2921 | -webkit-box-shadow: inset 0 1px 0 rgba(120, 200, 230, .6), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 2922 | box-shadow: inset 0 1px 0 rgba(120, 200, 230, .6), 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8); 2923 | } 2924 | .wp-core-ui .button-primary.active, .wp-core-ui .button-primary.active:focus, .wp-core-ui .button-primary.active:hover, .wp-core-ui .button-primary:active { 2925 | background: #1b7aa6; 2926 | border-color: #005684; 2927 | color: rgba(255, 255, 255, .95); 2928 | -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, .1); 2929 | box-shadow: inset 0 1px 0 rgba(0, 0, 0, .1); 2930 | vertical-align: top; 2931 | } 2932 | .wp-core-ui .button-primary-disabled, .wp-core-ui .button-primary.disabled, .wp-core-ui .button-primary:disabled, .wp-core-ui .button-primary[disabled] { 2933 | color: #94cde7!important; 2934 | background: #298cba!important; 2935 | border-color: #1b607f!important; 2936 | -webkit-box-shadow: none!important; 2937 | box-shadow: none!important; 2938 | text-shadow: 0 -1px 0 rgba(0, 0, 0, .1)!important; 2939 | cursor: default; 2940 | } 2941 | .wp-core-ui .button-group { 2942 | position: relative; 2943 | display: inline-block; 2944 | white-space: nowrap; 2945 | font-size: 0; 2946 | vertical-align: middle; 2947 | } 2948 | .wp-core-ui .button-group>.button { 2949 | display: inline-block; 2950 | -webkit-border-radius: 0; 2951 | border-radius: 0; 2952 | margin-right: -1px; 2953 | z-index: 10; 2954 | } 2955 | .wp-core-ui .button-group>.button-primary { 2956 | z-index: 100; 2957 | } 2958 | .wp-core-ui .button-group>.button:hover { 2959 | z-index: 20; 2960 | } 2961 | .wp-core-ui .button-group>.button:first-child { 2962 | -webkit-border-radius: 3px 0 0 3px; 2963 | border-radius: 3px 0 0 3px; 2964 | } 2965 | .wp-core-ui .button-group>.button:last-child { 2966 | -webkit-border-radius: 0 3px 3px 0; 2967 | border-radius: 0 3px 3px 0; 2968 | } 2969 | .wp-core-ui .button-group>.button:focus { 2970 | position: relative; 2971 | z-index: 1; 2972 | } 2973 | @media screen and (max-width:782px) { 2974 | .wp-core-ui .button, .wp-core-ui .button.button-large, .wp-core-ui .button.button-small, a.preview, input#publish, input#save-post { 2975 | padding: 6px 14px; 2976 | line-height: normal; 2977 | font-size: 14px; 2978 | vertical-align: middle; 2979 | height: auto; 2980 | margin-bottom: 4px; 2981 | } 2982 | 2983 | #menu-management-liquid { 2984 | float: left; 2985 | min-width: 100%; 2986 | margin-top: 3px; 2987 | 2988 | } 2989 | 2990 | @media screen and (max-width: 782px) 2991 | #menu-management-liquid { 2992 | margin-top: 25px; 2993 | } 2994 | 2995 | .description-wide { 2996 | width: 90%; 2997 | } -------------------------------------------------------------------------------- /src/Garcia/Wmenu/WmenuServiceProvider.php: -------------------------------------------------------------------------------- 1 | package('garcia/wmenu','wmenu'); 22 | //include our filters, view composers, and routes 23 | include __DIR__ . '/../../routes.php'; 24 | 25 | 26 | 27 | 28 | 29 | 30 | } 31 | 32 | /** 33 | * Register the service provider. 34 | * 35 | * @return void 36 | */ 37 | public function register() 38 | { 39 | // 40 | } 41 | 42 | /** 43 | * Get the services provided by the provider. 44 | * 45 | * @return array 46 | */ 47 | public function provides() 48 | { 49 | return array(); 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /src/config/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lordmacu/wmenu/65f1863b3cf9059e4ce55392f4c9047c41cd5742/src/config/.gitkeep -------------------------------------------------------------------------------- /src/controllers/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lordmacu/wmenu/65f1863b3cf9059e4ce55392f4c9047c41cd5742/src/controllers/.gitkeep -------------------------------------------------------------------------------- /src/controllers/BaseController.php: -------------------------------------------------------------------------------- 1 | layout)) 12 | { 13 | $this->layout = View::make($this->layout); 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /src/controllers/WmenuContoller.php: -------------------------------------------------------------------------------- 1 | with("menulist", $menulist); 11 | } else { 12 | 13 | $menu = Menu::find(Input::get("menu")); 14 | $menus = $menuitems -> getall(Input::get("menu")); 15 | 16 | return View::make('wmenu::wmenuindex') -> with("menus", $menus) -> with("indmenu", $menu) -> with("menulist", $menulist); 17 | 18 | } 19 | 20 | } 21 | 22 | public function createnewmenu() { 23 | 24 | $menu = new Menu(); 25 | $menu -> name = Input::get("menuname"); 26 | $menu -> save(); 27 | return json_encode(array("resp" => $menu -> id)); 28 | } 29 | 30 | public function deleteitemmenu() { 31 | $menuitem = MenuItem::find(Input::get("id")); 32 | 33 | $menuitem -> delete(); 34 | } 35 | 36 | public function deletemenug() { 37 | $menus = new MenuItem(); 38 | $getall = $menus -> getall(Input::get("id")); 39 | if (count($getall) == 0) { 40 | $menudelete = Menu::find(Input::get("id")); 41 | $menudelete -> delete(); 42 | 43 | return json_encode(array("resp" => "you delete this item")); 44 | } else { 45 | return json_encode(array("resp" => "You have to delete all items first", "error" => 1)); 46 | 47 | } 48 | } 49 | 50 | public function updateitem() { 51 | 52 | $menuitem = MenuItem::find(Input::get("id")); 53 | $menuitem -> label = Input::get("label"); 54 | $menuitem -> link = Input::get("url"); 55 | $menuitem -> class = Input::get("clases"); 56 | $menuitem -> save(); 57 | } 58 | 59 | public function addcustommenu() { 60 | 61 | $menuitem = new MenuItem(); 62 | $menuitem -> label = Input::get("labelmenu"); 63 | $menuitem -> link = Input::get("linkmenu"); 64 | $menuitem -> menu = Input::get("idmenu"); 65 | $menuitem -> save(); 66 | 67 | } 68 | 69 | public function generatemenucontrol() { 70 | $menu = Menu::find(Input::get("idmenu")); 71 | $menu -> name = Input::get("menuname"); 72 | $menu -> save(); 73 | foreach (Input::get("arraydata") as $value) { 74 | 75 | $menuitem = MenuItem::find($value["id"]); 76 | $menuitem -> parent = $value["parent"]; 77 | $menuitem -> sort = $value["sort"]; 78 | $menuitem -> depth = $value["depth"]; 79 | $menuitem -> save(); 80 | } 81 | echo json_encode(array("resp" => 1)); 82 | 83 | } 84 | 85 | } 86 | -------------------------------------------------------------------------------- /src/lang/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lordmacu/wmenu/65f1863b3cf9059e4ce55392f4c9047c41cd5742/src/lang/.gitkeep -------------------------------------------------------------------------------- /src/migrations/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lordmacu/wmenu/65f1863b3cf9059e4ce55392f4c9047c41cd5742/src/migrations/.gitkeep -------------------------------------------------------------------------------- /src/migrations/2015_02_23_145941_create_menuitems_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->string('label', 255); 19 | $table->string('link', 255); 20 | $table->string('parent', 255); 21 | $table->integer('sort'); 22 | $table->string('class', 255); 23 | $table->integer('menu'); 24 | $table->integer('depth'); 25 | $table->timestamps(); 26 | }); 27 | 28 | Schema::table('menus', function(Blueprint $table) 29 | { 30 | $table->increments('id'); 31 | $table->string('name', 255); 32 | $table->timestamps(); 33 | }); 34 | } 35 | 36 | /** 37 | * Reverse the migrations. 38 | * 39 | * @return void 40 | */ 41 | public function down() 42 | { 43 | Schema::table('authors', function(Blueprint $table) 44 | { 45 | // 46 | }); 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /src/models/Menu.php: -------------------------------------------------------------------------------- 1 | where("parent", $id) -> get(); 7 | } 8 | 9 | public function getall($id) { 10 | return $this -> where("menu", $id) -> orderBy("sort", "asc") -> get(); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/routes.php: -------------------------------------------------------------------------------- 1 | 'wmenuindex','uses'=>'WmenuController@wmenuindex')); 4 | 5 | Route::post('/addcustommenu', array('as' => 'addcustommenu','uses'=>'WmenuController@addcustommenu')); 6 | Route::post('/deleteitemmenu', array('as' => 'deleteitemmenu','uses'=>'WmenuController@deleteitemmenu')); 7 | Route::post('/deletemenug', array('as' => 'deletemenug','uses'=>'WmenuController@deletemenug')); 8 | Route::post('/createnewmenu', array('as' => 'createnewmenu','uses'=>'WmenuController@createnewmenu')); 9 | Route::post('/generatemenucontrol', array('as' => 'generatemenucontrol','uses'=>'WmenuController@generatemenucontrol')); 10 | Route::post('/updateitem', array('as' => 'updateitem','uses'=>'WmenuController@updateitem')); 11 | 12 | -------------------------------------------------------------------------------- /src/views/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lordmacu/wmenu/65f1863b3cf9059e4ce55392f4c9047c41cd5742/src/views/.gitkeep -------------------------------------------------------------------------------- /src/views/wmenuindex.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Menús 6 | 7 | 8 | 9 | 10 | 11 | 12 | 26 | 27 | 28 | 29 | 30 | 31 |
32 |
33 |
34 |
35 | 36 |
37 | 38 |
39 |
40 | 41 | 42 | {{ Form::select('menu', $menulist,0) }} 43 | 44 | 45 | 46 | 47 | or Create new menu. 48 |
49 |
50 | 224 |
225 | 226 |
227 |
228 | 229 |
230 |
231 |
232 |
233 | 234 | 235 | 236 | 237 | 238 | 249 |
250 |
251 | 252 | 253 | 254 | 255 | -------------------------------------------------------------------------------- /tests/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lordmacu/wmenu/65f1863b3cf9059e4ce55392f4c9047c41cd5742/tests/.gitkeep --------------------------------------------------------------------------------