Ticket #18809: 18809.tweaks.diff
File 18809.tweaks.diff, 1.7 KB (added by , 13 years ago) |
---|
-
wp-includes/admin-bar.php
575 575 $icon .= "<div class='ab-comments-icon-arrow'></div>"; 576 576 $icon .= "</div>"; 577 577 578 $title = ( $awaiting_mod ) ? '<span id="ab-awaiting-mod" class="pending-count">' . number_format_i18n( $awaiting_mod ) . '</span>' : '';578 $title = '<span id="ab-awaiting-mod" class="awaiting-mod pending-count count-' . $awaiting_mod . '">' . number_format_i18n( $awaiting_mod ) . '</span>'; 579 579 580 580 $wp_admin_bar->add_menu( array( 581 581 'id' => 'comments', -
wp-includes/css/admin-bar.dev.css
208 208 #wpadminbar .ab-top-menu > li > a:hover span { 209 209 color: #fafafa; 210 210 } 211 #wpadminbar .ab-top-menu > li> a:hover span {211 #wpadminbar .ab-top-menu > .menupop > a:hover span { 212 212 background: url(../images/admin-bar-sprite.png?d=11122010) right -57px no-repeat; 213 213 } 214 214 #wpadminbar.nojs .ab-top-menu > li > a:hover span, … … 463 463 float: left; 464 464 } 465 465 #wpadminbar .ab-comments-icon-body { 466 margin : 3px 4px 0 -2px;466 margin-top: 3px; 467 467 background: #999; 468 468 height: 10px; 469 469 width: 14px; … … 483 483 height: 0; 484 484 position: absolute; 485 485 bottom: -3px; 486 left: 1px;486 left: 3px; 487 487 /* Use transparent borders to form a triangle */ 488 488 border-left: 4px solid #999; 489 489 border-bottom: 4px solid transparent; … … 492 492 border-left-color: #bbb; 493 493 } 494 494 495 #wpadminbar #ab-awaiting-mod { 496 padding-left: 4px; 497 } 498 #wpadminbar span.count-0 { 499 display: none; 500 } 495 501 496 502 /** 497 503 * IE 6-targeted rules