Customizing Timeline

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-timeline-spacing-xk-spacing(10)
Description
The horizontal spacing of the Timeline.
$kendo-timeline-spacing-yk-spacing(10)
Description
The vertical spacing of the Timeline.
$kendo-timeline-items-paddingk-spacing(4)
Description
The padding between the Timeline's track items.
$kendo-timeline-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the Timeline.
$kendo-timeline-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the Timeline.
$kendo-timeline-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Timeline.
$kendo-timeline-mobile-spacing-xk-spacing(4)
Description
The horizontal spacing of the mobile Timeline.
$kendo-timeline-mobile-spacing-yk-spacing(4)
Description
The vertical spacing of the mobile Timeline.
$kendo-timeline-track-arrow-widthk-spacing(7.5)
Description
The width of the Timeline track arrow.
$kendo-timeline-track-arrow-heightk-spacing(7.5)
Description
The height of the Timeline track arrow.
$kendo-timeline-track-sizek-spacing(1.5)
Description
The size of the Timeline track.
$kendo-timeline-track-wrap-padding-bottomcalc( #{$kendo-timeline-track-size} / 2 )
Description
The bottom padding of the Timeline's track wrapper.
$kendo-timeline-track-border-width1px
Description
The border width of the Timeline track.
$kendo-timeline-track-margin-bottomk-spacing(4)
Description
The bottom margin of the Timeline track.
$kendo-timeline-track-bottom-calccalc( ( #{ $kendo-timeline-track-arrow-height } / 2 ) + #{ $kendo-timeline-track-wrap-padding-bottom } )
Description
The bottom offset of the Timeline track.
$kendo-timeline-track-start-calccalc( #{ $kendo-timeline-track-arrow-width } - 2 * #{ $kendo-timeline-track-border-width } )
Description
The left offset of the Timeline track.
$kendo-timeline-track-end-calccalc( #{ $kendo-timeline-track-arrow-width } - 2 * #{ $kendo-timeline-track-border-width } )
Description
The right offset of the Timeline track.
$kendo-timeline-track-bgif($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 ))
Description
The background color of the Timeline track.
$kendo-timeline-track-border-colorif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))
Description
The border color of the Timeline track.
$kendo-timeline-arrow-inset-block-endcalc( #{ $kendo-timeline-track-size } + #{ $kendo-timeline-track-wrap-padding-bottom } + #{ $kendo-timeline-track-border-width } )
Description
The block end inset of the Timeline arrow.
$kendo-timeline-track-arrow-disabled-bgvar( --kendo-disabled-bg, initial )
Description
The background color of the disabled Timeline arrow.
$kendo-timeline-track-arrow-disabled-textvar( --kendo-disabled-text, initial )
Description
The text color of the disabled Timeline arrow.
$kendo-timeline-track-arrow-disabled-bordervar( --kendo-disabled-border, initial)
Description
The border color of the disabled Timeline arrow.
$kendo-timeline-track-event-offsetk-spacing(8)
Description
The offset of the Timeline track event.
$kendo-timeline-flag-padding-xk-spacing(2)
Description
The horizontal padding of the Timeline flag.
$kendo-timeline-flag-padding-yk-spacing(2)
Description
The vertical padding of the Timeline flag.
$kendo-timeline-flag-border-radiusk-spacing(0.5)
Description
The border radius of the Timeline flag.
$kendo-timeline-flag-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Timeline flag.
$kendo-timeline-flag-box-shadowvar( --kendo-box-shadow-depth-2, none )
Description
The box shadow of the Timeline flag.
$kendo-timeline-flag-min-widthk-spacing(20)
Description
The minimum width of the Timeline flag.
$kendo-timeline-flag-max-widthcalc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-spacing-x } )
Description
The maximum width of the Timeline flag.
$kendo-timeline-mobile-flag-max-widthcalc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-mobile-spacing-x } )
Description
The maximum width of the mobile Timeline flag.
$kendo-timeline-horizontal-flag-min-widthk-spacing(15)
Description
The minimum width of the horizontal Timeline flag.
$kendo-timeline-flag-bgif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))
Description
The background color of the Timeline flag.
$kendo-timeline-flag-textvar( --kendo-component-bg, initial )
Description
The text color of the Timeline flag.
$kendo-timeline-flag-callout-widthk-spacing(2.5)
Description
The width of the Timeline's flag callout.
$kendo-timeline-flag-callout-heightk-spacing(2.5)
Description
The height of the Timeline's flag callout.
$kendo-timeline-flag-offset-bottomk-spacing(1)
Description
The bottom offset of the Timeline flag.
$kendo-timeline-flag-margin-bottom-calccalc( #{ $kendo-timeline-track-size } + 2 * #{ $kendo-timeline-track-border-width } + #{ $kendo-timeline-flag-offset-bottom } + #{ $kendo-timeline-flag-callout-height } )
Description
The bottom margin of the Timeline flag.
$kendo-timeline-card-header-bgvar( --kendo-component-bg, initial )
Description
The background color of the Timeline's Card header.
$kendo-timeline-card-header-textif($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 ))
Description
The text color of the Timeline's Card header.
$kendo-timeline-card-body-scroll-borderif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))
Description
The border of the Timeline's Card body scroll.
$kendo-timeline-card-body-scroll-bgvar( --kendo-component-bg, initial )
Description
The background color of the Timeline's Card body scroll.
$kendo-timeline-card-scroll-thumb-hovervar( --kendo-hover-border, initial )
Description
The color of the Timeline's hovered card scroll thumb.
$kendo-timeline-date-body-textvar( --kendo-body-text, initial )
Description
The text color of the Timeline date body.
$kendo-timeline-date-widthcalc( #{k-spacing(12)} + #{k-spacing(0.5)} )
Description
The width of the Timeline date.
$kendo-timeline-date-margin-bottomk-spacing(2)
Description
The bottom margin of the Timeline date.
$kendo-timeline-vertical-padding-calccalc( #{ $kendo-timeline-spacing-x } + ( #{ $kendo-timeline-flag-min-width } - #{ $kendo-timeline-track-size } ) / 2 )
Description
The padding of the vertical Timeline.
$kendo-timeline-vertical-padding-with-dates-calccalc( #{ $kendo-timeline-vertical-padding-calc } + #{ $kendo-timeline-date-width } )
Description
The padding of the vertical Timeline date.
$kendo-timeline-vertical-border-radiusk-border-radius(lg)
Description
The border radius of the vertical Timeline.
$kendo-timeline-mobile-vertical-padding-calccalc( #{ $kendo-timeline-mobile-spacing-x } + ( #{ $kendo-timeline-flag-min-width } - #{ $kendo-timeline-track-size } ) / 2 )
Description
The padding of the vertical mobile Timeline.
$kendo-timeline-mobile-vertical-padding-with-dates-calccalc( #{ $kendo-timeline-mobile-vertical-padding-calc } + #{ $kendo-timeline-date-width } )
Description
The padding of the vertical mobile Timeline date.
$kendo-timeline-circle-widthk-spacing(4)
Description
The width of the Timeline circle.
$kendo-timeline-circle-heightk-spacing(4)
Description
The height of the Timeline circle.
$kendo-timeline-circle-bgif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))
Description
The background color of the Timeline circle.
$kendo-timeline-event-width400px
Description
The width of the Timeline event.
$kendo-timeline-event-height600px
Description
The height of the Timeline event.
$kendo-timeline-event-min-height-calccalc( 2 * ( #{ $kendo-timeline-track-event-offset } - #{ $kendo-card-border-width } ) )
Description
The minimum height of the Timeline event.
$kendo-timeline-icon-spacingvar( --kendo-icon-spacing, .5rem )
Description
The spacing of the Timeline icons.

In this article

Not finding the help you need?