Customizing Timeline

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-timeline-spacing-xStringk-spacing(10)var(--kendo-spacing-10, 2.5rem)
Description
The horizontal spacing of the Timeline.
$kendo-timeline-spacing-yStringk-spacing(10)var(--kendo-spacing-10, 2.5rem)
Description
The vertical spacing of the Timeline.
$kendo-timeline-items-paddingString$kendo-padding-md-xvar(--kendo-spacing-4, 1rem)
Description
The padding between the Timeline's track items.
$kendo-timeline-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Timeline.
$kendo-timeline-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the Timeline.
$kendo-timeline-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Timeline.
$kendo-timeline-mobile-spacing-xString$kendo-padding-md-xvar(--kendo-spacing-4, 1rem)
Description
The horizontal spacing of the mobile Timeline.
$kendo-timeline-mobile-spacing-yString$kendo-padding-md-xvar(--kendo-spacing-4, 1rem)
Description
The vertical spacing of the mobile Timeline.
$kendo-timeline-track-arrow-widthNumber38px38px
Description
The width of the Timeline track arrow.
$kendo-timeline-track-arrow-heightNumber38px38px
Description
The height of the Timeline track arrow.
$kendo-timeline-track-arrow-disabled-bgStringif($kendo-enable-color-system, color-mix(in srgb, k-color( base-subtle ) 65%, transparent), k-true-mix( $kendo-button-bg, $kendo-body-bg, 65% ))color-mix(in srgb, var(--kendo-color-base-subtle, #e9ecef) 65%, transparent)
Description
The background color of the disabled Timeline track arrow.
$kendo-timeline-track-arrow-disabled-textStringif($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 65%, transparent), k-true-mix( $kendo-button-text, $kendo-body-bg, 65% ))color-mix(in srgb, var(--kendo-color-on-base, #212529) 65%, transparent)
Description
The text color of the disabled Timeline track arrow.
$kendo-timeline-track-arrow-disabled-borderStringif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 15%, transparent), k-true-mix( $kendo-button-border, $kendo-body-bg, 65% ))color-mix(in srgb, var(--kendo-color-border, rgba(33, 37, 41, 0.13)) 15%, transparent)
Description
The border color of the disabled Timeline track arrow.
$kendo-timeline-track-sizeNumber6px6px
Description
The size of the Timeline track.
$kendo-timeline-track-wrap-padding-bottomNumberk-math-div( $kendo-timeline-track-size, 2 )3px
Description
The bottom padding of the Timeline's track wrapper.
$kendo-timeline-track-border-widthNumber1px1px
Description
The border width of the Timeline track.
$kendo-timeline-track-margin-bottomStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The bottom margin of the Timeline track.
$kendo-timeline-track-bottom-calcCalculationcalc(#{k-math-div( $kendo-timeline-track-arrow-height, 2 )} + #{$kendo-timeline-track-wrap-padding-bottom})calc(19px + 3px)
Description
The bottom offset of the Timeline track.
$kendo-timeline-track-start-calcCalculationcalc(#{$kendo-timeline-track-arrow-width} - 2 * #{$kendo-timeline-track-border-width})calc(38px - 2 * 1px)
Description
The left offset of the Timeline track.
$kendo-timeline-track-end-calcCalculationcalc(#{$kendo-timeline-track-arrow-width} - 2 * #{$kendo-timeline-track-border-width})calc(38px - 2 * 1px)
Description
The right offset of the Timeline track.
$kendo-timeline-track-bgStringif($kendo-enable-color-system, k-color( base-subtle ), $kendo-button-bg)var(--kendo-color-base-subtle, #e9ecef)
Description
The background color of the Timeline track.
$kendo-timeline-track-border-colorString$kendo-timeline-track-bgvar(--kendo-color-base-subtle, #e9ecef)
Description
The border color of the Timeline track.
$kendo-timeline-track-item-focus-shadowStringk-elevation(2)var(--kendo-elevation-2, 0px 2px 7px rgba(0, 0, 0, 0.075))
Description
The shadow of the Timeline's focused track items.
$kendo-timeline-track-event-offsetNumber36px36px
Description
The offset of the Timeline track event.
$kendo-timeline-flag-padding-xNumber$kendo-button-padding-x0.75rem
Description
The horizontal padding of the Timeline flag.
$kendo-timeline-flag-padding-yNumber$kendo-button-padding-y0.375rem
Description
The vertical padding of the Timeline flag.
$kendo-timeline-flag-line-heightNumber$kendo-button-line-height1.5
Description
The line height of the Timeline flag.
$kendo-timeline-flag-min-widthNumber80px80px
Description
The minimum width of the Timeline flag.
$kendo-timeline-flag-max-widthCalculationcalc(#{$kendo-timeline-flag-min-width} + 2 * #{$kendo-timeline-spacing-x})calc(80px + 2 * var(--kendo-spacing-10, 2.5rem))
Description
The maximum width of the Timeline flag.
$kendo-timeline-mobile-flag-max-widthCalculationcalc(#{$kendo-timeline-flag-min-width} + 2 * #{$kendo-timeline-mobile-spacing-x})calc(80px + 2 * var(--kendo-spacing-4, 1rem))
Description
The maximum width of the mobile Timeline flag.
$kendo-timeline-horizontal-flag-min-widthNumber80px80px
Description
The minimum width of the horizontal Timeline flag.
$kendo-timeline-flag-bgString$kendo-color-primaryvar(--kendo-color-primary, #0d6efd)
Description
The background color of the Timeline flag.
$kendo-timeline-flag-textStringif($kendo-enable-color-system, k-color( on-primary ), k-contrast-color( $kendo-timeline-flag-bg ))var(--kendo-color-on-primary, #ffffff)
Description
The text color of the Timeline flag.
$kendo-timeline-flag-callout-widthNumber10px10px
Description
The width of the Timeline's flag callout.
$kendo-timeline-flag-callout-heightNumber10px10px
Description
The height of the Timeline's flag callout.
$kendo-timeline-flag-offset-bottomNumber4px4px
Description
The bottom offset of the Timeline flag.
$kendo-timeline-flag-margin-bottom-calcCalculationcalc(#{$kendo-timeline-track-size} + 2 * #{$kendo-timeline-track-border-width} + #{$kendo-timeline-flag-offset-bottom} + #{$kendo-timeline-flag-callout-height})calc(6px + 2 * 1px + 4px + 10px)
Description
The bottom margin of the Timeline flag.
$kendo-timeline-date-widthNumber50px50px
Description
The width of the Timeline date.
$kendo-timeline-date-margin-bottomStringk-spacing(2.5)var(--kendo-spacing-2\.5, 0.625rem)
Description
The bottom margin of the Timeline date.
$kendo-timeline-vertical-padding-calcCalculationcalc(#{$kendo-timeline-spacing-x} + (#{$kendo-timeline-flag-min-width} - #{$kendo-timeline-track-size}) / 2)calc(var(--kendo-spacing-10, 2.5rem) + (80px - 6px) / 2)
Description
The padding of the vertical Timeline.
$kendo-timeline-vertical-padding-with-dates-calcCalculationcalc(#{$kendo-timeline-vertical-padding-calc} + #{$kendo-timeline-date-width})calc(calc(var(--kendo-spacing-10, 2.5rem) + (80px - 6px) / 2) + 50px)
Description
The padding of the vertical Timeline date.
$kendo-timeline-mobile-vertical-padding-calcCalculationcalc(#{$kendo-timeline-mobile-spacing-x} + (#{$kendo-timeline-flag-min-width} - #{$kendo-timeline-track-size}) / 2)calc(var(--kendo-spacing-4, 1rem) + (80px - 6px) / 2)
Description
The padding of the vertical mobile Timeline.
$kendo-timeline-mobile-vertical-padding-with-dates-calcCalculationcalc(#{$kendo-timeline-mobile-vertical-padding-calc} + #{$kendo-timeline-date-width})calc(calc(var(--kendo-spacing-4, 1rem) + (80px - 6px) / 2) + 50px)
Description
The padding of the vertical mobile Timeline date.
$kendo-timeline-circle-widthNumber16px16px
Description
The width of the Timeline circle.
$kendo-timeline-circle-heightNumber16px16px
Description
The height of the Timeline circle.
$kendo-timeline-circle-bgString$kendo-color-primaryvar(--kendo-color-primary, #0d6efd)
Description
The background color of the Timeline circle.
$kendo-timeline-collapse-arrow-padding-xString$kendo-padding-sm-xvar(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the Timeline collapse arrow.
$kendo-timeline-event-widthNumber400px400px
Description
The width of the Timeline event.
$kendo-timeline-event-heightNumber600px600px
Description
The height of the Timeline event.
$kendo-timeline-event-min-height-calcCalculationcalc(2 * (#{$kendo-timeline-track-event-offset} - #{$kendo-card-border-width}))calc(2 * (36px - 1px))
Description
The minimum height of the Timeline event.

In this article

Not finding the help you need?