Customizing List
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-list-font-family | List | $kendo-font-family | system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" |
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 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 | Number | $kendo-font-weight-bold | 700 |
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 | Number | $kendo-font-weight-bold | 700 |
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
)
) | (sm: (font-size: 0.875rem, line-height: 1.4285714286, header-padding-x: 1rem, header-padding-y: 0.25rem, header-font-size: null, header-line-height: null, item-padding-x: 1rem, item-padding-y: 0.25rem, item-font-size: null, item-line-height: null, group-item-padding-x: 1rem, group-item-padding-y: 0.125rem, group-item-font-size: null, group-item-line-height: null), md: (font-size: 1rem, line-height: 1.5, header-padding-x: 1rem, header-padding-y: 0.25rem, header-font-size: null, header-line-height: null, item-padding-x: 1rem, item-padding-y: 0.25rem, item-font-size: null, item-line-height: null, group-item-padding-x: 1rem, group-item-padding-y: 0.25rem, group-item-font-size: null, group-item-line-height: null), lg: (font-size: 1rem, line-height: 1.5, header-padding-x: 1rem, header-padding-y: 0.5rem, header-font-size: null, header-line-height: null, item-padding-x: 1rem, item-padding-y: 0.5rem, item-font-size: null, item-line-height: null, group-item-padding-x: 1rem, group-item-padding-y: 0.375rem, group-item-font-size: null, group-item-line-height: null)) |
Description
The map with the sizes of the List. | |||
$kendo-list-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the List component. | |||
$kendo-list-text | Color | $kendo-component-text | #212529 |
Description
The text color of the List component. | |||
$kendo-list-border | Color | $kendo-component-border | #dee2e6 |
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 | Null | null | null |
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 | Color | $kendo-hover-bg | #e9ecef |
Description
The background color of the hovered List items. | |||
$kendo-list-item-hover-text | Color | $kendo-hover-text | #212529 |
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 3px if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 15%, transparent), rgba( $kendo-list-text, .15 )) | inset 0 0 0 3px rgba(33, 37, 41, 0.15) |
Description
The box shadow of the focused List items. | |||
$kendo-list-item-selected-bg | Color | $kendo-selected-bg | #0d6efd |
Description
The background color of the selected List items. | |||
$kendo-list-item-selected-text | Color | $kendo-selected-text | white |
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 | Color | $kendo-subtle-text | #6c757d |
Description
The color of the 'No Data' text. | |||
$kendo-list-option-label-text | Color | $kendo-subtle-text | #6c757d |
Description
The color of the 'Option Label' text. |