@use '../base/common/base-variables' as *;
@use '../treeview/tailwind3-definition' as *;

$pivotgrid-border-type: solid !default;
$pivotgrid-border-size: $border-1 !default;
$pivotgrid-content-font-size: $text-sm !default;
$pivotgrid-bigger-content-font-size: $text-base !default;
$field-list-font-family:  $font-family !default;
$pivotview-grid-content-opacity: .87 !default;
$pivotview-grid-header-font-size: $text-sm !default;
$pivotview-bigger-grid-header-font-size: $text-base !default;
$pivotview-grid-header-font-weight: $font-weight-semibold !default;
$pivotgrid-horizontal-button-padding: 8px !default;
$pivotgrid-vertical-button-padding: 3px !default;
$pivotgrid-grouping-height: 30px !default;
$pivotgrid-summary-font-weight: $font-weight-semibold !default;
$pivotgrid-prompt-line-height: 24px !default;
$field-list-toggle-size: 40px !default;
$pivotgrid-drag-clone-font-size: $text-sm !default;
$pivotgrid-default-border-radius: $radius-4 !default;
$pivotgrid-button-icon-size: $font-icon-12 !default;
$pivotgrid-bigger-button-icon-size: $font-icon-14 !default;
$pivotgrid-button-border-radius: $radius-4 !default;
$pivotgrid-editor-dialog-footer-padding:  8px !default;
$pivotgrid-expand-icon-fontsize: $font-icon-16 !default;
$pivotgrid-expcoldiv-fontsize: $font-icon-10 !default;
$pivotgrid-drill-margintop: 0 !default;
$pivotgrid-bigger-drill-margintop: 0 !default;
$pivotgrid-rtl-expand-icon-font-size: $text-xxs !default;
$pivotgrid-collapse-icon-fonsize: $font-icon-16 !default;
$pivotgrid-vsort-column-margin: -16px 0 !default;
$pivotgrid-vsort-column-parent-margin: 6px 0 !default;
$pivotgrid-vsort-row-margin: -5px 0 !default;
$pivotgrid-vsort-row-parent-margin: 5px 0 !default;
$pivotgrid-tooltip-padding: 3px 4px !default;
$pivotgrid-tooltip-fontsize: $text-sm !default;
$pivotgrid-tooltip-fontfamily: $font-family !default;
$pivotgrid-member-filter-list-height: 166px !default;
$pivotgrid-member-filter-list-bigger-height: 125px !default;
$pivotview-grid-indent-padding: 8px !default;
$pivotview-grid-bigger-indent-padding: 10px !default;
$pivotview-indent-space-size: 18px !default;
$pivotgrid-bigger-button-line-height: 1em !default;
$pivotgrid-excel-member-filter-height: 125px !default;
$pivotgrid-excel-member-filter-node-limit-height: 145px !default;
$pivotgrid-excel-filter-height: 248px !default;
$pivotgrid-excel-member-filter-bigger-height: 100px !default;
$pivotgrid-excel-filter-bigger-height: 220px !default;
$pivotgrid-editor-label-padding-size: 12px 10px 16px 20px !default;
$pivotgrid-editor-label-font: $font-weight-medium $font-icon-13 $font-family !default;
$pivotgrid-editor-label-opacity: .87 !default;
$pivotgrid-editor-label-excel-width: 280px !default;
$pivotgrid-editor-label-excel-padding-size: 14px 10px 9px 20px !default;
$pivotgrid-editor-label-excel-opacity: 56%;
$pivotgrid-drillthrough-header-font-weight: $font-weight-normal !default;
$pivotgrid-menubar-height: 32px !default;
$pivotgrid-bigger-menubar-height: 42px !default;
$pivotgrid-sort-wrapper-padding-size: 10px !default;
$pivotgrid-group-chart-values-dropdown-margin: 2px !default;
$pivotgrid-group-chart-values-dropdown-margin-bigger: 4px !default;
$pivotgrid-report-label-margin-top: 5px !default;
$pivotgrid-bigger-report-label-margin-top: 12px !default;
$pivotgrid-expand-collapse-margin-top: 0 !default;
$pivotgrid-expand-collapse-margin-bottom: 2px !default;
$pivotgrid-group-bigger-pivot-button-padding: 0 12px !default;
$pivotgrid-rowsheader-cellvalue-margin-left: 8px !default;
$pivotgrid-rowsheader-cellvalue-margin-top: 5px !default;
$pivotgrid-excelfilter-member-editor-node-limit-height: 115px !default;
$pivotgrid-member-editor-node-limit-bigger-height: 440px !default;
$pivotgrid-cell-value-margin: 0 !default;
$pivotview-filter-toolbar-items-margin-left: 20px !default;
$pivotview-filter-toolbar-items-margin-right: 20px !default;
$pivotgrid-header-text-margin-top: 3px !default;
$pivotgrid-border: $border-light !default;
$pivotgrid-bg-color: $content-bg-color-alt1;
$pivotgrid-border-color: $border-light;
$pivotgrid-active-border-color: $border-light;
$pivotgrid-box-shadow-color: rgba(108, 117, 125, .5);
$pivotgrid-value-sort-icon-padding: 6px 0 4px 0 !default;
$pivotgrid-value-sort-icon-font-size: $font-icon-16 !default;
$pivotgrid-active-color: $icon-color !default;
$pivotgrid-primary-color: $primary !default;
$pivotgrid-default-font-color: $content-text-color-alt1 !default;
$pivotgrid-prompt-default-font-color: $pivotgrid-default-font-color !default;
$pivotgrid-cell-border-color: $content-bg-color-alt3 !default;
$pivotgrid-default-border-color: $content-bg-color-alt3 !default;
$pivotgrid-table-background-color: $transparent !default;
$pivotgrid-grp-bg-color: $content-bg-color-alt1 !default;
$pivotgrid-grp-bg-hover-color: $content-bg-color-alt1 !default;
$pivotgrid-cell-hover-color: rgba(0, 0, 0, 0) !default;
$pivotgrid-drag-clone-color: $content-bg-color-alt3 !default;
$pivotgrid-drop-hover-color: $primary !default;
$pivotview-grid-header-font-color: $content-text-color !default;
$pivotgrid-button-border-color: $content-bg-color-alt3 !default;
$pivotgrid-toolbar-menu-bg-color: $content-bg-color-alt3 !default;
$pivotgrid-drag-clone-text-color: $pivotgrid-default-font-color !default;
$pivotgrid-button-background-color: $secondary-bg-color !default;
$pivotgrid-button-drag-color: $icon-color !default;
$pivotgrid-hover-color: $chip-secondary-bg-color-hover !default;
$pivotgrid-focus-color: $chip-secondary-border-color !default;
$pivotgrid-button-icon-color: $white !default;
$pivotgrid-button-active-icon-color: $pivotgrid-button-icon-color !default;
$pivotgrid-icon-hover-color: $secondary-text-color !default;
$pivotgrid-icon-focus-color: $secondary-text-color !default;
$pivotgrid-tooltip-fontcolor: $tooltip-text-color !default;
$pivotgrid-button-font-color: $secondary-text-color !default;
$pivotgrid-button-acitve-font-color: $content-text-color-alt1 !default;
$pivotgrid-editor-label-color: $content-text-color-alt1 !default;
$pivotgrid-editor-label-fill: $content-bg-color-alt1 !default;
$pivotgrid-header-selection-bg-color: $content-bg-color-alt3 !default;
$pivotgrid-header-selection-color: $content-text-color-alt2 !default;
$pivotgrid-sort-select-background-color: $content-bg-color-alt1 !default;
$pivotgrid-sort-select-border-color: $transparent !default;
$pivotgrid-sort-select-color: $icon-color !default;
$pivotgrid-header-background-color: $content-bg-color-alt1 !default;
$pivotgrid-gtot-background-color: $content-bg-color-alt1 !default;
$pivotgrid-gtot-font-color: $content-text-color-alt1 !default;
$pivot-toolbar-icon-hover-color: $pivotgrid-icon-hover-color !default;
$pivotgrid-drillthrough-header-font-color: $content-text-color-alt2 !default;
$pivotgrid-drillthrough-header-value-font-color: $content-text-color !default;
$pivotgrid-group-button-icon-margin-top: 2px !default;
$pivotgrid-bigger-group-button-icon-margin-top: 3px !default;
$pivotgrid-editor-search-padding-size: 16px !default;
$pivotgrid-add-filter-selection-margin: 18px !default;
$pivotgrid-add-filter-selection-bigger-height: $treeview-big-item-height !default;
$pivotgrid-add-filter-selection-height: $treeview-item-height !default;
$pivotgrid-member-editor-search-padding: 0 $pivotgrid-editor-search-padding-size 13px !default;
$pivotview-axis-indent-padding: $pivotview-grid-indent-padding !default;
$pivotview-axis-bigger-indent-padding: $pivotview-grid-bigger-indent-padding !default;
$pivotgrid-button-font-size: $text-sm !default;
$pivotgrid-bigger-button-font-size: $text-sm !default;
$pivotgrid-button-inner-padding: 3px !default;
$pivotgrid-bigger-button-inner-padding: 5px !default;
$pivotgrid-bigger-excel-dialog-min-width: 350px !default;
$pivotgrid-member-editor-bigger-height: 400px !default;
$pivotgrid-expand-bigger-icon-fontsize: $font-icon-20 !default;
$pivotgrid-collapse-bigger-icon-fontsize: $font-icon-20 !default;
$pivotgrid-grouping-padding-bottom: 12px !default;
$pivotgrid-grouping-padding-top: 12px !default;
$pivotgrid-grouping-bigger-padding-top: 16px !default;
$pivotgrid-button-icon-wrapper-size: $font-icon-18 !default;
$pivotgrid-bigger-button-icon-wrapper-size: $font-icon-20 !default;
$pivotgrid-bigger-button-icon-touch-margin-size: 2px !default;
$pivotpager-padding: 8px 8px !default;
$pivotpage-touch-padding: 8px 12px !default;
$pivotpager-separator-border: $border-1 solid $border-light !default;
$pivotpager-title-font-size: $text-xs !default;
$pivotpager-single-title-font-size: $text-sm !default;
$pivotpager-touch-single-title-font-size: $text-base !default;
$pivotpager-single-title-line-height: 2.2em !default;
$pivotpager-touch-single-title-line-height: 2.3em !default;
$pivotpager-axis-title-font-color: $content-text-color-disabled !default;
$pivotpager-size-title-font-color: $content-text-color-alt3 !default;
$pivotpager-string-font-touch-size: $text-sm !default;
$pivotpager-pager-number-font-weight: $font-weight-normal !default;
$pivotpager-v-separator-margin: 8px 16px !default;
$pivotpager-touch-v-separator-margin: 8px 16px !default;
$pivotpager-v-separator-margin-top: 3px !default;
$pivotpager-h-separator-margin: 8px 12px !default;
$pivotpager-page-icon-size: $pivotpager-title-font-size !default;
$pivotpager-touch-page-icon-size: $pivotpager-string-font-touch-size !default;
$pivotpager-page-icon-padding: 10px !default;
$pivotpager-touch-page-icon-padding: 12px !default;
$pivotpager-page-container-marging-top: 4px !default;
$pivotpager-touch-page-container-marging-top: 16px !default;
$pivotpager-adaptive-page-container-marging-top: 12px !default;
$pivotpager-numeric-box-margin: 0 8px 0 12px !default;
$pivotpager-adaptive-numeric-box-margin: 0 12px 0 8px !default;
$pivotpager-touch-numeric-boc-margin: 0 12px 0 16px !default;
$pivotpager-single-size-title-padding: 8px !default;
$pivotview-header-text-padding: 8px !default;
$pivotview-touch-header-text-padding: 12px !default;
$pivotview-olap-editor-text-content: 25px !default;
$pivotview-dialog-text-font-size: $text-sm !default;
$pivotgrid-tooltip-line-height-20: 20px !default;
$pivotgrid-member-filter-list-padding-size: -22px !default;

$pivotview-font-icon-12: $font-icon-12 !default;
$pivotview-font-icon-13: $font-icon-13 !default;
$pivotview-font-icon-14: $font-icon-14 !default;
$pivotview-font-icon-16: $font-icon-16 !default;
$pivotview-font-icon-18: $font-icon-18 !default;
$pivotview-font-icon-20: $font-icon-20 !default;

$pivotview-font-size-12: $text-xs !default;
$pivotview-font-size-14: $text-sm !default;
$pivotview-font-size-16: $text-base !default;

$pivotview-font-weight-normal: $font-weight-normal !default;
$pivotview-font-weight-medium: $font-weight-medium !default;
$pivotview-font-weight-semibold: $font-weight-semibold !default;

$pivotgrid-margin-auto: auto !default;
$pivotgrid-margin-0: 0 !default;
$pivotgrid-margin-1: 1px !default;
$pivotgrid-margin-4: 4px !default;
$pivotgrid-margin-5: 5px !default;
$pivotgrid-margin-6: 6px !default;
$pivotgrid-margin-7: 7px !default;
$pivotgrid-margin-8: 8px !default;
$pivotgrid-margin-10: 10px !default;
$pivotgrid-margin-12: 12px !default;
$pivotgrid-margin-18: 18px !default;
$pivotgrid-margin-20: 20px !default;
$pivotgrid-margin--20: -20px !default;
$pivotgrid-margin--25: -25px !default;

$pivotgrid-padding-0: 0 !default;
$pivotgrid-padding-1: 1px !default;
$pivotgrid-padding-2: 2px !default;
$pivotgrid-padding-3: 3px !default;
$pivotgrid-padding-4: 4px !default;
$pivotgrid-padding-5: 5px !default;
$pivotgrid-padding-7: 7px !default;
$pivotgrid-padding-8: 8px !default;
$pivotgrid-padding-10: 10px !default;
$pivotgrid-padding-12: 12px !default;
$pivotgrid-padding-15: 15px !default;
$pivotgrid-padding-16: 16px !default;
$pivotgrid-padding-20: 20px !default;
$pivotgrid-padding-24: 24px !default;
$pivotgrid-padding-30: 30px !default;
$pivotgrid-padding-unset: unset !default;

$pivotgrid-border-none: $border-none !default;
$pivotgrid-border-unset: $border-unset !default;
$pivotgrid-border-0: $border-0 !default;
$pivotgrid-border-1: $border-1 !default;

$pivotgrid-radius-0: $radius-0 !default;

$pivotgrid-line-height-xs: 16px !default;
$pivotgrid-line-height-xl: 28px !default;
$pivotgrid-line-height-4xl: 40px !default;
$pivotgrid-line-height-5xl: 48px !default;
$pivotgrid-line-height-normal: normal !default;
$pivotgrid-line-height-initial: initial !default;
$pivotgrid-line-height-1em: 1em !default;

$pivotgrid-height-1: 1px !default;
$pivotgrid-height-18: 18px !default;
$pivotgrid-height-24: 24px !default;
$pivotgrid-height-25: 25px !default;
$pivotgrid-height-28: 28px !default;
$pivotgrid-height-30: 30px !default;
$pivotgrid-height-36: 36px !default;
$pivotgrid-height-40: 40px !default;
$pivotgrid-height-200: 200px !default;
$pivotgrid-height-350: 350px !default;
$pivotgrid-height-420: 420px !default;
$pivotgrid-height-450: 450px !default;
$pivotgrid-height-520: 520px !default;
$pivotgrid-height-570: 570px !default;
$pivotgrid-height-100p: 100% !default;
$pivotgrid-height-auto: auto !default;
$pivotgrid-height-initial: initial !default;
$pivotgrid-height-inherit: inherit !default;

$pivotgrid-width-0: 0 !default;
$pivotgrid-width-2: 2px !default;
$pivotgrid-width-10: 10px !default;
$pivotgrid-width-12: 12px !default;
$pivotgrid-width-18: 18px !default;
$pivotgrid-width-24: 24px !default;
$pivotgrid-width-40: 40px !default;
$pivotgrid-width-50: 50px !default;
$pivotgrid-width-64: 64px !default;
$pivotgrid-width-80: 80px !default;
$pivotgrid-width-100: 100px !default;
$pivotgrid-width-130: 130px !default;
$pivotgrid-width-150: 150px !default;
$pivotgrid-width-180: 180px !default;
$pivotgrid-width-230: 230px !default;
$pivotgrid-width-250: 250px !default;
$pivotgrid-width-300: 300px !default;
$pivotgrid-width-310: 310px !default;
$pivotgrid-width-320: 320px !default;
$pivotgrid-width-350: 350px !default;
$pivotgrid-width-400: 400px !default;
$pivotgrid-width-500: 500px !default;
$pivotgrid-width-40p: 40% !default;
$pivotgrid-width-49p: 49% !default;
$pivotgrid-width-50p: 50% !default;
$pivotgrid-width-60p: 60% !default;
$pivotgrid-width-100p: 100% !default;
$pivotgrid-width-none: none !default;
$pivotgrid-width-unset: unset !default;
$pivotgrid-width-auto: auto !default;

$pivotgrid-spacing-10p: 10% !default;
$pivotgrid-width-inherit: inherit !default;
