@mixin sameattribute {
  height: getCssVar('form-item', 'line-height');
  font-family: getCssVar('form-item', 'font-family');
  font-size: getCssVar('form-item', 'font-size');
  line-height: getCssVar('form-item', 'line-height');
  border-color: getCssVar('form-item', 'border-color');
}

@include b('dropdown-list') {
  .ivu-select-selection .ivu-select-selected-value {
    color: getCssVar('form-item', 'color');
    @include sameattribute;
  }

  .ivu-select-selection .ivu-select-placeholder {
    color: getCssVar('form-item', 'placeholder-color');
    @include sameattribute;
  }

  .ivu-select-selection {
    .ivu-tag:hover {
      opacity: 1;
    }

    .ivu-tag.ivu-tag-checked {
      .ivu-tag-text {
        font-family: getCssVar('form-item', 'font-family');
        font-size: getCssVar('form-item', 'font-size');
        color: getCssVar('form-item', 'color');

        &:hover {
          color: getCssVar('form-item', 'hover-color');
        }
      }
    }
  }
}
