Tweaks for the admin bar comment bubble: allow JS updating the count, center the bubble when no pending comments, props duck_, fixes #18809

git-svn-id: https://develop.svn.wordpress.org/trunk@19156 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-11-04 15:55:00 +00:00
parent 731127e61b
commit 3ee304ae1e
3 changed files with 11 additions and 4 deletions

View File

@@ -463,7 +463,7 @@
}
#wpadminbar .ab-comments-icon-body {
margin: 3px 4px 0 -2px;
margin-top: 3px;
background: #999;
height: 10px;
width: 14px;
@@ -480,7 +480,7 @@
height: 0;
position: absolute;
bottom: -3px;
left: 1px;
left: 3px;
/* Use transparent borders to form a triangle */
border-left: 4px solid #999;
border-bottom: 4px solid transparent;
@@ -489,6 +489,13 @@
border-left-color: #bbb;
}
#wpadminbar #ab-awaiting-mod {
margin-left: 4px;
}
#wpadminbar span.count-0 {
display: none;
}
/**
* IE 6-targeted rules