Vue UI Components Documentation
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 jqxListBox.- jqx-widget - applied to jqxListBox.
- jqx-listbox - applied to jqxListBox.
- jqx-listbox-bottomright-applied to the ListBox's element displayed when the horizontal and vertical scrollbars are visible and the element is positioned below the vertical scrollbar and on the right of the horizontal scrollbar.
- jqx-listitem-state-group - applied to the ListBox's groups.
- jqx-listitem-state-normal - applied to a list item in default state.
- jqx-listitem-state-hover - applied to a list item in hovered state.
- jqx-fill-state-hover - applied to a list item in hovered state.
- jqx-listitem-state-selected - applied to a list item when the item is selected.
- jqx-fill-state-pressed - applied to a list item when the item is selected.
- jqx-listitem-state-disabled - applied to a list item when the item is disabled or the ListBox is disabled.
- jqx-fill-state-focus - applied to the ListBox when it is focused.
- jqx-fill-state-disabled- applied to the ListBox when it is disabled.
- Add the above CSS classes related to jqxListBox
- After each CSS class, add your theme name.
For example:
jqx-listbox-summer - To apply your custom style to jqxListBox, you need to set its 'theme' property(option) to point to your theme name string.