WordPress.org

Make WordPress Core

Ticket #18809: 18809.tweaks.diff

File 18809.tweaks.diff, 1.7 KB (added by duck_, 7 years ago)
  • wp-includes/admin-bar.php

     
    575575        $icon .= "<div class='ab-comments-icon-arrow'></div>";
    576576        $icon .= "</div>";
    577577
    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>';
    579579
    580580        $wp_admin_bar->add_menu( array(
    581581                'id'    => 'comments',
  • wp-includes/css/admin-bar.dev.css

     
    208208#wpadminbar .ab-top-menu > li > a:hover span {
    209209        color: #fafafa;
    210210}
    211 #wpadminbar .ab-top-menu > li > a:hover span {
     211#wpadminbar .ab-top-menu > .menupop > a:hover span {
    212212        background: url(../images/admin-bar-sprite.png?d=11122010) right -57px no-repeat;
    213213}
    214214#wpadminbar.nojs .ab-top-menu > li > a:hover span,
     
    463463        float: left;
    464464}
    465465#wpadminbar .ab-comments-icon-body {
    466         margin: 3px 4px 0 -2px;
     466        margin-top: 3px;
    467467        background: #999;
    468468        height: 10px;
    469469        width: 14px;
     
    483483        height: 0;
    484484        position: absolute;
    485485        bottom: -3px;
    486         left: 1px;
     486        left: 3px;
    487487        /* Use transparent borders to form a triangle */
    488488        border-left: 4px solid #999;
    489489        border-bottom: 4px solid transparent;
     
    492492        border-left-color: #bbb;
    493493}
    494494
     495#wpadminbar #ab-awaiting-mod {
     496        padding-left: 4px;
     497}
     498#wpadminbar span.count-0 {
     499        display: none;
     500}
    495501
    496502/**
    497503 * IE 6-targeted rules