Adjust widths of toolbar items at mobile sizes for better fitting on narrow screens. Fixes toolbar wrapping when using multisite.

props iammattthomas.
see #26537 for trunk.

Built from https://develop.svn.wordpress.org/trunk@26920


git-svn-id: http://core.svn.wordpress.org/trunk@26801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-01-08 21:24:12 +00:00
parent 5baeb300a0
commit ee5fec7c6c
4 changed files with 14 additions and 14 deletions

View File

@ -773,7 +773,7 @@ html:lang(he-il) .rtl #wpadminbar * {
font: normal 14px/32px "Open Sans", sans-serif; font: normal 14px/32px "Open Sans", sans-serif;
} }
#wpadminbar .quicklinks li > a, #wpadminbar .quicklinks > ul > li > a,
#wpadminbar .quicklinks .ab-empty-item { #wpadminbar .quicklinks .ab-empty-item {
padding: 0; padding: 0;
height: 46px; height: 46px;
@ -785,7 +785,7 @@ html:lang(he-il) .rtl #wpadminbar * {
font: 40px/1 dashicons !important; font: 40px/1 dashicons !important;
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 50px; width: 52px;
height: 46px; height: 46px;
text-align: center; text-align: center;
} }
@ -838,7 +838,7 @@ html:lang(he-il) .rtl #wpadminbar * {
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
padding: 0; padding: 0;
width: 55px; width: 52px;
height: 46px; height: 46px;
text-align: center; text-align: center;
vertical-align: top; vertical-align: top;
@ -862,7 +862,7 @@ html:lang(he-il) .rtl #wpadminbar * {
text-indent: 100%; text-indent: 100%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
width: 55px; width: 52px;
padding: 0; padding: 0;
color: #999; color: #999;
position: relative; position: relative;
@ -884,7 +884,7 @@ html:lang(he-il) .rtl #wpadminbar * {
font: normal 32px/1 'dashicons'; font: normal 32px/1 'dashicons';
speak: none; speak: none;
top: 7px; top: 7px;
width: 55px; width: 52px;
text-align: center; text-align: center;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
@ -909,7 +909,7 @@ html:lang(he-il) .rtl #wpadminbar * {
line-height: 53px; line-height: 53px;
height: 46px !important; height: 46px !important;
text-align: center; text-align: center;
width: 50px; width: 52px;
display: block; display: block;
} }

File diff suppressed because one or more lines are too long

View File

@ -773,7 +773,7 @@ html:lang(he-il) .rtl #wpadminbar * {
font: normal 14px/32px "Open Sans", sans-serif; font: normal 14px/32px "Open Sans", sans-serif;
} }
#wpadminbar .quicklinks li > a, #wpadminbar .quicklinks > ul > li > a,
#wpadminbar .quicklinks .ab-empty-item { #wpadminbar .quicklinks .ab-empty-item {
padding: 0; padding: 0;
height: 46px; height: 46px;
@ -785,7 +785,7 @@ html:lang(he-il) .rtl #wpadminbar * {
font: 40px/1 dashicons !important; font: 40px/1 dashicons !important;
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 50px; width: 52px;
height: 46px; height: 46px;
text-align: center; text-align: center;
} }
@ -838,7 +838,7 @@ html:lang(he-il) .rtl #wpadminbar * {
#wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon { #wpadminbar #wp-admin-bar-wp-logo > .ab-item .ab-icon {
padding: 0; padding: 0;
width: 55px; width: 52px;
height: 46px; height: 46px;
text-align: center; text-align: center;
vertical-align: top; vertical-align: top;
@ -862,7 +862,7 @@ html:lang(he-il) .rtl #wpadminbar * {
text-indent: 100%; text-indent: 100%;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
width: 55px; width: 52px;
padding: 0; padding: 0;
color: #999; color: #999;
position: relative; position: relative;
@ -884,7 +884,7 @@ html:lang(he-il) .rtl #wpadminbar * {
font: normal 32px/1 'dashicons'; font: normal 32px/1 'dashicons';
speak: none; speak: none;
top: 7px; top: 7px;
width: 55px; width: 52px;
text-align: center; text-align: center;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
@ -909,7 +909,7 @@ html:lang(he-il) .rtl #wpadminbar * {
line-height: 53px; line-height: 53px;
height: 46px !important; height: 46px !important;
text-align: center; text-align: center;
width: 50px; width: 52px;
display: block; display: block;
} }

File diff suppressed because one or more lines are too long