<commit_before>//
// Forms
// --------------------------------------------------


// Normalize non-controls
//

// Restyle and baseline non-control form elements.
.form-control {
  display: block;
  width: 100%;
  height: $input-height-small; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
  padding: 4px 6px;
  font-size: $font-size-base;
  line-height: $base-form-line-height;
  color: $input-color;
  background-color: $input-bg;
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
  border: 1px solid $input-border;
  border-radius: $border-radius-small;
  @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
  @include transition("border-color ease-in-out .15s, box-shadow ease-in-out .15s");

  // Customize the `:focus` state to imitate native WebKit styles.
  @include form-control-focus;

  // Placeholder
  @include placeholder;

  // Disabled and read-only inputs
  //
  // HTML5 says that controls under a fieldset > legend:first-child won't be
  // disabled if the fieldset is disabled. Due to implementation difficulty, we
  // don't honor that edge case; we style them as disabled anyway.
  &[disabled],
  &[readonly],
  fieldset[disabled] & {
    cursor: not-allowed;
    background-color: $input-bg-disabled;
    opacity: 1; // iOS fix for unreadable disabled content
  }
}

input,
textarea,
select
.uneditable-input {
  &.form-control{
    width: auto;
  }
}
input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
  &.form-control{
    width: auto;<commit_msg>set min form field width<commit_after>//
// Forms
// --------------------------------------------------


// Normalize non-controls
//

// Restyle and baseline non-control form elements.
.form-control {
  display: block;
  width: 100%;
  height: $input-height-small; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
  padding: 4px 6px;
  font-size: $font-size-base;
  line-height: $base-form-line-height;
  color: $input-color;
  background-color: $input-bg;
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
  border: 1px solid $input-border;
  border-radius: $border-radius-small;
  @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
  @include transition("border-color ease-in-out .15s, box-shadow ease-in-out .15s");

  // Customize the `:focus` state to imitate native WebKit styles.
  @include form-control-focus;

  // Placeholder
  @include placeholder;

  // Disabled and read-only inputs
  //
  // HTML5 says that controls under a fieldset > legend:first-child won't be
  // disabled if the fieldset is disabled. Due to implementation difficulty, we
  // don't honor that edge case; we style them as disabled anyway.
  &[disabled],
  &[readonly],
  fieldset[disabled] & {
    cursor: not-allowed;
    background-color: $input-bg-disabled;
    opacity: 1; // iOS fix for unreadable disabled content
  }
}

input,
textarea,
select
.uneditable-input {
  &.form-control{
    width: 220px;
  }
}
input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
  &.form-control{
    width: auto;
{'fraction_non_alphanumeric': 0.16686046511627908, 'fraction_numerical': 0.014825581395348838, 'mean_word_length': 3.211750305997552, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '2121144', 'n_tokens_mistral': 1133, 'n_tokens_neox': 1064, 'n_words': 307}