<commit_before>$select-colour: #D5E8F4;
$focus-colour: $yellow;
$border-colour: #C2C2C2;

// form mixins
@mixin label-focusSelect {
  &.is-selected {
    background-color: $select-colour;
  }
  &.is-focused {
    outline: 3px solid $focus-colour;
    position: relative;
    z-index: 1;

    input:focus {
      outline: none;
      background: none;
    }
  }
}

.FormBlock {
  margin: 0;

  &--grey {
    padding: 25px 50px;
    margin: 0 0 30px;
    border-width: 1px 0;
    border-color: $border-colour;
    border-style: solid;
    background-color: $grey-4;
  }
}
.FormBlock-label {
  @include heading-24;
  margin-bottom: 10px;
}

.FormRow {
  margin: 20px 0;
  padding: 0;
  position: relative;
  clear: both;

  label {
    @include core-19;
  }

  .FormRow-label {
    @include core-19;
    margin: 0 0 5px;
    padding: 0 145px 0 0;
    display: block;

    &--odd {
      background-color: #f1f1f1;
    }
  }

  .FormRow-inner {
    border-left: 3px solid #ccc;
    padding: 10px 60px;
    margin: 10px 0 25px;
  }

  .FormRow-prefix,
  .FormRow-suffix {
    display: inline-block;
    float: left;
    height: 30px;
    width: 30px;
    line-height: 30px;
    border: 1px solid $border-colour;
    text-align: center;
  }
  .FormRow-prefix {
    border-right: 0;
  }
  .FormRow-suffix {
    border-left: 0;
  }
  .FormRow-help {
    display: inline-block;
    margin-left: 15px;
    padding-top: 3px;
  }

  input[type=text],
  input[type=password],
  input[type=number] {
    @include core-19;
    border: 1px solid $border-colour;
    padding: 2px 4px;
    margin: 0;
    display: inline-block;
    float: left;
  }
  // shorten if help
  .Grid-col--1-3 input[type=number] {
    width: 48%;
  }
  // remove spinner
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  details {
    summary {
      position: absolute;
      right: 0;
      top: 0;
      z-index: 2;
    }
  }

  .FormRow-option {
    display: block;
    float: left;
    clear: both;
    padding: 10px 25px 10px 20px;
    margin: 1px 10px 0;
    @include label-focusSelect;

    input {
      margin-right: 20px;
    }
  }
  .QuestionPrompt-answer {
    margin: 0;
  }
  
  // modifiers
  &--group {
    margin: 0 0 1px;
    padding: 0;

    .FormRow-label {
      padding: 25px;
      margin: 0;
      display: block;
      position: relative;
      @include label-focusSelect;

      input {
        margin-right: 20px;
      }
    }

    details {
      summary {
        top: 25px;
        right: 25px;
      }
      div {
        padding-left: 60px;
        padding-right: 60px;
      }
    }

    &:first-child {
      margin-top: 25px;
    }
    &:last-child {
      margin-bottom: 25px;
    }
  }

  &.QuestionPrompt--active {
    .FormRow-label {
      font-weight: 700;
    }
  }
}

.FormActions {
  margin: 50px 0 0;
  @include core-19;

  .Button {
    margin-right: 20px;
  }
}<commit_msg>Use box-sizing on form elements and increase font-size<commit_after>$select-colour: #D5E8F4;
$focus-colour: $yellow;
$border-colour: #C2C2C2;

// form mixins
@mixin label-focusSelect {
  &.is-selected {
    background-color: $select-colour;
  }
  &.is-focused {
    outline: 3px solid $focus-colour;
    position: relative;
    z-index: 1;

    input:focus {
      outline: none;
      background: none;
    }
  }
}

.FormBlock {
  margin: 0;

  &--grey {
    padding: 25px 50px;
    margin: 0 0 30px;
    border-width: 1px 0;
    border-color: $border-colour;
    border-style: solid;
    background-color: $grey-4;
  }
}
.FormBlock-label {
  @include heading-24;
  margin-bottom: 10px;
}

.FormRow {
  margin: 20px 0;
  padding: 0;
  position: relative;
  clear: both;

  label {
    @include core-19;
  }

  .FormRow-label {
    @include core-19;
    margin: 0 0 5px;
    padding: 0 145px 0 0;
    display: block;

    &--odd {
      background-color: #f1f1f1;
    }
  }

  .FormRow-inner {
    border-left: 3px solid #ccc;
    padding: 10px 60px;
    margin: 10px 0 25px;
  }

  .FormRow-prefix,
  .FormRow-suffix {
    display: inline-block;
    float: left;
    height: 30px;
    width: 30px;
    line-height: 30px;
    border: 1px solid $border-colour;
    text-align: center;
  }
  .FormRow-prefix {
    border-right: 0;
  }
  .FormRow-suffix {
    border-left: 0;
  }
  .FormRow-help {
    display: inline-block;
    margin-left: 15px;
    padding-top: 3px;
  }

  input[type=text],
  input[type=password],
  input[type=number] {
    @include core-24;
    font-size: 23px;
    border: 1px solid $border-colour;
    padding: 2px 4px;
    margin: 0;
    height: 32px;
    display: inline-block;
    float: left;
    @include box-sizing(border-box);
  }
  // shorten if help
  .Grid-col--1-3 input[type=number] {
    width: 48%;
  }
  // remove spinner
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  details {
    summary {
      position: absolute;
      right: 0;
      top: 0;
      z-index: 2;
    }
  }

  .FormRow-option {
    display: block;
    float: left;
    clear: both;
    padding: 10px 25px 10px 20px;
    margin: 1px 10px 0;
    @include label-focusSelect;

    input {
      margin-right: 20px;
    }
  }
  .QuestionPrompt-answer {
    margin: 0;
  }
  
  // modifiers
  &--group {
    margin: 0 0 1px;
    padding: 0;

    .FormRow-label {
      padding: 25px;
      margin: 0;
      display: block;
      position: relative;
      @include label-focusSelect;

      input {
        margin-right: 20px;
      }
    }

    details {
      summary {
        top: 25px;
        right: 25px;
      }
      div {
        padding-left: 60px;
        padding-right: 60px;
      }
    }

    &:first-child {
      margin-top: 25px;
    }
    &:last-child {
      margin-bottom: 25px;
    }
  }

  &.QuestionPrompt--active {
    .FormRow-label {
      font-weight: 700;
    }
  }
}

.FormActions {
  margin: 50px 0 0;
  @include core-19;

  .Button {
    margin-right: 20px;
  }
}
{'fraction_non_alphanumeric': 0.13435290248314422, 'fraction_numerical': 0.04242723236309817, 'mean_word_length': 1.9886977886977888, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4668437', 'n_tokens_mistral': 2580, 'n_tokens_neox': 2284, 'n_words': 503}