.x-toast-notification {
    position: fixed;
    top: .5rem;
    left: 50%;
    display: inline-block;
    transform: translate(-50%, 0);
    z-index: 1000;
    .x-toast-notice {
        height: .5rem;
        background-color: #ffffff;
        border-radius: 4px;
        font-size: 14px;
        margin-bottom: .1rem;
        box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
        display: flex;
        position: relative;
        cursor: pointer;
        .x-toast-icon-box {
            width: .5rem;
            height: .5rem;
            text-align: center;
            line-height: .5rem;
            color: #ffffff;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
            &.success {
                background-color: #41B580;
            }
            &.info {
                background-color: #5B86FD;
            }
            &.error {
                background-color: #FF4D4F;
            }
            &.warning {
                background-color: #E96900;
            }
        }
        .x-toast-notice-content {
            padding: .14rem .2rem;
        }
    }

    .toast-notice-enter {
        opacity: 0.01;
        transform: translateY(-40%);
    }
    .toast-notice-enter-active {
        opacity: 1;
        transform: translateY(0);
        transition: all 300ms ease-out;
    }
    .toast-notice-exit {
        opacity: 1;
        transform: translateY(0);
    }
    .toast-notice-exit-active {
        opacity: 0.01;
        transform: translateY(-40%);
        transition: all 300ms ease-out;
    }
}

.x-toast-notification-i18n {
    position: fixed;
    top: .5rem;
    right: 50%;
    display: inline-block;
    transform: translate(50%, 0);
    z-index: 1000;
    .x-toast-notice {
        height: .5rem;
        background-color: #ffffff;
        border-radius: 4px;
        font-size: 14px;
        margin-bottom: .1rem;
        box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.15);
        display: flex;
        position: relative;
        cursor: pointer;
        .x-toast-icon-box {
            width: .5rem;
            height: .5rem;
            text-align: center;
            line-height: .5rem;
            color: #ffffff;
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
            &.success {
                background-color: #41B580;
            }
            &.info {
                background-color: #5B86FD;
            }
            &.error {
                background-color: #FF4D4F;
            }
            &.warning {
                background-color: #E96900;
            }
        }
        .x-toast-notice-content {
            padding: .14rem .2rem;
        }
    }

    .toast-notice-enter {
        opacity: 0.01;
        transform: translateY(-40%);
    }
    .toast-notice-enter-active {
        opacity: 1;
        transform: translateY(0);
        transition: all 300ms ease-out;
    }
    .toast-notice-exit {
        opacity: 1;
        transform: translateY(0);
    }
    .toast-notice-exit-active {
        opacity: 0.01;
        transform: translateY(-40%);
        transition: all 300ms ease-out;
    }
}