<commit_before>/* ==============
 * Form
 * ==============
 */
.control-label {
  font-weight: normal;
}

.form-control {
  background: @black-haze;
  border-color: @shuttle-gray;
  color: @chicago;
  box-shadow: inset 0 4px 4px fade(@black, 20%);

  &.form-control-inverse {
    background: transparent;
    border-color: @form-control-inverse-border-color;
    box-shadow: none;
    &:focus {
      background-color: fade(@form-control-inverse-border-color-focus,10%);
      border-color: @form-control-inverse-border-color-focus;
    }
  }
}

.checkbox {
  display: flex;
  align-items: center;
  height: @base-spacing-unit*4;
  margin: 0;
  padding: 0;

  /* Override Bootstrap's default on siblings */
  &+.checkbox {
    margin: 0;
  }

  input[type="checkbox"]{
    margin: 0;
    opacity: 0;
    z-index: 1;
  }

  input[type="checkbox"]:checked + label::after {
    color: @white;
    content: "\f383";
    font-family: "Ionicons";
    font-size: 12px;
    line-height: @base-spacing-unit*2;
    padding: 0 0 0 3px;
  }

  input[type="checkbox"]:checked + label::before {
    background-color: @brand-primary;
    border-color: @brand-primary;
  }

  input[type="checkbox"]:focus + label::before {
    outline: none;
  }

  label {
    display: inline-block;
    margin: 0 0 0 @horizontal-spacing-unit*2;
    position: relative;
    vertical-align: middle;
  }

  label::after, label::before {
    background-color: transparent;
    border-radius: 2px;
    bottom: 0;
    display: inline-block;
    height: @base-spacing-unit*2;
    left: -@horizontal-spacing-unit*4;
    margin: auto;
    position: absolute;
    top: 0;
    width: @base-spacing-unit*2;
  }

  label::before {
    border: 1px solid @btn-default-text-color;
    content: "";
    transition: border @transition-fast ease-in-out,
      color @transition-fast ease-in-out;
  }
}

.checkbox-form-group {
  margin-bottom: 25px;
  position: relative;
  input[type=checkbox], input[type=radio] {
    position: absolute;
    left: 8px;
    top: 8px;
    display: inline;
    height: auto;
    width: auto;
    box-shadow: none;
  }
  label {
    display: block;
    padding: 8px 8px 8px 32px;
    border-radius: 4px;
  }
}

.help-block {
  color: @oslo-gray;
}

.has-error {
  .help-block,
  .control-label,
  .radio,
  .checkbox,
  .radio-inline,
  .checkbox-inline {
    color: @text-color-danger-light;
  }
  .form-control:focus {
    background-color: fade(@text-color-danger-light,10%);
    border-color: @text-color-danger-light;
    box-shadow: none;

  }
}
<commit_msg>Add error message link styles<commit_after>/* ==============
 * Form
 * ==============
 */
.control-label {
  font-weight: normal;
}

.form-control {
  background: @black-haze;
  border-color: @shuttle-gray;
  color: @chicago;
  box-shadow: inset 0 4px 4px fade(@black, 20%);

  &.form-control-inverse {
    background: transparent;
    border-color: @form-control-inverse-border-color;
    box-shadow: none;
    &:focus {
      background-color: fade(@form-control-inverse-border-color-focus,10%);
      border-color: @form-control-inverse-border-color-focus;
    }
  }
}

.checkbox {
  display: flex;
  align-items: center;
  height: @base-spacing-unit*4;
  margin: 0;
  padding: 0;

  /* Override Bootstrap's default on siblings */
  &+.checkbox {
    margin: 0;
  }

  input[type="checkbox"]{
    margin: 0;
    opacity: 0;
    z-index: 1;
  }

  input[type="checkbox"]:checked + label::after {
    color: @white;
    content: "\f383";
    font-family: "Ionicons";
    font-size: 12px;
    line-height: @base-spacing-unit*2;
    padding: 0 0 0 3px;
  }

  input[type="checkbox"]:checked + label::before {
    background-color: @brand-primary;
    border-color: @brand-primary;
  }

  input[type="checkbox"]:focus + label::before {
    outline: none;
  }

  label {
    display: inline-block;
    margin: 0 0 0 @horizontal-spacing-unit*2;
    position: relative;
    vertical-align: middle;
  }

  label::after, label::before {
    background-color: transparent;
    border-radius: 2px;
    bottom: 0;
    display: inline-block;
    height: @base-spacing-unit*2;
    left: -@horizontal-spacing-unit*4;
    margin: auto;
    position: absolute;
    top: 0;
    width: @base-spacing-unit*2;
  }

  label::before {
    border: 1px solid @btn-default-text-color;
    content: "";
    transition: border @transition-fast ease-in-out,
      color @transition-fast ease-in-out;
  }
}

.checkbox-form-group {
  margin-bottom: 25px;
  position: relative;
  input[type=checkbox], input[type=radio] {
    position: absolute;
    left: 8px;
    top: 8px;
    display: inline;
    height: auto;
    width: auto;
    box-shadow: none;
  }
  label {
    display: block;
    padding: 8px 8px 8px 32px;
    border-radius: 4px;
  }
}

.help-block {
  color: @oslo-gray;
}

.has-error {
  .help-block,
  .control-label,
  .radio,
  .checkbox,
  .radio-inline,
  .checkbox-inline {
    color: @text-color-danger-light;
  }

  .form-control:focus {
    background-color: fade(@text-color-danger-light,10%);
    border-color: @text-color-danger-light;
    box-shadow: none;
  }

  a {
    color: currentColor;
    text-decoration: underline;

    &:hover {
      text-decoration: inherit;
      color: darken(@text-color-danger-light,30);
    }
  }
}

{'fraction_non_alphanumeric': 0.16164487398142885, 'fraction_numerical': 0.018192154633314382, 'mean_word_length': 2.8246376811594205, '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': '5969212', 'n_tokens_mistral': 2008, 'n_tokens_neox': 1861, 'n_words': 376}