<commit_before>// Forms
// ==========================================================================

// Form group is used to wrap label and input pairs
.form-group,
.form-group-reveal {
  clear: both;
  @include contain-floats;
  margin-bottom: $gutter-half;
  @include media(tablet) {
    margin-bottom: $gutter;
  }
}

.form-group.radio_buttons > label.radio {
  clear: none;
  margin-right: $gutter-half;
}

.form-group-related {
  margin-bottom: 10px;
  @include media(tablet) {
    margin-bottom: 20px;
  }
}

// Form title
.form-title {
  margin-bottom: $gutter;
  @include media(tablet) {
    margin-bottom: ($gutter*1.5);
  }
}


// Labels

// Form labels, or for legends styled to look like labels
.form-label {
  @include core-19;
  display: block;
  margin-bottom: 5px;
}

.form-label-bold {
  & > label {
    @include bold-24();
    display: block;
    margin-bottom: 0;
  }
}

// Used for paragraphs in-between form elements
.form-block {
  float: left;
  width: 100%;
  @include contain-floats;
}

// Hints

// Form hints & examples are light grey and sit above a form control
.form-hint {
  @include core-16;
  display: block;
  color: $secondary-text-colour;
  margin-bottom: 5px;
}


// Form controls

// By default, form controls are 50% width for desktop,
// and 100% width for mobile
.form-control {
  @include core-19;
  @include box-sizing(border-box);
  padding: 4px;
  background-color: $white;
  border: 1px solid $border-colour;
  border-radius: 0;
}

.form-control:not([type=radio][type=checkbox]) {
  // Disable webkit appearance and remove rounded corners
  -webkit-appearance: none;
}


// Radio buttons
.form-radio {
  display: block;
  margin: 10px 0;
}
.form-radio input {
  vertical-align: middle;
  margin: -4px 5px 0 0;
}


// Checkboxes
.form-checkbox {
  display: block;
  margin: $gutter-half 0;
}
.form-checkbox input {
  vertical-align: middle;
  margin: -2px 5px 0 0;
}

// Buttons
.form .button {
  @include media(mobile) {<commit_msg>fix CSS for form elements in Safari<commit_after>// Forms
// ==========================================================================

// Form group is used to wrap label and input pairs
.form-group,
.form-group-reveal {
  clear: both;
  @include contain-floats;
  margin-bottom: $gutter-half;
  @include media(tablet) {
    margin-bottom: $gutter;
  }
}

.form-group.radio_buttons > label.radio {
  clear: none;
  margin-right: $gutter-half;
}

.form-group-related {
  margin-bottom: 10px;
  @include media(tablet) {
    margin-bottom: 20px;
  }
}

// Form title
.form-title {
  margin-bottom: $gutter;
  @include media(tablet) {
    margin-bottom: ($gutter*1.5);
  }
}


// Labels

// Form labels, or for legends styled to look like labels
.form-label {
  @include core-19;
  display: block;
  margin-bottom: 5px;
}

.form-label-bold {
  & > label {
    @include bold-24();
    display: block;
    margin-bottom: 0;
  }
}

// Used for paragraphs in-between form elements
.form-block {
  float: left;
  width: 100%;
  @include contain-floats;
}

// Hints

// Form hints & examples are light grey and sit above a form control
.form-hint {
  @include core-16;
  display: block;
  color: $secondary-text-colour;
  margin-bottom: 5px;
}


// Form controls

// By default, form controls are 50% width for desktop,
// and 100% width for mobile
.form-control {
  @include core-19;
  @include box-sizing(border-box);
  padding: 4px;
  background-color: $white;
  border: 1px solid $border-colour;
  border-radius: 0;
}

.form-control:not([type=radio]):not([type=checkbox]):not(select) {
  // Disable webkit appearance and remove rounded corners
  -webkit-appearance: none;
}


// Radio buttons
.form-radio {
  display: block;
  margin: 10px 0;
}
.form-radio input {
  vertical-align: middle;
  margin: -4px 5px 0 0;
}


// Checkboxes
.form-checkbox {
  display: block;
  margin: $gutter-half 0;
}
.form-checkbox input {
  vertical-align: middle;
  margin: -2px 5px 0 0;
}

// Buttons
.form .button {
  @include media(mobile) {
{'fraction_non_alphanumeric': 0.1724137931034483, 'fraction_numerical': 0.01999000499750125, 'mean_word_length': 3.1916230366492147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5206085', 'n_tokens_mistral': 1492, 'n_tokens_neox': 1384, 'n_words': 378}