<commit_before>@require "carousel-settings.styl";
.carousel {
    display: block;
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: height 0.5s;
    &:after {
        display: table;
        content: '';
        clear: both;
    }
    & > div {
        display: block;
        position: absolute;
        padding: 0;
        margin: 0;
        min-height: $carousel-min-height;
        right: 0;
        left: 0;
        transition: transform 0.5s, visibility 0.5s;
        transform: translateX(-100%);
        visibility: hidden;
        &.carousel-selected {
            transform: translateX(0);
            position: relative;
            visibility: visible;
        }
        &.carousel-selected ~ div {
            transform: translateX(100%);
        }
    }
    & > div.carousel-selected.carousel-selecting, 
    &.carousel-run > div {
        &.carousel-selected {
            position: absolute;
            z-index: 1;
        }
    }
    &.carousel-animate-fade {
        & > div {
            transition: transform 0.5s, opacity 0.5s;
            opacity: 0;
            &.carousel-selected {
                opacity: 1;
            }
        }
    }
}<commit_msg>Changed carousel to only animate height on run.<commit_after>@require "carousel-settings.styl";
.carousel {
    display: block;
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    &:after {
        display: table;
        content: '';
        clear: both;
    }
    & > div {
        display: block;
        position: absolute;
        padding: 0;
        margin: 0;
        min-height: $carousel-min-height;
        right: 0;
        left: 0;
        transition: transform 0.5s, visibility 0.5s;
        transform: translateX(-100%);
        visibility: hidden;
        &.carousel-selected {
            transform: translateX(0);
            position: relative;
            visibility: visible;
        }
        &.carousel-selected ~ div {
            transform: translateX(100%);
        }
    }
    & > div.carousel-selected.carousel-selecting, 
    &.carousel-run {
        transition: height 0.5s;
        & > div {
            &.carousel-selected {
                position: absolute;
                z-index: 1;
            }
        }
    }
    &.carousel-animate-fade {
        & > div {
            transition: transform 0.5s, opacity 0.5s;
            opacity: 0;
            &.carousel-selected {
                opacity: 1;
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.11507936507936507, 'fraction_numerical': 0.020634920634920634, 'mean_word_length': 1.4055343511450382, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3807520', 'n_tokens_mistral': 781, 'n_tokens_neox': 730, 'n_words': 161}