<commit_before>// Main sidebar container
.RightSidebar {
    flex-direction: column-reverse;
    align-items: flex-end;

    @media screen and (max-width: $breakpointsMobile) {
        display: none;
    }
}

.RightSidebar > div {
    width: 100%;
    max-width: 300px;
}

.RightSidebar-Controls,
.RightSidebar-LandmarksPanel,
.RightSidebar-Header {
    display: flex;
    opacity: .9;
}

.RightSidebar-Template {
    @extend %transitionAll;
    min-height: $mainControlHeight;
    line-height: $mainControlHeight;
    background: $colorDarkerBlue;
    color: white;
    cursor: pointer;
    font-size: large;
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 1px;
    margin-bottom: 1px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    &:hover {
        background: $colorDarkBlue;
    }

    &.Disabled {
        cursor: default;
        background: $colorDarkerBlue;
    }
}

.RightSidebar-UndoRedo {
    > div {
        @extend %transitionAll;
        min-height: $mainControlHeight;
        line-height: $mainControlHeight;
        width: $mainControlHeight;
        background: $colorPurple;
        color: white;
        float: left;
        margin-left: 1px;
        margin-bottom: 1px;
        cursor: pointer;

        &:first-of-type {
            border-top-left-radius: $mainBorderRadius;
        }

        &:last-of-type {
            transform: scale(-1, 1);
        }

        &:hover {
            background: $colorDarkPurple;
        }

        &.Disabled {
            cursor: default;
            background: $colorGray;
        }
    }
}

/* Special RightSidebar item used for rows (e.g. two buttons).
is itself a row flexbox */
.RightSidebar-Controls {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    min-height: $mainControlHeight;

    &.Hide {
        display: none;
    }
}

.RightSidebar-Controls-Item {
    flex: 2;
    margin-left: 1px;

    &:last-of-type {
      flex: 1;
    }
}

/* Landmarks selector */
.RightSidebar-LandmarksPanel {
    flex-direction: column;
    cursor: pointer;<commit_msg>Margin around second sidebar control<commit_after>// Main sidebar container
.RightSidebar {
    flex-direction: column-reverse;
    align-items: flex-end;

    @media screen and (max-width: $breakpointsMobile) {
        display: none;
    }
}

.RightSidebar > div {
    width: 100%;
    max-width: 300px;
}

.RightSidebar-Controls,
.RightSidebar-LandmarksPanel,
.RightSidebar-Header {
    display: flex;
    opacity: .9;
}

.RightSidebar-Template {
    @extend %transitionAll;
    min-height: $mainControlHeight;
    line-height: $mainControlHeight;
    background: $colorDarkerBlue;
    color: white;
    cursor: pointer;
    font-size: large;
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 1px;
    margin-bottom: 1px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    &:hover {
        background: $colorDarkBlue;
    }

    &.Disabled {
        cursor: default;
        background: $colorDarkerBlue;
    }
}

.RightSidebar-UndoRedo {
    > div {
        @extend %transitionAll;
        min-height: $mainControlHeight;
        line-height: $mainControlHeight;
        width: $mainControlHeight;
        background: $colorPurple;
        color: white;
        float: left;
        margin-left: 1px;
        margin-bottom: 1px;
        cursor: pointer;

        &:first-of-type {
            border-top-left-radius: $mainBorderRadius;
        }

        &:last-of-type {
            transform: scale(-1, 1);
        }

        &:hover {
            background: $colorDarkPurple;
        }

        &.Disabled {
            cursor: default;
            background: $colorGray;
        }
    }
}

/* Special RightSidebar item used for rows (e.g. two buttons).
is itself a row flexbox */
.RightSidebar-Controls {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 1px;
    min-height: $mainControlHeight;

    &.Hide {
        display: none;
    }

    &:first-of-type {
        margin-bottom: 0;
    }
}

.RightSidebar-Controls-Item {
    flex: 2;
    margin-left: 1px;

    &:last-of-type {
      flex: 1;
    }
}

/* Landmarks selector */
.RightSidebar-LandmarksPanel {
    flex-direction: column;
    cursor: pointer;
{'fraction_non_alphanumeric': 0.11818598259276225, 'fraction_numerical': 0.008245533669262483, 'mean_word_length': 2.112615823235923, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6585775', 'n_tokens_mistral': 1449, 'n_tokens_neox': 1392, 'n_words': 300}