/*
* @Author: zhongjiahao
* @Date:   2016-09-06 16:07:29
* @Last Modified by:   zhongjiahao
* @Last Modified time: 2016-12-06 15:32:45
*/

.u-input {
  border: transparent;
  border-bottom: 1px solid $m4;
  width: 100%;
  height: 25px;
  @include rem(padding, 0, 5, 0, 5);
  outline: transparent;
  @include font-h5();
  color: $m1;
  &::placeholder {
    color: $m3;
    opacity: 1;
  }
  &:disabled {
    background-color: $m4;
    cursor: not-allowed;
  }
}

[type="text"]::-ms-clear {
  display: none;
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: $m3;
  @include font-h5();
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: $m3;
  @include font-h5();
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: $m3;
  @include font-h5();
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: $m3;
  @include font-h5();
}
