New to Kendo UI for Vue? Start a free 30-day trial

Customizing Listview

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-listview-padding-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the ListView.
$kendo-listview-padding-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the ListView.
$kendo-listview-border-widthNumber1px1px
Description
The width of the border around bordered ListView.
$kendo-listview-header-padding-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the ListView header.
$kendo-listview-header-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the ListView header.
$kendo-listview-footer-padding-xString$kendo-listview-header-padding-xvar(--kendo-spacing-4, 1rem)
Description
The horizontal padding of the ListView footer.
$kendo-listview-footer-padding-yString$kendo-listview-header-padding-yvar(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the ListView footer.
$kendo-listview-item-padding-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the ListView items.
$kendo-listview-item-padding-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the ListView items.
$kendo-listview-font-familyStringvar( --kendo-font-family, initial )var(--kendo-font-family, initial)
Description
The font family of the ListView.
$kendo-listview-font-sizeStringvar( --kendo-font-size, initial )var(--kendo-font-size, initial)
Description
The font size of the ListView.
$kendo-listview-line-heightStringvar( --kendo-line-height, initial )var(--kendo-line-height, initial)
Description
The line height of the ListView.
$kendo-listview-grid-gapStringk-spacing(.0)var(--kendo-spacing-0, 0px)
Description
The gap between items of ListView with grid layout.
$kendo-listview-textStringvar( --kendo-component-text, initial )var(--kendo-component-text, initial)
Description
The text color of the ListView.
$kendo-listview-bgStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The background color of the ListView.
$kendo-listview-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The border color of the ListView.
$kendo-listview-header-textStringinitialinitial
Description
The text color of the ListView header.
$kendo-listview-header-bgStringinitialinitial
Description
The background color of the ListView header.
$kendo-listview-header-borderString$kendo-listview-bordervar(--kendo-component-border, initial)
Description
The border color of the ListView header.
$kendo-listview-footer-textStringinitialinitial
Description
The text color of the ListView footer.
$kendo-listview-footer-bgStringinitialinitial
Description
The background color of the ListView footer.
$kendo-listview-item-selected-textStringinitialinitial
Description
The text color of the selected ListView items.
$kendo-listview-item-selected-bgStringif($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-textStringinitialinitial
Description
The text color of the focused ListView items.
$kendo-listview-item-focus-bgStringinitialinitial
Description
The background color of the focused ListView items.
$kendo-listview-item-focus-shadowStringvar( --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.

In this article

Not finding the help you need?