<commit_before>@import "colors/index";
@import "forms/inputs";

$input-hint-color: $color-text-med;
$input-invalid-color: $color-red;
$input-active-underline-fill: $color-blue;
$input-inactive-underline-fill: $color-bg-med;

.swui-input {
  display: block;
  margin-bottom: 1rem;
  position: relative;
  margin-top: 18px;

  // override chrome autofill styles
  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: white !important;
  }

  .swui-input-wrap {
    position: relative;

    .swui-input-box-wrap {
      position: relative;

      .swui-input-box {
        background: transparent;
        border: none;
        margin-bottom: 0px;
        padding-left: 0px;
        width: 100%;
        color: $color-input-text;

        &:focus {
          box-shadow: none;
        }

        &[disabled] {
          color: $color-input-text-disabled;
          user-select: none;
        }
      }

      .icon-eye {
        line-height: 25px;
        top: 0;
        bottom: 0;
        position: absolute;
        right: 10px;
        cursor: pointer;
        font-size: .8rem;
        color: $color-text-med-dark;
        transition: color 100ms;

        &:hover {
          color: $color-text-light;
        }
      }
    }

    .swui-input-label {
      pointer-events: none;
      position: absolute;
      font-size: .9rem;
    }

    .swui-input-underline {
      width: 100%;
      height: 1px;
      background-color: $input-inactive-underline-fill;

      .underline-fill {
        background-color: $input-active-underline-fill;
        width: 100%;
        height: 2px;
        margin: 0 auto;
      }
    }

    .swui-input-hint {
      font-size: 12px;
      color: $input-hint-color;<commit_msg>(style): fix input alignment in sw<commit_after>@import "colors/index";
@import "forms/inputs";

$input-hint-color: $color-text-med;
$input-invalid-color: $color-red;
$input-active-underline-fill: $color-blue;
$input-inactive-underline-fill: $color-bg-med;

.swui-input {
  display: block;
  margin-bottom: 1rem;
  position: relative;
  margin-top: 18px;

  // override chrome autofill styles
  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: white !important;
  }

  .swui-input-wrap {
    position: relative;

    .swui-input-box-wrap {
      position: relative;

      .swui-input-box {
        background: transparent;
        border: none;
        margin-bottom: 0px;
        padding-left: 0px;
        width: 100%;
        color: $color-input-text;
        font-size: 16px;

        &:focus {
          box-shadow: none;
        }

        &[disabled] {
          color: $color-input-text-disabled;
          user-select: none;
        }
      }

      .icon-eye {
        line-height: 25px;
        top: 0;
        bottom: 0;
        position: absolute;
        right: 10px;
        cursor: pointer;
        font-size: .8rem;
        color: $color-text-med-dark;
        transition: color 100ms;

        &:hover {
          color: $color-text-light;
        }
      }
    }

    .swui-input-label {
      pointer-events: none;
      position: absolute;
      font-size: 16px;
    }

    .swui-input-underline {
      width: 100%;
      height: 1px;
      background-color: $input-inactive-underline-fill;

      .underline-fill {
        background-color: $input-active-underline-fill;
        width: 100%;
        height: 2px;
        margin: 0 auto;
      }
    }

    .swui-input-hint {
      font-size: 12px;
      color: $input-hint-color;
{'fraction_non_alphanumeric': 0.1332450331125828, 'fraction_numerical': 0.01933774834437086, 'mean_word_length': 1.9226006191950464, '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': '4905328', 'n_tokens_mistral': 1347, 'n_tokens_neox': 1239, 'n_words': 238}