Make WordPress Core

Ticket #21019: 21019.3.diff

File 21019.3.diff, 16.9 KB (added by lessbloat, 12 years ago)
  • wp-includes/admin-bar.php

     
    341341                ),
    342342        ) );
    343343
    344         $blue_wp_logo_url = includes_url('images/wpmini-blue.png');
    345 
    346344        foreach ( (array) $wp_admin_bar->user->blogs as $blog ) {
    347345                switch_to_blog( $blog->userblog_id );
    348346
    349                 $blavatar = '<img src="' . esc_url($blue_wp_logo_url) . '" alt="' . esc_attr__( 'Blavatar' ) . '" width="16" height="16" class="blavatar"/>';
     347                $blavatar = '<div title="' . esc_attr__( 'Blavatar' ) . '" class="blavatar"></div>';
    350348
    351349                $blogname = empty( $blog->blogname ) ? $blog->domain : $blog->blogname;
    352350                $menu_id  = 'blog-' . $blog->userblog_id;
  • wp-includes/default-widgets.php

     
    778778
    779779                $title = apply_filters('widget_title', $title, $instance, $this->id_base);
    780780                $url = esc_url(strip_tags($url));
    781                 $icon = includes_url('images/rss.png');
     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');
    782784                if ( $title )
    783785                        $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>";
    784786
  • wp-includes/css/admin-bar-rtl.css

    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-includes/images/rss-2x.png
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-includes/images/toggle-arrow-2x.png
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-includes/images/wpmini-blue-2x.png
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-includes/images/arrow-pointer-blue-2x.png
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-includes/images/down_arrow-2x.gif
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
     
    127127        margin-right: 4px
    128128}
    129129
     130
     131
    130132/*
    131133 * My Sites
    132134 */
    133 #wpadminbar .quicklinks li img.blavatar {
     135#wpadminbar .quicklinks li .blavatar {
     136        background: url(../images/wpmini-blue.png) no-repeat;
     137        height: 16px;
     138        width: 16px;
     139        display: inline-block;
    134140        margin-right: 0px;
    135141        margin-left: 4px;
    136142}
    137143
     144@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     145        #wpadminbar .quicklinks li .blavatar {
     146                background: url(../images/wpmini-blue-2x.png) no-repeat;
     147                background-size: 16px 16px;
     148        }
     149}
     150
    138151/*
    139152 * Search
    140153 */
  • wp-includes/css/admin-bar.css

     
    393393/*
    394394 * My Sites
    395395 */
    396 #wpadminbar .quicklinks li img.blavatar {
     396#wpadminbar .quicklinks li .blavatar {
     397        background: url(../images/wpmini-blue.png) no-repeat;
     398        height: 16px;
     399        width: 16px;
     400        display: inline-block;
    397401        vertical-align: middle;
    398402        margin: -3px 4px 0 0;
    399403        padding: 0;
    400404}
    401405
     406@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     407        #wpadminbar .quicklinks li .blavatar {
     408                background: url(../images/wpmini-blue-2x.png) no-repeat;
     409                background-size: 16px 16px;
     410        }
     411}
     412
    402413/**
    403414 * Search
    404415 */
  • wp-includes/css/wp-pointer.css

     
    9494        background:url('../images/arrow-pointer-blue.png') 0 0 no-repeat;
    9595}
    9696
     97@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     98        .wp-pointer-arrow {
     99                background: url('../images/arrow-pointer-blue-2x.png') 0 0 no-repeat;
     100                background-size: 30px 60px;
     101        }
     102}
     103
    97104.wp-pointer-arrow-inner {
    98105        z-index: 20;
    99106}
  • wp-includes/css/editor.css

     
    265265        background-repeat: no-repeat;
    266266}
    267267
     268@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     269        .wp_themeSkin .mceListBox .mceOpen,
     270        .wp_themeSkin .mceListBoxHover .mceOpen,
     271        .wp_themeSkin .mceListBoxSelected .mceOpen,
     272        .wp_themeSkin table.mceListBoxEnabled .mceOpen {
     273                background-image: url("../images/down_arrow-2x.gif");
     274                background-size: 10px 20px;
     275        }
     276}
     277
    268278.wp_themeSkin .mceListBoxDisabled .mceText {
    269279        color: gray;
    270280}
     
    924934        border-left: 0;
    925935}
    926936
     937@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     938        .wp_themeSkin .mceSplitButtonEnabled a.mceOpen,
     939        .wp_themeSkin .mceSplitButtonSelected a.mceOpen,
     940        .wp_themeSkin .mceSplitButtonActive a.mceOpen,
     941        .wp_themeSkin .mceSplitButtonEnabled:hover a.mceOpen {
     942                background-image: url("../images/down_arrow-2x.gif");
     943                background-size: 10px 20px;
     944        }
     945}
     946
    927947.wp_themeSkin .mceSplitButtonActive td {
    928948        -webkit-border-radius: 3px;
    929949        border-radius: 3px;
     
    12131233        line-height: 23px;
    12141234}
    12151235
     1236@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     1237        #wp-link .toggle-arrow {
     1238                background: transparent url( '../images/toggle-arrow-2x.png' ) top left no-repeat;
     1239                background-size: 19px 69px;
     1240        }
     1241}
     1242
    12161243#wp-link .toggle-arrow-active {
    12171244        background-position: center left;
    12181245}
  • wp-admin/includes/class-wp-posts-list-table.php

     
    280280
    281281                $post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all';
    282282                if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) )
    283                         $posts_columns['comments'] = '<span class="vers"><img alt="' . esc_attr__( 'Comments' ) . '" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></span>';
     283                        $posts_columns['comments'] = '<span class="vers"><div title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></div></span>';
    284284
    285285                $posts_columns['date'] = __( 'Date' );
    286286
  • wp-admin/includes/class-wp-media-list-table.php

     
    156156                if ( !$this->detached ) {
    157157                        $posts_columns['parent'] = _x( 'Attached to', 'column name' );
    158158                        if ( post_type_supports( 'attachment', 'comments' ) )
    159                                 $posts_columns['comments'] = '<span class="vers"><img alt="' . esc_attr__( 'Comments' ) . '" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></span>';
     159                                $posts_columns['comments'] = '<span class="vers"><div title="' . esc_attr__( 'Comments' ) . '" class="comment-grey-bubble"></div></span>';
    160160                }
    161161                /* translators: column name */
    162162                $posts_columns['date'] = _x( 'Date', 'column name' );
  • wp-admin/css/colors-fresh.css

    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-admin/images/resize-rtl-2x.gif
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-admin/images/resize-2x.gif
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-admin/images/comment-grey-bubble-2x.png
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-admin/images/sort-2x.gif
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-admin/images/stars-rtl-2x.png
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-admin/images/stars-2x.png
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-admin/images/bubble_bg-rtl-2x.gif
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    
    Property changes on: wp-admin/images/bubble_bg-2x.gif
    ___________________________________________________________________
    Added: svn:mime-type
       + application/octet-stream
    
     
    286286}
    287287
    288288.post-com-count {
    289         background-image: url(../images/bubble_bg.gif);
    290289        color: #fff;
    291290}
    292291
     
    18201819        border-left-color: #99d;
    18211820}
    18221821
    1823 .rtl .post-com-count {
    1824         background-image: url(../images/bubble_bg-rtl.gif);
    1825 }
    1826 
    18271822.rtl #screen-meta-links a.show-settings {
    18281823        background-position: left 3px;
    18291824}
  • wp-admin/css/wp-admin-rtl.css

     
    519519        font-family: Tahoma, Arial, sans-serif;
    520520}
    521521
     522.post-com-count {
     523        background-image: url(../images/bubble_bg-rtl.gif);
     524        background-repeat: no-repeat;
     525}
     526
     527@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     528        .post-com-count {
     529                background-image: url(../images/bubble_bg-rtl-2x.gif);
     530                background-size: 18px 100px;
     531        }
     532}
     533
    522534.column-response .post-com-count {
    523535        float: right;
    524536        margin-right: 0;
     
    858870        cursor: sw-resize;
    859871}
    860872
     873@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     874        #content-resize-handle, #post-body .wp_themeSkin .mceStatusbar a.mceResize {
     875                background: transparent url(../images/resize-rtl-2x.gif) no-repeat scroll right bottom;
     876                background-size: 11px 11px;
     877        }
     878}
     879
    861880.curtime #timestamp {
    862881        background-position: right top;
    863882        padding-left: 0;
     
    21432162
    21442163/* Star ratings */
    21452164div.star-holder {
    2146         background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x bottom right;
     2165        background: url('../images/stars-rtl.png') repeat-x bottom right;
    21472166}
    21482167div.star-holder .star-rating {
    2149         background: url('../images/stars-rtl.png?ver=20120506.png') repeat-x top right;
     2168        background: url('../images/stars-rtl.png') repeat-x top right;
    21502169        float: right;
    21512170}
    21522171
     2172@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     2173        div.star-holder {
     2174                background: url('../images/stars-rtl-2x.png') repeat-x bottom right;
     2175                background-size: 21px 37px;
     2176        }
     2177        div.star-holder .star-rating {
     2178                background: url('../images/stars-rtl-2x.png') repeat-x top right;
     2179                background-size: 21px 37px;
     2180        }
     2181}
     2182
    21532183#plugin-information ul#sidemenu {
    21542184        left: auto;
    21552185        right: 0;
  • wp-admin/css/wp-admin.css

     
    18211821}
    18221822
    18231823.post-com-count {
     1824        background-image: url(../images/bubble_bg.gif);
    18241825        height: 1.3em;
    18251826        line-height: 1.1em;
    18261827        display: block;
     
    18311832        background-repeat: no-repeat;
    18321833}
    18331834
     1835@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     1836        .post-com-count {
     1837                background-image: url(../images/bubble_bg-2x.gif);
     1838                background-size: 18px 100px;
     1839        }
     1840}
     1841
    18341842.post-com-count span {
    18351843        font-size: 11px;
    18361844        font-weight: bold;
     
    18651873        padding: 4px 8px;
    18661874}
    18671875
     1876th .comment-grey-bubble {
     1877        background-image: url(../images/comment-grey-bubble.png);
     1878        background-repeat: no-repeat;
     1879        height: 12px;
     1880        width: 12px;
     1881}
    18681882
     1883@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     1884        th .comment-grey-bubble {
     1885                background-image: url(../images/comment-grey-bubble-2x.png);
     1886                background-size: 12px 12px;
     1887        }
     1888}
     1889
    18691890/*------------------------------------------------------------------------------
    18701891  8.0 - Layout Blocks
    18711892------------------------------------------------------------------------------*/
     
    25562577        background-repeat: no-repeat;
    25572578}
    25582579
     2580@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     2581        .sorting-indicator {
     2582                background-image: url(../images/sort-2x.gif);
     2583                background-size: 14px 4px;
     2584        }
     2585}
     2586
    25592587.fixed .column-comments .sorting-indicator {
    25602588        margin-top: 3px;
    25612589}
     
    33113339        height: 19px;
    33123340}
    33133341
     3342@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     3343        #content-resize-handle, #post-body .wp_themeSkin .mceStatusbar a.mceResize {
     3344                background: transparent url(../images/resize-2x.gif) no-repeat scroll right bottom;
     3345                background-size: 11px 11px;
     3346        }
     3347}
     3348
    33143349.press-this #content-resize-handle {
    33153350        bottom: 2px;
    33163351}
     
    73847419        position: relative;
    73857420        height: 17px;
    73867421        width: 100px;
    7387         background: url('../images/stars.png?ver=20120307') repeat-x bottom left;
     7422        background: url('../images/stars.png') repeat-x bottom left;
    73887423}
    73897424
    73907425div.star-holder .star-rating {
    7391         background: url('../images/stars.png?ver=20120307') repeat-x top left;
     7426        background: url('../images/stars.png') repeat-x top left;
    73927427        height: 17px;
    73937428        float: left;
    73947429}
    73957430
     7431@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
     7432        div.star-holder {
     7433                background: url('../images/stars-2x.png') repeat-x bottom left;
     7434                background-size: 21px 37px;
     7435        }
     7436        div.star-holder .star-rating {
     7437                background: url('../images/stars-2x.png') repeat-x top left;
     7438                background-size: 21px 37px;
     7439        }
     7440}
     7441
    73967442div.action-links {
    73977443        font-weight: normal;
    73987444        margin: 6px 0 0;
  • wp-admin/css/colors-classic.css

     
    290290}
    291291
    292292.post-com-count {
    293         background-image: url(../images/bubble_bg.gif);
    294293        color: #fff;
    295294}
    296295
     
    19411940        border-left-color: #99d;
    19421941}
    19431942
    1944 .rtl .post-com-count {
    1945         background-image: url(../images/bubble_bg-rtl.gif);
    1946 }
    1947 
    19481943.rtl #screen-meta-links a.show-settings {
    19491944        background-position: left 3px;
    19501945}