jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The
base stylesheet creates the styles related to the widget's layout like margin, padding,
border-width, position. The second css file applies the widget's colors and backgrounds.
The jqx.base.css should be included before the second CSS file.
Below is the list of CSS classes used by jqxDateTimeInput.
jqx-input - applied to jqxDateTimeInput widget.
jqx-input-content - applied to the input's content.
jqx-widget-content - applied to the input's content.
jqx-input-disabled - applied to the input when it is disabled.
jqx-input-button-header - applied to the jqxDateTimeInput's button header.
jqx-widget-header - applied to the jqxDateTimeInput's button header.
jqx-input-button-innerHeader - applied to the element which is in the middle of
the jqxDateTimeInput's button header.
jqx-input-button-content- applied to the jqxDateTimeInput's button content.
jqx-fill-state-focus - applied to the jqxDateTimeInput when it is focused.
jqx-fill-state-disabled - applied to the jqxDateTimeInput when it is disabled.
*jqxDateTimeInput internally use the jqxCalendar widget. For additional information about styling jqxCalendar, please take a look at the jqxCalendar's Styling and Appearance help topic.
When you create a custom style with colors and backgrounds for jqxDateTimeInput,
you need to do the following:
Add the above CSS classes related to jqxDateTimeInput
After each CSS class, add your theme name.
For example:
jqx-input-themename
To apply your custom style to jqxDateTimeInput, you need to set its 'theme' property(option)
to point to your theme name string.