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 jqxSlider.
jqx-widget – applied to jqxSlider widget.
jqx-slider – applied to jqxSlider widget.
jqx-slider-tick – applied to the slider ticks which.
jqx-slider-tick-horizontal - applied to the ticks when the slider is in horizontal mode.
jqx-slider-tick-vertical - applied to the ticks when the slider is in vertical mode.
jqx-slider-tickscontainer – applied to the ticks container.
jqx-slider-slider – applied to the slider's thumb.
jqx-slider-slider-vertical - applied to the thumb when the slider is in vertical mode.
jqx-slider-slider-horizontal - applied to the thumb when the slider is in horizontal mode.
jqx-slider-track – applied to the slide track.
jqx-slider-track-horizontal - applied to the track when the slider is in horizontal mode.
jqx-slider-track-vertical - applied to the track when the slider is in vertical mode.
jqx-slider-rangebar – applied to the slider to indicate the selected value. In range slider mode is applied to the space between the slider thumbs to indicate the selected values.
jqx-fill-state-pressed – applied to the slider to indicate the selected value. In range slider mode is applied to the space between the slider thumbs to indicate the selected values.
jqx-fill-state-hover - applied to a slider element under the mouse cursor.
jqx-fill-state-focus - applied to the slider's elements when the widget is on focus.
jqx-fill-state-disabled - applied to the slider when it is disabled.
When you create a custom style with colors and backgrounds for jqxSlider, you need to do the following:
Add the above CSS classes related to jqxSlider
After each CSS class, add your theme name.
For example:
jqx-slider-summer
To apply your custom style to jqxSlider, you need to set its 'theme' property(option)
to point to your theme name string.