@use 'sass:color';
@use '../base/common/base-variables' as *;

$gantt-header-bg-color: $grey-base !default;
$gantt-header-border-color: $grey-88 !default;
$gantt-header-color: $grey-dark-font !default;
$gantt-context-menu-icon-color: $grey-dark-font !default;
$gantt-grid-line-color: $grey-88 !default;
$gantt-label-color: rgba($grey-light-font, .87) !default;
$gantt-content-color: rgba($grey-light-font, .87) !default;
$holiday-background: $grey-light !default;
$progress-handler-outline: $brand-primary-font !default;
$progress-handler-background: $gray-dark !default;
$holiday-label-color: $grey-dark-font !default;
$holiday-label-font-size: 13px !default;
$weekend-background: $grey-light !default;
$event-marker-line-color: $brand-primary !default;
$event-marker-label-color: #cae8ff !default;
$event-marker-label-font-color: #004a8c !default;
$event-marker-label-font-size: 12px !default;
$event-marker-label-padding: 7px 12px !default;
$event-marker-label-height: 30px !default;
$event-marker-label-arrow-top: 60px !default;
$connector-line-color: $brand-primary !default;
$connector-line-hover-color: $brand-primary !default;
$connector-node-border-color: $grey-base !default;
$connector-false-line-color: $brand-primary !default;
$connector-node-hover-color: #21527d !default;
$critical-connector-line-color: #d13438 !default;
$critical-connector-line-hover-color: #f3d8da !default;
$connector-node-hover-bg-color: $grey-e6 !default;
$connector-node-hover-border-color: $brand-primary !default;
$gantt-connector-point-margin-radius: 4px !default;
$gantt-connector-point-left: 8px !default;
$gantt-unscheduled-taskbar-left: 3px !default;
$gantt-unscheduled-taskbar-right-radius: 2px !default;
$gantt-unscheduled-taskbar-straight-radius: 2px !default;
$gantt-unscheduled-taskbar-curved-radius: 0 !default;
$gantt-label-size: 13px !default;
$gantt-header-border-spacing: 0 !default;
$gantt-line-container-cell-border-color: $grey-88 !default;
/* stylelint-disable */
$gantt-unscheduled-taskbar-background: linear-gradient(to right, rgba($brand-primary, 0.2 ), $brand-primary 30%, $brand-primary 70%, $brand-primary 70%, rgba($brand-primary, 0.2 ) 100%) !default;
$gantt-unscheduled-critical-taskbar-background: linear-gradient(to right, rgba(285,85,85, 0.2), #D13438 30%, #D13438 70%, #D13438 70%, rgba(285,85,85, 0.2) 100%) !default;
$gantt-unscheduled-critical-taskbar-background-color: rgba(285,85,85, .2) !default;
$gantt-critical-child-task-bar: #F3D8DA !default;
$gantt-critical-child-progress-bar: #D13438 !default;
$gantt-critical-child-task-bar-border: 1px solid #F3D8DA !default;
$gantt-unscheduled-milestone-top-border: #dadada !default;
$gantt-unscheduled-milestone-bottom-border: #dadada !default;
$gantt-child-task-bar:  color.adjust($brand-primary, $lightness: 10%)  !default;
$gantt-child-progress-bar: $brand-primary !default;
$gantt-child-progress-bar-border: 0px solid $brand-primary !default;
$gantt-child-progress-bar-border-radius:3px;
$gantt-empty-taskbar-background-color: rgba(0, 112, 240, .15);
$gantt-empty-taskbar-border-color: rgba(0, 112, 240, .65) !important;
$gantt-child-task-bar-border: 1px solid $brand-primary !default;
$gantt-manualchild-task-bar: #8dd1c4;
$gantt-manualchild-progress-bar: #67c1b2;
$gantt-manualchild-progress-bar-border: #4fb29f;
$gantt-manualchild-task-bar-border: #4fb29f;
$gantt-manualparent-background-color: #989A9C;
$gantt-unscheduledmanualparent-background-color: linear-gradient(to right, rgba(63, 81, 181, 0.2), #989A9C 30%, #989A9C 70%, #989A9C 70%, rgba(63, 81, 181, 0.2) 100%) !default;
$gantt-unscheduled-manualtaskbar-background: linear-gradient(to right, rgba(63,81,181, 0.2), #8dd1c4 30%, #8dd1c4 70%, #8dd1c4 70%, rgba(63,81,181, 0.2) 100%) !default;
$gantt-parent-task-bar: #029f90 !default;
$gantt-parent-progress-bar: #4cc7ba !default;
$gantt-milestone-border-color: #dadada !default;
$gantt-critical-milestone-border-color: #D13438 !default;
$gantt-parent-milestone-border-color: #4cc7ba !default;
$gantt-parent-progress-bar-border: 0px solid #4cc7ba !default;
$gantt-parent-task-bar-border: 1px solid #4cc7ba !default;
$gantt-unscheduled-taskbar-border-radius: 4px !default;
$gantt-connector-point-right-margin-left: 3px !default;
$gantt-connector-point-left-margin-right: 3px !default;
$gantt-right-label-container-margin-left: 25px !default;
$gantt-task-label-font-size: 12px !default;
$gantt-label-font-size: 14px !default;
$gantt-bigger-label-font-size: 14px !default;
$gantt-label-font-color: $grey-dark-font !default;
$gantt-task-label-font-color: $brand-primary-font !default;
$gantt-tab-header-active-font-color: $grey-light-font !default;
$gantt-tab-header-font-color: $brand-primary-font !default;
$gantt-edit-icon-color: $brand-primary-font !default;
$gantt-icons-color: $brand-primary-font;
$gantt-unscheduled-taskbar-border: 0px !default;
$gantt-timeline-top-headercell-font-size: 14px !default;
$gantt-timeline-top-headercell-font-weight: bold !default;
$gantt-dialog-general-height: 241px !default;
$gantt-dialog-edit-form-odd-padding: 16px 18px 0 18px !default;
$gantt-dialog-edit-form-even-padding: 16px 16px 0 0 !default;
$gantt-dialog-edit-form-scroll-padding: 16px 16px 0 0 !default;
$gantt-mobile-bigger-dialog-edit-form-padding: 16px 12px 0 16px !default;
$gantt-bigger-predecessor-dialog-padding: 10px 9px 9px 14px !important;
$gantt-bigger-predecessor-dialog-font-size: 12px;
$gantt-bigger-predecessor-dialog-font-weight: 400 !default;
$gantt-bigger-predecessor-dialog-line-height: 1.8 !default;
$gantt-bigger-tooltip-button-color: $shadow;
$gantt-bigger-tooltip-dialog-color: $grey-light-font;
$gantt-bigger-tooltip-button-text-color: $grey-light-font;
$gantt-bigger-tooltip-dialog-text-color: $shadow;
$gantt-bigger-tooltip-disabled-button-color: #adadad !important;
$gantt-bigger-dialog-edit-form-odd-padding: 16px 12px 0 16px !default;
$gantt-bigger-dialog-edit-form-even-padding: 16px 16px 0 12px !default;
$gantt-bigger-dialog-close-button-size: 12px !important;
$gantt-bigger-dialog-header-padding: 16px 4px 16px 16px !important;
$gantt-bigger-dialog-edit-form-scroll-padding: 16px 18px 0 9px !default;
$gantt-bigger-add-dialog-content-height: 242px !important;
$gantt-bigger-event-arrow-color: $brand-info-light;
$gantt-bigger-event-arrow-font-size: 12px !important;
$gantt-bigger-event-markers-border-radius: 4px !important;
$gantt-bigger-event-markers-height: 26px !important; 
$gantt-bigger-event-arrow-bottom: 6px solid transparent;
$gantt-bigger-event-arrow-right: 6px solid transparent;
$gantt-bigger-event-arrow-top: 6px solid transparent;
$gantt-bigger-event-arrow-top-value: 73px !important;
$gantt-bigger-event-markers-top: 65px !important;
$gantt-bigger-event-markers-padding: 4px 11px 4px 9px !important;
$gantt-bigger-add-dialog-input-height: 76px !important;
$gantt-bigger-add-dialog-input-width: 250px !important; 
$gantt-bigger-add-dialog-input-field-width: 175px !default;
$gantt-bigger-filter-dialog-footer-padding: 16px !important;
$gantt-bigger-add-dialog-footer-padding: 16px !important;
$gantt-bigger-filter-dialog-input-padding: 16px 0 0 !important;
$gantt-bigger-filter-dialog-footer-height: 70px !important;
$gantt-bigger-add-dialog-footer-height: 70px !important;
$gantt-bigger-dialog-width: 556px !important;
$gantt-bigger-filter-dialog-width: 350px !important;
$gantt-dialog-bigger-input-field: 36px !default;
$gantt-dialog-bigger-input-padding-field: 32px 16px 16px !important;
$gantt-bigger-dialog-input-field-height: 34px !important;
$gantt-bigger-dialog-input-icon: 35px !important;
$gantt-dialog-bigger-border-radius: 6px !important;
$gantt-bigger-dialog-tab-padding-left: 5px !important;
$gantt-bigger-dialog-content-border-radius: 6px 6px 0px 0px !default;
$gantt-dialog-close-button-top: 2px !important;
$gantt-dialog-dependent-height: 161px !default;
$gantt-dialog-resource-height: 202px !default;
$gantt-dialog-rte-height: 241px !default;
$gantt-dialog-rte-content-height: 200px !default;
$gantt-dialog-padding-bottom: 20px !default;
$gantt-dialog-active-tab-background: $gray-base !default;
$gantt-dialog-tab-padding-left: 12px !default;
$gantt-dialog-tab-background: $brand-primary !default;
$gantt-dialog-header-font-color: $brand-primary-font !default;
$gantt-dialog-icon-color: $brand-primary-font !default;
$gantt-dialog-icon-hover-color: transparent !default;
$gantt-dialog-close-icon-hover-color: $grey-dark-font !default;
$gantt-dialog-tab-hover-border-color: transparent !default;
$gantt-dialog-tab-header-border-no-color: transparent !default;
$gantt-tab-header-border-width: 0px;
$gantt-depedent-div-border-bottom: 0px !default;
$gantt-resource-div-border-bottom: 0px !default;
$gantt-richtext-border-bottom: 0px !default;
$gantt-richtext-content-border-bottom: 0px !default;
$gantt-tab-selection-indicator-color: transparent !default;
$gantt-tab-header-hover-color: $grey-dark !default;
$gantt-tab-header-hover-font-color: $grey-dark-font !default;
$gantt-connector-point-width: 12px !default;
$gantt-connector-point-height: 8px !default;
$gantt-connector-left-point-left: -12px !default;
$gantt-parent-progress-bar-border-radius: 4px !default;
$gantt-active-background: $grey-88 !default;
$gantt-active-frozen-background: $grey-88 !default;
$gantt-active-color: $brand-primary-font !default;
$gantt-active-color-opacity: 1 !default;
$gantt-table-background: $grey-base !default;
$connector-node-hover-outerline-color: #75ACDB !default;
$gantt-baseline-color: $brand-warning !default;
$gantt-child-progress-margin-left: 0.5px !default;
$gantt-timeline-single-header-outer-div: 46px !default;
$gantt-chart-timeline-single-header-outer-div: 46px !default;
$gantt-header-border-height: 64px !default;
$gantt-bigger-header-border-height: 64px !default;
$gantt-treegrid-header-border-height: 64px !default;
$gantt-bigger-treegrid-header-border-height: 64px !default;
$gantt-header-border-bottom-width: 1px !default;
$gantt-timeline-top-header-cell-height: 32px !default;
$gantt-bigger-timeline-top-header-cell-height: 32px !default;
$gantt-header-border-radius: 4px !default;
$gantt-splitter-border-top-right-radius: 0px !default;
$gantt-splitter-border-top-left-radius: 0px !default;
$gantt-filter-menu-value-div-padding: 24px !default;
$gantt-dialog-tab-hover-border-bottom: 0px !default;
$gantt-dialog-tab-hover-border-bottom-radius: 0px !default;
$gantt-dialog-border-radius: 6px 6px 0px 0px !default;
$event-marker-line-height: 1.5 !default;
$gantt-inactive-parent: #8A8A8A !default;
$gantt-inactive-child: #D5D5D5 !default;
$gantt-connected-task: color.adjust($brand-primary, $lightness: 20%) !default;
$gantt-active-parent-task: color.adjust(#000000, $lightness: 10%) !default;
$gantt-uptail-border:  #e0e0e0 !default;
$gantt-gridpopup-span: $base-font !default;
$gantt-active-parent-shadow: rgba($gantt-gridpopup-span, 0.5) !default;
$gantt-left-resize-gripper-border: #9e9e9e !default;
$gantt-left-resize-gripper-color: #eee !default;
$gantt-clone-padding: 4px 5px !default;
$gantt-bigger-clone-padding: $gantt-clone-padding !default;
$gantt-cell-border-color: $grey-88 !default;
$gantt-group-clone-box-shadow: 0 0 !default;
$gantt-header-font-size: 12px !default;
$gantt-header-font-weight: 500 !default;
$gantt-drag-clone-font-weight: $gantt-header-font-weight !default;
$gantt-drag-clone-opacity: 1 !default;
$gantt-group-clone-text-align: center !default;
$gantt-clone-prop-box-shadow: 0 5px 15px rgba($base-font, .5) !default;
$gantt-drag-clone-bg-color: $grey-base !default;
$gantt-drag-clone-border-color: $grey-44 !default;
$gantt-drag-clone-color: $header-font-color !default;
$gantt-content-font-color: $grey-dark-font !default;
$gantt-clone-dragdrop-bg-color: $grey !default;
$error-elem-color: #e3165b;
$gantt-border-size: 1px !default;
$gantt-active-container-border: color.adjust($brand-primary, $lightness: 10%) !default;
$grid-active-container-border: 0 0 0 1px color.adjust($brand-primary, $lightness: 10%) inset !default;
$gantt-collapse-progress-width: 0px !important;
$rangecontainer-border-color: #FC7A05;
$gantt-range-container-arc-radius: 2px !default;
$bigger-column-menu-size: 40px !default;
$gantt-masked-table-background-color: #e1dfdd;
$gantt-rowdd-topbottom-border: 1px solid #0070f0 !default;
$gantt-rowdd-boxshadow:  #0070f0 !default;
$gantt-rowdd-childborder-width: 1px 0 0 !default;
$gantt-chartrow-hover-bg-color: $grey-light !default;
$gantt-chartrow-selection-hover-bg-color: color-mix(in srgb, $grey-88, rgba(57, 57, 57, .2)) !default;
$gantt-timelinecell-hover-bg-color: $gray-dark !default;
$gantt-headercell-hover-bg-color: $gray-dark !default;
$gantt-weekendcell-hover-bg-color: $grey-88 !default;
$gantt-virtualtrack-contanier-height: 0 !important;
$gantt-event-markers-border-right: 0 !important;

// Typography variables
$gantt-bigger-dialog-border-radius: 6px;
$gantt-manual-parent-taskbar-border-radius: 50%;
$gantt-baseline-bar-border-radius: 2px;
$gantt-label-border-radius: 3px;