New to Kendo UI for Vue? Start a free 30-day trial
Customizing Listview
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-listview-padding-x | Number | k-map-get( $kendo-spacing, 1 ) | 0.25rem |
Description
The horizontal padding of the ListView. | |||
$kendo-listview-padding-y | Number | k-map-get( $kendo-spacing, 1 ) | 0.25rem |
Description
The vertical padding of the ListView. | |||
$kendo-listview-border-width | Number | 1px | 1px |
Description
The width of the border around bordered ListView. | |||
$kendo-listview-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 ListView. | |||
$kendo-listview-font-size | Number | $kendo-font-size-md | 1rem |
Description
The font size of the ListView. | |||
$kendo-listview-line-height | Number | $kendo-line-height-md | 1.5 |
Description
The line height of the ListView. | |||
$kendo-listview-text | Color | $kendo-component-text | #212529 |
Description
The text color of the ListView. | |||
$kendo-listview-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the ListView. | |||
$kendo-listview-border | Color | $kendo-component-border | #dee2e6 |
Description
The border color of the ListView. | |||
$kendo-listview-item-padding-x | Number | k-map-get( $kendo-spacing, 1 ) | 0.25rem |
Description
The horizontal padding of the ListView items. | |||
$kendo-listview-item-padding-y | Number | k-map-get( $kendo-spacing, 1 ) | 0.25rem |
Description
The vertical padding of the ListView items. | |||
$kendo-listview-item-selected-text | Null | null | null |
Description
The text color of the selected ListView items. | |||
$kendo-listview-item-selected-bg | Color | if($kendo-enable-color-system, color-mix(in srgb, k-color( primary ) 25%, transparent), rgba( $kendo-selected-bg, .25 )) | rgba(13, 110, 253, 0.25) |
Description
The background color of the selected ListView items. | |||
$kendo-listview-item-selected-border | Null | null | null |
Description
The border color of the selected ListView items. | |||
$kendo-listview-item-focus-text | Null | null | null |
Description
The text color of the focused ListView items. | |||
$kendo-listview-item-focus-bg | Null | null | null |
Description
The background color of the focused ListView items. | |||
$kendo-listview-item-focus-border | Null | null | null |
Description
The border color of the focused ListView items. | |||
$kendo-listview-item-focus-shadow | List | inset 0 0 0 3px if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 15%, transparent), rgba( $kendo-listview-text, .15 )) | inset 0 0 0 3px rgba(33, 37, 41, 0.15) |
Description
The box shadow of the focused ListView items. |