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 | Number | k-map-get( $kendo-spacing, 3 ) | 12px |
Description
The spacing between the ListBox elements. | |||
$kendo-listbox-button-spacing | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
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 | Roboto, "Helvetica Neue", sans-serif |
Description
The font family of the ListBox. | |||
$kendo-listbox-font-size | Number | $kendo-list-md-font-size | 14px |
Description
The font size of the ListBox. | |||
$kendo-listbox-line-height | Number | $kendo-list-md-line-height | 1.4285714286 |
Description
The line height of the ListBox. | |||
$kendo-listbox-text | Color | $kendo-component-text | rgba(0, 0, 0, 0.87) |
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 | rgba(0, 0, 0, 0.12) |
Description
The border color of the ListBox. | |||
$kendo-listbox-item-padding-x | Number | $kendo-list-md-item-padding-x | 16px |
Description
The inline padding of the ListBox item. | |||
$kendo-listbox-item-padding-y | Number | $kendo-list-md-item-padding-y | 8px |
Description
The block padding of the ListBox item. | |||
$kendo-listbox-drop-hint-width | Number | 2px | 2px |
Description
The width of the ListBox drop hint. | |||
$kendo-listbox-drop-hint-border-width | Number | 2px | 2px |
Description
The width of the border around the ListBox drop hint. |