New to Kendo UI for Angular? Start a free 30-day trial

Customizing Filter

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-filter-padding-xString$kendo-padding-sm-xvar(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the Filter.
$kendo-filter-padding-yString$kendo-filter-padding-xvar(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the Filter.
$kendo-filter-bottom-marginNumber2.1em2.1em
Description
The bottom margin of the Filter.
$kendo-filter-line-sizeNumber1px1px
Description
The width of the line that connects the Filter items.
$kendo-filter-operator-dropdown-widthNumber15em15em
Description
The width of the dropdown elements in the Filter items.
$kendo-filter-preview-field-textString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The text color of the Filter preview field.
$kendo-filter-preview-operator-textString$kendo-subtle-textvar(--kendo-color-subtle, #757575)
Description
The text color of the Filter preview operator.
$kendo-filter-toolbar-focus-shadowList0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px rgba(0, 0, 0, .14), 0 1px 10px rgba(0, 0, 0, .12)0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px rgba(0, 0, 0, 0.14), 0 1px 10px rgba(0, 0, 0, 0.12)
Description
The box shadow of the focused Filter toolbar.

In this article

Not finding the help you need?