From richfaces-svn-commits at lists.jboss.org Thu Aug 30 14:29:38 2007 Content-Type: multipart/mixed; boundary="===============5026341683833532325==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r2627 - trunk/docs/userguide/en/src/main/docbook/included. Date: Thu, 30 Aug 2007 14:29:38 -0400 Message-ID: --===============5026341683833532325== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vkorluzhenko Date: 2007-08-30 14:29:37 -0400 (Thu, 30 Aug 2007) New Revision: 2627 Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml Log: http://jira.jboss.com/jira/browse/RF-446 - added descriptions for classes Modified: trunk/docs/userguide/en/src/main/docbook/included/calendar.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-08-= 30 17:04:47 UTC (rev 2626) +++ trunk/docs/userguide/en/src/main/docbook/included/calendar.xml 2007-08-= 30 18:29:37 UTC (rev 2627) @@ -399,198 +399,353 @@ = = - - = -
- Definition of Custom Style Classes = -
- Classes names + For skinnability implementation, the components use a + style class redefinition method. + + Default style classes are mapped on + skin parameters. + + = + There are two ways to redefine the appearance of all + <rich:calendar> + components at once: + = + + + Redefine the corresponding skin parameters + = - - - - - -
+ + Add to a user's style sheets + style classes + used by a + <rich:calendar> + component + + +
+ = + + = +
+ Definition of Custom Style Classes + +
+ Classes names + + + + + + +
+ + On the screenshot, there are classes names defining specified el= ements. + - Classes names that define popup element - = + Classes names that define input field and button appearance</= title> + <tgroup cols=3D"2"> <thead> <row> <entry>Class name</entry> - = + <entry>Description</entry> </row> </thead> - = + <tbody> + <row> + <entry>rich-calendar-input </entry> + + <entry>Defines the styles for the input field</entry> + </row> + + <row> + <entry>rich-calendar-popupicon</entry> + + <entry>Defines the styles for the icon for button</entry> + </row> + + </tbody> + </tgroup> + </table> + + <table> + <title>Classes names that define days appearance + + + + + Class name + + Description + + + + + + + rich-calendar-days + + Defines styles for names of working days in the header<= /entry> + + + + rich-calendar-weekends + + Defines styles for names of weekend in the header + + + + rich-calendar-week + + Defines styles for weeks numbers + = - rich-calendar-exterior + rich-calendar-today = - + Defines styles for today date + + + rich-calendar-cell + + Defines styles for cells with days + + + + rich-calendar-holly + + Defines styles for hollydays + + + + rich-calendar-select + + Defines styles for selected day + + + + rich-calendar-hover + + Defines styles for hovered day + + + + +
+ + + Classes names that define popup element + + + + + Class name + + Description + + + + + + + rich-calendar-exterior + + Defines styles for popup element + = - rich-calendar-header-optional + rich-calendar-tool = - + Defines styles for toolbars = - rich-calendar-footer-optional + rich-calendar-month = - + Defines styles for names of months - = + + rich-calendar-header-optional + + Defines styles for optional header + + + + rich-calendar-footer-optional + + Defines styles for optional footer + + + rich-calendar-header - = - + + Defines styles for header - = + rich-calendar-footer - = - + + Defines styles for footer - = + - rich-calendar-today - = - - - = - rich-calendar-boundary-dates - = - + + Defines styles for active boundary button - = + rich-calendar-btn - = - + + Defines styles for inactive boundary date - = + rich-calendar-current - = - + + Defines styles for today control date - = +
- = - In order to redefine the style for all calendars on a page using= CSS, - it's enough to create classes with the same names and define th= e necessary properties - in them. - = - To change the style of particular calendars define your own style - classes in the corresponding calendar attributes. + + In order to redefine the style for all + <rich:calendar> + components on a page using CSS, it's enough to crea= te classes with the + same names and define the necessary properties in them. + + To change the style of particular + <rich:calendar> + components define your own style classes in the correspo= nding + <rich:calendar> + attributes.
=
--===============5026341683833532325==--