Open Bug 1701943 Opened 8 months ago Updated 8 months ago

New Tab button styling looks different from tabs

Categories

(Firefox :: Theme, defect, P2)

defect

Tracking

()

People

(Reporter: mak, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [proton-tabs-bar][priority:2b] )

Attachments

(1 file)

The new tab button is commonly grouped with tabs, but its styling looks different from them:

  1. it's misaligned by 1px, more specifically it's 1px too high on my screen
  2. the button hover color is different from tabs hover color, it looks the same as toolbarbuttons hover color
  3. the button hover color is also different from the selected tab color (so when the last tab is selected there's many shades of gray close each other)

This has been tested with the Dark theme on Windows 10.

Attached image example.png

This shows the many shades of gray and misalignment

Priority: -- → P2
Whiteboard: [proton-tabs-bar] → [proton-tabs-bar][priority:2b]

(In reply to Marco Bonardo [:mak] from comment #0)

The new tab button is commonly grouped with tabs, but its styling looks different from them:

  1. it's misaligned by 1px, more specifically it's 1px too high on my screen

Can you please test again? I just tested with latest m-c build and in both the overflow and underflow states the bottom edge of the New Tab button is equal to the bottom edge of the selected tab.

  1. the button hover color is different from tabs hover color, it looks the same as toolbarbuttons hover color
  2. the button hover color is also different from the selected tab color (so when the last tab is selected there's many shades of gray close each other)

For both #2 and #3, the tab hover color needs to be a different shade than the button hover color, otherwise the hover color of the close button on top of the selected tab would need to be different.

Flags: needinfo?(mak)

(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #2)

Can you please test again? I just tested with latest m-c build and in both the overflow and underflow states the bottom edge of the New Tab button is equal to the bottom edge of the selected tab.

I still see it. I suspect it's a problem with rounding, I'm on Windows 10 at 125% DPI.

For both #2 and #3, the tab hover color needs to be a different shade than the button hover color, otherwise the hover color of the close button on top of the selected tab would need to be different.

I understand that, I think my concern is mostly that there's too many grays and differ just a little bit, causing a patchwork effect. This is less important than the misalignment anyway.

Flags: needinfo?(mak)
You need to log in before you can comment on or make changes to this bug.