Line up ALL the things:

* Make folded adminmenu icons line up with the W icon in the toolbar
* Make the W link in the toolbar the same width as the folded adminmenu
* Reduce padding on toolbar links to match reduced padding between W and Globe icons
* Reduce right-side padding on toolbar links to account for 1px of extra padding around icons on the left

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26675 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Thomas 2013-12-05 18:02:33 +00:00
parent fd92eaa487
commit f2200af9f2
2 changed files with 5 additions and 5 deletions

View File

@ -1871,7 +1871,7 @@ form.upgrade .hint {
#adminmenu div.wp-menu-image { #adminmenu div.wp-menu-image {
float: left; float: left;
width: 34px; width: 36px;
height: 30px; height: 30px;
margin: 0; margin: 0;
text-align: center; text-align: center;
@ -1888,7 +1888,7 @@ div.wp-menu-image:before {
speak: none; speak: none;
color: #999; color: #999;
padding: 8px 0; padding: 8px 0;
height: 34px; height: 36px;
width: 20px; width: 20px;
display: inline-block; display: inline-block;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
@ -1899,7 +1899,7 @@ div.wp-menu-image:before {
} }
.folded #adminmenu div.wp-menu-image { .folded #adminmenu div.wp-menu-image {
width: 34px; width: 36px;
height: 30px; height: 30px;
position: absolute; position: absolute;
z-index: 25; z-index: 25;

View File

@ -120,7 +120,7 @@
#wpadminbar .shortlink-input { #wpadminbar .shortlink-input {
height: 32px; height: 32px;
display: block; display: block;
padding: 0 10px; padding: 0 8px 0 7px;
margin: 0; margin: 0;
} }
@ -430,7 +430,7 @@
} }
#wpadminbar #wp-admin-bar-wp-logo > .ab-item { #wpadminbar #wp-admin-bar-wp-logo > .ab-item {
padding: 0 8px 0 8px; padding: 0 7px;
} }
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before { #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon:before {