﻿/*
    message样式
*/
.ivu-message {
    font-size: 12px;
    position: fixed;
    z-index: 1060;
    width: 100%;
    top: 16px;
    left: 0;
    pointer-events: none
}

.ivu-message-notice {
    padding: 8px;
    text-align: center;
    transition: height .3s ease-in-out, padding .3s ease-in-out
}

    .ivu-message-notice:first-child {
        margin-top: -8px
    }

.ivu-message-notice-close {
    position: absolute;
    right: 4px;
    top: 9px;
    color: #999;
    outline: 0
}

    .ivu-message-notice-close i.ivu-icon {
        font-size: 22px;
        color: #999;
        transition: color .2s ease;
        position: relative;
        top: -3px
    }

        .ivu-message-notice-close i.ivu-icon:hover {
            color: #444
        }

.ivu-message-notice-content {
    display: inline-block;
    pointer-events: all;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
    background: #fff;
    position: relative
}

.ivu-message-notice-content-text {
    display: inline-block
}

.ivu-message-notice-closable .ivu-message-notice-content-text {
    padding-right: 32px
}

.ivu-message-success .ivu-icon {
    color: #19be6b
}

.ivu-message-error .ivu-icon {
    color: #ed3f14
}

.ivu-message-warning .ivu-icon {
    color: #f90
}

.ivu-message-info .ivu-icon,
.ivu-message-loading .ivu-icon {
    color: #2d8cf0
}

.ivu-message .ivu-icon {
    margin-right: 8px;
    font-size: 14px;
    top: 1px;
    position: relative
}

/*
    notice
*/
.ivu-notice {
    position: fixed;
    z-index: 111111;
    width: 100%;
    /*margin-right: 24px;*/
}

.ivu-notice-notice {
    position: relative;
    overflow: hidden;
    /*margin-bottom: 10px;*/
    padding: 10px 10px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
    line-height: 1;
    min-width: 250px;
}

.ivu-notice-notice-close {
    position: absolute;
    top: 15px;
    right: 16px;
    outline: 0;
    color: #999;
}

    .ivu-notice-notice-close i {
        position: relative;
        top: -3px;
        color: #999;
        font-size: 22px;
        transition: color .2s ease;
    }

        .ivu-notice-notice-close i:hover {
            color: #444;
        }

.ivu-notice-notice-with-desc .ivu-notice-notice-close {
    top: 11px;
}

.ivu-notice-title {
    overflow: hidden;
    padding-right: 10px;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.ivu-notice-with-desc .ivu-notice-title {
    margin-bottom: 8px;
    font-weight: 700;
}

.ivu-notice-with-desc.ivu-notice-with-icon .ivu-notice-title {
    margin-left: 51px;
}

.ivu-notice-desc {
    color: #fff;
    text-align: justify;
    font-size: 12px;
    line-height: 1.5;
}

.ivu-notice-with-desc.ivu-notice-with-icon .ivu-notice-desc {
    margin-left: 51px;
}

.ivu-notice-with-icon .ivu-notice-title {
    margin-left: 20px;
}

.ivu-notice-icon {
    position: absolute;
    left: 10px;
    margin-top: -1px;
    font-size: 16px;
    color: #fff;
}

.ivu-notice-icon-success {
    color: #19be6b;
}

.ivu-notice-icon-info {
    color: #2d8cf0;
}

.ivu-notice-icon-warning {
    color: #f90;
}

.ivu-notice-icon-error {
    color: #ed3f14;
}

.ivu-notice-with-desc .ivu-notice-icon {
    font-size: 36px;
}

.ivu-notice-custom-content:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 4px;
    content: "";
}

.ivu-notice-with-info,
.ivu-notice-with-normal {
    background: #2d8cf0;
}

.ivu-notice-with-success {
    background: #19be6b;
}

.ivu-notice-with-warning {
    background: #f90;
}

.ivu-notice-with-error {
    background: #ed3f14;
}

/*
    loading
*/
.loading-mask {
    position: absolute;
    z-index: 2000;
    background-color: rgba(255,255,255,.7);
    margin: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-transition: opacity .3s;
    transition: opacity .3s
}

    .loading-mask.is-fullscreen {
        position: fixed
    }

        .loading-mask.is-fullscreen .loading-spinner {
            margin-top: -25px
        }

            .loading-mask.is-fullscreen .loading-spinner .circular {
                height: 50px;
                width: 50px
            }

.loading-spinner {
    top: 50%;
    margin-top: -21px;
    width: 100%;
    text-align: center;
    position: absolute
}


    .loading-spinner .loading-text {
        color: #409EFF;
        margin: 3px 0;
        font-size: 14px
    }

    .loading-spinner .circular {
        height: 42px;
        width: 42px;
        -webkit-animation: loading-rotate 2s linear infinite;
        animation: loading-rotate 2s linear infinite
    }

    .loading-spinner .path {
        -webkit-animation: loading-dash 1.5s ease-in-out infinite;
        animation: loading-dash 1.5s ease-in-out infinite;
        stroke-dasharray: 90,150;
        stroke-dashoffset: 0;
        stroke-width: 2;
        stroke: #409EFF;
        stroke-linecap: round
    }

    .loading-spinner i {
        color: #409EFF
    }

@-webkit-keyframes loading-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes loading-rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@-webkit-keyframes loading-dash {
    0% {
        stroke-dasharray: 1,200;
        stroke-dashoffset: 0
    }

    50% {
        stroke-dasharray: 90,150;
        stroke-dashoffset: -40px
    }

    100% {
        stroke-dasharray: 90,150;
        stroke-dashoffset: -120px
    }
}

@keyframes loading-dash {
    0% {
        stroke-dasharray: 1,200;
        stroke-dashoffset: 0
    }

    50% {
        stroke-dasharray: 90,150;
        stroke-dashoffset: -40px
    }

    100% {
        stroke-dasharray: 90,150;
        stroke-dashoffset: -120px
    }
}
