<commit_before>.field {
  background: none;
}

.field__item {
  margin: 0 0.5rem 0.25rem 0;
  position: relative;
  width: 100%;
  display: inline-block;
  @include mq(s) {
    width: auto;
    min-width: 20rem;
  }
}

.field:not(.field--cols) {
  .field__item:last-of-type {
    margin-bottom: 0;
  }
}

.field__other {
  display: none;
  clear: both;
  background-color: $color-lighter-grey;
  padding: 0 0.5rem 0.5rem;
  .has-focus & {
    background-color: transparent;
  }
  @include fixed {
    display: block;
    background-color: white;
  }
}

input:checked ~ .field__other {
  display: block;
}

.field--multiplechoice {
  .field__item {
    background: white;
    border: 1px solid #999;
    border-radius: 0.2rem;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    &:hover {
      border-color: $color-dark-grey;
      box-shadow: none;
    }
    &.has-focus {
      color: $color-text;
      border-color: $color-focus;
      background-color: #f5f6ff;
      box-shadow: 0 0 0 1px $color-focus;
    }
    &.is-checked {
      color: $color-text;
      border-color: $color-links-hover;
      box-shadow: 0 0 0 1px $color-links-hover;
      &:hover {
        border-color: $color-text;
        background-color: #eee;
        box-shadow: 0 0 0 1px $color-text;
      }
    }
  }

  &.field--cols {
    @include mq(s) {
      display: flex;
      flex-wrap: wrap;
      .field__item {
        width: calc(50% - 1rem);
        min-width: 0;
      }
      .label {
        width: 100%;
      }
      &:last-of-type {
        margin-bottom: 0;
      }
    }
  }
}

.fieldgroup--date {
  .fieldgroup__title {
    font-weight: 700;
    display: inline-block;
    width: 100%;
    margin: 0 0 0.5rem;
  }

  .fieldgroup__fields {
    display: flex;
    width: 100%;
    flex-direction: row;
  }

  .field {
    margin: 0 0.5rem 0 0;
    flex: 1 1 0;
    clear: right;

    @include mq(s) {
      margin-right: 1rem;
    }

    @include fixed {
      display: block;
      float: left;
      width: 100%;
      margin-right: 1rem;
    }

    @include ie7() {
      input {
        width: 80%;
      }
    }
  }

  .field--day {
    max-width: 6rem;
    @include fixed {
      width: 6rem;
    }
  }

  .field--month {
    flex: 2;
    max-width: 10rem;
    @include fixed {
      width: 10rem;
    }
  }

  .field--year {
    margin-right: 0;
    max-width: 6rem;
    @include fixed {
      width: 6rem;
    }
  }

  .input {
    width: 100%;
  }
}

.field--selectionbtn {

  .has-js & {
    .input {
      width: 0;
      opacity: 0;
    }

    .label {
      padding-left: 1rem;
      font-size: 0.8rem;
      @include mq(m) {
        font-size: 1rem;
      }
    }
  }

  .field__item {
    font-size: initial;
    width: calc(50% - 0.15rem);
    min-width: 0;
    margin: 0 0.3rem 0.3rem 0;
    vertical-align: top;
    transition: opacity 100ms ease-out;
    color: $color-links;

    &:nth-child(2n) {
      margin-right: 0;
    }

    &:hover {
      border-color: $color-links-hover;
      color: $color-links-hover;
      label {
        background: transparent !important;
      }
    }

    @for $i from 20 through 1 {
      &:nth-of-type(#{$i}) {
        transition-delay: $i * 25ms;
      }
    }

    .is-closed & {
      opacity: 0;
      @for $i from 1 through 20 {
        &:nth-of-type(#{$i}) {
          transition-delay: $i * 25ms;
        }
      }
    }
    .is-open & {
      opacity: 1;
      @for $i from 1 through 20 {
        &:nth-of-type(#{$i}) {
          transition-delay: $i * 25ms;
        }
      }
    }
  }
}
<commit_msg>whitespace fix<commit_after>.field {
  background: none;
}

.field__item {
  margin: 0 0.5rem 0.5rem 0;
  position: relative;
  width: 100%;
  display: inline-block;
  @include mq(s) {
    width: auto;
    min-width: 20rem;
  }
}

.field:not(.field--cols) {
  .field__item:last-of-type {
    margin-bottom: 0;
  }
}

.field__other {
  display: none;
  clear: both;
  background-color: $color-lighter-grey;
  padding: 0 0.5rem 0.5rem;
  .has-focus & {
    background-color: transparent;
  }
  @include fixed {
    display: block;
    background-color: white;
  }
}

input:checked ~ .field__other {
  display: block;
}

.field--multiplechoice {
  font-size: 0;
  .field__item {
    font-size: 1rem;
    background: white;
    border: 1px solid #999;
    border-radius: 0.2rem;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    &:hover {
      border-color: $color-dark-grey;
      box-shadow: none;
    }
    &.has-focus {
      color: $color-text;
      border-color: $color-focus;
      background-color: #f5f6ff;
      box-shadow: 0 0 0 1px $color-focus;
    }
    &.is-checked {
      color: $color-text;
      border-color: $color-links-hover;
      box-shadow: 0 0 0 1px $color-links-hover;
      &:hover {
        border-color: $color-text;
        background-color: #eee;
        box-shadow: 0 0 0 1px $color-text;
      }
    }
  }

  &.field--cols {
    @include mq(s) {
      display: flex;
      flex-wrap: wrap;
      .field__item {
        width: calc(50% - 1rem);
        min-width: 0;
      }
      .label {
        width: 100%;
      }
      &:last-of-type {
        margin-bottom: 0;
      }
    }
  }
}

.fieldgroup--date {
  .fieldgroup__title {
    font-weight: 700;
    display: inline-block;
    width: 100%;
    margin: 0 0 0.5rem;
  }

  .fieldgroup__fields {
    display: flex;
    width: 100%;
    flex-direction: row;
  }

  .field {
    margin: 0 0.5rem 0 0;
    flex: 1 1 0;
    clear: right;

    @include mq(s) {
      margin-right: 1rem;
    }

    @include fixed {
      display: block;
      float: left;
      width: 100%;
      margin-right: 1rem;
    }

    @include ie7() {
      input {
        width: 80%;
      }
    }
  }

  .field--day {
    max-width: 6rem;
    @include fixed {
      width: 6rem;
    }
  }

  .field--month {
    flex: 2;
    max-width: 10rem;
    @include fixed {
      width: 10rem;
    }
  }

  .field--year {
    margin-right: 0;
    max-width: 6rem;
    @include fixed {
      width: 6rem;
    }
  }

  .input {
    width: 100%;
  }
}

.field--selectionbtn {

  .has-js & {
    .input {
      width: 0;
      opacity: 0;
    }

    .label {
      padding-left: 1rem;
      font-size: 0.8rem;
      @include mq(m) {
        font-size: 1rem;
      }
    }
  }

  .field__item {
    font-size: initial;
    width: calc(50% - 0.15rem);
    min-width: 0;
    margin: 0 0.3rem 0.3rem 0;
    vertical-align: top;
    transition: opacity 100ms ease-out;
    color: $color-links;

    &:nth-child(2n) {
      margin-right: 0;
    }

    &:hover {
      border-color: $color-links-hover;
      color: $color-links-hover;
      label {
        background: transparent !important;
      }
    }

    @for $i from 20 through 1 {
      &:nth-of-type(#{$i}) {
        transition-delay: $i * 25ms;
      }
    }

    .is-closed & {
      opacity: 0;
      @for $i from 1 through 20 {
        &:nth-of-type(#{$i}) {
          transition-delay: $i * 25ms;
        }
      }
    }
    .is-open & {
      opacity: 1;
      @for $i from 1 through 20 {
        &:nth-of-type(#{$i}) {
          transition-delay: $i * 25ms;
        }
      }
    }
  }
}

{'fraction_non_alphanumeric': 0.14696485623003194, 'fraction_numerical': 0.03569940269481872, 'mean_word_length': 1.6627218934911243, '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': '972051', 'n_tokens_mistral': 2968, 'n_tokens_neox': 2700, 'n_words': 579}