@import './vars.less';


.jad-MultiSelectTable-title{
    color:#b7b8b9;
    margin-bottom: 10px;
    overflow: hidden;
    width: 100%;
    .hint{
        float: right;
        margin-left: 15px;
        // height: 14px;
        vertical-align: text-top;
        i{
            width: 13px;
            height: 13px;
            display: inline-block;
            border: 1px solid #eeeff0;
            flex: 0 0 14px;
            vertical-align: text-top;
            &.action{
                background-color: @primary-color;
            }
        }
    }
}



.jad-MultiSelectTable-table-warp{
    width: calc(100% - 1px);
    th,tr{
        display: flex;
        width: 100%;
    }
    td{
        position: relative;
        flex: 1 1 80px;
        box-sizing: border-box;
        height: 32px;
        padding:10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 1px 0 0 0 #eeeff0, 0 1px 0 0 #eeeff0, 1px 1px 0 0 #eeeff0, 1px 0 0 0 #eeeff0 inset, 0 1px 0 0 #eeeff0 inset;
        &.time{
            padding:0px;
            &:after {
                content: "";
                display: block;
                width: 100%;
                padding-top: 100%; // 正方形
            }
            &.active{
                background: #00f4Ff !important;
            }
            &.checked{
                background: @primary-color; 
            }
        }
        &.dayHour{
            flex: 1 1 80px;
            user-select: none;
            .content {
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                right: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                user-select: none;
            }
        }
    }
    .week{
        display: flex;
        justify-content: flex-start;
        user-select: none;
        align-items: center;
        flex: 0 0 120px;
        padding: 0 14px;
        box-shadow: 1px 0 0 0 #eeeff0, 0 1px 0 0 #eeeff0, 1px 1px 0 0 #eeeff0, 1px 0 0 0 #eeeff0 inset, 0 1px 0 0 #eeeff0 inset;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        width: 120px;
        &.week-bottom-hide{
            box-shadow: 1px 0 0 0 #eeeff0, 1px 0 0 0 #eeeff0 inset, 0 1px 0 0 #eeeff0 inset
        }
        &.week-top-hide{
            box-shadow: 1px 0 0 0 #eeeff0, 0 1px 0 0 #eeeff0, 1px 1px 0 0 #eeeff0, 1px 0 0 0 #eeeff0 inset
        }
        .week-date-divider{
            position: relative;
            top: 15.1515151515px;
            display: block;
            width: 100%;
            height: 33px;
            line-height: 33px;
            text-align: left
        }
    }
}



.jad-MultiSelectTable-format-warp{
    list-style-type: none;
    padding:0px 0px 0px 12px;
    margin-top: 15px;
    display: flex;
    ul{
        flex-grow:1;
        padding:0px;
    }
    li{
        display: flex;
    }
    label{
        flex-shrink: 0;
        margin-right: 15px;
        vertical-align: text-top;
        display: inline-block;
        line-height: 16px;
    }
    .content{
        flex-grow:1;
        word-wrap:break-word;
        display: flex;
        flex-flow: wrap;
        span{
            margin-right: 10px;
            font-size: 12px;
            flex-shrink: 0;
            flex-grow: 0;
            line-height: 18px;
        }
    }
}




