Opened 9 years ago
Closed 9 years ago
#13977 closed defect (fixed)
.dijitTooltipContainer css does not set color of text in claro theme
Reported by: | ben hockey | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | themes | Version: | 1.7.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dijit.css sets the color for .dijitTooltipContainer as color: black;
. the claro theme simply inherits this color from dijit.css rather than using the value from the theme (as set by @text-color in variables.less). this produces inconsistencies when trying to build a new theme based on new values in variables.less
the simple fix would be to add something like color: @text-color;
to the .claro .dijitTooltipContainer rule in Dialog.less
Note: See
TracTickets for help on using
tickets.
Turns out there are a lot of widgets that don't follow @text-color, like Menu, Tree, Calendar, Dialog, etc. I wonder if I should be adding settings for everything (and if so, for Dialog whether it should control the Dialog title and/or the Dialog contents), or if color should just be inherited from <body>. It seems like dijit.css shouldn't have any color settings.