Make WordPress Core

Changeset 24297


Ignore:
Timestamp:
05/19/2013 08:25:24 PM (12 years ago)
Author:
azaozz
Message:

Post formats: add 32px retina icons for both color themes, tweak the css, "crush" the sprites. Props melchoyce, saracannon, aaroncampbell. Fixes #24290, fixes #24331.

Location:
trunk/wp-admin
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-classic.css

    r24294 r24297  
    24442444        background-size: 16px auto;
    24452445    }
    2446    
     2446
    24472447    /* 16px post formats */
    24482448    .post-format-change span.icon,
     
    24512451        background-size: 320px 32px;
    24522452    }
    2453    
     2453
    24542454    /* 32px */
    24552455    .post-format-options a div,
     
    24642464    #icon-edit.wp-format-quote,
    24652465    #icon-edit.wp-format-link {
    2466         background: url(../images/post-formats64-vs.png) no-repeat;
     2466        background-image: url(../images/post-formats64-vs.png);
    24672467        background-size: 640px 64px;
    24682468    }
     
    24762476    /* 16px responsive post formats */
    24772477    .post-format-options a div {
    2478         background: url(../images/post-formats32-vs.png) no-repeat;
     2478        background-image: url(../images/post-formats32-vs.png);
    24792479        background-size: 320px 32px;
    24802480    }
  • trunk/wp-admin/css/colors-fresh.css

    r24294 r24297  
    23322332        background-size: 16px auto;
    23332333    }
    2334    
     2334
    23352335    /* 16px post formats */
    23362336    .post-format-change span.icon,
     
    23392339        background-size: 320px 32px;
    23402340    }
    2341    
     2341
    23422342    /* 32px */
    23432343    .post-format-options a div,
     
    23522352    #icon-edit.wp-format-quote,
    23532353    #icon-edit.wp-format-link {
    2354         background: url(../images/post-formats64.png) no-repeat;
     2354        background-image: url(../images/post-formats64.png);
    23552355        background-size: 640px 64px;
    23562356    }
     
    23642364    /* 16px responsive post formats */
    23652365    .post-format-options a div {
    2366         background: url(../images/post-formats32.png) no-repeat;
     2366        background-image: url(../images/post-formats32.png);
    23672367        background-size: 320px 32px;
    23682368    }
Note: See TracChangeset for help on using the changeset viewer.