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

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-paddingStringk-spacing(4)var(--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-xStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal spacing of the mobile Timeline.
$kendo-timeline-mobile-spacing-yStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The vertical spacing of the mobile Timeline.
$kendo-timeline-track-arrow-widthStringk-spacing(7.5)var(--kendo-spacing-7\.5, 1.875rem)
Description
The width of the Timeline track arrow.
$kendo-timeline-track-arrow-heightStringk-spacing(7.5)var(--kendo-spacing-7\.5, 1.875rem)
Description
The height of the Timeline track arrow.
$kendo-timeline-track-sizeStringk-spacing(1.5)var(--kendo-spacing-1\.5, 0.375rem)
Description
The size of the Timeline track.
$kendo-timeline-track-wrap-padding-bottomCalculationcalc( #{$kendo-timeline-track-size} / 2 )calc(var(--kendo-spacing-1\.5, 0.375rem) / 2)
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( ( #{ $kendo-timeline-track-arrow-height } / 2 ) + #{ $kendo-timeline-track-wrap-padding-bottom } )calc(var(--kendo-spacing-7\.5, 1.875rem) / 2 + calc(var(--kendo-spacing-1\.5, 0.375rem) / 2))
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(var(--kendo-spacing-7\.5, 1.875rem) - 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(var(--kendo-spacing-7\.5, 1.875rem) - 2 * 1px)
Description
The right offset of the Timeline track.
$kendo-timeline-track-bgStringif($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 ))var(--kendo-color-surface, #faf9f8)
Description
The background color of the Timeline track.
$kendo-timeline-track-border-colorStringif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent)
Description
The border color of the Timeline track.
$kendo-timeline-arrow-inset-block-endCalculationcalc( #{ $kendo-timeline-track-size } + #{ $kendo-timeline-track-wrap-padding-bottom } + #{ $kendo-timeline-track-border-width } )calc(var(--kendo-spacing-1\.5, 0.375rem) + calc(var(--kendo-spacing-1\.5, 0.375rem) / 2) + 1px)
Description
The block end inset of the Timeline arrow.
$kendo-timeline-track-arrow-disabled-bgStringvar( --kendo-disabled-bg, initial )var(--kendo-disabled-bg, initial)
Description
The background color of the disabled Timeline arrow.
$kendo-timeline-track-arrow-disabled-textStringvar( --kendo-disabled-text, initial )var(--kendo-disabled-text, initial)
Description
The text color of the disabled Timeline arrow.
$kendo-timeline-track-arrow-disabled-borderStringvar( --kendo-disabled-border, initial)var(--kendo-disabled-border, initial)
Description
The border color of the disabled Timeline arrow.
$kendo-timeline-track-event-offsetStringk-spacing(8)var(--kendo-spacing-8, 2rem)
Description
The offset of the Timeline track event.
$kendo-timeline-flag-padding-xStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the Timeline flag.
$kendo-timeline-flag-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the Timeline flag.
$kendo-timeline-flag-border-radiusStringk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)
Description
The border radius of the Timeline flag.
$kendo-timeline-flag-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Timeline flag.
$kendo-timeline-flag-box-shadowStringvar( --kendo-box-shadow-depth-2, none )var(--kendo-box-shadow-depth-2, none)
Description
The box shadow of the Timeline flag.
$kendo-timeline-flag-min-widthStringk-spacing(20)var(--kendo-spacing-20, 5rem)
Description
The minimum width of the Timeline flag.
$kendo-timeline-flag-max-widthCalculationcalc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-spacing-x } )calc(var(--kendo-spacing-20, 5rem) + 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(var(--kendo-spacing-20, 5rem) + 2 * var(--kendo-spacing-4, 1rem))
Description
The maximum width of the mobile Timeline flag.
$kendo-timeline-horizontal-flag-min-widthStringk-spacing(15)var(--kendo-spacing-15, 3.75rem)
Description
The minimum width of the horizontal Timeline flag.
$kendo-timeline-flag-bgStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The background color of the Timeline flag.
$kendo-timeline-flag-textStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The text color of the Timeline flag.
$kendo-timeline-flag-callout-widthStringk-spacing(2.5)var(--kendo-spacing-2\.5, 0.625rem)
Description
The width of the Timeline's flag callout.
$kendo-timeline-flag-callout-heightStringk-spacing(2.5)var(--kendo-spacing-2\.5, 0.625rem)
Description
The height of the Timeline's flag callout.
$kendo-timeline-flag-offset-bottomStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
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(var(--kendo-spacing-1\.5, 0.375rem) + 2 * 1px + var(--kendo-spacing-1, 0.25rem) + var(--kendo-spacing-2\.5, 0.625rem))
Description
The bottom margin of the Timeline flag.
$kendo-timeline-card-header-bgStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The background color of the Timeline's Card header.
$kendo-timeline-card-header-textStringif($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 ))var(--kendo-color-on-app-surface, #323130)
Description
The text color of the Timeline's Card header.
$kendo-timeline-card-body-scroll-borderStringif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent)
Description
The border of the Timeline's Card body scroll.
$kendo-timeline-card-body-scroll-bgStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The background color of the Timeline's Card body scroll.
$kendo-timeline-card-scroll-thumb-hoverStringvar( --kendo-hover-border, initial )var(--kendo-hover-border, initial)
Description
The color of the Timeline's hovered card scroll thumb.
$kendo-timeline-date-body-textStringvar( --kendo-body-text, initial )var(--kendo-body-text, initial)
Description
The text color of the Timeline date body.
$kendo-timeline-date-widthCalculationcalc( #{k-spacing(12)} + #{k-spacing(0.5)} )calc(var(--kendo-spacing-12, 3rem) + var(--kendo-spacing-0\.5, 0.125rem))
Description
The width of the Timeline date.
$kendo-timeline-date-margin-bottomStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
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) + (var(--kendo-spacing-20, 5rem) - var(--kendo-spacing-1\.5, 0.375rem)) / 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) + (var(--kendo-spacing-20, 5rem) - var(--kendo-spacing-1\.5, 0.375rem)) / 2) + calc(var(--kendo-spacing-12, 3rem) + var(--kendo-spacing-0\.5, 0.125rem)))
Description
The padding of the vertical Timeline date.
$kendo-timeline-vertical-border-radiusStringk-border-radius(lg)var(--kendo-border-radius-lg, 0.5rem)
Description
The border radius of the vertical Timeline.
$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) + (var(--kendo-spacing-20, 5rem) - var(--kendo-spacing-1\.5, 0.375rem)) / 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) + (var(--kendo-spacing-20, 5rem) - var(--kendo-spacing-1\.5, 0.375rem)) / 2) + calc(var(--kendo-spacing-12, 3rem) + var(--kendo-spacing-0\.5, 0.125rem)))
Description
The padding of the vertical mobile Timeline date.
$kendo-timeline-circle-widthStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The width of the Timeline circle.
$kendo-timeline-circle-heightStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The height of the Timeline circle.
$kendo-timeline-circle-bgStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The background color of the Timeline circle.
$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 * (var(--kendo-spacing-8, 2rem) - 0px))
Description
The minimum height of the Timeline event.
$kendo-timeline-icon-spacingStringvar( --kendo-icon-spacing, .5rem )var(--kendo-icon-spacing, 0.5rem)
Description
The spacing of the Timeline icons.

In this article

Not finding the help you need?