// element loading from element-ui
.elcp-loading-mask {
    position: absolute;
    z-index: 10000;
    background-color: hsla(0, 0%, 100%, .9);
    margin: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition-duration: 300ms;
    opacity: 0;
    &.active{
        opacity: 1;
    }
    &.is-fullscreen {
        position: fixed;
    }
}

.elcp-loading-spinner {
    position: absolute;
    margin-top: -21px;
    top: 50%;
    width: 100%;
    text-align: center;
    .circular {
        width: 42px;
        height: 42px;
        animation: loading-rotate 2s linear infinite;
    }
    .path {
        animation: loading-dash 1.5s ease-in-out infinite;
        stroke-dasharray: 90, 150;
        stroke-dashoffset: 0;
        stroke-width: 2;
        stroke: #20a0ff;
        stroke-linecap: round;
    }
    .el-loading-text {
        color: #20a0ff;
        margin: 3px 0;
        font-size: 14px;
        white-space: pre;
    }
}

@keyframes loading-rotate {
    100% {
        transform: rotate(1turn);
    }
}

@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;
    }
}

/* 公用 - 加载更多按钮 */
.load-more {
    display: block;
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 14px;
    overflow: hidden;
    border: 1px solid #ccc;
    //background: #fff;
}

.load-more:after {
    content: "v";
    display: inline-block;
    width: 21px;
    color: rgba(0, 0, 0, 0);
    vertical-align: top;
    background-size: 11px 7px;
}

.load-more .loading-ring {
    display: none;
}

.loading-more:after {
    content: "\52aa\529b\52a0\8f7d\4e2d\ff0c\8bf7\7b49\5f85";
    display: inline-block;
    text-indent: 15px;
    width: auto;
    font-size: 14px;
    line-height: 70px;
    color: #999;
    vertical-align: top;
    background: none;
}

a.load-more, a.load-more:visited {
    color: #457fe3;
}

/* 公用 - 载入动画 */
.loading-ring {
    display: block;
    position: absolute;
    width: 48px;
    height: 48px;
    left: 50%;
    top: 50%;
    margin: -24px 0 0 -24px;
    animation: loading-animation linear 1s infinite;
    background-size: 100% 100%;
}

.loading-small {
    display: block;
    position: relative;
    padding-left: 20px;
    min-width: 16px;
    min-height: 16px;
}

.loading-small, .loading-more:before {
    background-size: 10px 10px;
}

.loading-more:before {
    content: "z";
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -63px;
    vertical-align: top;
    color: rgba(0, 0, 0, 0);
}

.loading-small .loading-ring, .loading-more .loading-ring {
    display: block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 50%;
    margin: -8px 0 0 0;
    animation: loading-animation linear 1s infinite;
    background-size: contain;
}

.loading-more {
    position: relative;
    font: 0/100px Arial;
    color: rgba(0, 0, 0, 0);
    border-color: transparent;
    text-align: center;
    text-indent: 30px;
}

.loading-more .loading-ring {
    display: inline-block;
    position: absolute;
    left: 50%;
    vertical-align: top;
    margin-left: -63px;
}

@-webkit-keyframes loading-animation {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes loading-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}