abe33/awesome_form

View on GitHub
app/assets/stylesheets/awesome_ui/mixins/inputs.css.sass

Summary

Maintainability
Test Coverage

=placeholder()
  &::-webkit-input-placeholder
    @content

  &:-moz-placeholder
    @content

  &::-moz-placeholder
    @content

  &:-ms-input-placeholder
    @content

  &::placeholder
    @content

=range-thumb()
  &::-webkit-slider-thumb
    -webkit-appearance: none
    @content

  &::-moz-range-thumb
    @content

  & .thumb
    @content

=range-track()
  & .track
    @content

  +for-webkit
    &
      -webkit-appearance: none
      @content

  &::-moz-range-track
    @content