#15875 closed defect (fixed)
MenuItem: can't change disabled color w/out using !important
Reported by: | haysmark | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.1 |
Component: | Dijit - LnF | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In dijit.css, you see these lines that get applied to all themes:
.dj_ie .dijit_a11y .dijitMenuItemDisabled, .dj_ie .dijit_a11y .dijitMenuItemDisabled td, .dj_ie .dijitMenuItemDisabled *, .dj_ie .dijitMenuItemDisabled td { color:gray !important; filter: alpha(opacity=35); }
The problem is that custom themes inheriting the dijit.css infrastructure can't changed the disabled color.
Change History (4)
comment:1 Changed 8 years ago by
Summary: | can't change color of disabled menu item → MenuItem: can't change disabled color w/out using !important |
---|
comment:2 Changed 8 years ago by
Milestone: | tbd → 1.8.1 |
---|---|
Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
Agreed in principle: the themes can override the color but they need to use !important, which we try not to do in theme files. I imagine the !important is there to:
Do you happen to have a patch to fix this?