New to Kendo UI for Angular? Start a free 30-day trial
Customizing Listbox
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-listbox-spacing | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing between the ListBox elements. | |||
$kendo-listbox-button-spacing | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing between the ListBox buttons. | |||
$kendo-listbox-width | Number | 10em | 10em |
Description
The width of the ListBox. | |||
$kendo-listbox-default-height | Number | 200px | 200px |
Description
The height of the ListBox. | |||
$kendo-listbox-border-width | Number | 1px | 1px |
Description
The width of the border around the ListBox. | |||
$kendo-listbox-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the ListBox. | |||
$kendo-listbox-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the ListBox. | |||
$kendo-listbox-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the ListBox. | |||
$kendo-listbox-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the ListBox. | |||
$kendo-listbox-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the ListBox. | |||
$kendo-listbox-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the ListBox. | |||
$kendo-listbox-item-padding-x | Null | null | null |
Description
The inline padding of the ListBox item. | |||
$kendo-listbox-item-padding-y | Null | null | null |
Description
The block padding of the ListBox item. | |||
$kendo-listbox-drop-hint-width | Number | 1px | 1px |
Description
The width of the ListBox drop hint. | |||
$kendo-listbox-drop-hint-border-width | Null | null | null |
Description
The width of the border around the ListBox drop hint. |