Customizing Listbox
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-listbox-spacing | Number | k-map-get( $kendo-spacing, 2 ) | 0.5rem |
Description
The spacing between the ListBox elements. | |||
$kendo-listbox-button-spacing | Number | k-map-get( $kendo-spacing, 4 ) | 1rem |
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 | List | $kendo-font-family | system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" |
Description
The font family of the ListBox. | |||
$kendo-listbox-font-size | Number | $kendo-font-size-md | 1rem |
Description
The font size of the ListBox. | |||
$kendo-listbox-line-height | Number | $kendo-line-height-md | 1.5 |
Description
The line height of the ListBoxx. | |||
$kendo-listbox-text | Color | $kendo-component-text | #212529 |
Description
The text color of the ListBox. | |||
$kendo-listbox-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the ListBox. | |||
$kendo-listbox-border | Color | $kendo-component-border | #dee2e6 |
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. |