[wp-trac] [WordPress Trac] #28267: Unify focus styles across the admin

WordPress Trac noreply at wordpress.org
Sun Jul 13 15:21:02 UTC 2014

#28267: Unify focus styles across the admin
 Reporter:  helen         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, administration

Comment (by afercia):

 Replying to [comment:18 davidakennedy]:
 > We might have to make some padding adjustments because of the spacing
 the borders add

 hi, using multiple box-shadows would not require padding adjustments.
 Something like this on the current menu item:

         inset 2px 0 0 0 #fff,
         -2px 0 0 2px #fff;
 z-index: 4;

 and something similar can be done for submenu items.

Ticket URL: <https://core.trac.wordpress.org/ticket/28267#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list