New to Kendo UI for Angular? Start a free 30-day trial
Customizing Gantt
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-gantt-border-width | 1px | ||
Description
Border width of the gantt. | |||
$kendo-gantt-font-family | var( --kendo-font-family, initial ) | ||
Description
Font family of the gantt. | |||
$kendo-gantt-font-size | var( --kendo-font-size, initial ) | ||
Description
Font size of the gantt. | |||
$kendo-gantt-line-height | var( --kendo-line-height, initial ) | ||
Description
Line height of the gantt. | |||
$kendo-gantt-bg | var( --kendo-component-bg, inherit ) | ||
Description
Background color of the gantt. | |||
$kendo-gantt-text | var( --kendo-component-text, inherit ) | ||
Description
Text color of the gantt. | |||
$kendo-gantt-border | var( --kendo-component-border, inherit ) | ||
Description
Border color of the gantt. | |||
$kendo-gantt-nonwork-bg | rgba( $kendo-color-black, .04 ) | ||
Description
Background color of the gantt non-working days. | |||
$kendo-gantt-nonwork-text | inherit | ||
Description
Text color of the gantt non-working days. | |||
$kendo-gantt-nonwork-border | inherit | ||
Description
Border color of the gantt non-working days. | |||
$kendo-gantt-line-size | 2px | ||
Description
Size of the gantt connecting lines. | |||
$kendo-gantt-line-fill | black | ||
Description
Background fill color of the gantt connecting lines. | |||
$kendo-gantt-line-selected-fill | k-get-theme-color-var( primary-120 ) | ||
Description
Selected background fill of the gantt connecting lines. | |||
$kendo-gantt-dot-size | 8px | ||
Description
Size of the gantt task dot. | |||
$kendo-gantt-dot-spacing | map.get( $kendo-spacing, 0.5 ) | ||
Description
Spacing of the gantt task dot. | |||
$kendo-gantt-dot-bg | $kendo-color-black | ||
Description
Background color of the gantt task dot. | |||
$kendo-gantt-dot-border | $kendo-color-black | ||
Description
Border color of the gantt task dot. | |||
$kendo-gantt-dot-hover-bg | $kendo-color-white | ||
Description
Hover background color of the gantt task dot. | |||
$kendo-gantt-dot-hover-border | $kendo-color-black | ||
Description
Hover border color of the gantt task dot. | |||
$kendo-gantt-milestone-bg | $kendo-gantt-text | ||
Description
Background color of the gantt milestone. | |||
$kendo-gantt-milestone-border | $kendo-gantt-text | ||
Description
Border color of the gantt milestone. | |||
$kendo-gantt-milestone-selected-bg | k-get-theme-color-var( primary-100 ) | ||
Description
Selected background color of the gantt milestone. | |||
$kendo-gantt-milestone-selected-border | k-get-theme-color-var( primary-100 ) | ||
Description
Selected border color of the gantt milestone. | |||
$kendo-gantt-summary-bg | k-get-theme-color-var( neutral-110 ) | ||
Description
Background color of the gantt summary. | |||
$kendo-gantt-summary-progress-bg | k-get-theme-color-var( neutral-160 ) | ||
Description
Background color of the gantt summary progress. | |||
$kendo-gantt-summary-selected-bg | k-get-theme-color-var( primary-50 ) | ||
Description
Selected background color of the gantt summary. | |||
$kendo-gantt-summary-progress-selected-bg | k-get-theme-color-var( primary-100 ) | ||
Description
Selected background color of the gantt summary progress. | |||
$kendo-gantt-task-border-width | 0px | ||
Description
Border width of the gantt task. | |||
$kendo-gantt-task-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
Horizontal padding of the gantt task. | |||
$kendo-gantt-task-padding-y | map.get( $kendo-spacing, 1 ) | ||
Description
Vertical padding of the gantt task. | |||
$kendo-gantt-task-bg | k-get-theme-color-var( neutral-110 ) | ||
Description
Background color of the gantt task. | |||
$kendo-gantt-task-text | $kendo-color-white | ||
Description
Text color of the gantt task. | |||
$kendo-gantt-task-border | inherit | ||
Description
Border color of the gantt task. | |||
$kendo-gantt-task-progress-bg | k-get-theme-color-var( neutral-160 ) | ||
Description
Background color of the gantt task progress. | |||
$kendo-gantt-task-progress-hover-bg | k-get-theme-color-var( neutral-190 ) | ||
Description
Background hover color of the gantt task progress. | |||
$kendo-gantt-task-selected-bg | k-get-theme-color-var( primary-50 ) | ||
Description
Selected background color of the gantt task. | |||
$kendo-gantt-task-selected-text | $kendo-color-white | ||
Description
Selected text color of the gantt task. | |||
$kendo-gantt-task-selected-border | transparent | ||
Description
Selected border color of the gantt task. | |||
$kendo-gantt-task-progress-selected-bg | k-get-theme-color-var( primary-100 ) | ||
Description
Selected background color of the gantt task progress. | |||
$kendo-gantt-task-actions-padding-y | $kendo-padding-md-y | ||
Description
Vertical padding of the gantt task actions. | |||
$kendo-gantt-task-actions-padding-x | $kendo-padding-md-x | ||
Description
Horizontal padding of the gantt task actions. | |||
$kendo-gantt-planned-margin-y | .45em | ||
Description
Vertical margin of the gantt task planned line. | |||
$kendo-gantt-planned-border-width | 2px | ||
Description
Border width of the gantt task planned line. | |||
$kendo-gantt-planned-line-height | .85em | ||
Description
Line height of the gantt task planned line. | |||
$kendo-gantt-planned-dependency-margin-y | .65em | ||
Description
Vertical margin of the gantt planned dependencies. | |||
$kendo-gantt-planned-moment-width | 6px | ||
Description
Default width of the gantt planned line dot. | |||
$kendo-gantt-planned-moment-height | $kendo-gantt-planned-moment-width | ||
Description
Default height of the gantt planned line dot. | |||
$kendo-gantt-planned-moment-border-radius | calc( ( #{$kendo-gantt-planned-border-width * 2} + #{$kendo-gantt-planned-moment-width} ) / 2 ) | ||
Description
Border radius of the gantt planned line dot. | |||
$kendo-gantt-planned-moment-left-margin-x | calc( #{$kendo-gantt-planned-border-width} / 2 - #{$kendo-gantt-planned-moment-border-radius} ) | ||
Description
Horizontal margin of the gantt planned line dot. | |||
$kendo-gantt-planned-milestone-moment-margin-x | math.div( $kendo-gantt-planned-moment-width, 2 ) | ||
Description
Horizontal margin of the gantt milestone planned line dot. | |||
$kendo-gantt-planned-duration-height | $kendo-gantt-planned-border-width | ||
Description
Default height of the gantt planned line. | |||
$kendo-gantt-planned-duration-hover-height | calc( #{$kendo-gantt-planned-border-width} + 1px ) | ||
Description
Hover height of the gantt planned line. | |||
$kendo-gantt-planned-single-drag-hint-top | 0 | ||
Description
Top position of the gantt drag hint. | |||
$kendo-gantt-planned-summary-drag-hint-top | .5em | ||
Description
Top position of the gantt summary drag hint. | |||
$kendo-gantt-planned-milestone-drag-hint-top | .3em | ||
Description
Top position of the gantt planned milestone drag hint. | |||
$kendo-gantt-planned-offset-resize-handler-margin-x | 1.4em | ||
Description
of the gantt. | |||
$kendo-gantt-planned-text | $kendo-color-white | ||
Description
Text color of the gantt planned tooltip. | |||
$kendo-gantt-planned-bg | k-get-theme-color-var( primary-100 ) | ||
Description
Background color of the gantt planned tooltip. | |||
$kendo-gantt-planned-border | k-get-theme-color-var( primary-100 ) | ||
Description
Border color of the gantt planned tooltip. | |||
$kendo-gantt-delayed-text | $kendo-color-white | ||
Description
Text color of the gantt delayed task. | |||
$kendo-gantt-delayed-bg | k-get-theme-color-var( error-160 ) | ||
Description
Background color of the gantt delayed task. | |||
$kendo-gantt-delayed-bg-lighter | k-get-theme-color-var( error-110) | ||
Description
Complement background color of the gantt delayed task. | |||
$kendo-gantt-delayed-hover-bg | k-get-theme-color-var( error-190 ) | ||
Description
Background hover color of the gantt delayed task. | |||
$kendo-gantt-advanced-bg | k-get-theme-color-var( success-160 ) | ||
Description
Background color of the gantt advanced task. | |||
$kendo-gantt-advanced-bg-lighter | k-get-theme-color-var( success-110 ) | ||
Description
Complement background color of the gantt advanced task. | |||
$kendo-gantt-advanced-hover-bg | k-get-theme-color-var( success-190 ) | ||
Description
Background hover color of the gantt advanced task. | |||
$kendo-gantt-action-on-offset-text | $kendo-color-black | ||
Description
Text color of the gantt delayed task action. | |||
$kendo-gantt-offset-resize-handler-top | 50% | ||
Description
Top position of the gantt delayed task resize handler. | |||
$kendo-gantt-validation-tooltip-width | 200px | ||
Description
Default width of the gantt validation tooltip. | |||
$kendo-gantt-validation-tooltip-label-width | 50px | ||
Description
Default width of the gantt validation tooltip label. | |||
$kendo-gantt-validation-tooltip-border | var( --kendo-component-border, inherit ) | ||
Description
Border color of the gantt validation tooltip. | |||
$kendo-gantt-validation-tooltip-valid-border | k-get-theme-color-var( success-100 ) | ||
Description
Border color of the gantt validation tooltip in valid state. | |||
$kendo-gantt-validation-tooltip-invalid-border | k-get-theme-color-var( error-100 ) | ||
Description
Border color of the gantt validation tooltip in invalid state. |