Closed Bug 1929594 Opened 1 year ago Closed 1 year ago

Don't use opacity to style disabled menuitem

Categories

(DevTools :: Shared Components, defect, P3)

defect

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

See https://searchfox.org/mozilla-central/rev/aecb006bbb135d707ca4b8cea7572dd8abab6817/devtools/client/themes/tooltips.css#450-451,554,581-583

.tooltip-container[type="doorhanger"] {
  > .tooltip-panel {
...
  .menuitem > .command {
...
    &[disabled] {
      opacity: 0.5;
    }

We should rather used one of our variable to adapt the color of the text

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/042ce18dd1e9 [devtools] Use --theme-text-color-inactive for disabled menu items instead of tweaking the opacity. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: