<commit_before>// Container illustrations
.cf-example-container {
    min-width: 16rem;
    max-width: 25rem;
    margin-right: auto;
    margin-left: auto;
}
.cf-example-container-fluid {
    max-width: none;
}
.cf-example-container-header {
    height: 3rem;
    margin-bottom: .5rem;
    background-color: lighten(map-get($context-colors, "primary"), 50%);
    border-radius: .25rem;
}
.cf-example-container-sidebarL {
    float: left;
    width: 4rem;
    height: 8rem;
    background-color: lighten(map-get($context-colors, "warning"), 25%);
    border-radius: .25rem;
}
.cf-example-container-sidebarR {
    float: right;
    width: 8rem;
    height: 8rem;
    background-color: lighten(map-get($context-colors, "danger"), 25%);
    border-radius: .25rem;
}
.cf-example-container-body {
    height: 8rem;
    margin-right: 8.5rem;
    margin-left: 4.5rem;
    background-color: lighten($docs-color, 25%);
    border-radius: .25rem;
}


// Grid
.cf-example-row {
    .row + .row {
        margin-top: 1rem;
    }

    .row {
        > [class^="col-"],
        .col {
            padding-top: .75rem;
            padding-bottom: .75rem;
            background-color: rgba(34, 68, 102, .15);
            border: $border-width solid rgba(34, 68, 102, .2);
        }
    }
}
.cf-example-row-grid {
    .row {
        background-color: rgba(34, 68, 102, .05);
    }
}
.cf-example-row-flex {
    .row {
        border: $border-width solid rgba(34, 68, 102, .5);
    }
}
.cf-example-row-flex-v {
    .row {
        height: 7rem;
        border: $border-width solid rgba(34, 68, 102, .5);
    }
}

// Grid mixins
.example-container {
    width: 800px;
    @include make-container();
}
.example-row {
    @include make-row();
}
.example-content-main {
    @include make-col-ready();
    @include media-breakpoint-up(sm) {
        @include make-col(6);
    }
    @include media-breakpoint-up(lg) {
        @include make-col(8);
    }
}
.example-content-secondary {
    @include make-col-ready();
    @include media-breakpoint-up(sm) {
        @include make-col(6);
    }
    @include media-breakpoint-up(lg) {
        @include make-col(4);
    }
}

// Caret mixins
.btn {
    .example-caret {
        @include caret(start, .5rem, #000);
    }

    @include hover-focus() {
        .example-caret {
            @include caret-end(.5rem, #000);
        }
    }
}

// Form
.cf-example > .form-control + .form-control,
.cf-example > .custom-select + .custom-select {
    margin-top: .5rem;
}

// Custom file language example
$custom-file-text: (
    placeholder: (
        en: "Choose file...",
        es: "Seleccionar archivo..."
    ),
    button-label: (
        en: "Browse",
        es: "Navegar"
    )
);
.custom-file-control {
    @each $lang, $text in map-get($custom-file-text, button-label) {
        &:lang(#{$lang}):empty::after {
            content: $text;
        }
    }
    @each $lang, $text in map-get($custom-file-text, placeholder) {
        &:lang(#{$lang}):empty::after {
            content: $text;
        }
    }
}

// Button groups
.cf-example > .btn-group + .btn-group,
.cf-example > .btn-group + br + .btn-group {
    margin-top: .5rem;
}

// Card deck
.card-deck-col {
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: flex-start;
    margin-right: -1rem;
    margin-bottom: 0;
    margin-left: -1rem;
}
.card-deck-col > .card {
    flex-basis: auto;
    width: calc(100% - 2rem);
    margin-right: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;<commit_msg>Fix custom file language example<commit_after>// Container illustrations
.cf-example-container {
    min-width: 16rem;
    max-width: 25rem;
    margin-right: auto;
    margin-left: auto;
}
.cf-example-container-fluid {
    max-width: none;
}
.cf-example-container-header {
    height: 3rem;
    margin-bottom: .5rem;
    background-color: lighten(map-get($context-colors, "primary"), 50%);
    border-radius: .25rem;
}
.cf-example-container-sidebarL {
    float: left;
    width: 4rem;
    height: 8rem;
    background-color: lighten(map-get($context-colors, "warning"), 25%);
    border-radius: .25rem;
}
.cf-example-container-sidebarR {
    float: right;
    width: 8rem;
    height: 8rem;
    background-color: lighten(map-get($context-colors, "danger"), 25%);
    border-radius: .25rem;
}
.cf-example-container-body {
    height: 8rem;
    margin-right: 8.5rem;
    margin-left: 4.5rem;
    background-color: lighten($docs-color, 25%);
    border-radius: .25rem;
}


// Grid
.cf-example-row {
    .row + .row {
        margin-top: 1rem;
    }

    .row {
        > [class^="col-"],
        .col {
            padding-top: .75rem;
            padding-bottom: .75rem;
            background-color: rgba(34, 68, 102, .15);
            border: $border-width solid rgba(34, 68, 102, .2);
        }
    }
}
.cf-example-row-grid {
    .row {
        background-color: rgba(34, 68, 102, .05);
    }
}
.cf-example-row-flex {
    .row {
        border: $border-width solid rgba(34, 68, 102, .5);
    }
}
.cf-example-row-flex-v {
    .row {
        height: 7rem;
        border: $border-width solid rgba(34, 68, 102, .5);
    }
}

// Grid mixins
.example-container {
    width: 800px;
    @include make-container();
}
.example-row {
    @include make-row();
}
.example-content-main {
    @include make-col-ready();
    @include media-breakpoint-up(sm) {
        @include make-col(6);
    }
    @include media-breakpoint-up(lg) {
        @include make-col(8);
    }
}
.example-content-secondary {
    @include make-col-ready();
    @include media-breakpoint-up(sm) {
        @include make-col(6);
    }
    @include media-breakpoint-up(lg) {
        @include make-col(4);
    }
}

// Caret mixins
.btn {
    .example-caret {
        @include caret(start, .5rem, #000);
    }

    @include hover-focus() {
        .example-caret {
            @include caret-end(.5rem, #000);
        }
    }
}

// Form
.cf-example > .form-control + .form-control,
.cf-example > .custom-select + .custom-select {
    margin-top: .5rem;
}

// Custom file language example
$custom-file-text: (
    placeholder: (
        en: "Choose file...",
        es: "Seleccionar archivo..."
    ),
    button-label: (
        en: "Browse",
        es: "Navegar"
    )
);
.custom-file-control {
    @each $lang, $text in map-get($custom-file-text, button-label) {
        &:lang(#{$lang}):empty::before {
            content: $text;
        }
    }
    @each $lang, $text in map-get($custom-file-text, placeholder) {
        &:lang(#{$lang}):empty::after {
            content: $text;
        }
    }
}

// Button groups
.cf-example > .btn-group + .btn-group,
.cf-example > .btn-group + br + .btn-group {
    margin-top: .5rem;
}

// Card deck
.card-deck-col {
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: flex-start;
    margin-right: -1rem;
    margin-bottom: 0;
    margin-left: -1rem;
}
.card-deck-col > .card {
    flex-basis: auto;
    width: calc(100% - 2rem);
    margin-right: 1rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
{'fraction_non_alphanumeric': 0.17059994313335228, 'fraction_numerical': 0.030139323286892238, 'mean_word_length': 2.122503328894807, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3843983', 'n_tokens_mistral': 2725, 'n_tokens_neox': 2523, 'n_words': 497}