@import '../../input/style/var.less';
@import '../../input-number/style/var.less';
@import '../../select/style/var.less';

.@{pxx-table-prefix-cls}-filter-item {
  .@{ant-prefix}-form-item-control-input-content {
    background-color: #fff;
    border: 1px solid rgba(26, 43, 78, 0.24);
    border-radius: 6px;
  }

  .@{ant-prefix}-cascader-picker {
    background-color: transparent !important;
  }

  .@{input-number-prefix-cls}-wrapper {
    display: flex;
    padding: 0 11px;

    .@{input-number-prefix-cls} {
      flex: 1;
    }
  }

  .@{ant-prefix}-picker-suffix,
  .@{ant-prefix}-picker-clear,
  .@{ant-prefix}-cascader-picker-clear,
  .@{ant-prefix}-cascader-picker-arrow {
    width: 16px;
    height: 16px;
    font-size: 16px;
  }


  .@{input-prefix-cls}-suffix,
  .@{input-number-prefix-cls}-suffix,
  .@{ant-prefix}-picker-suffix,
  .@{ant-prefix}-cascader-picker-arrow {
    color: rgba(26, 43, 78, 0.2);
  }

  .@{ant-prefix}-cascader-picker-clear,
  .@{ant-prefix}-cascader-picker-arrow {
    margin-top: -6px;
  }

  &&-hover {
    .@{ant-prefix}-form-item-control-input-content {
      border-color: rgba(26, 43, 78, 0.4);
    }
  }

  &&-focus {
    .@{ant-prefix}-form-item-control-input-content {
      border-color: #0256ff;
    }
  }

  &&-focus.@{pxx-table-prefix-cls}-filter-item-has-value {

    .@{input-prefix-cls}-suffix,
    .@{input-number-prefix-cls}-suffix,
    .@{pxx-select-prefix-cls}-suffix,
    .@{ant-prefix}-select-arrow,
    .@{ant-prefix}-picker-suffix,
    .@{ant-prefix}-cascader-picker-arrow {
      color: rgba(26, 43, 78, 0.6);
    }

  }
}
