[wp-trac] [WordPress Trac] #17107: Theme/plugin CSS can override admin bar parent menu fonts

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 11 06:31:04 UTC 2011


#17107: Theme/plugin CSS can override admin bar parent menu fonts
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Administration   |     Version:  3.1
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------------------

Comment (by johnjamesjacoby):

 Replying to [comment:4 azaozz]:
 > Wouldn't something like this work there?
 > {{{
 > #wpadminbar * {
 >     font: normal 12px/28px Arial, Helvetica, sans-serif;
 > }
 > }}}
 Depends how much prevention we're baking in. I initially started including
 color and text-shadow in addition to the font, and realized it changes for
 submenus.

 I also noticed that the CSS at
 http://core.trac.wordpress.org/browser/trunk/wp-includes/css/admin-
 bar.dev.css#L74 bumps the font-size up to 13px for some reason. Wasn't
 sure if that was intentional or not, so rather than start recoding all the
 CSS for the conditions I was finding, I opened this ticket.

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


More information about the wp-trac mailing list