@import "../../../style/themes/default";
@import "../../../style/mixins/index";

@table-filter-filters-prefix-cls: ~"@{mkui-prefix}-table-filter-body";

.@{table-filter-filters-prefix-cls} {
  position: relative;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
  table {
    width: 100%;
    tr {
      td {
        height: 40px;
        &.@{table-filter-filters-prefix-cls}-label {
          color: @text-color-secondary;
          text-align: right;
          word-break: break-all;
          border-bottom: 1px dashed @border-color-split;

        }
        &.@{table-filter-filters-prefix-cls}-options {
          padding: 6px 25px;
          border-bottom: 1px dashed @border-color-split;
        }
      }
      &:last-child {
        .@{table-filter-filters-prefix-cls}-label {
          border-bottom: 0;
        }
        .@{table-filter-filters-prefix-cls}-options {
          border-bottom: 0;
        }
      }
    }
  }
  &-normal {
    padding: 0 25px;
  }
  .@{mkui-prefix}-input-search {
    width: 400px;
  }
  .@{mkui-prefix}-input {
    height: 28px !important;
  }
  .@{mkui-prefix}-select-auto-complete {
    width: 400px;
  }
  .@{mkui-prefix}-multiple-search {
    .@{mkui-prefix}-multiple-search-dropdown {
      background-color: hsv(0, 0, 90%) !important;
    }
    .@{mkui-prefix}-select-selection__rendered {
      background-color: hsv(0, 0, 90%) !important;
    }
  }
  .@{mkui-prefix}-select {
    .@{mkui-prefix}-select-selection {
      height: 28px !important;
      .@{mkui-prefix}-select-selection__rendered {
        color: @text-color-secondary;
        line-height: 28px !important;
        background-color: @search-background-color;
        border-radius: @border-radius-base;
        .@{mkui-prefix}-input {
          border-color: @search-background-color;
        }
      }
    }
  }
  .@{mkui-prefix}-calendar-range-picker-button {
    padding: 2px 0;
  }

}
