New to Kendo UI for Angular? 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 | map.get( $kendo-spacing, 1 ) | ||
Description
The horizontal padding of the ListView. | |||
$kendo-listview-padding-y | map.get( $kendo-spacing, 1 ) | ||
Description
The vertical padding of the ListView. | |||
$kendo-listview-border-width | 1px | ||
Description
The width of the border around bordered ListView. | |||
$kendo-listview-header-padding-x | map.get( $kendo-spacing, 4 ) | ||
Description
The horizontal padding of the ListView header. | |||
$kendo-listview-header-padding-y | map.get( $kendo-spacing, 2 ) | ||
Description
The vertical padding of the ListView header. | |||
$kendo-listview-footer-padding-x | $kendo-listview-header-padding-x | ||
Description
The horizontal padding of the ListView footer. | |||
$kendo-listview-footer-padding-y | $kendo-listview-header-padding-y | ||
Description
The vertical padding of the ListView footer. | |||
$kendo-listview-item-padding-x | map.get( $kendo-spacing, 1 ) | ||
Description
The horizontal padding of the ListView items. | |||
$kendo-listview-item-padding-y | map.get( $kendo-spacing, 1 ) | ||
Description
The vertical padding of the ListView items. | |||
$kendo-listview-font-family | var( --kendo-font-family, initial ) | ||
Description
The font family of the ListView. | |||
$kendo-listview-font-size | var( --kendo-font-size, initial ) | ||
Description
The font size of the ListView. | |||
$kendo-listview-line-height | var( --kendo-line-height, initial ) | ||
Description
The line height of the ListView. | |||
$kendo-listview-grid-gap | map.get( $kendo-spacing, 0 ) | ||
Description
The gap between items of ListView with grid layout. | |||
$kendo-listview-text | var( --kendo-component-text, initial ) | ||
Description
The text color of the ListView. | |||
$kendo-listview-bg | var( --kendo-component-bg, initial ) | ||
Description
The background color of the ListView. | |||
$kendo-listview-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the ListView. | |||
$kendo-listview-header-text | initial | ||
Description
The text color of the ListView header. | |||
$kendo-listview-header-bg | initial | ||
Description
The background color of the ListView header. | |||
$kendo-listview-header-border | $kendo-listview-border | ||
Description
The border color of the ListView header. | |||
$kendo-listview-footer-text | initial | ||
Description
The text color of the ListView footer. | |||
$kendo-listview-footer-bg | initial | ||
Description
The background color of the ListView footer. | |||
$kendo-listview-item-selected-text | initial | ||
Description
The text color of the selected ListView items. | |||
$kendo-listview-item-selected-bg | k-get-theme-color-var( neutral-20 ) | ||
Description
The background color of the selected ListView items. | |||
$kendo-listview-item-focus-text | initial | ||
Description
The text color of the focused ListView items. | |||
$kendo-listview-item-focus-bg | initial | ||
Description
The background color of the focused ListView items. | |||
$kendo-listview-item-focus-shadow | var( --kendo-list-item-focus-shadow, $kendo-list-item-focus-shadow ) | ||
Description
The box shadow of the focused ListView items. |