// Compatibility for browsers.

// Placeholder text
.yee-placeholder(@yee-color: @yee-input-placeholder-color) {
  // Firefox
  &::-moz-placeholder {
    color: @yee-color;
    font-style: 12px;
    opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
  }
  // Internet Explorer 10+
  &:-ms-input-placeholder {
    color: @yee-color;
    font-size: 12px;
  }
  // Safari and Chrome
  &::-webkit-input-placeholder {
    color: @yee-color;
    font-size: 12px;
  }

  &::placeholder {
    color: @yee-color;
    font-size: 12px;
  }

  &:placeholder-shown {
    text-overflow: ellipsis;
  }
}
