<commit_before>
input:not([type="radio"]), select {
  font-size: $input-font-size;
  font-family: $font-family;
  padding: $input-padding-vertical $input-padding-horizontal;

  line-height: $line-height-base;
  border: $input-border-width solid $input-border-color;
  border-radius: $input-border-radius;

  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  box-shadow: inset 0 pxToRem(1px) pxToRem(1px) rgba(0,0,0,.075);
  
  &:disabled {
    cursor: not-allowed;
  }
}

select {
  background-color: $button-default-bg-color;
  color: $text-color;
  &:hover {
    background-color: $button-default-bg-hover-color;
  }
}

input:not([type="radio"]) {
  color: $input-color;
  background-color: $input-background-color;

  &:focus {
    color: $text-highlight-color;
    background-color: #2d2f31;  // FIXME hardcoded.
    box-shadow: none;
    outline: 0;
  }

  &.has-success {
    border-color: $brand-success;
  }
  
  &.has-warning {
    border-color: $brand-warning;
  }

  &.has-error {
    border-color: $brand-danger;
  }
}

input[type="checkbox"] {
  -webkit-appearance: none;
  display: inline-block;
  position: relative;
  font-size: $input-font-size;
  margin: 0 0.25rem 0 0;
  vertical-align: -0.3rem;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  outline: 0;
  border-radius: $border-radius;
  background-color: $text-color-subtle;
  transition: background-color .16s cubic-bezier(0.5, 0.15, 0.2, 1);

  &:focus {
    box-shadow: 0 0 0 1px $base-border-color;
  }

  &:active {
    background-color: $brand-info;
  }

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 1.1rem;
    left: .6rem;
    height: .16rem;
    min-height: pxToRem(2px);
    border-radius: pxToRem(1px);
    background-color: $background-color;
    transform-origin: 0% 0%;
    opacity: 0;
    transition: transform .1s cubic-bezier(0.5, 0.15, 0.2, 1), opacity .1s cubic-bezier(0.5, 0.15, 0.2, 1);
  }
  &::before {
    width: .45rem;
    transform: rotate(225deg) scale(0);
  }
  &::after {
    width: .9rem;
    margin: -1px;
    transform: rotate(-45deg) scale(0);
    transition-delay: .05s;
  }

  &:checked {
    background-color: $brand-info;
    &:active {
      background-color: $text-color-subtle;
    }
    &::before,
    &::after {
      opacity: 1;
    }
    &::before {
      transform: rotate(225deg) scale(1);
      transition-delay: .05s;<commit_msg>Tweak the position of the checkmark in the checkboxes.<commit_after>
input:not([type="radio"]), select {
  font-size: $input-font-size;
  font-family: $font-family;
  padding: $input-padding-vertical $input-padding-horizontal;

  line-height: $line-height-base;
  border: $input-border-width solid $input-border-color;
  border-radius: $input-border-radius;

  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  box-shadow: inset 0 pxToRem(1px) pxToRem(1px) rgba(0,0,0,.075);
  
  &:disabled {
    cursor: not-allowed;
  }
}

select {
  background-color: $button-default-bg-color;
  color: $text-color;
  &:hover {
    background-color: $button-default-bg-hover-color;
  }
}

input:not([type="radio"]) {
  color: $input-color;
  background-color: $input-background-color;

  &:focus {
    color: $text-highlight-color;
    background-color: #2d2f31;  // FIXME hardcoded.
    box-shadow: none;
    outline: 0;
  }

  &.has-success {
    border-color: $brand-success;
  }
  
  &.has-warning {
    border-color: $brand-warning;
  }

  &.has-error {
    border-color: $brand-danger;
  }
}

input[type="checkbox"] {
  -webkit-appearance: none;
  display: inline-block;
  position: relative;
  font-size: $input-font-size;
  margin: 0 0.25rem 0 0;
  vertical-align: -0.3rem;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  outline: 0;
  border-radius: $border-radius;
  background-color: $text-color-subtle;
  transition: background-color .16s cubic-bezier(0.5, 0.15, 0.2, 1);

  &:focus {
    box-shadow: 0 0 0 1px $base-border-color;
  }

  &:active {
    background-color: $brand-info;
  }

  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 1.1rem;
    left: .55rem;
    height: .16rem;
    min-height: pxToRem(2px);
    border-radius: pxToRem(1px);
    background-color: $background-color;
    transform-origin: 0% 0%;
    opacity: 0;
    transition: transform .1s cubic-bezier(0.5, 0.15, 0.2, 1), opacity .1s cubic-bezier(0.5, 0.15, 0.2, 1);
  }
  &::before {
    width: .45rem;
    transform: rotate(225deg) scale(0);
  }
  &::after {
    width: .9rem;
    margin: -1px;
    transform: rotate(-45deg) scale(0);
    transition-delay: .05s;
  }

  &:checked {
    background-color: $brand-info;
    &:active {
      background-color: $text-color-subtle;
    }
    &::before,
    &::after {
      opacity: 1;
    }
    &::before {
      transform: rotate(225deg) scale(1);
      transition-delay: .05s;
{'fraction_non_alphanumeric': 0.16858316221765915, 'fraction_numerical': 0.03839835728952772, 'mean_word_length': 2.909309791332263, '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': '2139876', 'n_tokens_mistral': 1991, 'n_tokens_neox': 1866, 'n_words': 365}