You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Per Newgro (JIRA)" <ji...@apache.org> on 2007/09/13 21:42:32 UTC
[jira] Created: (WICKET-969) Assign other css style to datepicker
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
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.
[jira] Commented: (WICKET-969) Assign other css style to datepicker
Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527443 ]
Gerolf Seitz commented on WICKET-969:
-------------------------------------
thread on user list: http://www.nabble.com/Howto-customize-yui-datepicker-tf4435671.html
> 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
>
> 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.
[jira] Resolved: (WICKET-969) Assign other css style to datepicker
Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
[ 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.