<commit_before>// Textual
.text-primary  { color: $color-primary; }
.text-positive { color: $color-positive; }
.text-warning  { color: $color-warning; }
.text-negative { color: $color-negative; }
.text-muted    { color: $color-gray-dark; }

@each $size, $breakpoint in $grid-breakpoints {
    @include breakpoint-up($size) {

        @each $align in (left, center, right) {
            $name: if($size == xs, $align, #{$size}-#{$align}); // xs shorthand

            .text-#{$name} {
                text-align: $align;
            }
        }

    }
}

// Backgrounds
.bg-primary  { background-color: $color-primary; color: #FFF; }
.bg-positive { background-color: $color-positive; color: #FFF; }
.bg-warning  { background-color: $color-warning; color: #FFF; }
.bg-negative { background-color: $color-negative; color: #FFF; }
.bg-inverse  { background-color: $color-inverse; color: #FFF; }

// Images
.img-auto {
    max-width: 100%;
    height: auto;
}
.img-fluid {
    width: 100%;
    height: auto;
}

// Block elements
.block-center {
    margin-left: auto;
    margin-right: auto;
}

// Spacing
@each $size, $breakpoint in $grid-breakpoints {
    @include breakpoint-up($size) {

        @each $dir, $abbr in (top: t, right: r, bottom: b, left: l) {
            @for $i from 1 through 4 {
                $name: if($size == xs, #{$abbr}-#{$i}, #{$abbr}-#{$size}-#{$i}); // xs shorthand
                $value: if($i == 4, ($i*1.5) * 0.5rem, $i * 0.5rem); // double the space on 4

                .m#{$name} { // margin
                    margin-#{$dir}: $value;
                }
                .p#{$name} { // padding
                    padding-#{$dir}: $value;
                }
            }
        }

    }
}

// Visibility
@each $size, $breakpoint in $grid-breakpoints {
    @if $breakpoint > 0 {
        @include breakpoint-down($size) {
            .hide-#{$size}-down {
                display: none;
            }
        }
        @include breakpoint-up($size) {
            .hide-#{$size}-up {
                display: none;
            }
        }
    }
}

// Clearfix
.clear:after {
    content: " ";
    display: table;
    clear: both;
}

// Screen readers
.sr-content {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}<commit_msg>Add !important rule to helper classes<commit_after>// Textual
.text-primary  { color: $color-primary; }
.text-positive { color: $color-positive; }
.text-warning  { color: $color-warning; }
.text-negative { color: $color-negative; }
.text-muted    { color: $color-gray-dark; }

@each $size, $breakpoint in $grid-breakpoints {
    @include breakpoint-up($size) {

        @each $align in (left, center, right) {
            $name: if($size == xs, $align, #{$size}-#{$align}); // xs shorthand

            .text-#{$name} {
                text-align: $align!important;
            }
        }

    }
}

// Backgrounds
.bg-primary  { background-color: $color-primary; color: #FFF; }
.bg-positive { background-color: $color-positive; color: #FFF; }
.bg-warning  { background-color: $color-warning; color: #FFF; }
.bg-negative { background-color: $color-negative; color: #FFF; }
.bg-inverse  { background-color: $color-inverse; color: #FFF; }

// Images
.img-auto {
    max-width: 100%;
    height: auto;
}
.img-fluid {
    width: 100%;
    height: auto;
}

// Block elements
.block-center {
    margin-left: auto;
    margin-right: auto;
}

// Spacing
@each $size, $breakpoint in $grid-breakpoints {
    @include breakpoint-up($size) {

        @each $dir, $abbr in (top: t, right: r, bottom: b, left: l) {
            @for $i from 0 through 4 {
                $name: if($size == xs, #{$abbr}-#{$i}, #{$abbr}-#{$size}-#{$i}); // xs shorthand
                $value: if($i == 4, ($i*1.5) * 0.5rem, $i * 0.5rem); // double the space on 4

                .m#{$name} { // margin
                    margin-#{$dir}: $value!important;
                }
                .p#{$name} { // padding
                    padding-#{$dir}: $value!important;
                }
            }
        }

    }
}

// Visibility
@each $size, $breakpoint in $grid-breakpoints {
    @if $breakpoint > 0 {
        @include breakpoint-down($size) {
            .hide-#{$size}-down {
                display: none!important;
            }
        }
        @include breakpoint-up($size) {
            .hide-#{$size}-up {
                display: none!important;
            }
        }
    }
}

// Clearfix
.clear:after {
    content: " ";
    display: table;
    clear: both;
}

// Screen readers
.sr-content {
    position: absolute!important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
{'fraction_non_alphanumeric': 0.17551279340241066, 'fraction_numerical': 0.009727215056037217, 'mean_word_length': 1.8753799392097263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4526619', 'n_tokens_mistral': 1675, 'n_tokens_neox': 1545, 'n_words': 364}