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 | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
Description
The horizontal padding of the ListView. | |||
$kendo-listview-padding-y | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
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 | Roboto, "Helvetica Neue", sans-serif |
Description
The font family of the ListView. | |||
$kendo-listview-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the ListView. | |||
$kendo-listview-line-height | Number | $kendo-line-height-md | 2 |
Description
The line height of the ListView. | |||
$kendo-listview-text | Color | $kendo-component-text | rgba(0, 0, 0, 0.87) |
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 | rgba(0, 0, 0, 0.12) |
Description
The border color of the ListView. | |||
$kendo-listview-item-padding-x | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
Description
The horizontal padding of the ListView items. | |||
$kendo-listview-item-padding-y | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
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 | rgba( k-contrast-color( $kendo-listview-bg ), .04 ) | rgba(0, 0, 0, 0.04) |
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 | Color | rgba( k-contrast-color( $kendo-listview-bg ), .08 ) | rgba(0, 0, 0, 0.08) |
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 | Null | null | null |
Description
The box shadow of the focused ListView items. |