<commit_before>// @import "../core/core";

@mixin dc-dialog {
    transform: rotateX(0deg) translateY(0) translateZ(0);
    transition: transform 2s cubic-bezier(.25, .46, .45, .94), opacity .2s cubic-bezier(.39, .58, .57, 1);
    border-radius: 2px;
    background: $dc-white;
    // scss-lint:disable ColorVariable
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    // scss-lint:enable ColorVariable
}

@mixin dc-dialog-overlay {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    padding: $dc-space100;
    transition: opacity .2s .2s cubic-bezier(.39, .58, .57, 1);
    background: rgba($dc-black, .6);
    opacity: 0;
    z-index: 999;
    perspective: 600px;
}

@mixin dc-dialog__body {
    padding: $dc-space150 $dc-space150 $dc-space100;
}

@mixin dc-dialog__close {
    margin-top: -1.6rem;
    margin-right: -1rem;
    float: right;

    // FIXME @controversial BEM
    .dc-icon {
        color: $dc-gray30;
        font-size: 1.2rem;
    }

    // FIXME @controversial BEM
    .touch &:active,
    .no-touch &:active {
        transform: scale(.85);
    }
}

@mixin dc-dialog__actions {
    display: flex;
    justify-content: flex-end;
    padding: $dc-space150 $dc-space150 $dc-space100;
    border-top: 1px solid $dc-gray60;
    border-radius: 0 0 $dc-radius100 $dc-radius100;
    background: $dc-gray70;

    // FIXME @controversial BEM
    .dc-link {
        // Ensure links align and space to buttons correctly;
        display: block;
        margin: 0 $dc-space100;
        padding: $dc-space75 0;
    }
}

@mixin dc-dialog__title {
    @include dc-h3;
    display: inline-block;
    margin: 0 0 $dc-space50;
    color: $dc-gray10;
    font-size: 2.2rem;
    font-weight: 300;
}

@mixin dc-dialog__subtitle {
    @include dc-h4;
    display: inline-block;
    margin: 0 0 $dc-space50;
    color: $dc-gray50;
    font-size: 1.4rem;
    font-weight: 300;
}

@mixin dc-dialog-selectors {
    .dc-dialog {
        @include dc-dialog;
    }

    .dc-dialog__overlay {
        @include dc-dialog-overlay;
    }

    .dc-dialog__body {
        @include dc-dialog__body;
    }

    .dc-dialog__actions {
        @include dc-dialog__actions;
    }

    .dc-dialog__close {
        @include dc-dialog__close;
    }

    .dc-dialog__title {
        @include dc-dialog__title;
    }

    .dc-dialog__subtitle {
        @include dc-dialog__subtitle;
    }

    .dc-dialog__actions {
        @include dc-dialog__actions;
    }
}


<commit_msg>fix(dialog): Fix bgcolor of dialog actions area<commit_after>// @import "../core/core";

@mixin dc-dialog {
    transform: rotateX(0deg) translateY(0) translateZ(0);
    transition: transform 2s cubic-bezier(.25, .46, .45, .94), opacity .2s cubic-bezier(.39, .58, .57, 1);
    border-radius: 2px;
    background: $dc-white;
    box-shadow: 0 5px 10px rgba($dc-black, .2);
}

@mixin dc-dialog-overlay {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    padding: $dc-space100;
    transition: opacity .2s .2s cubic-bezier(.39, .58, .57, 1);
    background: rgba($dc-black, .6);
    opacity: 0;
    z-index: 999;
    perspective: 600px;
}

@mixin dc-dialog__body {
    padding: $dc-space150 $dc-space150 $dc-space100;
}

@mixin dc-dialog__close {
    margin-top: -1.6rem;
    margin-right: -1rem;
    float: right;

    // FIXME @controversial BEM
    .dc-icon {
        color: $dc-gray30;
        font-size: 1.2rem;
    }

    // FIXME @controversial BEM
    .touch &:active,
    .no-touch &:active {
        transform: scale(.85);
    }
}

@mixin dc-dialog__actions {
    display: flex;
    justify-content: flex-end;
    padding: $dc-space150 $dc-space150 $dc-space100;
    border-top: 1px solid $dc-gray70;
    border-radius: 0 0 $dc-radius100 $dc-radius100;
    background: $dc-gray80;

    // FIXME @controversial BEM
    .dc-link {
        // Ensure links align and space to buttons correctly;
        display: block;
        margin: 0 $dc-space100;
        padding: $dc-space75 0;
    }
}

@mixin dc-dialog__title {
    @include dc-h3;
    display: inline-block;
    margin: 0 0 $dc-space50;
    color: $dc-gray10;
    font-size: 2.2rem;
    font-weight: 300;
}

@mixin dc-dialog__subtitle {
    @include dc-h4;
    display: inline-block;
    margin: 0 0 $dc-space50;
    color: $dc-gray50;
    font-size: 1.4rem;
    font-weight: 300;
}

@mixin dc-dialog-selectors {
    .dc-dialog {
        @include dc-dialog;
    }

    .dc-dialog__overlay {
        @include dc-dialog-overlay;
    }

    .dc-dialog__body {
        @include dc-dialog__body;
    }

    .dc-dialog__actions {
        @include dc-dialog__actions;
    }

    .dc-dialog__close {
        @include dc-dialog__close;
    }

    .dc-dialog__title {
        @include dc-dialog__title;
    }

    .dc-dialog__subtitle {
        @include dc-dialog__subtitle;
    }

    .dc-dialog__actions {
        @include dc-dialog__actions;
    }
}

{'fraction_non_alphanumeric': 0.13872946764298436, 'fraction_numerical': 0.048486047892341184, 'mean_word_length': 2.2232142857142856, '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': '649293', 'n_tokens_mistral': 2043, 'n_tokens_neox': 1850, 'n_words': 410}