This content has been marked as final.
Show 3 replies
-
1. Re: Calendar style classes redefinition
ilya_shaikovsky Jul 28, 2009 6:42 AM (in response to maqui01)you could use css selectors with id. Or just classes attributes instead of common rich-* classes.
-
2. Re: Calendar style classes redefinition
grundor Jul 28, 2009 10:05 AM (in response to maqui01)Santiago,
I had the same need in my application.
I solved using Ilya's suggested method.
For example wherever I use calendar in organizer fashion I set styleClass attribute to "organizer".<rich:calendar popup="false" cellWidth="107px" showFooter="false" showApplyButton="false" showWeeksBar="false" dataModel="#{calendarDataModel}" styleClass="organizer" mode="ajax" id="organizer">
Then in my css stylesheet I do things like:.organizer .rich-calendar-days { font-weight: bold; font-size: 12px; }
whereas styles that apply to the non-organizer mode would just be:.rich-calendar-days { background:#F0F8FF; }
Hope this helps.
-Mark -
3. Re: Calendar style classes redefinition
maqui01 Jul 28, 2009 4:01 PM (in response to maqui01)Thank you very much. I really needed this :D :D
Cheers.
Santiago.