/**
 * Copyright 2016-present, Baifendian, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */

@import '../variables.less';

.bfd-input {
  border: 1px solid #ececec;
  border-top-color: #dadada;
  border-radius: 2px;
  padding: 0 8px;
  height: 30px;
  background-color: #fff;
  vertical-align: middle;
  -webkit-appearance: none;
  color: inherit;
  // transition: border-color .1s ease;
  &:focus {
    border-color: @primary-color;
    // box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3);
    outline: none;
  }
  &[disabled] {
    background-color: #eceff1;
    color: #9e9e9e;
    cursor: not-allowed;
  }
}

.bfd-input--sm {
  height: 22px;
  padding-left: 6px;
  padding-right: 6px;
}

.bfd-input--lg {
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
}

// remove IE clearfield
.bfd-input::-ms-clear {
  display: none;
}
