| Summary: | DateTime Calendar Day component theming issue | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ronald So <ronald.so> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | gmalary, tbuschto | ||||
| Version: | 1.5 | ||||||
| Target Milestone: | 2.0 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ronald So
Created attachment 220744 [details]
The DateTime Calendar widget that shows the month of the day in dark grey color instead of red that I defined in the CSS file.
The issue is in DateTime.appearance.js, "calendar-day":
if( !states.disabled && ( states.selected || states.otherMonth || states.over ) ) {
result.textColor = tv.getCssColor( "DateTime-Calendar-Day", "color" );
result.backgroundColor = tv.getCssColor( "DateTime-Calendar-Day", "background-color" );
} else {
result.textColor = tv.getCssColor( "*", "color" );
result.backgroundColor = "undefined";
}
Fixed this and some other oddities that probably existed since the code was originally written with commit d39938b83d972f0d35602343745a4ff18d16887f. |