<commit_before>#notification-area {
    $transparency: 0.15;

    .notifications-fixed {
        position: fixed;
    }

    &, & .notifications-fixed {
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    > .notification {
        opacity: 0;
    }

    .notification {
        box-sizing: border-box;
        text-align: center;
        overflow: hidden;

        @include animation(fadein 0.5s 1 ease-in);

        &.fade-out {
            @include animation(fadeout 0.5s 1 ease-out);
            opacity: 0;
            max-height: 0;
        }

        div {
            padding: 10px;
        }

        & > .btn-close {
            cursor: pointer;
            padding: 10px 15px;
            position: absolute;
            right: 0;
            top: 0;
        }
    }

    .notification-notice {
        background: $darker-gray;
        background: transparentize($darker-gray, $transparency);
    }

    .notification-success {
        background: $lighter-green;
        background: transparentize($lighter-green, $transparency);
    }

    .notification-error {
        background: $light-red;
        background: transparentize($light-red, $transparency);
    }
}

@include keyframes(fadein) {
    0% {
        opacity: 0;
        max-height: 0;
    }

    100% {
        opacity: 1;
        max-height: 150px;
    }
}

@include keyframes(fadeout) {
    0% {
        opacity: 1;
        max-height: 150px;
    }

    100% {
        opacity: 0;
        max-height: 0;
    }
}
<commit_msg>fix the position of close buttons<commit_after>#notification-area {
    $transparency: 0.15;

    .notifications-fixed {
        position: fixed;
    }

    &, & .notifications-fixed {
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    > .notification {
        opacity: 0;
    }

    .notification {
        box-sizing: border-box;
        text-align: center;
        overflow: hidden;
        position: relative;

        @include animation(fadein 0.5s 1 ease-in);

        &.fade-out {
            @include animation(fadeout 0.5s 1 ease-out);
            opacity: 0;
            max-height: 0;
        }

        div {
            padding: 10px;
        }

        & > .btn-close {
            cursor: pointer;
            padding: 10px 15px;
            position: absolute;
            right: 0;
            top: 0;
        }
    }

    .notification-notice {
        background: $darker-gray;
        background: transparentize($darker-gray, $transparency);
    }

    .notification-success {
        background: $lighter-green;
        background: transparentize($lighter-green, $transparency);
    }

    .notification-error {
        background: $light-red;
        background: transparentize($light-red, $transparency);
    }
}

@include keyframes(fadein) {
    0% {
        opacity: 0;
        max-height: 0;
    }

    100% {
        opacity: 1;
        max-height: 150px;
    }
}

@include keyframes(fadeout) {
    0% {
        opacity: 1;
        max-height: 150px;
    }

    100% {
        opacity: 0;
        max-height: 0;
    }
}

{'fraction_non_alphanumeric': 0.1185137732222934, 'fraction_numerical': 0.03139013452914798, 'mean_word_length': 1.455188679245283, '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': '7185605', 'n_tokens_mistral': 1074, 'n_tokens_neox': 953, 'n_words': 201}