Sass Variables
The Telerik and Kendo UI Filter is a composite UI component. To configure and customize its appearance, use not only its dedicated Sass variables but also the variables provided by the Button component.
| Variable | Default Value | Computed Value | Value |
|---|---|---|---|
kendo-filter-padding-x | k-spacing(2) | var(--kendo-spacing-2) | Default: k-spacing(2)Computed: var(--kendo-spacing-2) |
| Description: The horizontal padding of the Filter. | |||
kendo-filter-padding-y | k-spacing(1) | var(--kendo-spacing-1) | Default: k-spacing(1)Computed: var(--kendo-spacing-1) |
| Description: The vertical padding of the Filter. | |||
kendo-filter-border-radius | null | null | Default: nullComputed: null |
| Description: The border radius of the Filter. | |||
kendo-filter-bottom-margin | k-spacing(7.5) | var(--kendo-spacing-7\.5) | Default: k-spacing(7.5)Computed: var(--kendo-spacing-7\.5) |
| Description: The bottom margin of the Filter. | |||
kendo-filter-line-size | 1px | 1px | Default: 1pxComputed: 1px |
| Description: The width of the line that connects the Filter items. | |||
kendo-filter-operator-dropdown-width | 15em | 15em | Default: 15emComputed: 15em |
| Description: The width of the dropdown elements in the Filter items. | |||
kendo-filter-preview-field-text | k-color(primary-on-surface) | var(--kendo-color-primary-on-surface) | Default: k-color(primary-on-surface)Computed: var(--kendo-color-primary-on-surface) |
| Description: The text color of the Filter preview field. | |||
kendo-filter-preview-operator-text | k-color(on-app-surface) | var(--kendo-color-on-app-surface) | Default: k-color(on-app-surface)Computed: var(--kendo-color-on-app-surface) |
| Description: The text color of the Filter preview operator. | |||
kendo-filter-toolbar-focus-shadow | 0 0 0 2px k-color(border-alt) | (0 0 0 2px var(--kendo-color-border-alt)) | Default: 0 0 0 2px k-color(border-alt)Computed: (0 0 0 2px var(--kendo-color-border-alt)) |
| Description: The box shadow of the focused Filter toolbar. | |||