[wp-trac] [WordPress Trac] #19163: The admin bar background is not styled properly in Firefox

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 5 15:12:36 UTC 2011


#19163: The admin bar background is not styled properly in Firefox
--------------------------+------------------
 Reporter:  azaozz        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  UI            |     Version:  3.3
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by duck_):

 {{{
 #wpadminbar {
         background-color: #464646; /* Fallback */
         background-image: -ms-linear-gradient(bottom, #464646, #373737
 5px); /* IE10 */
         background-image: -moz-linear-gradient(bottom, #464646, #373737
 5px); /* Firefox */
         background-image: -o-linear-gradient(bottom, #464646, #373737); /*
 Opera */
         background-image: -webkit-gradient(linear, left bottom, left top,
 from(#464646), to(#373737)); /* old Webkit */
         background-image: -webkit-linear-gradient(bottom, #373737, #464646
 5px); /* new Webkit */
         background-image: linear-gradient(bottom, #464646, #373737); /*
 proposed W3C Markup */
 }
 }}}

 The backgrounds go in different directions. For Firefox changing to:

 {{{
 -moz-linear-gradient(bottom, #373737, #464646 5px);
 }}}

 to be the same as the Webkit rule works for me. Will have to go through
 all the browsers to normalise them, e.g. the -ms rule is the same as
 Firefox and I don't see a gradient at all in your screenshot.

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


More information about the wp-trac mailing list