Sass Variables
The Telerik and Kendo UI TreeView enables you to configure and customize its appearance through the available Sass variables.
Variable | Default Value | Computed Value | Value |
---|---|---|---|
kendo-treeview-font-family | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) | Default: var( --kendo-font-family, inherit ) Computed: var(--kendo-font-family, inherit) |
Description: The font family of the TreeView. | |||
kendo-treeview-font-size | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) | Default: var( --kendo-font-size, inherit ) Computed: var(--kendo-font-size, inherit) |
Description: The font size of the TreeView. | |||
kendo-treeview-sm-font-size | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) | Default: var( --kendo-font-size, inherit ) Computed: var(--kendo-font-size, inherit) |
Description: The font size of the small TreeView. | |||
kendo-treeview-md-font-size | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) | Default: var( --kendo-font-size, inherit ) Computed: var(--kendo-font-size, inherit) |
Description: The font size of the medium TreeView. | |||
kendo-treeview-lg-font-size | var( --kendo-font-size-lg, inherit ) | var(--kendo-font-size-lg, inherit) | Default: var( --kendo-font-size-lg, inherit ) Computed: var(--kendo-font-size-lg, inherit) |
Description: The font size of the large TreeView. | |||
kendo-treeview-line-height | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) | Default: var( --kendo-line-height, normal ) Computed: var(--kendo-line-height, normal) |
Description: The line height of the TreeView. | |||
kendo-treeview-sm-line-height | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) | Default: var( --kendo-line-height, normal ) Computed: var(--kendo-line-height, normal) |
Description: The line height of the small TreeView. | |||
kendo-treeview-md-line-height | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) | Default: var( --kendo-line-height, normal ) Computed: var(--kendo-line-height, normal) |
Description: The line height of the medium TreeView. | |||
kendo-treeview-lg-line-height | var( --kendo-line-height-lg, normal ) | var(--kendo-line-height-lg, normal) | Default: var( --kendo-line-height-lg, normal ) Computed: var(--kendo-line-height-lg, normal) |
Description: The line height of the large TreeView. | |||
kendo-treeview-indent | 24px | 24px | Default: 24px Computed: 24px |
Description: The indentation of child groups in the TreeView. | |||
kendo-treeview-item-padding-x | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The horizontal padding of the TreeView items. | |||
kendo-treeview-sm-item-padding-x | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The horizontal padding of the small TreeView items. | |||
kendo-treeview-md-item-padding-x | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The horizontal padding of the medium TreeView items. | |||
kendo-treeview-lg-item-padding-x | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The horizontal padding of the large TreeView items. | |||
kendo-treeview-item-padding-y | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) | Default: k-spacing(1) Computed: var(--kendo-spacing-1, 0.25rem) |
Description: The vertical padding of the TreeView items. | |||
kendo-treeview-sm-item-padding-y | k-spacing(0.5) | var(--kendo-spacing-0\.5, 0.125rem) | Default: k-spacing(0.5) Computed: var(--kendo-spacing-0\.5, 0.125rem) |
Description: The vertical padding of the small TreeView items. | |||
kendo-treeview-md-item-padding-y | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) | Default: k-spacing(1) Computed: var(--kendo-spacing-1, 0.25rem) |
Description: The vertical padding of the medium TreeView items. | |||
kendo-treeview-lg-item-padding-y | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) | Default: k-spacing(2) Computed: var(--kendo-spacing-2, 0.5rem) |
Description: The vertical padding of the large TreeView items. | |||
kendo-treeview-item-border-width | 0px | 0px | Default: 0px Computed: 0px |
Description: The border width of the TreeView items. | |||
kendo-treeview-item-border-radius | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) | Default: k-border-radius(md) Computed: var(--kendo-border-radius-md, 0.25rem) |
Description: The border radius of the TreeView items. | |||
kendo-treeview-sm-checkbox-padding-x | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) | Default: k-spacing(1) Computed: var(--kendo-spacing-1, 0.25rem) |
Description: The horizontal padding of the checkbox in the small TreeView. | |||
kendo-treeview-md-checkbox-padding-x | $kendo-treeview-sm-checkbox-padding-x | var(--kendo-spacing-1, 0.25rem) | Default: $kendo-treeview-sm-checkbox-padding-x Computed: var(--kendo-spacing-1, 0.25rem) |
Description: The horizontal padding of the checkbox in the medium TreeView. | |||
kendo-treeview-lg-checkbox-padding-x | $kendo-treeview-sm-checkbox-padding-x | var(--kendo-spacing-1, 0.25rem) | Default: $kendo-treeview-sm-checkbox-padding-x Computed: var(--kendo-spacing-1, 0.25rem) |
Description: The horizontal padding of the checkbox in the large TreeView. | |||
kendo-treeview-sm-checkbox-padding-y | k-spacing(0.5) | var(--kendo-spacing-0\.5, 0.125rem) | Default: k-spacing(0.5) Computed: var(--kendo-spacing-0\.5, 0.125rem) |
Description: The vertical padding of the checkbox in the small TreeView. | |||
kendo-treeview-md-checkbox-padding-y | $kendo-treeview-sm-checkbox-padding-y | var(--kendo-spacing-0\.5, 0.125rem) | Default: $kendo-treeview-sm-checkbox-padding-y Computed: var(--kendo-spacing-0\.5, 0.125rem) |
Description: The vertical padding of the checkbox in the medium TreeView. | |||
kendo-treeview-lg-checkbox-padding-y | null | null | Default: null Computed: null |
Description: The vertical padding of the checkbox in the large TreeView. | |||
kendo-treeview-sizes | (
sm: (
font-size: $kendo-treeview-sm-font-size,
line-height: $kendo-treeview-sm-line-height,
item-padding-x: $kendo-treeview-sm-item-padding-x,
item-padding-y: $kendo-treeview-sm-item-padding-y,
checkbox-padding-x: $kendo-treeview-sm-checkbox-padding-x,
checkbox-padding-y: $kendo-treeview-sm-checkbox-padding-y
),
md: (
font-size: $kendo-treeview-md-font-size,
line-height: $kendo-treeview-md-line-height,
item-padding-x: $kendo-treeview-md-item-padding-x,
item-padding-y: $kendo-treeview-md-item-padding-y,
checkbox-padding-x: $kendo-treeview-md-checkbox-padding-x,
checkbox-padding-y: $kendo-treeview-md-checkbox-padding-y
),
lg: (
font-size: $kendo-treeview-lg-font-size,
line-height: $kendo-treeview-lg-line-height,
item-padding-x: $kendo-treeview-lg-item-padding-x,
item-padding-y: $kendo-treeview-lg-item-padding-y,
checkbox-padding-x: $kendo-treeview-lg-checkbox-padding-x,
checkbox-padding-y: $kendo-treeview-lg-checkbox-padding-y
)
) | (sm: (font-size: var(--kendo-font-size, inherit), line-height: var(--kendo-line-height, normal), item-padding-x: var(--kendo-spacing-2, 0.5rem), item-padding-y: var(--kendo-spacing-0\.5, 0.125rem), checkbox-padding-x: var(--kendo-spacing-1, 0.25rem), checkbox-padding-y: var(--kendo-spacing-0\.5, 0.125rem)), md: (font-size: var(--kendo-font-size, inherit), line-height: var(--kendo-line-height, normal), item-padding-x: var(--kendo-spacing-2, 0.5rem), item-padding-y: var(--kendo-spacing-1, 0.25rem), checkbox-padding-x: var(--kendo-spacing-1, 0.25rem), checkbox-padding-y: var(--kendo-spacing-0\.5, 0.125rem)), lg: (font-size: var(--kendo-font-size-lg, inherit), line-height: var(--kendo-line-height-lg, normal), item-padding-x: var(--kendo-spacing-2, 0.5rem), item-padding-y: var(--kendo-spacing-2, 0.5rem), checkbox-padding-x: var(--kendo-spacing-1, 0.25rem), checkbox-padding-y: null)) | Default: (
sm: (
font-size: $kendo-treeview-sm-font-size,
line-height: $kendo-treeview-sm-line-height,
item-padding-x: $kendo-treeview-sm-item-padding-x,
item-padding-y: $kendo-treeview-sm-item-padding-y,
checkbox-padding-x: $kendo-treeview-sm-checkbox-padding-x,
checkbox-padding-y: $kendo-treeview-sm-checkbox-padding-y
),
md: (
font-size: $kendo-treeview-md-font-size,
line-height: $kendo-treeview-md-line-height,
item-padding-x: $kendo-treeview-md-item-padding-x,
item-padding-y: $kendo-treeview-md-item-padding-y,
checkbox-padding-x: $kendo-treeview-md-checkbox-padding-x,
checkbox-padding-y: $kendo-treeview-md-checkbox-padding-y
),
lg: (
font-size: $kendo-treeview-lg-font-size,
line-height: $kendo-treeview-lg-line-height,
item-padding-x: $kendo-treeview-lg-item-padding-x,
item-padding-y: $kendo-treeview-lg-item-padding-y,
checkbox-padding-x: $kendo-treeview-lg-checkbox-padding-x,
checkbox-padding-y: $kendo-treeview-lg-checkbox-padding-y
)
) Computed: (sm: (font-size: var(--kendo-font-size, inherit), line-height: var(--kendo-line-height, normal), item-padding-x: var(--kendo-spacing-2, 0.5rem), item-padding-y: var(--kendo-spacing-0\.5, 0.125rem), checkbox-padding-x: var(--kendo-spacing-1, 0.25rem), checkbox-padding-y: var(--kendo-spacing-0\.5, 0.125rem)), md: (font-size: var(--kendo-font-size, inherit), line-height: var(--kendo-line-height, normal), item-padding-x: var(--kendo-spacing-2, 0.5rem), item-padding-y: var(--kendo-spacing-1, 0.25rem), checkbox-padding-x: var(--kendo-spacing-1, 0.25rem), checkbox-padding-y: var(--kendo-spacing-0\.5, 0.125rem)), lg: (font-size: var(--kendo-font-size-lg, inherit), line-height: var(--kendo-line-height-lg, normal), item-padding-x: var(--kendo-spacing-2, 0.5rem), item-padding-y: var(--kendo-spacing-2, 0.5rem), checkbox-padding-x: var(--kendo-spacing-1, 0.25rem), checkbox-padding-y: null)) |
Description: The sizes map of the TreeView. | |||
kendo-treeview-bg | null | null | Default: null Computed: null |
Description: The background color of the TreeView. | |||
kendo-treeview-text | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-component-text Computed: var(--kendo-color-on-app-surface, #3d3d3d) |
Description: The text color of the TreeView. | |||
kendo-treeview-border | null | null | Default: null Computed: null |
Description: The border color of the TreeView. | |||
kendo-treeview-item-hover-bg | $kendo-hover-bg | var(--kendo-color-base-hover, #ebebeb) | Default: $kendo-hover-bg Computed: var(--kendo-color-base-hover, #ebebeb) |
Description: The background color of hovered TreeView items. | |||
kendo-treeview-item-hover-text | $kendo-hover-text | var(--kendo-color-on-app-surface, #3d3d3d) | Default: $kendo-hover-text Computed: var(--kendo-color-on-app-surface, #3d3d3d) |
Description: The text color of hovered TreeView items. | |||
kendo-treeview-item-hover-border | null | null | Default: null Computed: null |
Description: The border color of hovered TreeView items. | |||
kendo-treeview-item-hover-gradient | null | null | Default: null Computed: null |
Description: The background gradient of hovered TreeView items. | |||
kendo-treeview-item-selected-bg | $kendo-selected-bg | var(--kendo-color-primary, #ff6358) | Default: $kendo-selected-bg Computed: var(--kendo-color-primary, #ff6358) |
Description: The background color of selected TreeView items. | |||
kendo-treeview-item-selected-text | $kendo-selected-text | var(--kendo-color-on-primary, #ffffff) | Default: $kendo-selected-text Computed: var(--kendo-color-on-primary, #ffffff) |
Description: The text color of selected TreeView items. | |||
kendo-treeview-item-selected-border | null | null | Default: null Computed: null |
Description: The border color of selected TreeView items. | |||
kendo-treeview-item-selected-gradient | null | null | Default: null Computed: null |
Description: The background gradient of selected TreeView items. | |||
kendo-treeview-item-focus-shadow | $kendo-focus-shadow | inset 0 0 0 2px rgba(0, 0, 0, 0.13) | Default: $kendo-focus-shadow Computed: inset 0 0 0 2px rgba(0, 0, 0, 0.13) |
Description: The box shadow of focused TreeView items. | |||
kendo-treeview-loadmore-bg | transparent | transparent | Default: transparent Computed: transparent |
Description: The background color of the Load More button in the TreeView | |||
kendo-treeview-loadmore-text | $kendo-link-text | var(--kendo-color-primary, #ff6358) | Default: $kendo-link-text Computed: var(--kendo-color-primary, #ff6358) |
Description: The text color of the Load More button in the TreeView | |||
kendo-treeview-loadmore-border | null | null | Default: null Computed: null |
Description: The border color of the Load More button in the TreeView | |||
kendo-treeview-loadmore-hover-bg | transparent | transparent | Default: transparent Computed: transparent |
Description: The background color of the hovered Load More button in the TreeView | |||
kendo-treeview-loadmore-hover-text | $kendo-link-hover-text | var(--kendo-color-primary-hover, #ea5a51) | Default: $kendo-link-hover-text Computed: var(--kendo-color-primary-hover, #ea5a51) |
Description: The text color of the hovered Load More button in the TreeView. | |||
kendo-treeview-loadmore-hover-border | null | null | Default: null Computed: null |
Description: The border color of the hovered Load More button in the TreeView. | |||
kendo-treeview-loadmore-focus-bg | transparent | transparent | Default: transparent Computed: transparent |
Description: The background color of the focused Load More button in the TreeView. | |||
kendo-treeview-loadmore-focus-text | $kendo-link-hover-text | var(--kendo-color-primary-hover, #ea5a51) | Default: $kendo-link-hover-text Computed: var(--kendo-color-primary-hover, #ea5a51) |
Description: The text color of the focused Load More button in the TreeView. | |||
kendo-treeview-loadmore-focus-border | null | null | Default: null Computed: null |
Description: The border color of the focused Load More button in the TreeView. | |||
kendo-treeview-loadmore-focus-shadow | $kendo-treeview-item-focus-shadow | inset 0 0 0 2px rgba(0, 0, 0, 0.13) | Default: $kendo-treeview-item-focus-shadow Computed: inset 0 0 0 2px rgba(0, 0, 0, 0.13) |
Description: The box shadow of the focused Load More button in the TreeView. |