Open Bug 1791074 Opened 2 years ago Updated 1 year ago

HCM: Hovered buttons and primary buttons have a border-color that doesn't match the background-color, making them look fuzzy

Categories

(Toolkit :: Themes, defect, P3)

defect

Tracking

()

People

(Reporter: aminomancer, Unassigned)

References

Details

Attachments

(1 file)

Attached image fuzzyHCMBorders.gif

Normally in system pages, dialogs, etc. (that load common.css), hovered buttons have transparent borders.

In a default light HCM theme, a regular button will have a 'ghost button' appearance: a dark (ButtonText) border, a light (ButtonFace) background-color, and dark (ButtonText) text. Hovering it will basically invert these colors. But that means the border is not the same color as the background, causing the button edges to look fuzzy and weird. The same thing is true for primary buttons, but in reverse.

So in HCM, border-color should always be ButtonText. In the 'ghost button' state, that makes the border the same color as the text. In the hovered state (or unhovered for primary buttons), that makes the border the same color as the solid background.

To implement that, we can add the following rules to this ruleset:

--in-content-button-border-color-hover: ButtonText;
--in-content-primary-button-border-color: ButtonText;
See Also: → 1790888

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dao+bmo)
Severity: -- → S4
Flags: needinfo?(dao+bmo)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: