Skip to content

Commit

Permalink
Plugins
Browse files Browse the repository at this point in the history
* removed Amazon plugins
* added:
  * wordpress-seo
  * contact-form-7
  * admin-menu-editor
  • Loading branch information
Andy Richardson committed Apr 25, 2016
1 parent ed0e072 commit aeae733
Show file tree
Hide file tree
Showing 2,065 changed files with 131,516 additions and 256,955 deletions.
125 changes: 125 additions & 0 deletions wp-content/plugins/admin-menu-editor/css/admin.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
/**
* Miscellaneous menu styles that can be used on all admin pages.
*/

/*
* Submenu separators.
*/
hr.ws-submenu-separator {
display: block;
margin: 2px 0;
padding: 0;
height: 0;

border-width: 1px 0 0 0;
border-style: solid;
border-color: #ccc;
}

/* Custom separator style suggested by a customer (Slavo) */
/*
#adminmenu .ws-submenu-separator {
border-bottom: none;
border-top: 1px dotted rgba(0,0,0,.3);
width: 90%;
}
*/

/* S2Member separator style */
/*
#adminmenu .ws-submenu-separator {
display: block;
border: 0;
margin: 1px 0 1px -5px;
padding: 0;
height: 1px;
line-height: 1px;
background: #CCCCCC;
}
*/

/* Override .wp-menu-separator styles as they don't work too well in submenus. */
#adminmenu .wp-submenu li.ws-submenu-separator-wrap {
margin: 0 0 0 0;
padding: 0;
height: inherit;
}

/* No pointer/hand on separators. */
#adminmenu li.ws-submenu-separator-wrap a {
cursor: default;
}

/* No extra margin in submenus with icons. The selector uses the URL prefix because we can't control the link class.
* li.ws-submenu-separator-wrap would also work, but it's added via JS so there's an undesirable delay (FOUC).
*/
#adminmenu .ame-has-submenu-icons ul.wp-submenu li a[href^="#submenu-separator-"] {
margin-left: 0;
}


/*
* Submenu icons.
*/
.ame-submenu-icon {
display: inline-block;
padding-right: 8px;
min-width: 20px;

/*
Dashicons are 20x20 by default and some of them look pretty bad at smaller sizes. Submenu item titles are 16px high
by default. So lets hack some negative margins to make a 20px icon fit in 16px. With the current admin UI styles
it looks okay - submenu items are ~28px high when including padding/margins, so there's no visual overlap.
*/
height: 20px;
margin-top: -2px;
margin-bottom: -2px;

vertical-align: top;

margin-left: -28px;
float: left;

/* Center image-based icons. Doesn't matter for dashicons. */
text-align: center;
}

#adminmenu .ame-has-submenu-icons ul.wp-submenu li a {
/* Push all submenus to the right to ensure that items with and without icons line up nicely. */
margin-left: 24px;
}

#adminmenu .ame-submenu-icon img {
padding-top: 2px;

opacity: 0.6;
filter: alpha(opacity=60);
}

#adminmenu .wp-submenu li:hover .ame-submenu-icon img,
#adminmenu .wp-submenu li.current .ame-submenu-icon img {
opacity: 1;
filter: alpha(opacity=100);
}

/*
* Third level menus.
*/
#adminmenu .ame-deep-submenu {

}

#adminmenu li.menu-top.opensub .ame-deep-submenu {
top: -1000em;
}

#adminmenu .wp-submenu li.opensub > ul.ame-deep-submenu {
top: -7px;
}

.folded #adminmenu li.opensub > ul.ame-deep-submenu,
.folded #adminmenu .wp-has-current-submenu.opensub > ul.ame-deep-submenu,
.no-js.folded #adminmenu .ame-has-deep-submenu:hover > ul.ame-deep-submenu {
top: 0;
left: 160px;
}
Loading

0 comments on commit aeae733

Please sign in to comment.