<commit_before>.localization:not(.active)
{
    display: none;
}

.localization-switch
{
    position: absolute;
    right: 0;
    top: 13px;

    .trigger
    {
        display: inline-block;
        padding: 0 steps(1);
        border: 1px solid $color-border-normal;
        background: $color-background-lighter;
        color: $color-text-normal;
        text-transform: uppercase;

        &:hover
        {
            border-color: $color-border-darker;
        }

        &:focus,
        &:active
        {
            background-color: $color-background-darkest;
            border-color: $color-background-darkest;
            color: $color-text-normal;
        }

        .fa
        {
            @include icon-small;
            color: $color-highlight-darkest;
            margin-left: 9px;
        }

    }

}





.localization-menu-items
{
    @include pop-up-menu;

    border: 1px solid $color-border-normal;
    box-shadow: 0 0 2px 2px $color-shadow-lightest;

    button
    {
        background: $color-background-lightest;

        text-transform: uppercase;
        padding: steps(0.5) steps(2);

        &:hover,
        &:focus
        {
            background: $color-background-normal;
        }
    }

}

.localization-menu-overlay
{
    @include full-screen-overlay;
}




<commit_msg>Tidy up localization switch styles<commit_after>.localization:not(.active)
{
    display: none;
}

.localization-switch
{
    position: absolute;
    right: 0;
    top:   steps(1);

    .trigger
    {
        display: inline-block;
        padding: 0 steps(1);
        border: 1px solid $color-border-normal;
        background: $color-background-lighter;
        color: $color-text-normal;
        text-transform: uppercase;

        &:hover
        {
            border-color: $color-border-darker;
        }

        &:focus,
        &:active
        {
            background-color: $color-background-darkest;
            border-color: $color-background-darkest;
            color: $color-text-normal;
        }

        .fa
        {
            @include icon-small;
            color: $color-highlight-darkest;
            margin-left: steps(1);
        }

    }

}





.localization-menu-items
{
    @include pop-up-menu;

    border: 1px solid $color-border-normal;
    box-shadow: 0 0 2px 2px $color-shadow-lightest;

    button
    {
        background: $color-background-lightest;

        text-transform: uppercase;
        padding: steps(0.5) steps(2);

        &:hover,
        &:focus
        {
            background: $color-background-normal;
        }
    }

}

.localization-menu-overlay
{
    @include full-screen-overlay;
}





{'fraction_non_alphanumeric': 0.11852963240810202, 'fraction_numerical': 0.010877719429857465, 'mean_word_length': 1.6484607745779543, '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': '3109503', 'n_tokens_mistral': 873, 'n_tokens_neox': 815, 'n_words': 148}