Sha256: 5e87062219d0d8526541eb8667c92be8a6a10977e3da4f214c856ef55f6ca6cb

Contents?: true

Size: 851 Bytes

Versions: 4

Compression:

Stored size: 851 Bytes

Contents

#{$all-text-inputs}
  background-color: $white
  border: 1px solid $input-border-color
  border-radius: 3px
  box-sizing: border-box
  line-height: 1
  outline: none
  padding: 6px 8px
  width: 100%

#{$all-text-inputs-focus}
  border-color: $input-border-color-focus

.input

  &__label
    color: $label-color
    display: block
    font-size: 13px
    font-weight: bold

  &__hint
    color: $hint-color
    font-size: 13px
    margin-top: 1px

  &__with-error
    border-left: 2px solid $input-errors-color

  &__errors
    +padding(5px 7px)
    +position(absolute, calc(100% + 8px) null null 0)
    background-color: $input-errors-color
    border-radius: 3px
    color: $white
    font-size: 13px
    z-index: 1

    &::before
      +position(absolute, null null 100% 8px)
      +triangle('up', 12px, 6px, $input-errors-color)
      content: ''

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
beyond_canvas-0.4.0.pre app/assets/stylesheets/components/_inputs.sass
beyond_canvas-0.3.0.pre app/assets/stylesheets/components/_inputs.sass
beyond_canvas-0.2.1.pre app/assets/stylesheets/components/_inputs.sass
beyond_canvas-0.2.0.pre app/assets/stylesheets/components/_inputs.sass