@import './reset.less';

.mukuai{
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: @disColor;
    .filterDropList{
        position: absolute;
        right: 0;
        max-height: 200px;
        overflow-y: auto;
        background: #fff;
        display: none;
        border: 1px solid #e4e7ed;
        box-shadow: 0 2px 12px 0 #e4e7ed;
        z-index: 2;
        li{
            padding: 0 10px;
        }
    }
    .deptList{
        width: 160px;
        max-height: 400px;
    }    
    .deptItem:hover{
        background-color: #EEF4FF;
        cursor: pointer;
    }
    .selectLevel,.selectDept{
        display: inline-block;
        position: relative;
        width:160px;
        padding: 0 10px;
        height:40px;
        border-radius:4px;
        border: 1px solid #E2E5EF;
        box-sizing: border-box;
        cursor: pointer;
    }
    .filterItem.deptListWrap {
        .selectDept,.deptList {
            width: 180px;
        }
    }
    .filterItem{
        position: relative;
        display: inline-block;
        float: left;
        height: 40px;
        line-height: 40px;
        margin: 0 20px 15px 0;
        span{
            display: inline-block;
            line-height: 40px;
            position: relative;
        }
        input{
            width:120px;
            height:40px;
            border-radius:4px;
            border: 1px solid #E2E5EF;
            outline: none;
            margin-right: 10px;
            padding: 0 10px;
            box-sizing: border-box;
        }
    }
    .selectUsed,.selectReject {
        float: right;
    }
    ul,li{
        padding:0;
        margin:0;
        list-style:none;
    }
    h2{
        width: 100%;
        box-sizing: border-box;
        background-color: #fff;
        z-index: 20;
        height: 44px;
        line-height: 44px;
        padding: 0 0 0 15px;
        border-bottom: 1px solid #E2E5EF;
        font-size: 16px;
        font-weight: bold;
        letter-spacing: 1px;
    }
    .main-body {
        .main-body-com;
    }
    table{
        .table;
        .moduleNumber{
            text-align: center;
        }
        
    }
    // .filterBox{
    //     margin: 0 0 20px 0;
    // }
    .filterItem{
        position: relative;
        display: inline-block;
        margin-right: 20px;
        height: 40px;
        line-height: 40px;
        margin: 0 20px 20px 0;
    }
    .filterDropList{
        position: absolute;
        right: 0;
        max-height: 200px;
        overflow-y: auto;
        background: #fff;
        display: none;
        border: 1px solid #e4e7ed;
        box-shadow: 0 2px 12px 0 #e4e7ed;
        z-index: 2;
        li{
            padding: 0 10px;
        }
    }
    .rejectList, .usedList{
        height: 120px;
        li{
            padding: 0 10px;
        }
        li:hover{
            background-color: #EEF4FF;
            cursor: pointer;
        }
    }
    .switchImg{
        width: 30px;
    }
    .roleSelect {
        position: relative;
        top: 3px;
        cursor: pointer;
    }
    .selectModuleType,.moduleItemInp,.selectUsed, .selectReject{
        display: inline-block;
        position: relative;
        width:140px;
        padding: 0 10px;
        height:40px;
        border-radius:4px;
        border: 1px solid #E2E5EF;
        box-sizing: border-box;
        cursor: pointer;
        padding-right: 26px;
    }
    .arrow{
        position: absolute;
        width: 10px;
        top: 16px;
        right: 10px;
    }
    .moduleItemInp{
        cursor: default;
        outline: none;
    }
    .moduleTypeList{
         width: 160px;
    }
    .selectUsed, .selectReject{
        width: 140px;
    }
    .modeTypeItem:hover{
        background-color: #EEF4FF;
        cursor: pointer;
    }
    .rejectList, .usedList {
        width: 140px;
    }
    .filter{
        display: inline-block;
        width:60px;
        height:36px;
        background:@activeColor;
        border-radius:4px;
        color: #fff;
        text-align: center;
        line-height: 36px;
        position: relative;
        top: -1px;
        cursor: pointer;
    }
    .editItem{
       color: @activeColor;
       cursor: pointer;
    }
    .editItemDis{
        color: #aaa;
        cursor: not-allowed;
    }
    
    .ellipsis{
        overflow: hidden;
        text-overflow:ellipsis;
        white-space: nowrap;
    }
    .textCenter{
        text-align: center;
    }
    
    
    .pagination{
        margin: 35px 0 20px 0;
        text-align: right;
    }
    .totalSum{
        font-size:12px;
        line-height:17px;
        color: #777777;
        margin-right: 20px;
    }
    .pageNum,.prePage,.nextPage, .more{
        display: inline-block;
        width: 20px;
        cursor: pointer;
        margin: 0 20px 0 0;
        text-align: center;
        color: #777;
    }
    .prePage,.nextPage{
        img{
            position: relative;
            top: 0px   ;
        }
    }
     .more{
        cursor: not-allowed;
    }
    .arrowPage{
        width: 6px;
    }
    .activePage{
        color: @activeColor;
    }
    
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
    }
     
    input[type="number"] {
        -moz-appearance: textfield;
    }
}
th[code]{
    cursor: pointer;
    &:after{
        content:"";
        display:inline-block;
        width: 11px;
        height: 14px;
        margin-left: 4px;
        vertical-align: middle;
        background-size: 100%;
        background-image: url("../images/grey.png");
    }
    &.asc:after{
        background: url("../images/up_blue.png");
        background-size: 100%;
    }
    &.desc:after{
        background: url("../images/down_blue.png");
        background-size: 100%;
    }
}

.usrContain .selectReject,.usrContain .selectModuleType ,.managerContainer .selectModuleType  {
    float: right;
}
.usrContain .rejectList,.usrContain .usedList{
    height: 200px;
}
.usrContain .selectModuleType, .usrContain .moduleItemInp, .usrContain .selectUsed, .usrContain .selectReject {
    width: 170px;
}
.managerContainer .moduleTypeList {
    width: 140px;
}
.managerContainer.usrContain .moduleTypeList {
    width: 170px;
    height: 400px;
}
.managerContainer.usrContain .selectReject {
    width: 140px;
}