[wp-trac] [WordPress Trac] #24290: Post Format UI: Blue icons for colors-classic admin theme

WordPress Trac noreply at wordpress.org
Sun May 19 22:15:39 UTC 2013


#24290: Post Format UI: Blue icons for colors-classic admin theme
--------------------------+---------------------
 Reporter:  melchoyce     |       Owner:  azaozz
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  3.6
Component:  Post Formats  |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |
--------------------------+---------------------

Comment (by azaozz):

 Replying to [comment:9 saracannon]:
 > I've attached psd's and pngs with double the space in-between the icons.

 For this to work right all sprite dimensions have to be 2 times larger,
 between the icons, left, right, top and bottom margins. Then when we scale
 the whole sprite with `background-size` it will look exactly like the
 smaller sprite and all positions will match.

 Had to tweak the 64 sprites a bit: the 64px video icon is larger than 2 x
 32px video icon, so had to move it couple of px to the right to prevent
 clipping.

 An easy way to test retina icons on non-retina display is to comment out
 the @media selectors letting the retina styles overwrite the non-retina:

 {{{
 /*
 @media print,
   (-o-min-device-pixel-ratio: 5/4),
   (-webkit-min-device-pixel-ratio: 1.25),
   (min-resolution: 120dpi) {
 */
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24290#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list