<commit_before>/* contributor avatars at top of articles */

$avatar-max-width = 20px;
$avatar-margin = 5px;
$avatar-limit = 6;

.contributor-avatars {
    bidi-value(float, right, left);
    position: relative;
    max-width: ($avatar-limit * ($avatar-max-width + $avatar-margin));
    margin-top: 23px;
    bidi-style(margin-left, $grid-spacing, margin-right, 0);
    margin-bottom: $grid-spacing;
    color: #777;
    set-smaller-font-size();
    bidi-value(text-align, right, left);

    .from-search &,
    .no-js & {
        display: none;
    }

    &.contributor-avatars-open {
        max-width: none;
        width: 100%;
        bidi-style(margin-left, 0, margin-right, 0);
    }


    ul {
        display: inline-block;
        opacity: 0.7;
        vendorize(transition, opacity .3s ease-in-out);

        &:hover,
        &.focused {
            opacity: 1;
        }

        li {
            bidi-value(float, left, right);
            bidi-value(margin, 0 0 4px $avatar-margin, 0 $avatar-margin 4px 0);
            display: inline-block;


            &.hidden {
                display: none;
            }
        }

        a {
            display: inline-block;
            vendorize(transition, all .2s);
            background-color: $grey;

            &:hover,
            &:focus {
                outline: none;
                vendorize(transform, scale(1.7));
            }
        }
    }

    .avatar {
        vertical-align: text-bottom;
        border-radius: 2px;
        max-width: $avatar-max-width;
        opacity: 0;

        &.loaded {
            opacity: 1;
        }
    }

    button {
        position: absolute;
        top: 100%;
        bidi-style(right, 0, left, auto);
        margin-top: -5px;
        padding: 0;
        color: $link-color;
        text-transform: none;
    }
}


@media $media-query-mobile {
    .contributor-avatars {
        display: none;
    }
}<commit_msg>Fix Bug 1295200: contributor button text right align<commit_after>/* contributor avatars at top of articles */

$avatar-max-width = 20px;
$avatar-margin = 5px;
$avatar-limit = 6;

.contributor-avatars {
    bidi-value(float, right, left);
    position: relative;
    max-width: ($avatar-limit * ($avatar-max-width + $avatar-margin));
    margin-top: 23px;
    bidi-style(margin-left, $grid-spacing, margin-right, 0);
    margin-bottom: $grid-spacing;
    color: #777;
    set-smaller-font-size();
    bidi-value(text-align, right, left);

    .from-search &,
    .no-js & {
        display: none;
    }

    &.contributor-avatars-open {
        max-width: none;
        width: 100%;
        bidi-style(margin-left, 0, margin-right, 0);
    }


    ul {
        display: inline-block;
        opacity: 0.7;
        vendorize(transition, opacity .3s ease-in-out);

        .contributor-avatars-open&,
        &:hover,
        &.focused {
            opacity: 1;
        }
    }

    li {
        bidi-value(float, left, right);
        bidi-value(margin, 0 0 4px $avatar-margin, 0 $avatar-margin 4px 0);
        display: inline-block;


        &.hidden {
            display: none;
        }
    }

    a {
        display: inline-block;
        vendorize(transition, all .2s);

        &:hover,
        &:focus {
            outline: none;
            vendorize(transform, scale(1.7));
        }
    }

    .avatar {
        vertical-align: text-bottom;
        border-radius: 2px;
        max-width: $avatar-max-width;
        opacity: 0;

        &.loaded {
            opacity: 1;
        }
    }

    button {
        position: absolute;
        top: 100%;
        bidi-style(right, 0, left, auto);
        margin-top: -5px;
        padding: 0;
        color: $link-color;
        bidi-value(text-align, right, left)
        text-transform: none;
    }
}


@media $media-query-mobile {
    .contributor-avatars {
        display: none;
    }
}
{'fraction_non_alphanumeric': 0.13556701030927834, 'fraction_numerical': 0.020876288659793813, 'mean_word_length': 1.6152291105121295, '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': '2401725', 'n_tokens_mistral': 1382, 'n_tokens_neox': 1265, 'n_words': 267}