Sha256: 80968877f4fe7d49be950f73cc1108efcb823a2d39cb75fa4694eb406dd34b30

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

fieldset {
  background: lighten($base-border-color, 10);
  border: $base-border;
  margin: 0 0 ($base-spacing / 2) 0;
  padding: $base-spacing;
}

input,
label,
select {
  display: block;
  font-family: $form-font-family;
  font-size: $form-font-size;
}

label {
  font-weight: bold;
  margin-bottom: $base-spacing / 4;

  &.required:after {
    content: "*";
  }

  abbr {
    display: none;
  }
}

textarea,
#{$all-text-inputs},
select[multiple=multiple] {
  @include box-sizing(border-box);
  @include transition(border-color);
  background-color: white;
  border-radius: $form-border-radius;
  border: 1px solid $form-border-color;
  box-shadow: $form-box-shadow;
  font-family: $form-font-family;
  font-size: $form-font-size;
  margin-bottom: $base-spacing / 2;
  padding: ($base-spacing / 3) ($base-spacing / 3);
  width: 100%;

  &:hover {
    border-color: $form-border-color-hover;
  }

  &:focus {
    border-color: $form-border-color-focus;
    box-shadow: $form-box-shadow-focus;
    outline: none;
  }
}

textarea {
  resize: vertical;
}

input[type="search"] {
  @include appearance(none);
}

input[type="checkbox"],
input[type="radio"] {
  display: inline;
  margin-right: $base-spacing / 4;
}

input[type="file"] {
  padding-bottom: $base-spacing / 2;
  width: 100%;
}

select {
  margin-bottom: $base-spacing;
  max-width: 100%;
  width: auto;
}

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
nesta-contentfocus-extensions-0.0.3 assets/stylesheets/bitters/_forms.scss
nesta-contentfocus-extensions-0.0.2 assets/stylesheets/bitters/_forms.scss
frozen-0.0.1 dummy/assets/stylesheets/base/_forms.scss
app_kit-0.0.2 app/assets/stylesheets/app_kit/base/_forms.scss
app_kit-0.0.1 app/assets/stylesheets/app_kit/base/_forms.scss
bitters-0.10.1 app/assets/stylesheets/_forms.scss