New to Kendo UI for Angular? Start a free 30-day trial
Customizing TimeSelector
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-time-selector-border-width | Number | 1px | 1px |
Description
Width of the border around the time-selector. | |||
$kendo-time-selector-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
Font family of the time-selector. | |||
$kendo-time-selector-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
Font size of the time-selector. | |||
$kendo-time-selector-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
Line height of the time-selector. | |||
$kendo-time-selector-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
Background color of the time-selector. | |||
$kendo-time-selector-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
Text color of the time-selector. | |||
$kendo-time-selector-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
Border color of the time-selector. | |||
$kendo-time-selector-header-padding-x | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
Horizontal padding of the time-selector header. | |||
$kendo-time-selector-header-padding-y | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
Vertical padding color of the time-selector header. | |||
$kendo-time-selector-header-border-width | Number | 0px | 0px |
Description
Width of the border around the time-selector header. | |||
$kendo-time-list-separator-display | String | none | none |
Description
Visibility of the time-selector separator. | |||
$kendo-time-list-width | Number | 4em | 4em |
Description
Minimum width of the time-selector columns. | |||
$kendo-time-list-height | Number | 240px | 240px |
Description
Height of the time-selector columns. | |||
$kendo-time-list-title-spacing | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
Spacing beneath the time selector titles. | |||
$kendo-time-list-title-font-size | String | var( --kendo-font-size-xs, inherit ) | var(--kendo-font-size-xs, inherit) |
Description
Font size of the time-selector titles. | |||
$kendo-time-list-title-line-height | String | var( --kendo-line-height-lg, inherit ) | var(--kendo-line-height-lg, inherit) |
Description
Line height of the time-selector titles. | |||
$kendo-time-list-title-height | Calculation | calc( #{$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-text | String | var( --kendo-subtle-text, inherit ) | var(--kendo-subtle-text, inherit) |
Description
Text color of the time-selector titles. | |||
$kendo-time-list-title-focus-text | String | $kendo-time-selector-text | var(--kendo-component-text, initial) |
Description
Text color of the focused time-selector titles. | |||
$kendo-time-list-item-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
Horizontal padding of the time-selector list items. | |||
$kendo-time-list-item-padding-y | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
Vertical padding of the time-selector list items. | |||
$kendo-time-list-highlight-border-width | List | 1px 0px | 1px 0px |
Description
Width of the border of the selected item in the time-selector. | |||
$kendo-time-list-highlight-height | Calculation | calc( #{$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-bg | String | $kendo-time-selector-bg | var(--kendo-component-bg, initial) |
Description
Background color of the selected item in the time-selector. | |||
$kendo-time-list-highlight-border | String | $kendo-time-selector-border | var(--kendo-component-border, initial) |
Description
Border color of the selected item in the time-selector. | |||
$kendo-time-list-focus-bg | Color | rgba(0, 0, 0, .04) | rgba(0, 0, 0, 0.04) |
Description
Background color of the focused time-selector column. | |||
$kendo-time-selector-sm-font-size | String | $kendo-list-sm-font-size | var(--kendo-font-size, inherit) |
Description
Font sizes of the time-selector. | |||
$kendo-time-selector-sm-line-height | String | $kendo-list-sm-line-height | var(--kendo-line-height, normal) |
Description
Line heights used along with $kendo-font-size. | |||
$kendo-time-selector-sm-list-item-padding-x | String | $kendo-list-sm-item-padding-x | var(--kendo-spacing-2, 0.5rem) |
Description
Horizontal padding of the time-selector items. | |||
$kendo-time-selector-sm-list-item-padding-y | String | $kendo-list-sm-item-padding-y | var(--kendo-spacing-1\.5, 0.375rem) |
Description
Vertical padding of the time-selector items. | |||
$kendo-time-selector-sizes | Map | (
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
)
) |
|
Description
Sizes map for the time-selector. |