New to Kendo UI for Angular? Start a free 30-day trial

Customizing Time-selector

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-time-selector-border-widthNumber1px1px
Description
Width of the border around the time-selector.
$kendo-time-selector-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
Font family of the time-selector.
$kendo-time-selector-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
Font size of the time-selector.
$kendo-time-selector-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
Line height of the time-selector.
$kendo-time-selector-bgStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
Background color of the time-selector.
$kendo-time-selector-textStringvar( --kendo-component-text, initial )var(--kendo-component-text, initial)
Description
Text color of the time-selector.
$kendo-time-selector-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
Border color of the time-selector.
$kendo-time-selector-header-padding-xStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
Horizontal padding of the time-selector header.
$kendo-time-selector-header-padding-yStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
Vertical padding color of the time-selector header.
$kendo-time-selector-header-border-widthNumber0px0px
Description
Width of the border around the time-selector header.
$kendo-time-list-separator-displayStringnonenone
Description
Visibility of the time-selector separator.
$kendo-time-list-widthNumber4em4em
Description
Minimum width of the time-selector columns.
$kendo-time-list-heightNumber240px240px
Description
Height of the time-selector columns.
$kendo-time-list-title-spacingStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
Spacing beneath the time selector titles.
$kendo-time-list-title-font-sizeStringvar( --kendo-font-size-xs, inherit )var(--kendo-font-size-xs, inherit)
Description
Font size of the time-selector titles.
$kendo-time-list-title-line-heightStringvar( --kendo-line-height-lg, inherit )var(--kendo-line-height-lg, inherit)
Description
Line height of the time-selector titles.
$kendo-time-list-title-heightCalculationcalc( #{$kendo-time-list-title-spacing} + #{$kendo-time-list-title-font-size} * #{$kendo-time-list-title-line-height} )calc(var(--kendo-spacing-3, 0.75rem) + var(--kendo-font-size-xs, inherit) * var(--kendo-line-height-lg, inherit))
Description
Height of the time-selector titles.
$kendo-time-list-title-textStringvar( --kendo-subtle-text, inherit )var(--kendo-subtle-text, inherit)
Description
Text color of the time-selector titles.
$kendo-time-list-title-focus-textString$kendo-time-selector-textvar(--kendo-component-text, initial)
Description
Text color of the focused time-selector titles.
$kendo-time-list-item-padding-xStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
Horizontal padding of the time-selector list items.
$kendo-time-list-item-padding-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
Vertical padding of the time-selector list items.
$kendo-time-list-highlight-border-widthList1px 0px1px 0px
Description
Width of the border of the selected item in the time-selector.
$kendo-time-list-highlight-heightCalculationcalc( #{$kendo-time-selector-font-size} * #{$kendo-time-selector-line-height} + calc( #{$kendo-time-list-item-padding-y} * 2 ) )calc(var(--kendo-font-size, inherit) * var(--kendo-line-height, normal) + var(--kendo-spacing-1, 0.25rem) * 2)
Description
Height of the selected item in the time-selector.
$kendo-time-list-highlight-bgString$kendo-time-selector-bgvar(--kendo-component-bg, initial)
Description
Background color of the selected item in the time-selector.
$kendo-time-list-highlight-borderString$kendo-time-selector-bordervar(--kendo-component-border, initial)
Description
Border color of the selected item in the time-selector.
$kendo-time-list-focus-bgColorrgba(0, 0, 0, .04)rgba(0, 0, 0, 0.04)
Description
Background color of the focused time-selector column.
$kendo-time-selector-sm-font-sizeString$kendo-list-sm-font-sizevar(--kendo-font-size, inherit)
Description
Font sizes of the time-selector.
$kendo-time-selector-sm-line-heightString$kendo-list-sm-line-heightvar(--kendo-line-height, normal)
Description
Line heights used along with $kendo-font-size.
$kendo-time-selector-sm-list-item-padding-xString$kendo-list-sm-item-padding-xvar(--kendo-spacing-2, 0.5rem)
Description
Horizontal padding of the time-selector items.
$kendo-time-selector-sm-list-item-padding-yString$kendo-list-sm-item-padding-yvar(--kendo-spacing-1\.5, 0.375rem)
Description
Vertical padding of the time-selector items.
$kendo-time-selector-sizesMap( sm: ( font-size: $kendo-time-selector-sm-font-size, line-height: $kendo-time-selector-sm-line-height, list-item-padding-x: $kendo-time-selector-sm-list-item-padding-x, list-item-padding-y: $kendo-time-selector-sm-list-item-padding-y ), md: ( font-size: $kendo-time-selector-md-font-size, line-height: $kendo-time-selector-md-line-height, list-item-padding-x: $kendo-time-selector-md-list-item-padding-x, list-item-padding-y: $kendo-time-selector-md-list-item-padding-y ), lg: ( font-size: $kendo-time-selector-lg-font-size, line-height: $kendo-time-selector-lg-line-height, list-item-padding-x: $kendo-time-selector-lg-list-item-padding-x, list-item-padding-y: $kendo-time-selector-lg-list-item-padding-y ) )(sm: (font-size: var(--kendo-font-size, inherit), line-height: var(--kendo-line-height, normal), list-item-padding-x: var(--kendo-spacing-2, 0.5rem), list-item-padding-y: var(--kendo-spacing-1\.5, 0.375rem)), md: (font-size: var(--kendo-font-size, inherit), line-height: var(--kendo-line-height, normal), list-item-padding-x: var(--kendo-spacing-2, 0.5rem), list-item-padding-y: var(--kendo-spacing-2, 0.5rem)), lg: (font-size: var(--kendo-font-size, inherit), line-height: var(--kendo-line-height, normal), list-item-padding-x: var(--kendo-spacing-2, 0.5rem), list-item-padding-y: var(--kendo-spacing-2\.5, 0.625rem)))
Description
Sizes map for the time-selector.

In this article

Not finding the help you need?