WordPress.org

Make WordPress Core

Changeset 20814


Ignore:
Timestamp:
05/16/12 23:55:38 (3 years ago)
Author:
azaozz
Message:

Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293

Location:
trunk/wp-includes
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/css/admin-bar.dev.css

    r20657 r20814  
    583583 
    584584/** 
     585 * Retina display 2x icons 
     586 */ 
     587@media only screen and (-webkit-min-device-pixel-ratio: 1.5) { 
     588    #wpadminbar .menupop .menupop > .ab-item, 
     589    #wpadminbar .ab-top-secondary .menupop .menupop > .ab-item, 
     590    #wpadminbar #adminbarsearch .adminbar-input, 
     591    #wp-admin-bar-wp-logo > .ab-item .ab-icon, 
     592    #wp-admin-bar-updates > .ab-item .ab-icon, 
     593    #wp-admin-bar-comments > .ab-item .ab-icon, 
     594    #wpadminbar #wp-admin-bar-new-content > .ab-item .ab-icon { 
     595        background-image: url(../images/admin-bar-sprite-2x.png?d=20120516); 
     596        background-size: 20px 220px; 
     597    } 
     598} 
     599 
     600/** 
    585601 * IE 6-targeted rules 
    586602 */ 
Note: See TracChangeset for help on using the changeset viewer.