<commit_before>@import '../variables';

.label-checkbox {
  display: inline-block;
  padding: 0.7em 0;
  font-size: 1.3rem;
  cursor: pointer;

  span {
    padding-left: 0.8em;
  }
}

.checkbox {
  position: relative;
  top: -2px;
  margin: 0 0.7em 0 0;
  cursor: pointer;

  &::before {
    transition: transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
    transform: rotate(-45deg) scale(0, 0);
    content: '';
    position: absolute;
    left: 5px;
    top: 4px;
    z-index: 1;
    width: 11px;
    height: 6px;
    border: 2px solid $blue;
    border-top-style: none;
    border-right-style: none;
  }

  &::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 1.1em;
    height: 1.1em;
    background: #fff;
    border: 2px solid $off-white;
    border-radius: 2px;
    cursor: pointer;
  }

  &:checked {
    &::before {
      transform: rotate(-45deg) scale(1, 1);
      border-color: $white;
    }

    &::after {
      border-color: $blue;
      background: $blue;
    }
  }

  &:disabled {
    &::after {
      cursor: default;
    }

    &:checked {
      &::after {
        border-color: $mid-grey;
        background: $mid-grey;
      }
    }

    & + span {
      color: $mid-grey;
      cursor: default;
    }
  }

  &:enabled {
    &:focus,
    &:hover {
      outline: none;

      &::after {
        border-color: darken($off-white, 8%);
        background: darken(#fff, 8%);
      }

      &:checked {
        &::after {
          border-color: darken($blue, 8%);
          background: darken($blue, 8%);
        }
      }
    }
  }
}<commit_msg>fixes checkbox border colour<commit_after>@import '../variables';

.label-checkbox {
  display: inline-block;
  padding: 0.7em 0;
  font-size: 1.3rem;
  cursor: pointer;

  span {
    padding-left: 0.8em;
  }
}

.checkbox {
  position: relative;
  top: -2px;
  margin: 0 0.7em 0 0;
  cursor: pointer;

  &::before {
    transition: transform 0.4s cubic-bezier(0.45, 1.8, 0.5, 0.75);
    transform: rotate(-45deg) scale(0, 0);
    content: '';
    position: absolute;
    left: 5px;
    top: 4px;
    z-index: 1;
    width: 11px;
    height: 6px;
    border: 2px solid $blue;
    border-top-style: none;
    border-right-style: none;
  }

  &::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 1.1em;
    height: 1.1em;
    background: #fff;
    border: 2px solid $light-grey;
    border-radius: 2px;
    cursor: pointer;
  }

  &:checked {
    &::before {
      transform: rotate(-45deg) scale(1, 1);
      border-color: $white;
    }

    &::after {
      border-color: $blue;
      background: $blue;
    }
  }

  &:disabled {
    &::after {
      cursor: default;
    }

    &:checked {
      &::after {
        border-color: $mid-grey;
        background: $mid-grey;
      }
    }

    & + span {
      color: $mid-grey;
      cursor: default;
    }
  }

  &:enabled {
    &:focus,
    &:hover {
      outline: none;

      &::after {
        border-color: darken($light-grey, 8%);
        background: darken($white, 8%);
      }

      &:checked {
        &::after {
          border-color: darken($blue, 8%);
          background: darken($blue, 8%);
        }
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.16299969011465756, 'fraction_numerical': 0.03222807561202355, 'mean_word_length': 1.8770053475935828, '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': '4807763', 'n_tokens_mistral': 1299, 'n_tokens_neox': 1187, 'n_words': 263}