$font-family-S: "PingFangSC-Regular",
"Microsoft YaHei";
$font-family-S12: "PingFangSC-Regular ",
"SimSun";
.my-todo {
    font-family: $font-family-S; // padding:15px;
    // position: relative;
    background: #ffffff;
    min-width: 240px;
    height: 100%;
    .my-todo-title-icon {
        background: url('//stnew03.beisen.com/ux/upaas-portal/release/extras/images/components/my-todo-icon2.svg') 50% 50% no-repeat; // width: 18px;
        // height: 18px;
        // display: inline-block;
        // font-size: 18px;
        // color:#2AC6C6;
        // vertical-align: middle;
        // line-height:24px;            
    }
    .my-todo-content {
        height: calc(100% - 38px);
        height: -moz-calc(100% - 38px);
        height: -webkit-calc(100% - 38px);
        .for-no-data {
            height: calc(100% - 34px);
            height: -moz-calc(100% - 34px);
            height: -webkit-calc(100% - 34px);
        }
        .for-no-data-no-app {
            height: 100%;
        }
    }
    .apps-todos-list {
        margin-top: 13px;
        margin-bottom: 10px;
        padding: 0 5px;
        .todos-item {
            display: inline-block;
            padding: 2px 10px;
            border-radius: 100px;
            font-size: 12px;
            line-height: 20px;
            background: #E7EEF3;
            color: #8F9CA6;
            margin-left: 10px;
            position: relative;
            cursor: pointer;
            transition: all 0.5s ease-out;
            -moz-transition: all color 0.5s ease-out;
            -webkit-transition: all 0.5s ease-out;
            -o-transition: all 0.5s ease-out;
            -ms-transition: all 0.5s ease-out;
            .apps-todos-info {
                font-family: $font-family-S12;
                cursor: pointer;
                .apps-todos-total {
                    font-family: $font-family-S12;
                    cursor: pointer;
                    margin-left: 2px;
                    display: inline-block;
                }
            }
            .red-point {
                display: inline-block;
                background: red;
                position: absolute;
                top: 0;
                right: 0;
                width: 6px;
                height: 6px;
                border-radius: 50%;
            }
            .todos-all-info {
                cursor: pointer;
                font-family: $font-family-S;
                .todos-all-content {
                    font-family: $font-family-S;
                    display: inline-block;
                    margin-left: 2px;
                }
            }
        }
        .todos-item:first-child {
            margin: 0;
        }
        .todos-item:hover {
            color: #fff;
            transition: background 0.1s ease-out;
            -moz-transition: background color 0.1s ease-out;
            -webkit-transition: background 0.1s ease-out;
            -o-transition: background 0.1s ease-out;
            -ms-transition: background 0.1s ease-out;
        }
        .bac-f0:hover {
            background: #ed5858;
        }
        .bac-f0:focus {
            background: #ed5858;
        }
        .bac-f1:hover {
            background: #f28d49;
        }
        .bac-f2:hover {
            background: #f5d540;
        }
        .bac-f3:hover {
            background: #38ba72;
        }
        .bac-f4:hover {
            background: #55c6c6;
        }
        .bac-f5:hover {
            background: #41b0d9;
        }
        .bac-f6:hover {
            background: #5b99ee;
        }
        .todos-all {
            background: #3F9CEE;
            color: #FFFFFF; // margin:0;
            // .todos-all-info{
            //     .todos-all-content{
            //         display: inline-block;
            //         margin-left: 2px;
            //     }
            // }
        }
        .todos-item-all:hover {
            background: #3F9CEE;
            color: #FFFFFF;
        }
        .apps-todos-more {
            display: inline-block;
            position: relative;
            .todos-more-title {
                cursor: pointer;
                display: inline-block;
                padding: 2px 10px;
                border-radius: 100px;
                font-size: 12px;
                line-height: 20px;
                background: #E7EEF3;
                color: #8F9CA6;
                margin-left: 10px;
                position: relative;
                transition: all 0.5s ease-out;
                -moz-transition: all color 0.5s ease-out;
                -webkit-transition: all 0.5s ease-out;
                -o-transition: all 0.5s ease-out;
                -ms-transition: all 0.5s ease-out;
            }
            .more-point {
                display: inline-block;
                width: 2px;
                height: 2px;
                background: #8F9CA6;
                ;
                border-radius: 100%;
                vertical-align: middle;
                margin-right: 4px;
            }
            .more-point:last-child {
                margin-right: 0px;
            }
            ul {
                position: absolute;
                right: 0;
                top: 25px;
                width: 170px;
                max-height: 242px;
                overflow-y: auto;
                color: #36434D;
                line-height: 20px;
                font-size: 12px;
                box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.30);
                border-radius: 2px;
                z-index: 99;
                background-color: #fff;
                li {
                    padding: 5px 15px;
                    cursor: pointer;
                    .apps-todos-info {
                        cursor: pointer;
                        .apps-todos-total {
                            cursor: pointer;
                            display: inline-block;
                            margin-left: 5px;
                            padding: 0 5px;
                            height: 16px;
                            line-height: 16px; // vertical-align: middle;
                            border-radius: 100px;
                            color: #fff;
                        }
                    }
                }
                li:hover {
                    background: #F5F8FA;
                    color: #1687D9;
                }
                li.todos-pop-item-on {
                    background: #F5F8FA;
                    color: #1687D9;
                }
            }
        }
        .apps-todos-more:hover {
            .todos-more-title {
                transition: background 0.1s ease-out;
                -moz-transition: background color 0.1s ease-out;
                -webkit-transition: background 0.1s ease-out;
                -o-transition: background 0.1s ease-out;
                -ms-transition: background 0.1s ease-out;
                background: #1687d9;
                color: #fff;
                .more-point {
                    background: #fff;
                }
            }
        }
    }
    .my-todo-list {
        margin-top: 5px;
        height: calc(100% - 56px);
        height: -moz-calc(100% - 56px);
        height: -webkit-calc(100% - 56px);
        padding: 0 5px;
        position: relative; // max-height: 283px;
        // overflow-y: auto;
        ul {
            .my-todo-item {
                list-style-type: none; // border-bottom: 1px solid #e4ebf0;
                // padding:10px 0 9px 0; 
                position: relative;
                .todo-item-avatar{
                    display: inline-block;
                    width: 30px;
                    height: 30px;
                    border-radius: 100%;
                    cursor: pointer;
                }
                .avatar {
                    vertical-align: top;
                    margin-top: 10px;
                }
                .red-point {
                    position: absolute;
                    background: red;
                    width: 6px;
                    height: 6px;
                    display: inline-block;
                    left: 26px;
                    border-radius: 50%;
                    top: 10px;
                }
                .my-todo-cont {
                    display: inline-block;
                    margin-left: 15px;
                    vertical-align: middle;
                    width: calc(100% - 45px);
                    width: -moz-calc(100% - 45px);
                    width: -webkit-calc(100% - 45px);
                    padding: 8.25px 0px 10.75px 0px;
                    border-bottom: 1px solid #e4ebf0;
                    .f-font-a1 {
                        height: 24px;
                        overflow: hidden;
                        font-family: $font-family-S;
                        label {
                            font-family: $font-family-S;
                            font-size: 14px;
                            color: #0A1319;
                            line-height: 24px;
                            text-align: left;
                            vertical-align: middle;
                        }
                        span {
                            font-family: $font-family-S12;
                            font-size: 12px;
                            color: #66757F;
                            line-height: 24px;
                            text-align: left;
                            margin-left: 10px;
                            width: calc(100% - 190px);
                            overflow: hidden;
                            display: inline-block;
                            vertical-align: middle;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                        .todo-time {
                            font-family: $font-family-S12;
                            display: inline-block;
                            float: right;
                            font-size: 12px;
                            color: #ACB7BF;
                            line-height: 24px;
                            text-align: right;
                            margin-left: 20px;
                        }
                    }
                    .item-one-title-href {
                        font-family: $font-family-S12;
                        display: inline-block;
                        font-size: 12px;
                        color: #0A1319 !important;
                        line-height: 17px;
                        text-align: left;
                        width: 100%;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        height: 17px;
                        white-space: nowrap;
                        cursor: pointer;
                    }
                }
                .item-one-title-href {
                    font-family: Helvetica Neue,Tahoma,PingFang SC,Hiragino Sans GB,SimSun,STHeitiSC,sans-serif;
                    display: block;
                    font-size: 12px;
                    color: #0A1319 !important;
                    line-height: 17px;
                    text-align: left;
                    width: 100%;
                    height: 17px;
                    cursor: pointer;
                }
            }
        }
        li:last-child {
            // border-bottom: 0px;
            .my-todo-cont {
                border-bottom: 0px;
            }
        }
    }
    ul.ok {
        li:last-child {
            // border-bottom: 1px solid #e4ebf0;
            .my-todo-cont {
                border-bottom: 1px solid #e4ebf0;
            }
        }
    }
}
