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
WThe width of the ListBox. | |||
$kendo-listbox-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, normal ) | var(--kendo-font-family, normal) |
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 | var( --kendo-component-text, inherit ) | var(--kendo-component-text, inherit) |
Description
The text color of the ListBox. | |||
$kendo-listbox-bg | String | var( --kendo-component-bg, transparent ) | var(--kendo-component-bg, transparent) |
Description
The background color of the ListBox. | |||
$kendo-listbox-border | String | var( --kendo-component-border, inherit ) | var(--kendo-component-border, inherit) |
Description
The border color of the ListBox. | |||
$kendo-listbox-drop-hint-width | Number | 1px | 1px |
Description
The width of the ListBox drop hint. | |||
$kendo-listbox-drop-hint-border-color | String | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | var(--kendo-color-primary, #0078d4) |
Description
The border color of the ListBox drop hint. |