Styling and Appearance
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 jqxWindow.
- jqx-widget – applied to the jqxWindow.
- jqx-window – applied to the jqxWindow.
- jqx-window-disabled – applied to the jqxWindow when it’s disabled.
- jqx-window-header – applied to the window’s header.
- jqx-widget-header – applied to the window’s header.
- jqx-window-content – applied to the window’s content.
- jqx-widget-content – applied to the window’s content.
- jqx-window-close-button – applied to the window’s close button.
- jqx-window-collapse-button – applied to the window’s collapse button.
- jqx-window-modal – setting styles of the modal window’s background.
When you create a custom style with colors and backgrounds for jqxWindow, you need to do the following:
- Add the above CSS classes related to jqxWindow
- After each CSS class, add your theme name.
- To apply your custom style to jqxWindow, you need to set its 'theme' property(option)
to point to your theme name string.