[ 
https://issues.apache.org/jira/browse/WICKET-969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gerolf Seitz resolved WICKET-969.
---------------------------------

    Resolution: Won't Fix
      Assignee: Gerolf Seitz

after having the actual need for styling the datepicker myself, i came to the 
conclusion that it doesn't make sense to introduce a css class for that.
to overrule a rule provided by the yui calendar, you simply have to specify the 
"same" rule with a higher level of specificity.

let's say you wanted to change the color of the selected date, you'd have to 
overrule the following rule:
.yui-skin-sam .yui-calendar td.calcell.selected a

since the calendar is attached to a span (see DatePicker#onRendered), you 
simply prepend "span" (without the quotes) to the above rule, resulting in this:
span.yui-skin-sam .yui-calendar td.calcell.selected a

it's as simple as that and introducing another class or so doesn't really make 
sense here.

in case you don't agree, reopen the issue with some arguments, but for now i 
will resolve it as won't fix.

> Assign other css style to datepicker
> ------------------------------------
>
>                 Key: WICKET-969
>                 URL: https://issues.apache.org/jira/browse/WICKET-969
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket-datetime
>    Affects Versions: 1.3.0-beta3
>         Environment: All
>            Reporter: Per Newgro
>            Assignee: Gerolf Seitz
>
> I would like to simply set the whole css or change at least some central 
> rules of design in datepicker

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to