Sha256: d4c64e5f6c817b210925e659be45abb8e41ad5de2f1a139b87b57d2978a71717

Contents?: true

Size: 650 Bytes

Versions: 15

Compression:

Stored size: 650 Bytes

Contents

@mixin text-field-style {
  width: $form-field-width;
  padding: $form-field-padding-v $form-field-padding-h;
  background: $white-color;
  border: 1px solid $border-color;
  border-radius: $border-radius-s;
  font-size: $form-field-font-size;
  color: $form-field-text-color;
  line-height: $form-field-line-height;
  transition: border-color 300ms;
  outline: none;

  &:hover,
  &:focus {
    border-color: $form-field-active-border-color;
  }

  &[readonly] {
    color: $light-grey-color;
  }

  &[disabled] {
    cursor: not-allowed;
    background: $grey-bg-color;
    border-color: $light-border-color;
    color: $lightest-grey-color;
  }
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tao_form-0.2.3 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.2.2 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.2.1 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.2.0 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.10 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.9 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.8 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.7 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.6 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.5 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.4 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.3 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.2 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.1 lib/assets/stylesheets/tao/form/_mixins.scss
tao_form-0.1.0 lib/assets/stylesheets/tao/form/_mixins.scss