Sha256: 07534ef7819e680d121534be6d90112e65ff79f4389834235c7d2f3b4f0da555

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

$input-border: none !default;
$input-border-radius: 0 !default;
$input-bg: $light-gray !default;
$input-padding: 8px !default;
$input-margin-bottom: 16px !default;
$input-height: 38px !default;
$text-area-min-height: 200px !default;
$label-margin-bottom: 8px !default;
$form-font: $copy-font !default;
$label-font: $form-font !default;
$input-font-size: $copy-font-size !default;
$label-font-size: $copy-font-size !default;
$file-font-size: 14px !default;

form {
  input,
  textarea,
  select {
    width: 100%;
    border: $input-border;
    border-radius: $input-border-radius;
    background-color: $input-bg;
    padding: $input-padding;
    margin-bottom: $input-margin-bottom;
    font-family: $form-font;
    font-size: $input-font-size;
    height: $input-height;
  }

  textarea { min-height: $text-area-min-height; }

  input[type='file'] {
    border: none;
    background-color: transparent;
    padding: 0;
    height: auto;
    font-size: $file-font-size;
  }

  input[type='submit'] { height: auto; }

  label {
    display: inline-block;
    margin-bottom: $label-margin-bottom;
    font-family: $label-font;
    font-size: $label-font-size;
    font-weight: bold;
    text-transform: capitalize;
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
timequake-1.0.6 app/assets/stylesheets/timequake/forms.scss
timequake-1.0.5 app/assets/stylesheets/timequake/forms.scss
timequake-1.0.4 app/assets/stylesheets/timequake/forms.scss
timequake-1.0.3 app/assets/stylesheets/timequake/forms.scss
timequake-1.0.2 app/assets/stylesheets/timequake/forms.scss
timequake-1.0.0beta app/assets/stylesheets/timequake/forms.scss