<commit_before>
@mixin placeholder {
  &::-webkit-input-placeholder {@content}
  &:-moz-placeholder {@content}
  &:-ms-input-placeholder {@content}
}

.form-row-submit
{
  margin-top: $spacing-vertical;
}
.form-row-submit--with-footer
{
  margin-bottom: $spacing-vertical;
}

.form-row__label-row {
  margin-top: $spacing-vertical * 5/6;
  margin-bottom: $spacing-vertical * 1/6;
  line-height: 1;
  font-size:calc( 0.9 * var(--font-size));
}
.form-row__label-row--prefix {
  float: left;
  margin-right: 5px;
}

input[type="text"].input-copyable {
  background: var(--input-bg);
  border-bottom: var(--input-border-size) solid var(--input-border-color);
  color: var(--input-color);
  line-height: 1;
  padding-top: $spacing-vertical * 1/3;
  padding-bottom: $spacing-vertical * 1/3;
  width: var(--input-width);
  padding-left: 5px;
  padding-right: 5px;
  width: 100%;
  &:focus {
    border-color: var(--color-primary);
    background: none !important;
  }
}

.form-field {
  display: inline-block;

  input[type="checkbox"],
  input[type="radio"] {
    cursor: pointer;
  }

  select {
    transition: outline var(--transition-duration) var(--transition-type);
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
    height: $spacing-vertical;
    background: var(--select-bg);
    color: var(--select-color);
    &:focus {
      outline:  var(--input-border-size) solid var(--color-primary);
    }
  }

  textarea,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="date"] {
    @include placeholder {
      color: lighten($text-color, 60%);
    }
    transition: all  var(--transition-duration) var(--transition-type);
    cursor: pointer;
    padding-left: 1px;
    padding-right: 1px;
    box-sizing: border-box;
    -webkit-appearance: none;
    background: var(--input-bg);
    color: var(--input-color);
    &[readonly] {
      background-color: var(--input-bg);
    }
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="date"] {
    border-bottom: var(--input-border-size) solid var(--input-border-color);
    line-height: 1;
    padding-top: $spacing-vertical * 1/3;
    padding-bottom: $spacing-vertical * 1/3;

    &.form-field__input--error {
      border-color: var(--color-error);
    }
    &.form-field__input--inline {
      padding-top: 0;
      padding-bottom: 0;
      border-bottom-width: 1px;
      margin-left: 8px;
      margin-right: 8px;
    }
  }

  textarea:focus,
  input[type="text"]:focus,
  input[type="password"]:focus,
  input[type="email"]:focus,
  input[type="number"]:focus,
  input[type="search"]:focus,
  input[type="date"]:focus {
    border-color: var(--color-primary);
    background: var(--input-active-bg);
  }

  textarea {
    padding: 2px;
    border: var(--input-border-size) solid var(--input-border-color);
  }
}
.form-field--SimpleMDE {
  display: block;
}

.form-field__label {
  color: var(--color-help);
  &[for] {  cursor: pointer; }
  > input[type="checkbox"], input[type="radio"] {
    margin-right: 6px;
  }
}

.form-row__label-row .form-field__label--error {<commit_msg>style form row labels and form field labels the same way<commit_after>
@mixin placeholder {
  &::-webkit-input-placeholder {@content}
  &:-moz-placeholder {@content}
  &:-ms-input-placeholder {@content}
}

.form-row-submit
{
  margin-top: $spacing-vertical;
}
.form-row-submit--with-footer
{
  margin-bottom: $spacing-vertical;
}

.form-row__label-row {
  margin-top: $spacing-vertical * 5/6;
  margin-bottom: $spacing-vertical * 1/6;
  line-height: 1;
  font-size:calc( 0.9 * var(--font-size));
}
.form-row__label-row--prefix {
  float: left;
  margin-right: 5px;
}

input[type="text"].input-copyable {
  background: var(--input-bg);
  border-bottom: var(--input-border-size) solid var(--input-border-color);
  color: var(--input-color);
  line-height: 1;
  padding-top: $spacing-vertical * 1/3;
  padding-bottom: $spacing-vertical * 1/3;
  width: var(--input-width);
  padding-left: 5px;
  padding-right: 5px;
  width: 100%;
  &:focus {
    border-color: var(--color-primary);
    background: none !important;
  }
}

.form-field {
  display: inline-block;

  input[type="checkbox"],
  input[type="radio"] {
    cursor: pointer;
  }

  select {
    transition: outline var(--transition-duration) var(--transition-type);
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
    height: $spacing-vertical;
    background: var(--select-bg);
    color: var(--select-color);
    &:focus {
      outline:  var(--input-border-size) solid var(--color-primary);
    }
  }

  textarea,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="date"] {
    @include placeholder {
      color: lighten($text-color, 60%);
    }
    transition: all  var(--transition-duration) var(--transition-type);
    cursor: pointer;
    padding-left: 1px;
    padding-right: 1px;
    box-sizing: border-box;
    -webkit-appearance: none;
    background: var(--input-bg);
    color: var(--input-color);
    &[readonly] {
      background-color: var(--input-bg);
    }
  }

  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="date"] {
    border-bottom: var(--input-border-size) solid var(--input-border-color);
    line-height: 1;
    padding-top: $spacing-vertical * 1/3;
    padding-bottom: $spacing-vertical * 1/3;

    &.form-field__input--error {
      border-color: var(--color-error);
    }
    &.form-field__input--inline {
      padding-top: 0;
      padding-bottom: 0;
      border-bottom-width: 1px;
      margin-left: 8px;
      margin-right: 8px;
    }
  }

  textarea:focus,
  input[type="text"]:focus,
  input[type="password"]:focus,
  input[type="email"]:focus,
  input[type="number"]:focus,
  input[type="search"]:focus,
  input[type="date"]:focus {
    border-color: var(--color-primary);
    background: var(--input-active-bg);
  }

  textarea {
    padding: 2px;
    border: var(--input-border-size) solid var(--input-border-color);
  }
}
.form-field--SimpleMDE {
  display: block;
}

.form-field__label, .form-row__label {
  color: var(--color-help);
  &[for] {  cursor: pointer; }
  > input[type="checkbox"], input[type="radio"] {
    margin-right: 6px;
  }
}

.form-row__label-row .form-field__label--error {
{'fraction_non_alphanumeric': 0.1869718850821939, 'fraction_numerical': 0.011061607005684437, 'mean_word_length': 3.178433889602054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3292344', 'n_tokens_mistral': 2428, 'n_tokens_neox': 2325, 'n_words': 391}