Customizing Listview
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-listview-padding-x | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The horizontal padding of the ListView. | |||
$kendo-listview-padding-y | String | k-spacing(1) | var(--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-header-padding-x | String | k-spacing(4) | var(--kendo-spacing-4, 1rem) |
Description
The horizontal padding of the ListView header. | |||
$kendo-listview-header-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the ListView header. | |||
$kendo-listview-footer-padding-x | String | $kendo-listview-header-padding-x | var(--kendo-spacing-4, 1rem) |
Description
The horizontal padding of the ListView footer. | |||
$kendo-listview-footer-padding-y | String | $kendo-listview-header-padding-y | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the ListView footer. | |||
$kendo-listview-item-padding-x | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The horizontal padding of the ListView items. | |||
$kendo-listview-item-padding-y | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The vertical padding of the ListView items. | |||
$kendo-listview-font-family | String | var( --kendo-font-family, initial ) | var(--kendo-font-family, initial) |
Description
The font family of the ListView. | |||
$kendo-listview-font-size | String | var( --kendo-font-size, initial ) | var(--kendo-font-size, initial) |
Description
The font size of the ListView. | |||
$kendo-listview-line-height | String | var( --kendo-line-height, initial ) | var(--kendo-line-height, initial) |
Description
The line height of the ListView. | |||
$kendo-listview-grid-gap | String | k-spacing(.0) | var(--kendo-spacing-0, 0px) |
Description
The gap between items of ListView with grid layout. | |||
$kendo-listview-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the ListView. | |||
$kendo-listview-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the ListView. | |||
$kendo-listview-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The border color of the ListView. | |||
$kendo-listview-header-text | String | initial | initial |
Description
The text color of the ListView header. | |||
$kendo-listview-header-bg | String | initial | initial |
Description
The background color of the ListView header. | |||
$kendo-listview-header-border | String | $kendo-listview-border | var(--kendo-component-border, initial) |
Description
The border color of the ListView header. | |||
$kendo-listview-footer-text | String | initial | initial |
Description
The text color of the ListView footer. | |||
$kendo-listview-footer-bg | String | initial | initial |
Description
The background color of the ListView footer. | |||
$kendo-listview-item-selected-text | String | initial | initial |
Description
The text color of the selected ListView items. | |||
$kendo-listview-item-selected-bg | String | if($kendo-enable-color-system, k-color( base-active ), k-get-theme-color-var( neutral-20 )) | var(--kendo-color-base-active, #edebe9) |
Description
The background color of the selected ListView items. | |||
$kendo-listview-item-focus-text | String | initial | initial |
Description
The text color of the focused ListView items. | |||
$kendo-listview-item-focus-bg | String | initial | initial |
Description
The background color of the focused ListView items. | |||
$kendo-listview-item-focus-shadow | String | var( --kendo-list-item-focus-shadow, $kendo-list-item-focus-shadow ) | var(--kendo-list-item-focus-shadow, inset 0 0 0 1px var(--kendo-color-base-emphasis, #605e5c)) |
Description
The box shadow of the focused ListView items. |