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

label {
    font-weight: @font-family-weight-bold;
}

// Input
// --------------------------------------------------

.input-lg {
    border-radius: @input-border-radius-large;
}

.input-sm {
    border-radius: @input-border-radius-small;
}

input,
textarea {
    &.form-control {
        padding-left: 0;
        padding-right: 0;
        display: block;
        width: 100%;
        border: none;
        border-bottom: 1px solid @input-border;
        outline: none;
        .box-shadow(none);
    }
}

textarea {
    resize: none;
}

.form-group,
.floating-group {
    position: relative;

    input,
    textarea {
        ~ label:not(.btn) {
            .form-floating-label();
        }

        ~ label.btn,
        ~ .input-group-btn label.btn {
            margin: 0;
        }

        &:focus,
        &.has-floating-content,
        &.fixed-floating-label {
            ~ label:not(.btn) {
                .form-floating-label-top();
            }
        }

        &:focus {
            border-bottom-color: @input-border-focus;

            ~ .floating-bar:before,
            ~ .floating-bar:after {
                width: 50%;
            }
        }
    }

    label.top-floating-label {
        .form-floating-label();
        .form-floating-label-top();
    }

    .floating-bar {
        position: relative;
        display: block;
        width: 100%;

        &:before,
        &:after {
            content: '';
            height: 2px;
            width: 0;
            bottom: 0;
            position: absolute;
            background: @input-border-focus;
        }

        &:before {
            left: 50%;
        }

        &:after {
            right: 50%;
        }
    }

    .help-block {
        font-size: round(@font-size-base * 0.85);
    }

    &.form-control {
        border: none;
        box-shadow: none;
        padding: 0;

        .form-control ~ label {
            top: @padding-base-vertical;
        }

        .floating-bar {
            position: initial;
        }<commit_msg>Fix floating bar in input-group<commit_after>//
// Forms
// --------------------------------------------------

label {
    font-weight: @font-family-weight-bold;
}

// Input
// --------------------------------------------------

.input-lg {
    border-radius: @input-border-radius-large;
}

.input-sm {
    border-radius: @input-border-radius-small;
}

input,
textarea {
    &.form-control {
        padding-left: 0;
        padding-right: 0;
        display: block;
        width: 100%;
        border: none;
        border-bottom: 1px solid @input-border;
        outline: none;
        .box-shadow(none);
    }
}

textarea {
    resize: none;
}

.form-group,
.floating-group {
    position: relative;

    input,
    textarea {
        ~ label:not(.btn) {
            .form-floating-label();
        }

        ~ label.btn,
        ~ .input-group-btn label.btn {
            margin: 0;
        }

        &:focus,
        &.has-floating-content,
        &.fixed-floating-label {
            ~ label:not(.btn) {
                .form-floating-label-top();
            }
        }

        &:focus {
            border-bottom-color: @input-border-focus;

            ~ .floating-bar:before,
            ~ .floating-bar:after {
                width: 50%;
            }
        }
    }

    label.top-floating-label {
        .form-floating-label();
        .form-floating-label-top();
    }

    .floating-bar {
        position: relative;
        display: block;
        width: 100%;

        &:before,
        &:after {
            content: '';
            height: 2px;
            width: 0;
            bottom: 0;
            position: absolute;
            background: @input-border-focus;
        }

        &:before {
            left: 50%;
        }

        &:after {
            right: 50%;
        }
    }

    .help-block {
        font-size: round(@font-size-base * 0.85);
    }

    &.form-control {
        border: none;
        box-shadow: none;
        padding: 0;

        .form-control ~ label {
            top: @padding-base-vertical;
        }

        .floating-bar {
            position: initial;
        }
    }

    .input-group {
        .floating-bar {
            float: left;
        }
{'fraction_non_alphanumeric': 0.17709535903948279, 'fraction_numerical': 0.010621103671207574, 'mean_word_length': 1.0897250361794502, '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': '4800009', 'n_tokens_mistral': 1404, 'n_tokens_neox': 1288, 'n_words': 222}