Closed Bug 1936829 Opened 9 months ago Closed 9 months ago

Menu item don't have the right color when they're hovered

Categories

(DevTools :: General, defect)

defect

Tracking

(firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/39e6d5b609b74a19c0824d98ae654b60d6310152/devtools/client/themes/tooltips.css#613,620-622

.menuitem > button.command:is([role="menuitem"],[role="menuitemcheckbox"],[role="link"]) {
...
  &:not([disabled]) {
    color: var(--theme-arrowpanel-color);
  }

has a higher specificity than the rule that we want to be applied https://searchfox.org/mozilla-central/rev/39e6d5b609b74a19c0824d98ae654b60d6310152/devtools/client/themes/tooltips.css#554,569-572

.menuitem > .command {
...
  &:not([disabled],[open],:active):hover {
    background-color: var(--theme-popup-hover-background);
    color: var(--theme-popup-hover-color);
  }
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/169694a06005 [devtools] Lower specificity of a rule to fix menu item hover color in High Contrast Mode. r=devtools-reviewers,bomsy.
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: