
@import "../font";

.rd-export-view{

    -moz-user-select: none; /*火狐*/
    -webkit-user-select: none;  /*webkit浏览器*/
    -ms-user-select: none;   /*IE10*/
    -khtml-user-select: none; /*早期浏览器*/
    user-select: none;

    .rootPoint{
        padding-left:8px;
        font-size:16px;
        height:30px;
        line-height:30px;

    }
    .rootPointSelected{
        background:#c3e8e9;
    }
    .parentPoint{
        padding-left:20px;
    }
    .rootPointIcon{
        .iconfont;
        font-size: 16px;
        &:before{
            content: "\e669";
        }
    }
}

.rd-export-view-top{
    position:relative;
    margin-bottom:8px;
    padding-bottom:10px;
    height:26px;
    border-bottom:1px solid #eeeeee;
    .btn(){
        position:absolute;
        top:0;
        bottom:0;
        padding-left:30px;
        width:46px;
        height:26px;
        line-height:26px;
        border-radius: 4px;
        cursor:pointer;
        &:hover{
            color:#ffffff;
            background:#43c0ff;
        }
        & i{
            position:absolute;
            left:6px;
            top:3px;
            width:20px;
            height:20px;
            font-size:18px;
            line-height:20px;
            .iconfont();
            &:before {
                content: "\e627";
            }
        }
    }
    .addGroupBtn{
        .btn();
        right:80px;
    }
    .addDetailBtn{
        .btn();
        right:0;
    }
}

.rd-export-items-wapper{
    position:absolute;
    top:60px;
    left:0;
    right:0;
    bottom:0;
    padding: 0 10px;
    overflow: auto;
}

.rd-export-items-wapper-full{
    top:0;
    padding-top:10px;
}

.rd-export-view-item{
    position:relative;
    font-size:14px;
    padding:0 46px 0 30px;
    height:30px;
    line-height:30px;
    cursor:default;

    &:hover{
        .deletebtn{
            display: inline;
        }
    }

    .icon(){
        .iconfont();
        position:absolute;
        top:3px;
        width:20px;
        height:24px;
        line-height:24px;
        text-align:center;
        color:#666666;
    }

    .itemName{
        color:#888888;
        cursor: pointer;
        word-break:keep-all;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .bandItemName{
        color:#000000;
        cursor: default;
    }

    .itemIcon{
        .icon();
        left:3px;
        &:before {
            content: "\e66a";
        }
    }
    .groupPoint{
        position:absolute;
        left:8px;
        top:10px;
        width:10px;
        height:10px;
        border-radius:5px;
    }
    .lockbtn{
        .icon();
        right:25px;
        cursor:pointer;
        &:before {
            content: "\e618";
        }
        &:hover{
            color:#333333;
        }
    }
    .unlockbtn{
        .icon();
        right:25px;
        cursor:pointer;
        &:before {
            content: "\e617";
        }
        &:hover{
            color:#333333;
        }
    }
    .deletebtn{
        display: none;
        .icon();
        right:3px;
        cursor:pointer;
        &:before {
            content: "\e619";
        }
        &:hover{
            color:#333333;
        }
    }
    .morebtn{
        .icon();
        right:3px;
        cursor:pointer;
        &:before {
            content: "\e64e";
        }
        &:hover{
            color:#333333;
        }
    }

}

.rd-export-view-item{
    .itemIcon-band{
        &:before {
            content: "\e61a";
        }
    }
    .itemIcon-default{
        &:before {
            content: "\e625";
        }
    }
    .itemIcon-label{
        &:before {
            content: "\e604";
        }
    }
    .itemIcon-textfield{
        &:before {
            content: "\e60c";
        }
    }
    .itemIcon-image{
        &:before {
            content: "\e601";
        }
    }
    .itemIcon-line{
        &:before {
            content: "\e666";
        }
    }
    .itemIcon-rect{
        &:before {
            content: "\e661";
        }
    }
    .itemIcon-ellipse{
        &:before {
            content: "\e60a";
        }
    }
    .itemIcon-datatable{
        &:before {
            content: "\e671";
        }
    }
    .itemIcon-statictable {
        &:before {
            content: "\e667";
        }
    }
}

.rd-export-view-item-selected{
    background:#c3e8e9;
    .deletebtn{
        display: inline;
    }
}

.rd-export-view-item-blank{
    color:#e0e0e0;
    &:hover{
        background: transparent;
    }
    .itemName{
        color:#e0e0e0;
    }
    .itemIcon{
        color:#efefef;
    }
    .addbtn{
        .iconfont();
        position:absolute;
        top:3px;
        width:20px;
        height:24px;
        line-height:24px;
        text-align:center;
        color:#bbbbbb;
        right:3px;
        cursor:pointer;
        &:before {
            content: "\e627";
        }
        &:hover{
            color:#333333;
        }
    }
}

.rd-export-item-popMenu{
    .icon(){
        .iconfont();
        width:20px;
        height:24px;
        line-height:24px;
        text-align:center;
        color:#bbbbbb;
    }
    .deletebtn{
        .icon();
        &:before {
            content: "\e619";
        }
    }
}

