<commit_before>// Form layout

.form {
    margin: 20px auto 40px;
    // same as max page with
    // form should never be wider because it just doesn't look good
    max-width: 400px;

    &__error-message {
        margin-bottom: 10px;
        color: $color-error;
    }
    &__password-strong-message {
        margin-bottom: 10px;
        color: green;
    }

    &__row {
        margin-bottom: 10px;

        &--multi {
            margin-bottom: 0;

            @include respond-to(sm) {
                display: flex;
            }
        }
    }

    &__col {
        margin-bottom: 10px;

        @include respond-to(sm) {
            flex-grow: 1;
            & + .form__col {
                margin-left: 10px;
            }

            &--2 {
                flex-grow: 2;
            }
        }
    }

    .btn {
        width: 100%;
    }
}

.form-fieldset {
    margin: 0 0 20px;
    border: 1px solid $color-border-light;

    legend {
        color: $color-blue;
        padding: 0 0.5em;
    }

    & > :first-child {
        margin-top: 0;
    }
    & > :last-child {
        margin-bottom: 0;
    }

    &--standalone {
        margin: 30px 0 40px;
    }
    &--error {
        border-color: $color-error;
        legend {
            color: $color-error;
        }
    }
}

.form-input-with-button {
    display: flex;
    flex-direction: row;

    & > .input-text {
        flex-grow: 1;
        margin-right: 10px;
        height: 40px;
    }
    & > .btn {
        flex-shrink: 0;
        height: 40px;

        @include respond-to(md) {
            min-width: 8em;
        }
    }
}


// Form elements

.input-text {
    width: 100%;
    background-color: $color-bg;
    border: 1px solid $color-border-light;
    color: $color-text;
    font-size: $font-size-base;
    padding: 0.5em 0.7em;
    outline: none;
    // ios
    border-radius: 0;
    -webkit-appearance: none;

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

    &.ng-touched.ng-invalid,
    &--error {
        border-color: $color-error;
    }

    &--big {
        font-size: $font-size-bigger;
    }
}

// Attention: Webkit support only!
.input-select {
    position: relative;

    &:after {
        position: absolute;
        right: 0.5em;
        top: 0;
        content: '<>';
        color: $color-text;
        transform: rotate(90deg);
        pointer-events: none;
    }
    select {
        @extend .input-text;
        padding-right: 2em;
    }
}

// Attention: Webkit support only!
.input-file {
    width: 100%;
    background-color: $color-bg;
    border: 1px solid $color-border-light;
    color: $color-text;
    font-size: 1em;
    padding: 4px 4px;
    outline: none;

    &::-webkit-file-upload-button {
        background-color: $color-grey-input;
        border: 0;
        color: $color-bg;
        padding: 4px 10px;
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        outline: none;
        cursor: pointer;
    }
}

// TODO: remove, has been replace by general form class
.input-error-message {
    margin: 5px 0;
    padding: 0;
    color: $color-error;
    font-size: $font-size-base;
}

.search {
    position: relative;
    width: 100%;
    .input-text {
        padding-left: 1.8em;
    }
    & > svg {
        position: absolute;
        left: 0.7em;
        fill: $color-text-light;
        top: 0.7em;
        height: 1em;
        width: 1em;
    }
}

.input-checkbox {
    display: block;
    padding-left: 2em;
<commit_msg>make search icon smaller to fit previous style<commit_after>// Form layout

.form {
    margin: 20px auto 40px;
    // same as max page with
    // form should never be wider because it just doesn't look good
    max-width: 400px;

    &__error-message {
        margin-bottom: 10px;
        color: $color-error;
    }
    &__password-strong-message {
        margin-bottom: 10px;
        color: green;
    }

    &__row {
        margin-bottom: 10px;

        &--multi {
            margin-bottom: 0;

            @include respond-to(sm) {
                display: flex;
            }
        }
    }

    &__col {
        margin-bottom: 10px;

        @include respond-to(sm) {
            flex-grow: 1;
            & + .form__col {
                margin-left: 10px;
            }

            &--2 {
                flex-grow: 2;
            }
        }
    }

    .btn {
        width: 100%;
    }
}

.form-fieldset {
    margin: 0 0 20px;
    border: 1px solid $color-border-light;

    legend {
        color: $color-blue;
        padding: 0 0.5em;
    }

    & > :first-child {
        margin-top: 0;
    }
    & > :last-child {
        margin-bottom: 0;
    }

    &--standalone {
        margin: 30px 0 40px;
    }
    &--error {
        border-color: $color-error;
        legend {
            color: $color-error;
        }
    }
}

.form-input-with-button {
    display: flex;
    flex-direction: row;

    & > .input-text {
        flex-grow: 1;
        margin-right: 10px;
        height: 40px;
    }
    & > .btn {
        flex-shrink: 0;
        height: 40px;

        @include respond-to(md) {
            min-width: 8em;
        }
    }
}


// Form elements

.input-text {
    width: 100%;
    background-color: $color-bg;
    border: 1px solid $color-border-light;
    color: $color-text;
    font-size: $font-size-base;
    padding: 0.5em 0.7em;
    outline: none;
    // ios
    border-radius: 0;
    -webkit-appearance: none;

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

    &.ng-touched.ng-invalid,
    &--error {
        border-color: $color-error;
    }

    &--big {
        font-size: $font-size-bigger;
    }
}

// Attention: Webkit support only!
.input-select {
    position: relative;

    &:after {
        position: absolute;
        right: 0.5em;
        top: 0;
        content: '<>';
        color: $color-text;
        transform: rotate(90deg);
        pointer-events: none;
    }
    select {
        @extend .input-text;
        padding-right: 2em;
    }
}

// Attention: Webkit support only!
.input-file {
    width: 100%;
    background-color: $color-bg;
    border: 1px solid $color-border-light;
    color: $color-text;
    font-size: 1em;
    padding: 4px 4px;
    outline: none;

    &::-webkit-file-upload-button {
        background-color: $color-grey-input;
        border: 0;
        color: $color-bg;
        padding: 4px 10px;
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        outline: none;
        cursor: pointer;
    }
}

// TODO: remove, has been replace by general form class
.input-error-message {
    margin: 5px 0;
    padding: 0;
    color: $color-error;
    font-size: $font-size-base;
}

.search {
    position: relative;
    width: 100%;
    .input-text {
        padding-left: 1.8em;
    }
    & > svg {
        position: absolute;
        left: 0.7em;
        fill: $color-text-light;
        top: 0.7em;
        height: 1em;
        width: 0.8em;
    }
}

.input-checkbox {
    display: block;
    padding-left: 2em;

{'fraction_non_alphanumeric': 0.13220058019063408, 'fraction_numerical': 0.024727172261362066, 'mean_word_length': 1.4820020569077819, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '3202753', 'n_tokens_mistral': 2664, 'n_tokens_neox': 2443, 'n_words': 541}