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

// color
$gantt-header-bg-color: $content-bg-color-alt1 !default;
$gantt-header-border-color: $border-light !default;
$gantt-header-color: $content-text-color !default;
$gantt-context-menu-icon-color: $icon-color !default;
$gantt-grid-line-color: $border-light !default;
$gantt-label-color: $content-text-color-alt2 !default;
$gantt-content-color: $border-dark !default;
$holiday-background: $content-bg-color-alt2 !default;
$progress-handler-outline: $primary-text-color !default;
$progress-handler-background: $content-text-color !default;
$holiday-label-color: $content-text-color-alt2 !default;
$weekend-background: $content-bg-color-alt2 !default;
$event-marker-line-color: $primary !default;
$event-marker-label-color: $warning-light !default;
$event-marker-label-font-color: $warning !default;
$connector-line-color: $primary !default;
$connector-line-hover-color: $primary !default;
$connector-false-line-color: $primary !default;
$connector-node-hover-color: $primary-bg-color !default;
$connector-node-border-color: $content-bg-color !default;
$connector-node-hover-bg-color: $primary-bg-color-hover !default;
$connector-node-hover-outerline-color: $primary !default;
$connector-node-hover-border-color: $content-bg-color !default;
$critical-connector-line-color: $danger !default;
$critical-connector-line-hover-color: $danger-light !default;
$gantt-line-container-cell-border-color: $border-light !default;
/* stylelint-disable */
$gantt-unscheduled-taskbar-background: linear-gradient(90deg, rgba(79, 70, 229, 0.5) 0%, #4F46E5 50%, rgba(79, 70, 229, 0.5) 100%) !default;
$gantt-unscheduled-critical-taskbar-background: linear-gradient(to right, rgba(285,85,85, 0.2), $danger 30%, $danger 70%, $danger 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: $content-bg-color-alt5 !default;
$gantt-unscheduled-milestone-bottom-border: $content-bg-color-alt5 !default;
$gantt-child-task-bar: $primary-light !default;
$gantt-critical-child-task-bar: $danger-light !default;
$gantt-child-progress-bar: $primary-bg-color !default;
$gantt-manualchild-task-bar: $success-lighter !default;
$gantt-manualchild-task-bar-border: 1px solid $success;
$gantt-manualchild-progress-bar: $success;
$gantt-manualparent-background-color: $content-bg-color-alt5;
$gantt-critical-child-progress-bar: $danger !default;
$gantt-critical-child-task-bar-border: 1px solid $danger !default;
$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, $success-light, $success 30%, $success 70%, $success 70%, $success-light 100%) !default;
$gantt-parent-task-bar: $content-bg-color-alt3 !default;
$gantt-parent-progress-bar: $content-bg-color-alt4 !default;
$gantt-milestone-border-color: $content-bg-color-alt4 !default;
$gantt-critical-milestone-border-color: $danger !default;
$gantt-parent-milestone-border-color: $content-bg-color-alt5 !default;
$gantt-empty-taskbar-background-color: rgba(0,120,222,.15);
$gantt-empty-taskbar-border-color: rgba(0,120,222,.65) !important;
$gantt-label-font-color: $content-text-color-alt1 !default;
$gantt-task-label-font-color: $primary-text-color !default;
$gantt-tab-header-active-font-color: $primary !default;
$gantt-tab-header-font-color: $content-text-color-alt2 !default;
$gantt-edit-icon-color: $primary-text-color !default;
$gantt-icons-color:  $icon-color !default;
$gantt-cell-border-color: $border !default;
$gantt-dialog-active-tab-background: $transparent !default;
$gantt-dialog-tab-background: $content-bg-color-alt1 !default;
$gantt-dialog-header-font-color: $content-text-color !default;
$gantt-dialog-icon-color: $icon-color !default;
$gantt-dialog-icon-hover-color: $content-bg-color-alt1 !default;
$gantt-dialog-close-icon-hover-color: $icon-color !default;
$gantt-dialog-tab-hover-border-color: $transparent !default;
$gantt-dialog-tab-header-border-no-color: $transparent !default;
$gantt-tab-selection-indicator-color: $primary !default;
$gantt-tab-header-hover-color: $transparent !default;
$gantt-tab-header-hover-font-color: $content-text-color-alt2 !default;
$gantt-active-background: $primary-lighter;
$gantt-active-frozen-background: $primary-lighter;
$gantt-active-color: $table-text-color-selected !default;
$gantt-table-background: $content-bg-color !default;
$gantt-baseline-color: $danger !default;
$gantt-inactive-parent: $content-bg-color-alt4 !default;
$gantt-inactive-child: $primary-light !default;
$gantt-uptail-border: $border-light !default;
$gantt-gridpopup-span: $warning-text !default;
$gantt-active-parent-shadow: rgba($gantt-gridpopup-span, 0.5) !default;
$gantt-left-resize-gripper-border: $content-bg-color-alt4 !default;
$gantt-left-resize-gripper-color: $primary-text-color !default;
$gantt-drag-clone-bg-color: $content-bg-color !default;
$gantt-drag-clone-border-color: $border-light !default;
$gantt-drag-clone-color: $content-text-color !default;
$gantt-content-font-color: $content-text-color !default;
$gantt-table-background-color: $content-bg-color !default;
$gantt-clone-dragdrop-bg-color: $gantt-table-background-color !default;
$error-elem-color: $danger;
$gantt-active-container-border: $border !default;
$rangecontainer-border-color: $danger;
$gantt-chartrow-hover-bg-color: $flyout-bg-color-hover !default;
$gantt-chartrow-selection-hover-bg-color: $table-bg-color-selected-hover !default;
$gantt-timelinecell-hover-bg-color: $content-bg-color-alt3 !default;
$gantt-headercell-hover-bg-color: $content-bg-color-alt3 !default;
$gantt-weekendcell-hover-bg-color:$content-bg-color-hover !default;
$gantt-context-menu-click-color: $flyout-text-color-pressed !default;

// Layout
$holiday-label-font-size: $font-icon-13 !default;
$event-marker-label-font-size: $text-sm !default;
$event-marker-label-padding: 4px 8px !default;
$event-marker-label-height: 28px !default;
$event-marker-label-arrow-top: 56px !default;
$gantt-connector-point-margin-top: 7.5px !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: $radius-2 !default;
$gantt-unscheduled-taskbar-curved-radius: $radius-0 !default;
$gantt-label-size: 13px !default;
$gantt-header-border-spacing: 0 !default;
$gantt-child-progress-bar-border: 0px !default;
$gantt-child-progress-bar-border-radius: $radius-3;
$gantt-child-task-bar-border: 1px solid $primary-bg-color !default;
$gantt-manualchild-progress-bar-border: 0px !default;
$gantt-parent-progress-bar-border: 0px !default;
$gantt-parent-task-bar-border: 1px solid $content-bg-color-alt4 !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: $text-xs !default;
$gantt-label-font-size: $text-sm !default;
$gantt-bigger-label-font-size: $text-base !default;
$gantt-unscheduled-taskbar-border: 0px !default;
$gantt-unscheduled-taskbar-border-radius: $radius-4 !default;
$gantt-dialog-general-height: 241px !default;
$gantt-dialog-edit-form-odd-padding: 12px 18px 0 18px !default;
$gantt-dialog-edit-form-even-padding: 12px 18px 0 0 !default;
$gantt-dialog-edit-form-scroll-padding: 12px 18px 0 0 !default;
$gantt-mobile-bigger-dialog-edit-form-padding: 16px 12px 0 16px !default;
$gantt-bigger-tooltip-button-color: $warning-text;
$gantt-bigger-tooltip-dialog-color: $content-bg-color;
$gantt-bigger-tooltip-button-text-color: $white;
$gantt-bigger-tooltip-dialog-text-color: $content-text-color;
$gantt-bigger-tooltip-disabled-button-color: $content-bg-color-alt5 !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: 14px !important;
$gantt-bigger-dialog-header-padding: 16px 4px 16px 16px !important;
$gantt-bigger-add-dialog-content-height: 250px !important;
$gantt-bigger-event-arrow-color: $warning-light;
$gantt-bigger-event-arrow-font-size: $text-xs !important;
$gantt-bigger-event-markers-border-radius: $radius-4 !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 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: 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: 38px !default;
$gantt-dialog-bigger-input-padding-field: 32px 16px 16px !important;
$gantt-bigger-predecessor-dialog-padding: 10px 9px 9px 14px !important;
$gantt-bigger-predecessor-dialog-font-size: $text-xs;
$gantt-bigger-predecessor-dialog-font-weight: $font-weight-normal !default;
$gantt-bigger-predecessor-dialog-line-height: 1.8 !default;
$gantt-bigger-dialog-input-field-height: 36px !important;
$gantt-bigger-dialog-input-icon: 36px !important;
$gantt-dialog-bigger-border-radius: $radius-6 !important;
$gantt-bigger-dialog-tab-padding-left: 5px !important;
$gantt-bigger-dialog-content-border-radius: $radius-6 $radius-6 $radius-0 $radius-0 !default;
$gantt-bigger-dialog-edit-form-scroll-padding: 16px 18px 0 9px !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: 12px !default;
$gantt-dialog-tab-padding-left: 12px !default;
$gantt-tab-header-border-width: 1px;
$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-connector-point-width: 12px !default;
$gantt-connector-point-height: 8px !default;
$gantt-connector-left-point-left: -12px !default;
$gantt-parent-progress-bar-border-radius: $radius-4 !default;
$gantt-timeline-top-headercell-font-size: $text-sm !default;
$gantt-timeline-top-headercell-font-weight: $font-weight-semibold !default;
$gantt-active-color-opacity: 0.9 !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: 52px !default;
$gantt-bigger-header-border-height: 64px !default;
$gantt-treegrid-header-border-height: 52px !default;
$gantt-bigger-treegrid-header-border-height: 64px !default;
$gantt-header-border-bottom-width: 1px !default;
$gantt-timeline-top-header-cell-height: 26px !default;
$gantt-bigger-timeline-top-header-cell-height: 32px !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: 16px !default;
$gantt-dialog-tab-hover-border-bottom: 0px !default;
$gantt-dialog-tab-hover-border-bottom-radius: 0px !default;
$gantt-dialog-border-radius: 3px 3px 0px 0px !default;
$event-marker-line-height: 19px !default;
$gantt-clone-padding: 2px 8px 1px !default;
$gantt-bigger-clone-padding: $gantt-clone-padding !default;
$gantt-group-clone-box-shadow: 0 0 !default;
$gantt-header-font-size: $text-xs !default;
$gantt-header-font-weight: $font-weight-bold !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 6px 12px rgba($warning-text, .175) !default;
$gantt-border-size: 1px !default;
$grid-active-container-border: 0 0 0 1px $primary inset !default;
$gantt-range-container-arc-radius: 2px !default;
$bigger-column-menu-size: 25px !default;
$gantt-masked-table-background-color: rgb(225,223,221);
$gantt-rowdd-topbottom-border: 2px solid #4f46e5 !default;
$gantt-rowdd-boxshadow: $primary !default;
$gantt-rowdd-childborder-width: 2px 0 0 !default;
$gantt-virtualtrack-contanier-height: 0px !important;
$gantt-event-markers-border-right: 0px !important;

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