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

$gantt-header-bg-color: $bg-base-0 !default;
$gantt-header-border-color: $border-default !default;
$gantt-header-color: $hover-font !default;
$gantt-context-menu-icon-color: $hover-font !default;
$gantt-grid-line-color: $border-default !default;
$gantt-label-color: rgba($content-font, .87) !default;
$gantt-content-color: $hover-font !default;
$holiday-background: $bg-base-20 !default;
$holiday-label-color: $content-font !default;
$holiday-label-font-size: 13px !default;
$weekend-background: $bg-base-10 !default;
$event-marker-line-color: #29c400 !default;
$event-marker-label-color: $bg-base-100 !default;
$event-marker-label-font-color: $invert-font !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: #29c400 !default;
$critical-connector-line-color: #d13438 !default;
$connector-line-hover-color: #29c400 !default;
$critical-connector-line-hover-color: #f3d8da !default;
$connector-false-line-color: #29c400 !default;
$connector-node-hover-color: $selection-border !default;
$connector-node-border-color: $selection-font !default;
$connector-node-hover-bg-color: $bg-base-0 !default;
$connector-node-hover-border-color: $selection-border !default;
$gantt-connector-point-margin-radius: 4px !default;
$gantt-connector-point-left: 8px !default;
$gantt-unscheduled-taskbar-left: 3px !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: $border-default !default;
/* stylelint-disable */
$gantt-unscheduled-taskbar-background: linear-gradient(to right, rgba(#3e047d, 0.2), #3e047d 30%, #3e047d 70%, #3e047d 70%, rgba(#3e047d, 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-unscheduled-milestone-top-border: rgba(51, 51, 51, .6) !default;
$gantt-unscheduled-milestone-bottom-border: rgba(51, 51, 51, .6) !default;
$gantt-child-task-bar: #6e06f1 !default;
$gantt-critical-child-task-bar: #F3D8DA !default;
$gantt-child-progress-bar: #3e047d !default;
$gantt-critical-child-progress-bar: #D13438 !default;
$gantt-child-task-bar-border: 1px solid $hover-border !default;
$gantt-critical-child-task-bar-border: 1px solid #F3D8DA !default;
$gantt-manualchild-task-bar: #4731FE;
$gantt-manualchild-task-bar-border: 1px solid #FFFFFF;
$gantt-manualchild-progress-bar: #1B00F7;
$gantt-empty-taskbar-background-color: rgba(0,120,222,.15);
$gantt-empty-taskbar-border-color: rgba(0,120,222,.65) !important;
$connector-node-hover-outerline-color: $hover-bg !default;
$gantt-manualchild-progress-bar-border: 0px !default;
$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), #6e06f1 30%, #6e06f1 70%, #6e06f1 70%, rgba(63,81,181, 0.2) 100%) !default;
$gantt-child-progress-bar-border: 0px !default;
$gantt-child-progress-bar-border-radius:3px;
$gantt-parent-task-bar: #007d01 !default;
$gantt-parent-progress-bar: #005201 !default;
$gantt-milestone-border-color: $bg-base-100 !default;
$gantt-critical-milestone-border-color: #D13438 !default;
$gantt-parent-milestone-border-color: #005201 !default;
$gantt-parent-task-bar-border: 1px solid $hover-border !default;
$gantt-parent-progress-bar-border: 0px !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-task-label-font-color: $hover-font !default;
$gantt-tab-header-active-font-color: $selection-font !default;
$gantt-tab-header-font-color: rgba($selection-font, .70) !default;
$gantt-label-font-size: 13px !default;
$gantt-bigger-label-font-size: 13px !default;
$gantt-label-font-color: $content-font !default;
$gantt-edit-icon-color: $content-font !default;
$gantt-icons-color: $hover-font;
$gantt-unscheduled-taskbar-border: 0px !default;
$gantt-unscheduled-taskbar-border-radius: 0px !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: $selection-font;
$gantt-bigger-tooltip-dialog-text-color: $message-font;
$gantt-bigger-tooltip-dialog-color: $bg-base-10;
$gantt-bigger-dialog-edit-form-odd-padding: 16px 9px 0 18px !default;
$gantt-bigger-dialog-edit-form-even-padding: 16px 18px 0 9px !default;
$gantt-bigger-dialog-close-button-size: 12px !important;
$gantt-bigger-dialog-header-padding: 16px 4px 12px 18px !important;
$gantt-bigger-add-dialog-content-height: 241px !important;
$gantt-bigger-event-arrow-color: $hover-font;
$gantt-bigger-tooltip-button-text-color: #F9FAFB;
$gantt-bigger-tooltip-disabled-button-color: $border-alt !important;
$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: 43px !important;
$gantt-bigger-event-markers-top: 36px !important;
$gantt-bigger-event-markers-padding: 4px 11px 4px 8px !important;
$gantt-bigger-add-dialog-input-height: 78px !important;
$gantt-bigger-add-dialog-input-width: 250px !important;
$gantt-bigger-add-dialog-input-field-width: 175px !default;
$gantt-bigger-filter-dialog-footer-padding: 19px 18px 19px 16px !important;
$gantt-bigger-add-dialog-footer-padding: 16px 18px 20px 18px !important;
$gantt-bigger-filter-dialog-footer-height: 76px !important;
$gantt-bigger-filter-dialog-input-padding: 20px 0 0 !important;
$gantt-bigger-add-dialog-footer-height: 70px !important;
$gantt-bigger-dialog-width: 554px !important;
$gantt-bigger-filter-dialog-width: 307px !important;
$gantt-dialog-bigger-input-field: 40px !default;
$gantt-dialog-bigger-input-padding-field: 20px 18px 0px 18px !important;
$gantt-bigger-dialog-input-field-height: 38px !important;
$gantt-bigger-dialog-input-icon: 38px !important;
$gantt-dialog-bigger-border-radius: 0px !important;
$gantt-bigger-dialog-tab-padding-left: 6px !important;
$gantt-bigger-dialog-content-border-radius: 6px 6px 0px 0px !default;
$gantt-bigger-dialog-edit-form-scroll-padding: 16px 18px 0 9px !default;
$gantt-dialog-close-button-top: 0px !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: 4px !default;
$gantt-dialog-active-tab-background: transparent !default;
$gantt-dialog-tab-padding-left: 13px !default;
$gantt-dialog-tab-background: $selection-bg !default;
$gantt-dialog-header-font-color: $selection-font !default;
$gantt-dialog-icon-color: $selection-font !default;
$gantt-dialog-icon-hover-color: rgba(#685708, .4) !default;
$gantt-dialog-close-icon-hover-color: $selection-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: 1px !default;
$gantt-resource-div-border-bottom: 1px !default;
$gantt-richtext-border-bottom: 1px !default;
$gantt-richtext-content-border-bottom: 0px !default;
$gantt-tab-selection-indicator-color: $selection-font !default;
$gantt-tab-header-hover-color: transparent !default;
$gantt-tab-header-hover-font-color: rgba($selection-font, 1) !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: 0px !default;
$gantt-timeline-top-headercell-font-size: 14px !default;
$gantt-timeline-top-headercell-font-weight: 400 !default;
$gantt-active-background: rgba($selection-bg, 0.70) !default;
$gantt-active-frozen-background: #b39828 !default;
$gantt-active-color: $selection-font !default;
$gantt-active-color-opacity: 0.9 !default;
$gantt-table-background: $selection-font !default;
$gantt-baseline-color: $alert-alt !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;
$progress-handler-background: #FFFFFF !default;
$progress-handler-outline: $hover-font !default;
$gantt-header-border-radius: 0px !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: 0px !default;
$event-marker-line-height: 1.2 !default;
$gantt-inactive-parent: #8A8A8A  !default;
$gantt-inactive-child: #D5D5D5 !default;
$gantt-connected-task: color.adjust(#6e06f1, $lightness: 20%) !default;
$gantt-active-parent-task: color.adjust(#000000, $lightness: 10%) !default;
$gantt-uptail-border:  #e0e0e0 !default;
$gantt-gridpopup-span: $selection-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: $border-default !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 0 10px 0 rgba($bg-base-0, .2) !default;
$gantt-drag-clone-bg-color: $selection-bg !default;
$gantt-drag-clone-border-color: $border-default !default;
$gantt-drag-clone-color: $selection-font !default;
$gantt-content-font-color: $content-font !default;
$gantt-table-background-color: $bg-base-0 !default;
$gantt-clone-dragdrop-bg-color: $gantt-table-background-color !default;
$error-elem-color: #e3165b;
$gantt-border-size: $border-size !default;
$gantt-active-container-border: $border-default !default;
$grid-active-container-border: 0 0 0 1px #ffff inset !default;
$rangecontainer-border-color: #FC7A05;
$gantt-range-container-arc-radius: 0px !default;
$bigger-column-menu-size: 45px !default;
$gantt-masked-table-background-color: #e1dfdd;
$gantt-rowdd-topbottom-border: 1px solid #ffd939 !default;
$gantt-rowdd-boxshadow: #ffd939 !default;
$gantt-rowdd-childborder-width: 1px 0 0 !default;
$gantt-chartrow-hover-bg-color: $hover-bg !default;
$gantt-chartrow-selection-hover-bg-color: #ffe36c !default;
$gantt-timelinecell-hover-bg-color: $hover-bg !default;
$gantt-headercell-hover-bg-color: $hover-bg !default;
$gantt-weekendcell-hover-bg-color: $hover-bg !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;