Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#19163 closed defect (bug) (fixed)

The admin bar background is not styled properly in Firefox

Reported by: azaozz's profile azaozz Owned by: azaozz's profile azaozz
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: Toolbar Keywords: has-patch commit
Focuses: Cc:

Description (last modified by azaozz)

As the title. Screenshot: FF, IE9, Chrome.

Attachments (2)

adminbar-background.jpg (26.1 KB) - added by azaozz 13 years ago.
19163.patch (1.3 KB) - added by ocean90 13 years ago.

Download all attachments as: .zip

Change History (12)

#1 @azaozz
13 years ago

  • Description modified (diff)

#2 @azaozz
13 years ago

  • Description modified (diff)

#3 @duck_
13 years ago

#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.

Version 0, edited 13 years ago by duck_ (next)

13 years ago

#4 @ocean90
13 years ago

  • Keywords has-patch added

19163.patch: Tested in Chrome, Firefox and Opera on Mac.

#5 @duck_
13 years ago

Per should the "proposed W3C Markup" rule use "to top"?

#6 @ocean90
13 years ago

duck_: I saw this today too, seems to be new. Should then update all our gradients, see #16461.

#7 @helenyhou
13 years ago

I noticed this today as well, but I think it's actually been reversed for a while. It's been bothering me but I thought it was personal until I took a closer look in Webkit. In any case, patch works for me, same browsers as ocean90.

#8 @ryan
13 years ago

  • Component changed from UI to Admin Bar

#9 @nacin
13 years ago

  • Keywords commit added

#10 @azaozz
13 years ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In [19220]:

Fix admin bar background gradients, props ocean90, fixes #19163

Note: See TracTickets for help on using tickets.