New to Kendo UI for Angular? Start a free 30-day trial
Customizing List
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-list-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the List components. | |||
$kendo-list-font-size | Null | null | null |
Description
The font size of the List component, if no size is set. | |||
$kendo-list-line-height | Null | null | null |
Description
The line height of the List component, if no size is set. | |||
$kendo-list-header-padding-x | Null | null | null |
Description
The horizontal padding of the List header, if no size is set. | |||
$kendo-list-header-padding-y | Null | null | null |
Description
The vertical padding of the List header, if no size is set. | |||
$kendo-list-header-border-width | List | 0 0 1px | 0 0 1px |
Description
The border width of the List header. | |||
$kendo-list-header-font-size | Null | null | null |
Description
The font size of the List header, if no size is set. | |||
$kendo-list-header-line-height | Null | null | null |
Description
The line height of the List header, if no size is set. | |||
$kendo-list-header-font-weight | String | var( --kendo-font-weight-bold, normal ) | var(--kendo-font-weight-bold, normal) |
Description
The font weight of the List header. | |||
$kendo-list-item-padding-x | Null | null | null |
Description
The horizontal padding of the List items, when no size is set. | |||
$kendo-list-item-padding-y | Null | null | null |
Description
The vertical padding of the List items, when no size is set. | |||
$kendo-list-item-font-size | Null | null | null |
Description
The font size of the List items, if no size is set. | |||
$kendo-list-item-line-height | Null | null | null |
Description
The line height of the List items, if no size is set. | |||
$kendo-list-group-item-padding-x | Null | null | null |
Description
The horizontal padding of the List group items, when no size is set. | |||
$kendo-list-group-item-padding-y | Null | null | null |
Description
The vertical padding of the List group items, when no size is set. | |||
$kendo-list-group-item-border-width | List | 1px 0 0 | 1px 0 0 |
Description
The border width of the List group items. | |||
$kendo-list-group-item-font-size | Null | null | null |
Description
The font size of the List group items, if no size is set. | |||
$kendo-list-group-item-line-height | Null | null | null |
Description
The line height of the List group items, if no size is set. | |||
$kendo-list-group-item-font-weight | String | var( --kendo-font-weight-bold, normal ) | var(--kendo-font-weight-bold, normal) |
Description
The font weight of a List group item. | |||
$kendo-list-sizes | Map | (
sm: (
font-size: $kendo-list-sm-font-size,
line-height: $kendo-list-sm-line-height,
header-padding-x: $kendo-list-sm-header-padding-x,
header-padding-y: $kendo-list-sm-header-padding-y,
header-font-size: null,
header-line-height: null,
item-padding-x: $kendo-list-sm-item-padding-x,
item-padding-y: $kendo-list-sm-item-padding-y,
item-font-size: null,
item-line-height: null,
group-item-padding-x: $kendo-list-sm-group-item-padding-x,
group-item-padding-y: $kendo-list-sm-group-item-padding-y,
group-item-font-size: null,
group-item-line-height: null
),
md: (
font-size: $kendo-list-md-font-size,
line-height: $kendo-list-md-line-height,
header-padding-x: $kendo-list-md-header-padding-x,
header-padding-y: $kendo-list-md-header-padding-y,
header-font-size: null,
header-line-height: null,
item-padding-x: $kendo-list-md-item-padding-x,
item-padding-y: $kendo-list-md-item-padding-y,
item-font-size: null,
item-line-height: null,
group-item-padding-x: $kendo-list-md-group-item-padding-x,
group-item-padding-y: $kendo-list-md-group-item-padding-y,
group-item-font-size: null,
group-item-line-height: null
),
lg: (
font-size: $kendo-list-lg-font-size,
line-height: $kendo-list-lg-line-height,
header-padding-x: $kendo-list-lg-header-padding-x,
header-padding-y: $kendo-list-lg-header-padding-y,
header-font-size: null,
header-line-height: null,
item-padding-x: $kendo-list-lg-item-padding-x,
item-padding-y: $kendo-list-lg-item-padding-y,
item-font-size: null,
item-line-height: null,
group-item-padding-x: $kendo-list-lg-group-item-padding-x,
group-item-padding-y: $kendo-list-lg-group-item-padding-y,
group-item-font-size: null,
group-item-line-height: null
)
) |
|
Description
The map with the sizes of the List. | |||
$kendo-list-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the List component. | |||
$kendo-list-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the List component. | |||
$kendo-list-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the List component. | |||
$kendo-list-header-bg | Null | null | null |
Description
The background color of the List header. | |||
$kendo-list-header-text | Null | null | null |
Description
The text color of the List header. | |||
$kendo-list-header-border | String | inherit | inherit |
Description
The border color of the List header. | |||
$kendo-list-header-shadow | String | k-elevation(2) | var(--kendo-elevation-2, 0 4px 6px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description
The box shadow of the List header. | |||
$kendo-list-item-bg | Null | null | null |
Description
The background color of the List items. | |||
$kendo-list-item-text | Null | null | null |
Description
The text color of the List items. | |||
$kendo-list-item-hover-bg | String | $kendo-hover-bg | var(--kendo-color-base-hover, #ebebeb) |
Description
The background color of the hovered List items. | |||
$kendo-list-item-hover-text | String | $kendo-hover-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the hovered List items. | |||
$kendo-list-item-focus-bg | Null | null | null |
Description
The background color of the focused List items. | |||
$kendo-list-item-focus-text | Null | null | null |
Description
The text color of the focused List items. | |||
$kendo-list-item-focus-shadow | List | inset 0 0 0 2px rgba(0, 0, 0, .12) | inset 0 0 0 2px rgba(0, 0, 0, 0.12) |
Description
The box shadow of the focused List items. | |||
$kendo-list-item-selected-bg | String | $kendo-selected-bg | var(--kendo-color-primary, #ff6358) |
Description
The background color of the selected List items. | |||
$kendo-list-item-selected-text | String | $kendo-selected-text | var(--kendo-color-on-primary, #ffffff) |
Description
The text color of the selected List items. | |||
$kendo-list-group-item-bg | Null | null | null |
Description
The background color of the List group items. | |||
$kendo-list-group-item-text | Null | null | null |
Description
The text color of the List group items. | |||
$kendo-list-group-item-border | String | inherit | inherit |
Description
The border color of the List group items. | |||
$kendo-list-group-item-shadow | Null | null | null |
Description
The base shadow of the List group items. | |||
$kendo-list-no-data-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #666666) |
Description
The color of the 'No Data' text. | |||
$kendo-list-option-label-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #666666) |
Description
The color of the 'Option Label' text. |