/*
 * @Author: 焦质晔
 * @Date: 2021-02-26 16:41:10
 * @Last Modified by: 焦质晔
 * @Last Modified time: 2024-11-05 18:58:14
 */
@use '../../style/src/themes' as *;
@use '../../style/src/mixins/reset' as *;

$prefix: '#{$qm-prefix}-fields-filter';

.#{$prefix}__popper {
  padding: 0 !important;
  .reset {
    padding-bottom: 4px;
    margin-bottom: 4px;
    text-align: right;
    border-bottom: 1px solid $border-color-secondary;
    .el-button {
      padding: 2px;
      height: inherit;
    }
  }
  .fields-filter--wrap {
    padding: $padding-base 12px;
    max-width: 150px;
    overflow-y: auto;
    box-sizing: border-box;
    .filter-item {
      display: flex;
      align-items: center;
      line-height: 1.75;
      @include text-overflow-cut;
      .el-checkbox {
        height: auto;
      }
      .handle {
        padding: 2px 4px;
        color: $text-color-placeholder;
        cursor: s-resize;
        transform: scale(0.9);
      }
    }
  }

  &--large {
    font-size: $font-size-base;
  }
  &--small {
    font-size: $font-size-sm !important;
  }
}
