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

$ddl-list-line-height: 30px !default;
$ddl-header-font-weight: $font-weight-medium !default;
$ddl-last-child-bottom-border: 0 !default;
$ddl-default-font-family: $font-family !default;
$ddl-line-height: 36px !default;
$ddl-list-border-size: 0 !default;
$ddl-list-bottom-border: $ddl-list-border-size !default;
$ddl-list-zero-padding: 0 !default;
$ddl-list-nodata-padding: 14px 16px !default;
$ddl-list-nodata-font-size: 14px !default;

$ddl-list-font-size: $text-sm !default;
$ddl-list-font-family: $font-family !default;
$ddl-list-focus-border: 1px solid $border-focus !default;
$ddl-group-list-padding-left: 12px !default;
$ddl-group-list-small-padding-left: 8px !default;
$ddl-group-list-bigger-padding-left: 16px !default;
$ddl-group-list-bigger-small-padding-left: 14px !default;
$ddl-list-header-padding-left: 12px !default;
$ddl-list-header-small-padding-left: 8px !default;
$ddl-list-header-bigger-small-padding-left: 14px !default;
$ddl-list-header-bigger-padding-left: 16px !default;
$ddl-list-text-indent: 12px !default;
$ddl-bigger-text-indent: 16px !default;
$ddl-list-rtl-padding-right: 0 !default;
$ddl-list-padding-right: 16px !default;
$ddl-list-rtl-padding-left: 16px !default;
$ddl-multi-column-border-width: 0 0 1px 0 !default;
$ddl-bigger-list-header-font-size: $text-sm !default;
$ddl-group-list-font-size: $text-sm !default;
$ddl-list-header-font-size: $text-xs !default;
$ddl-small-list-nodata-font-size: $text-xs !default;
$ddl-bigger-list-nodata-font-size: $text-base !default;
$ddl-bigger-small-list-nodata-font-size: $text-sm !default;

// Small Size

$ddl-small-icon-font-size: $font-icon-14 !default;
$ddl-small-line-height: 24px !default;
$ddl-small-list-text-indent: 8px !default;
$ddl-small-list-header-font-size: $text-xxs !default;

// Touch Small

$ddl-bigger-small-icon-font-size: $font-icon-18 !default;
$ddl-bigger-small-line-height: 32px !default;
$ddl-bigger-small-list-text-indent: 14px !default;
$ddl-bigger-small-list-header-font-size: $text-xs !default;

$ddl-list-border-color: $border-light !default;
$ddl-list-gradient-color: $border-light !default;
$mention-gradient-color: $white !default;
$mention-list-box-shadow-color: rgba(0, 0, 0, .21) !default;
$mention-chip-bg-color: $content-bg-color-alt2 !default;
$mention-chip-border-radius: 2px !default;
$mention-chip-border: none !default;
$ddl-list-bg-color: $flyout-bg-color !default;
$ddl-list-header-bg-color: $content-bg-color-focus !default;
$ddl-list-tap-color: transparent !default;
$ddl-list-header-border-color: $border-light !default;
$ddl-nodata-font-color: $content-text-color !default;
$ddl-list-default-font-color: $content-text-color !default;
$ddl-list-active-border-color: $content-bg-color !default;
$mention-popup-bg-color: $content-bg-color !default;
$ddl-list-active-font-color: $content-text-color-selected !default;
$mention-active-font-color: $primary !default;
$ddl-list-active-bg-color: $content-bg-color-selected !default;
$ddl-list-hover-border-color: $content-bg-color !default;
$ddl-list-hover-bg-color: $content-bg-color-hover !default;
$ddl-list-hover-font-color: $content-text-color-hover !default;
$ddl-list-header-font-color: $content-text-color-alt2 !default;
$ddl-default-header-font-color: $content-text-color !default;
$ddl-list-focus-color: $content-bg-color-focus !default;
$ddl-multi-column-border-color: $border-light !default;
$ddl-list-icon-color: $icon-color !default;

// Small Size color
$ddl-small-list-font-color: $content-text-color !default;

// Touch Small color
$ddl-bigger-small-list-font-color: $content-text-color !default;
$ddl-group-list-item-text-intent: 0 !default;
$ddl-bgr-list-item-icon-font-size: 20px !default;
$ddl-nrml-list-item-icon-font-size: 16px !default;
$bgr-drop-base-height: 45px !default;
$ddl-base-min-height: 36px !default;
$mention-popup-margin-top: 2px !default;
$ddl-two-width: 2px !default;
$ddl-mention-editable-min-height: 120px !default;
$ddl-multi-column-popup-padding-right: 16px !default;
$ddl-multi-column-popup-line-height: 36px !default;
$ddl-multi-popup-scroll-head-pad-right: 16px !default;
$ddl-zero-spacing: 0 !default;
$ddl-auto-height: auto !default;
$ddl-full-height: 100% !default;
$ddl-full-width: 100% !default;
$ddl-bgr-dropbase-list-icon-padding: 12px !default;
$ddl-bgr-small-dropbase-list-icon-padding: 8px !default;
$popup-multi-select-font-size: 500;
$ddl-bgr-dropbase-list-icon-item-padding: 0 12px 0 0 !default;

@include export-module('dropdownbase-tailwind') {
  .e-dropdownbase .e-list-item.e-active,
  .e-dropdownbase .e-list-item.e-active.e-hover {
    font-weight: $font-weight-medium;
  }

  .e-dropdownbase .e-list-group-item,
  .e-fixed-head {
    font-size: $text-xs;
    text-transform: uppercase;
  }

  .e-small .e-dropdownbase .e-list-group-item,
  .e-small .e-fixed-head,
  .e-small.e-dropdownbase .e-list-group-item,
  .e-small.e-fixed-head {
    font-size: $text-xxs;
  }

  .e-dropdownbase .e-list-item .e-list-icon {
    padding-inline-end: 8px;
  }

  .e-small .e-dropdownbase .e-list-item .e-list-icon {
    padding-inline-end: 4px;
  }
}
