/**
 * 用户页面样式
 */
@import "@/styles/mixin.scss";
.user-page {
    position: relative;
    width: 100%;
    height: 100%;
    display: -webkit-flex;
    display: flex;

    >.left-pack {
        @include rdc-box-sizing;
        background: #fff;
        width: 260px;
        height: 100%;
        border: 1px solid #d2d3d5;
        padding: 10px 0;
        .title-pack {
            font-size: 18px;
            height: 30px;
            line-height: 25px;
            padding-left: 15px;
            border-bottom: 1px solid #d2d3d5;
        }
        .org-pack {
            position: absolute;
            top: 85px;
            bottom: 10px;
            width: 258px;
        }
    }

    >.right-pack {
        @include rdc-box-sizing;
        height: 100%;
        padding: 0;
        position: absolute;
        left: 270px;
        right: 0;
        overflow-y: auto;

        .department-pack, .user-pack {
            @include rdc-box-sizing;
            overflow: hidden;
            margin-bottom: 10px;
            background: #fff;
            padding: 10px 0;
            border: 1px solid #d2d3d5;

            .tip-pack {
                font-size: 18px;
                height: 30px;
                line-height: 25px;
                border-bottom: 1px solid #d2d3d5;
                padding-left: 15px;
                margin-bottom: 10px;

                svg {
                    margin-right: 7px;
                    font-size: 20px;
                }
                .el-button {
                    margin-left: 5px;
                    padding: 4px 9px;
                    position: relative;
                    top: -2px;
                }
            }

            .operation-pack {
                @include rdc-box-sizing;
                display: -webkit-flex;
                display: flex;
                align-items: center;
                height: 35px;
                line-height: 35px;
                width: 100%;
                padding: 0;
                padding-left: 15px;
                margin-bottom: 10px;
            }
        }

        .department-pack {
            height: 40%;
            border-bottom: 10px solid #f0f2f5;
            margin-bottom: 0;
            .title-pack {
                padding-bottom: 5px;
                margin-bottom: 10px;
                background: #fff;
                border-bottom: 1px dashed #e8e8e8;

                .el-button--mini.el-button, .el-button--small.el-button {
                    padding: 5px 15px;
                }

                .current-department-pack {
                    display: -webkit-flex;
                    display: flex;
                    align-items: center;
                    margin-bottom: 0;

                    .current-department-name {
                        font-size: 18px;
                        margin-right: 10px;
                    }

                    .el-input {
                        width: 200px;
                        height: 25px;

                        input {
                            height: 25px;
                        }
                    }
                }
            }

            .table-pack {
                padding: 0 15px 15px 15px;
                .department-name {
                    color: #38adff;
                    border-bottom: 1px solid #38adff;
                    &:hover {
                        cursor: pointer;
                    }
                }
            }
        }

        .user-pack {
            height: 60%;
            margin-bottom: 0;
            .table-pack {
                padding: 0 15px 15px 15px;

                .department-name {
                    color: #38adff;
                    border-bottom: 1px solid #38adff;
                    &:hover {
                        cursor: pointer;
                    }
                }
            }
            .pagination-pack {
                position: absolute;
                left: 0;
                right: 0;
                bottom: 5px;
            }
        }
    }

    .el-button--mini.el-button, .el-button--small.el-button {
        padding: 8px 15px;
    }

    /* 调整部门区域 */
    .adjust-department-pack {
        .selected-member-pack {
            margin-bottom: 10px;
            font-size: 16px;
            span {
                font-weight: bold;
            }
        }

        .operation-pack {
            @include rdc-box-sizing;
            display: -webkit-flex;
            display: flex;

            .left-pack, .right-pack {
                @include rdc-box-sizing;
                position: relative;
                width: 48%;
                height: 300px;

                .tip-pack {
                    font-size: 16px;
                    height: 30px;
                }

                .content-pack {
                    @include rdc-box-sizing;
                    position: absolute;
                    top: 30px;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    width: 100%;
                    background: #f4f6f8;
                    border: 1px solid #dedede;
                    border-radius: 5px;
                    -moz-border-radius: 5px;

                    .item {
                        height: 30px;
                        line-height: 30px;
                        padding: 0 10px;
                        position: relative;

                        .el-button {
                            float: right;
                        }
                    }
                }
            }

            .interval-pack {
                width: 4%;
                height: 300px;
            }
        }
    }



    /* 选择部门区域 */
    .choice-department-pack {
        @include rdc-box-sizing;
        display: -webkit-flex;
        display: flex;

        .left-pack, .right-pack {
            @include rdc-box-sizing;
            position: relative;
            width: 48%;
            height: 300px;

            .tip-pack {
                font-size: 16px;
                height: 30px;
            }

            .content-pack {
                @include rdc-box-sizing;
                position: absolute;
                top: 30px;
                bottom: 0;
                left: 0;
                right: 0;
                width: 100%;
                background: #f4f6f8;
                border: 1px solid #dedede;
                border-radius: 5px;
                -moz-border-radius: 5px;

                .item {
                    height: 30px;
                    line-height: 30px;
                    padding: 0 10px;
                    position: relative;

                    .el-button {
                        float: right;
                    }
                }
            }
        }

        .interval-pack {
            width: 4%;
            height: 300px;
        }
    }

    /* 添加成员弹框 */
    .new-member-pack, .edit-member-pack {

        .member-parent-pack {
            @include rdc-box-sizing;
            width: 350px;
            height: auto;
            padding: 0 10px 10px 10px;
            border: 1px solid #dcdfe6;
            border-radius: 2px;
            -moz-border-radius: 2px;

            .el-tag {
                margin-top: 10px;
                margin-right: 10px;
            }

            &:hover {
                cursor: pointer;
            }
        }
    }

    .el-select {
        width: 350px;

        .el-tag {
            background-color: rgba(64,158,255,.1);
            color: #409EFF;
            border: 1px solid rgba(64,158,255,.2);
        }
    }
}
