WordPress.org

Make WordPress Core

Changeset 22481


Ignore:
Timestamp:
11/09/12 02:06:59 (18 months ago)
Author:
nacin
Message:

Final HiDPI tweaks. Don't use rss-2x.png on a front-end widget. Improve selectors for favicons in the toolbar to avoid breaking existing images. Remove unnecessary RTL styles. FIXES #21019.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/wp-admin-rtl.css

    r22479 r22481  
    522522.post-com-count { 
    523523    background-image: url('../images/bubble_bg-rtl.gif'); 
    524     background-repeat: no-repeat; 
    525524} 
    526525 
  • trunk/wp-includes/admin-bar.php

    r22439 r22481  
    345345        switch_to_blog( $blog->userblog_id ); 
    346346 
    347         $blavatar = '<div title="' . esc_attr__( 'Blavatar' ) . '" class="blavatar"></div>'; 
     347        $blavatar = '<div class="blavatar"></div>'; 
    348348 
    349349        $blogname = empty( $blog->blogname ) ? $blog->domain : $blog->blogname; 
  • trunk/wp-includes/css/admin-bar-rtl.css

    r22439 r22481  
    132132 */ 
    133133#wpadminbar .quicklinks li .blavatar { 
    134     background: url('../images/wpmini-blue.png') no-repeat; 
    135     height: 16px; 
    136     width: 16px; 
    137     display: inline-block; 
    138134    margin-right: 0px; 
    139135    margin-left: 4px; 
    140 } 
    141  
    142 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) { 
    143     #wpadminbar .quicklinks li .blavatar { 
    144         background: url('../images/wpmini-blue-2x.png') no-repeat; 
    145         background-size: 16px 16px; 
    146     } 
    147136} 
    148137 
  • trunk/wp-includes/css/admin-bar.css

    r22439 r22481  
    395395 */ 
    396396#wpadminbar .quicklinks li .blavatar { 
     397    vertical-align: middle; 
     398    margin: -3px 4px 0 0; 
     399    padding: 0; 
     400} 
     401 
     402#wpadminbar .quicklinks li div.blavatar { 
    397403    background: url('../images/wpmini-blue.png') no-repeat; 
    398404    height: 16px; 
    399405    width: 16px; 
    400406    display: inline-block; 
    401     vertical-align: middle; 
    402     margin: -3px 4px 0 0; 
    403     padding: 0; 
    404407} 
    405408 
    406409@media only screen and (-webkit-min-device-pixel-ratio: 1.5) { 
    407     #wpadminbar .quicklinks li .blavatar { 
     410    #wpadminbar .quicklinks li div.blavatar { 
    408411        background: url('../images/wpmini-blue-2x.png') no-repeat; 
    409412        background-size: 16px 16px; 
  • trunk/wp-includes/default-widgets.php

    r22439 r22481  
    779779        $title = apply_filters('widget_title', $title, $instance, $this->id_base); 
    780780        $url = esc_url(strip_tags($url)); 
    781         // Didn't want to have to add additional theme CSS for retina version of rss.png 
    782         // Forcing 2x here looks fine on non-retina devices 
    783         $icon = includes_url('images/rss-2x.png'); 
     781        $icon = includes_url('images/rss.png'); 
    784782        if ( $title ) 
    785783            $title = "<a class='rsswidget' href='$url' title='" . esc_attr__( 'Syndicate this content' ) ."'><img style='border:0' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>"; 
Note: See TracChangeset for help on using the changeset viewer.