Add .ab-empty-item to the responsive adminbar sizing adjustments. Ensure that hidden text in responsive adminbar stays properly hidden in Firefox. See #26299.

git-svn-id: https://develop.svn.wordpress.org/trunk@26595 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Thomas 2013-12-03 21:52:34 +00:00
parent fdc32636fa
commit 408041ca39
1 changed files with 10 additions and 2 deletions

View File

@ -693,7 +693,8 @@
font: normal 14px/32px "Open Sans", sans-serif;
}
#wpadminbar .quicklinks li > a {
#wpadminbar .quicklinks li > a,
#wpadminbar .quicklinks .ab-empty-item {
padding: 0;
height: 46px;
line-height: 46px;
@ -706,6 +707,7 @@
padding: 0;
width: 50px;
height: 46px;
text-align: center;
}
#wpadminbar .ab-icon:before {
@ -716,6 +718,12 @@
padding: 0;
}
#wpadminbar #wp-admin-bar-site-name a.ab-item,
#wpadminbar #wp-admin-bar-my-sites a.ab-item,
#wpadminbar #wp-admin-bar-my-account a.ab-item {
text-overflow: clip;
}
#wpadminbar .ab-label {
display: none;
}
@ -849,7 +857,7 @@
#wpadminbar #wp-admin-bar-my-account > a {
position: relative;
white-space: nowrap;
text-indent: 100%;
text-indent: 150%; /* More than 100% indention is needed since this element has padding */
width: 28px;
padding: 0 10px;
overflow: hidden; /* Prevent link text from forcing horizontal scrolling on mobile */