<commit_before>@import '../../../shared/styles/font.css';
@import "../../../shared/styles/shadow.css";
@import '../../../shared/styles/color.css';
@import '../../../shared/styles/border.css';

.input {
  outline: none;
  background-color: var(--white);
  color: var(--gray-dark);
  padding: 3px 15px;
  flex: 1;
  border-radius: var(--radius-small);
  margin: 10px 5px;
  min-width: 60px;
  composes: baseText;

  &:first-child {
    margin-left: 0;
  }

  &:last-child {
    margin-right: 0;
  }

  &::-moz-placeholder {
    color: var(--gray);
  }

  &::-webkit-input-placeholder {
    color: var(--gray);
  }

  &:-ms-input-placeholder {
    color: var(--gray);
  }
}

.material {
  border: 1px solid transparent;
  height: 30px;
  line-height: 30px;
  transition: box-shadow 0.2s;
  box-shadow: var(--shadowInput);

  &:focus {
    box-shadow: var(--shadowInputHover);
  }

  &.error {
    border: 1px solid var(--red-dark);

    &:focus {
      border: 1px solid var(--red-dark);
    }
  }
}

.flat {
  height: 30px;
  line-height: 30px;
  transition: border 0.2s;
  border: 1px solid var(--gray);

  &:focus {
    border: 1px solid var(--green-dark);
  }

  &.error {
    border: 1px solid var(--red-dark);

    &:focus {
      border: 1px solid var(--red-dark);
    }
  }
}

.borderless {
  height: 24px;
  line-height: 24px;
  padding: 0 5px;
  margin: 0;
  min-width: 150px;
  transition: border 0.2s;
  border: 1px solid transparent;
  background-color: transparent;

  &:focus {
    border: 1px solid var(--green-dark);
  }

  &.error {
    border: 1px solid var(--red-dark);

    &:focus {
      border: 1px solid var(--red-dark);
    }
  }

  &.underline {
    border: none;
    border-bottom: 1px solid transparent;

    &:focus {
      border-bottom: 1px solid var(--green-dark);
    }
<commit_msg>WHAT: input borderless ui fix<commit_after>@import '../../../shared/styles/font.css';
@import "../../../shared/styles/shadow.css";
@import '../../../shared/styles/color.css';
@import '../../../shared/styles/border.css';

.input {
  outline: none;
  background-color: var(--white);
  color: var(--gray-dark);
  padding: 3px 15px;
  flex: 1;
  border-radius: var(--radius-small);
  margin: 10px 5px;
  min-width: 60px;
  composes: baseText;

  &:first-child {
    margin-left: 0;
  }

  &:last-child {
    margin-right: 0;
  }

  &::-moz-placeholder {
    color: var(--gray);
  }

  &::-webkit-input-placeholder {
    color: var(--gray);
  }

  &:-ms-input-placeholder {
    color: var(--gray);
  }
}

.material {
  border: 1px solid transparent;
  height: 30px;
  line-height: 30px;
  transition: box-shadow 0.2s;
  box-shadow: var(--shadowInput);

  &:focus {
    box-shadow: var(--shadowInputHover);
  }

  &.error {
    border: 1px solid var(--red-dark);

    &:focus {
      border: 1px solid var(--red-dark);
    }
  }
}

.flat {
  height: 30px;
  line-height: 30px;
  transition: border 0.2s;
  border: 1px solid var(--gray);

  &:focus {
    border: 1px solid var(--green-dark);
  }

  &.error {
    border: 1px solid var(--red-dark);

    &:focus {
      border: 1px solid var(--red-dark);
    }
  }
}

.borderless {
  height: 24px;
  line-height: 24px;
  padding: 0 5px;
  margin: 0;
  min-width: 150px;
  transition: border 0.2s;
  border: 1px solid transparent;
  background-color: transparent;

  &:not(.underline) {
    &:focus {
      border: 1px solid var(--green-dark);
    }

    &.error {
      border: 1px solid var(--red-dark);

      &:focus {
        border: 1px solid var(--red-dark);
      }
    }
  }

  &.underline {
    border: none;
    border-bottom: 1px solid transparent;

    &:focus {
      border-bottom: 1px solid var(--green-dark);
    }

{'fraction_non_alphanumeric': 0.18665219750406944, 'fraction_numerical': 0.026044492674986434, 'mean_word_length': 2.31266846361186, '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': '7304021', 'n_tokens_mistral': 1505, 'n_tokens_neox': 1390, 'n_words': 297}