Gantt

Gantt charts are project management tools for displaying hierarchical tasks, schedules, and dependencies in tabular and timeline formats.

Sass Variables

The Telerik and Kendo UI Gantt is a composite UI component. To configure and customize its appearance, use not only its dedicated Sass variables but also the Toolbar Sass variables, as well as the Sass variables provided by the Button, TreeList, Splitter, and Grid components.

VariableDefault ValueComputed ValueValue
kendo-gantt-border-width1px1pxDefault: 1pxComputed: 1px
Description: The border width of the Gantt.
kendo-gantt-font-familyvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)Default: var( --kendo-font-family, inherit )Computed: var(--kendo-font-family, inherit)
Description: The font family of the Gantt.
kendo-gantt-font-sizevar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)Default: var( --kendo-font-size, inherit )Computed: var(--kendo-font-size, inherit)
Description: The font size of the Gantt.
kendo-gantt-line-heightvar( --kendo-line-height, normal )var(--kendo-line-height, normal)Default: var( --kendo-line-height, normal )Computed: var(--kendo-line-height, normal)
Description: The line height of the Gantt.
kendo-gantt-bg$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)Default: $kendo-component-bgComputed: var(--kendo-color-surface-alt, #ffffff)
Description: The background color of the Gantt.
kendo-gantt-text$kendo-component-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-component-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Gantt.
kendo-gantt-border$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: $kendo-component-borderComputed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the Gantt.
kendo-gantt-treelist-bgnullnullDefault: nullComputed: null
Description: The background color of the Gantt TreeList.
kendo-gantt-treelist-textnullnullDefault: nullComputed: null
Description: The text color of the Gantt TreeList.
kendo-gantt-treelist-bordernullnullDefault: nullComputed: null
Description: The border color of the Gantt TreeList.
kendo-gantt-nonwork-bgif($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 3%, transparent), rgba( k-contrast-legacy( $kendo-gantt-bg ), .025 ))color-mix(in srgb, var(--kendo-color-on-base, #3d3d3d) 3%, transparent)Default: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 3%, transparent), rgba( k-contrast-legacy( $kendo-gantt-bg ), .025 ))Computed: color-mix(in srgb, var(--kendo-color-on-base, #3d3d3d) 3%, transparent)
Description: The background color of the Gantt non-working days.
kendo-gantt-nonwork-textnullnullDefault: nullComputed: null
Description: The text color of the Gantt non-working days.
kendo-gantt-nonwork-bordernullnullDefault: nullComputed: null
Description: The border color of the Gantt non-working days.
kendo-gantt-line-size2px2pxDefault: 2pxComputed: 2px
Description: The size of the Gantt connecting lines.
kendo-gantt-line-fillif($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $kendo-gantt-bg ))var(--kendo-color-on-base, #3d3d3d)Default: if($kendo-enable-color-system, k-color( on-base ), k-contrast-legacy( $kendo-gantt-bg ))Computed: var(--kendo-color-on-base, #3d3d3d)
Description: The background fill color of the Gantt connecting lines.
kendo-gantt-line-selected-fill$kendo-color-primaryvar(--kendo-color-primary, #ff6358)Default: $kendo-color-primaryComputed: var(--kendo-color-primary, #ff6358)
Description: The background fill of the selected Gantt connecting lines.
kendo-gantt-dot-size8px8pxDefault: 8pxComputed: 8px
Description: The size of the Gantt task dot.
kendo-gantt-dot-spacingk-spacing(1)var(--kendo-spacing-1, 0.25rem)Default: k-spacing(1)Computed: var(--kendo-spacing-1, 0.25rem)
Description: The spacing of the Gantt task dot.
kendo-gantt-dot-bg$kendo-gantt-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-gantt-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The background color of the Gantt task dot.
kendo-gantt-dot-bordernullnullDefault: nullComputed: null
Description: The border color of the Gantt task dot.
kendo-gantt-dot-hover-bg$kendo-gantt-bgvar(--kendo-color-surface-alt, #ffffff)Default: $kendo-gantt-bgComputed: var(--kendo-color-surface-alt, #ffffff)
Description: The background color of the hovered Gantt task dot.
kendo-gantt-dot-hover-border$kendo-gantt-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-gantt-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The border color of the hovered Gantt task dot.
kendo-gantt-milestone-bg$kendo-gantt-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-gantt-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The background color of the Gantt milestone.
kendo-gantt-milestone-border$kendo-gantt-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: $kendo-gantt-borderComputed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the Gantt milestone.
kendo-gantt-milestone-selected-bg$kendo-selected-bgvar(--kendo-color-primary, #ff6358)Default: $kendo-selected-bgComputed: var(--kendo-color-primary, #ff6358)
Description: The background color of the selected Gantt milestone.
kendo-gantt-milestone-selected-border$kendo-selected-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: $kendo-selected-borderComputed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the selected Gantt milestone.
kendo-gantt-summary-bgif($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 1 ))var(--kendo-color-subtle, #666666)Default: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 1 ))Computed: var(--kendo-color-subtle, #666666)
Description: The background color of the Gantt summary.
kendo-gantt-summary-progress-bgif($kendo-enable-color-system, k-color( on-base ), k-try-shade( $kendo-gantt-text, 5 ))var(--kendo-color-on-base, #3d3d3d)Default: if($kendo-enable-color-system, k-color( on-base ), k-try-shade( $kendo-gantt-text, 5 ))Computed: var(--kendo-color-on-base, #3d3d3d)
Description: The background color of the Gantt summary progress.
kendo-gantt-summary-selected-bgif($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 ))var(--kendo-color-primary-subtle-active, #ffc8c4)Default: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 ))Computed: var(--kendo-color-primary-subtle-active, #ffc8c4)
Description: The background color of the selected Gantt summary.
kendo-gantt-summary-progress-selected-bg$kendo-selected-bgvar(--kendo-color-primary, #ff6358)Default: $kendo-selected-bgComputed: var(--kendo-color-primary, #ff6358)
Description: The background color of the selected Gantt summary progress.
kendo-gantt-task-border-width0px0pxDefault: 0pxComputed: 0px
Description: The border width of the Gantt task.
kendo-gantt-task-padding-xk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The horizontal padding of the Gantt task.
kendo-gantt-task-padding-yk-spacing(1)var(--kendo-spacing-1, 0.25rem)Default: k-spacing(1)Computed: var(--kendo-spacing-1, 0.25rem)
Description: The vertical padding of the Gantt task.
kendo-gantt-task-bgif($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 2 ))var(--kendo-color-subtle, #666666)Default: if($kendo-enable-color-system, k-color( subtle ), k-try-tint( $kendo-gantt-text, 2 ))Computed: var(--kendo-color-subtle, #666666)
Description: The background color of the Gantt task.
kendo-gantt-task-textif($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $kendo-gantt-text ))var(--kendo-color-base, #f5f5f5)Default: if($kendo-enable-color-system, k-color( base ), k-contrast-legacy( $kendo-gantt-text ))Computed: var(--kendo-color-base, #f5f5f5)
Description: The text color of the Gantt task.
kendo-gantt-task-bordernullnullDefault: nullComputed: null
Description: The border color of the Gantt task.
kendo-gantt-task-progress-bg$kendo-gantt-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-gantt-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The background color of the Gantt task progress.
kendo-gantt-task-selected-bgif($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 ))var(--kendo-color-primary-subtle-active, #ffc8c4)Default: if($kendo-enable-color-system, k-color( primary-subtle-active ), k-try-tint( $kendo-selected-bg, 6 ))Computed: var(--kendo-color-primary-subtle-active, #ffc8c4)
Description: The background color of selected the Gantt task.
kendo-gantt-task-selected-text$kendo-selected-textvar(--kendo-color-on-primary, #ffffff)Default: $kendo-selected-textComputed: var(--kendo-color-on-primary, #ffffff)
Description: The text color of the selected Gantt task.
kendo-gantt-task-selected-bordernullnullDefault: nullComputed: null
Description: The border color of the selected Gantt task.
kendo-gantt-task-progress-selected-bg$kendo-selected-bgvar(--kendo-color-primary, #ff6358)Default: $kendo-selected-bgComputed: var(--kendo-color-primary, #ff6358)
Description: The background color of the selected Gantt task progress.
kendo-gantt-task-actions-paddingk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)Default: k-spacing(0.5)Computed: var(--kendo-spacing-0\.5, 0.125rem)
Description: The padding of the Gantt task actions.
kendo-gantt-planned-margin-y.35em0.35emDefault: .35emComputed: 0.35em
Description: The vertical margin of the Gantt task planned line.
kendo-gantt-planned-border-width2px2pxDefault: 2pxComputed: 2px
Description: The border width of the Gantt task planned line.
kendo-gantt-planned-line-height.75em0.75emDefault: .75emComputed: 0.75em
Description: The line height of the Gantt task planned line.
kendo-gantt-planned-dependency-margin-y.55em0.55emDefault: .55emComputed: 0.55em
Description: The vertical margin of the Gantt planned dependencies.
kendo-gantt-planned-moment-width6px6pxDefault: 6pxComputed: 6px
Description: The default width of the Gantt planned line dot.
kendo-gantt-planned-moment-height$kendo-gantt-planned-moment-width6pxDefault: $kendo-gantt-planned-moment-widthComputed: 6px
Description: The default height of the Gantt planned line dot.
kendo-gantt-planned-moment-border-radiuscalc( ( #{$kendo-gantt-planned-border-width * 2} + #{$kendo-gantt-planned-moment-width} ) / 2 )calc((4px + 6px) / 2)Default: calc( ( #{$kendo-gantt-planned-border-width * 2} + #{$kendo-gantt-planned-moment-width} ) / 2 )Computed: calc((4px + 6px) / 2)
Description: The border radius of the Gantt planned line dot.
kendo-gantt-planned-moment-left-margin-xcalc( #{math.div( $kendo-gantt-planned-border-width, 2 )} - #{$kendo-gantt-planned-moment-border-radius} )calc(1px - calc((4px + 6px) / 2))Default: calc( #{math.div( $kendo-gantt-planned-border-width, 2 )} - #{$kendo-gantt-planned-moment-border-radius} )Computed: calc(1px - calc((4px + 6px) / 2))
Description: The horizontal margin of the Gantt planned line dot.
kendo-gantt-planned-milestone-moment-margin-xmath.div( $kendo-gantt-planned-moment-width, 2 )3pxDefault: math.div( $kendo-gantt-planned-moment-width, 2 )Computed: 3px
Description: The horizontal margin of the Gantt milestone planned line dot.
kendo-gantt-planned-duration-height$kendo-gantt-planned-border-width2pxDefault: $kendo-gantt-planned-border-widthComputed: 2px
Description: The default height of the Gantt planned line.
kendo-gantt-planned-duration-hover-heightcalc( #{$kendo-gantt-planned-border-width} + 1px )calc(2px + 1px)Default: calc( #{$kendo-gantt-planned-border-width} + 1px )Computed: calc(2px + 1px)
Description: The height of the hovered Gantt planned line.
kendo-gantt-planned-single-drag-hint-top00Default: 0Computed: 0
Description: The top position of the Gantt drag hint.
kendo-gantt-planned-summary-drag-hint-top.5em0.5emDefault: .5emComputed: 0.5em
Description: The top position of the Gantt summary drag hint.
kendo-gantt-planned-milestone-drag-hint-top.3em0.3emDefault: .3emComputed: 0.3em
Description: The top position of the Gantt planned milestone drag hint.
kendo-gantt-rtl-milestone-wrap-margin-x-2.4em-2.4emDefault: -2.4emComputed: -2.4em
Description: The horizontal margin of the Gantt milestone wrap.
kendo-gantt-rtl-milestone-planned-moment-margin-x.2em0.2emDefault: .2emComputed: 0.2em
Description: The horizontal margin of the Gantt milestone line dot.
kendo-gantt-rtl-milestone-dot-start-margin-x-.1em-0.1emDefault: -.1emComputed: -0.1em
Description: The horizontal margin of the Gantt milestone task dot.
kendo-gantt-planned-offset-resize-handler-margin-x1.4em1.4emDefault: 1.4emComputed: 1.4em
Description: The horizontal offset of the Gantt delayed task resize handler.
kendo-gantt-planned-bg$kendo-color-primaryvar(--kendo-color-primary, #ff6358)Default: $kendo-color-primaryComputed: var(--kendo-color-primary, #ff6358)
Description: The background color of the Gantt planned Tooltip.
kendo-gantt-planned-border$kendo-gantt-planned-bgvar(--kendo-color-primary, #ff6358)Default: $kendo-gantt-planned-bgComputed: var(--kendo-color-primary, #ff6358)
Description: The border color of the Gantt planned Tooltip.
kendo-gantt-delayed-bg$kendo-color-errorvar(--kendo-color-error, #f31700)Default: $kendo-color-errorComputed: var(--kendo-color-error, #f31700)
Description: The background color of the Gantt delayed task.
kendo-gantt-delayed-bg-lighterif($kendo-enable-color-system, k-color( error-emphasis ), k-color-tint($kendo-gantt-delayed-bg, 5))var(--kendo-color-error-emphasis, #f76f60)Default: if($kendo-enable-color-system, k-color( error-emphasis ), k-color-tint($kendo-gantt-delayed-bg, 5))Computed: var(--kendo-color-error-emphasis, #f76f60)
Description: The complement background color of the Gantt delayed task.
kendo-gantt-advanced-bg$kendo-color-successvar(--kendo-color-success, #37b400)Default: $kendo-color-successComputed: var(--kendo-color-success, #37b400)
Description: The background color of the Gantt advanced task.
kendo-gantt-advanced-bg-lighterif($kendo-enable-color-system, k-color( success-emphasis ), k-color-tint($kendo-gantt-advanced-bg, 5))var(--kendo-color-success-emphasis, #81d15f)Default: if($kendo-enable-color-system, k-color( success-emphasis ), k-color-tint($kendo-gantt-advanced-bg, 5))Computed: var(--kendo-color-success-emphasis, #81d15f)
Description: The complement background color of the Gantt advanced task.
kendo-gantt-action-on-offset-text #000000 #000000Default: #000000Computed: #000000
Description: The text color of the Gantt delayed task action.
kendo-gantt-offset-resize-handler-top50%50%Default: 50%Computed: 50%
Description: The top position of the Gantt delayed task resize handler.
kendo-gantt-validation-tooltip-width200px200pxDefault: 200pxComputed: 200px
Description: The default width of the Gantt validation Tooltip.
kendo-gantt-validation-tooltip-label-width50px50pxDefault: 50pxComputed: 50px
Description: The default width of the Gantt validation Tooltip label.
kendo-gantt-validation-tooltip-border #656565 #656565Default: #656565Computed: #656565
Description: The border color of the Gantt validation Tooltip.
kendo-gantt-validation-tooltip-valid-border$kendo-color-successvar(--kendo-color-success, #37b400)Default: $kendo-color-successComputed: var(--kendo-color-success, #37b400)
Description: The border color of the valid Gantt validation Tooltip.
kendo-gantt-validation-tooltip-invalid-border$kendo-color-errorvar(--kendo-color-error, #f31700)Default: $kendo-color-errorComputed: var(--kendo-color-error, #f31700)
Description: The border color of the invalid Gantt validation Tooltip.
kendo-gantt-task-tooltip-padding-xk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The horizontal padding of the Gantt task Tooltip.
kendo-gantt-task-tooltip-padding-yk-spacing(1)var(--kendo-spacing-1, 0.25rem)Default: k-spacing(1)Computed: var(--kendo-spacing-1, 0.25rem)
Description: The vertical padding of the Gantt task Tooltip.
Feedback