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

$ddl-header-font-weight: 600 !default;
$ddl-last-child-bottom-border: 0 !default;
$ddl-default-font-family: inherit !default;
$ddl-line-height: 48px !default;
$ddl-list-border-size: 1px !default;
$ddl-default-header-font-color: $default-font-color !default;
$ddl-list-padding-right: 16px !default;
$ddl-list-rtl-padding-left: 16px !default;
$ddl-list-border-color: $border-default !default;
$ddl-list-font-family: inherit !default;
$ddl-list-gradient-color: transparent !default;
$mention-gradient-color: $selection-font !default;
$mention-list-box-shadow-color: 0 0 5px 0 rgba(0, 0, 0, .4) !default;
$mention-chip-bg-color: transparent !default;
$mention-chip-border-radius: 0 !default;
$mention-chip-border: 1px solid $border-default !default;
$ddl-list-bg-color: $bg-base-0 !default;
$ddl-list-header-bg-color: $bg-base-0 !default;
$ddl-list-tap-color: transparent !default;
$ddl-list-header-border-color: 1px $border-default !default;
$ddl-list-default-font-color: $content-font !default;
$ddl-list-active-border-color: $selection-border !default;
$mention-popup-bg-color: $selection-border !default;
$ddl-list-active-font-color: $selection-font !default;
$mention-active-font-color: $selection-bg !default;
$ddl-list-active-bg-color: $selection-bg !default;
$ddl-list-hover-bg-color: $hover-bg !default;
$ddl-list-hover-border-color: $hover-border !default;
$ddl-list-hover-font-color: $hover-font !default;
$ddl-nodata-font-color: $content-font !default;
$ddl-group-list-padding-left: 20px !default;
$ddl-group-list-small-padding-left: $ddl-group-list-padding-left !default;
$ddl-group-list-bigger-padding-left: $ddl-group-list-padding-left !default;
$ddl-group-list-bigger-small-padding-left: $ddl-group-list-padding-left !default;
$ddl-list-header-padding-left: 10px !default;
$ddl-list-header-small-padding-left: $ddl-list-header-padding-left !default;
$ddl-list-header-bigger-small-padding-left: $ddl-list-header-padding-left !default;
$ddl-list-header-bigger-padding-left: $ddl-list-header-padding-left !default;
$ddl-list-font-size: 14px !default;
$ddl-group-list-font-size: 14px !default;
$ddl-list-header-font-color: $header-font !default;
$ddl-list-text-indent: 10px !default;
$ddl-bigger-text-indent: $ddl-list-text-indent !default;
$ddl-list-rtl-padding-right: 0 !default;
$ddl-list-line-height: 36px !default;
$ddl-bigger-list-header-font-size: $ddl-list-font-size !default;
$ddl-list-bottom-border: 2px !default;
$ddl-multi-column-border-width: 0 0 1px 0 !default;
$ddl-multi-column-border-color: $border-default !default;
$ddl-list-header-font-size: $ddl-group-list-font-size !default;
$ddl-small-list-header-font-size: $ddl-group-list-font-size !default;
$ddl-group-list-item-text-intent: 0 !default;
$ddl-list-zero-padding: 0 !default;
$ddl-list-nodata-padding: 14px 16px !default;
$ddl-list-nodata-font-size: 14px !default;

// small size
$ddl-small-icon-font-size: 14px !default;
$ddl-small-line-height: 26px !default;
$ddl-small-list-font-color: $content-font !default;
$ddl-small-list-text-indent: 10px !default;

// Touch Small

$ddl-bigger-small-icon-font-size: 18px !default;
$ddl-bigger-small-line-height: 40px !default;
$ddl-bigger-small-list-font-color: $content-font !default;
$ddl-bigger-small-list-text-indent: 16px !default;
$ddl-bigger-small-list-header-font-size: 14px !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-item-padding: 12px !default;

@include export-module('dropdownbase-highcontrast') {
  .e-dropdownbase {
    & .e-list-item {
      & .e-list-icon {
        padding-inline-end: 10px;
      }
      &:not(.e-active) {
        &.e-hover {
          border: 2px solid $hover-border;
        }
        &:not(.e-hover) {
          &:not(.e-item-focus) {
            border: 2px solid $bg-base-0;
          }
        }
      }
      &.e-active {
        border: 2px solid $selection-border;
      }
      &.e-item-focus {
        border: 2px solid $hover-bg;
      }
    }
  }

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