@import '../../styles/async-notice.less';

.ats-async-notice{
    position: fixed;
    bottom: 0px;
    right: 0px;
    height: 100%;
    z-index: @ats-async-notice-zindex;
    &_bell{
        position: fixed;
        bottom: 35px;
        // left:-38px;
        right: 0px;
        z-index: calc(@ats-async-notice-zindex - 1);
        width: 78px;
        height: 78px;
        background: url('./img/icon_bell@2x.png') no-repeat top center;
        background-size: 100%;
        text-align: center;
        line-height: 64px;
        transition: all 0.5s;
        cursor: pointer;
        .biz-icon{
            color: white;
            font-size: 22px;
        }
    }
    &_bell-location{
        opacity: 0;
    }
    &_bell-text{
        font-family: DIN-Bold;
        font-size: 20px;
        color: #FFFFFF;
        letter-spacing: 0;
    }
    &_list{
        width: 308px;
        height: 100%;
        background: #FFFFFF;
        box-shadow: -6px 0 22px -2px rgba(184,184,184,0.40);
        border-radius: 0 0 0 50px;
        padding-top: 1px;
    }
    &_list-head{
        height: 45px;
        line-height: 45px;
        font-family: PingFangSC-Medium;
        font-size: 14px;
        color: #333333;
        letter-spacing: 0;
        padding-left: 20px;
    }
    &_list-close{
        float: right;
        width: 30px;
        height: 30px;
        cursor: pointer;
        background: url('../../assets/img/icon_close@2x.png') no-repeat right top;
        background-size: 30px;
    }
    &_list-empty{
        width: 100%;
        height: 270px;
        background: url('./img/ima_empty@2x.png') no-repeat center 90%;
        background-size: 70%;
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #999999; 
        text-align: center;
        line-height: 520px;
    }
    &_list-lists{
        width: 100%;
        height: calc(100% - 60px);
        padding: 0 20px;
        overflow-y: auto;
    }
    &_list-lists::-webkit-scrollbar {
        display: none;
        width: 0 !important;
        -ms-overflow-style: none;
        overflow: -moz-scrollbars-none;
    }

    &_list-item{
        width: 100%;
        background: #F5F7F7;
        border-radius: 4px;
        padding: 12px 10px 10px 14px;
        margin-top:10px;
        &-img{
            display: inline-block;
            width: 32px;
            height: 100%;
            vertical-align: top;
            .biz-icon{
                display: inline-block;
                width: 100%;
                text-align: center;
                height: 32px;
                line-height: 32px;
                border-radius: 50%;
            }
        }
        &-info{
            display: inline-block;
            width: 200px;
            padding-left: 12px;
        }
        .biz-icon-blue{
            background: #0489FF;
            color: white;
        }
        .biz-icon-orange{
            background: #FF7525;
            color: white;
        }
    }
    &_info-type{
        width: 100%;
        line-height: 22px;
        font-family: PingFangSC-Regular;
        >span:nth-of-type(1){
            font-family: PingFangSC-Medium;
            font-size: 14px;
            color: #333333;
            letter-spacing: 0;
        }
        >span:nth-of-type(2){
            float: right;
            font-size: 12px;
            color: #A4AAAA;
            letter-spacing: 0;
        }
    }
    &_info-users{
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #686C6C;
        letter-spacing: 0;
    }
    &_info-loading{
        margin-top:6px;
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #686C6C;
        letter-spacing: 0;
        .biz-icon{
            display: inline-block;
            font-size: 12px;
            animation: loading 1s infinite linear;
        }
    }
    &_info-op{
        width: 100%;
        margin-top:4px;
    }
    &_info-percent{
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #686C6C;
        letter-spacing: 0;
    }
    &_info-btn{
        display: inline-block;
        width: 90px;
        height: 26px;
        margin-top:10px;
        line-height: 26px;
        text-align: center;
        background: #38B697;
        box-shadow: 0 5px 16px -2px rgba(56,182,151,0.46);
        border-radius: 2px;
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #FFFFFF;
        letter-spacing: 0;
        cursor: pointer;
    }
    &_info-btn:hover{
        color: white;
    }

    &_button{
        margin-top:10px;
        width: 100%;
        height: 30px;
        line-height: 30px;
        text-align: center;
        color: white;
        background-color: #38B697;
        border-radius: 4px;
        cursor: pointer;
    }
    &_notification{
        right: 70px !important;
        bottom: 45px !important;
        .biz-msg_item-icon,.biz-msg_item-message{
            display: none;
        }
        .ats-async-notice_list-item{
            padding: 0px;
        }
        .biz-msg_item{
            height: auto;
        }
    }
}
@keyframes loading {
    0%{
        transform: rotateZ(0deg);
    }
    100%{
        transform: rotateZ(360deg);
    }
}
