@import 'common.scss';

.right {
    padding: 0 24px 0 275px;
    color: rgba(51, 51, 51, 1);
    .title {
        height: 36px;
        line-height: 36px;
        padding: 14px 0;
        border-bottom: 1px solid rgba(238,238,238,1);
        h1 {
            font-size: 20px;
            font-weight: normal;
        }
        input {
            padding: 9px 26px;
            font-size: 14px;
            margin-left: 10px;
            border: 0;
            border-radius:2px;
            &.cancel, &.save {
                background: #fff;
                border:1px solid rgba(158,158,158,1);
            }
            &.continue {
                color: #fff;
                background:rgba(237,50,42,1);
            }
        }
    }
    .words {
        width:908px;
        height:32px;
        padding-left: 16px;
        margin: 20px 23px 3px 0;
        line-height: 32px;
        background:rgba(255,205,149,0.2);
        border-radius:3px;
        border:1px solid rgba(250,137,13,1);
        color:rgba(250,137,13,1);
        box-sizing: border-box;
    }
    .form {
        margin-top: 23px;
        .basic-info {
            padding-left: 20px;
            border-bottom: 1px solid rgba(218,218,218,0.5);
            li {
                height: 36px;
                line-height: 36px;
                margin-bottom: 20px;
                p {
                    margin-right: 21px;
                    width: 70px;
                    text-align: right;
                    .isMust {
                        color: #ED322A;
                    }
                    .key {

                    }
                }
                input {
                    width: 200px;
                    height: 100%;
                    padding-left: 11px;
                    outline: none;
                    box-sizing: border-box;
                }
            }
        }
        .other-info {
            padding-left: 20px;
            margin-top: 29px;
            li {
                height: 36px;
                line-height: 36px;
                margin-bottom: 20px;
                p {
                    margin-right: 21px;
                    width: 70px;
                    text-align: right;
                    .isMust {
                        color: #ED322A;
                    }
                }
                input {
                    width: 200px;
                    height: 100%;
                    padding-left: 11px;
                    outline: none;
                    box-sizing: border-box;
                }
                .edit {
                    color: rgba(0,102,204,1);;
                }
                &.depart {
                    .item {
                        margin-right: 33px;
                        i {
                            width: 20px;
                            height: 20px;
                            margin: 8px 10px;
                            background: url(./i/department.png) no-repeat center center;
                            background-size: 100% 100%;
                        }
                        b {
                            width: 14px;
                            height: 14px;
                            margin: 11px 6px;
                            background: url(./i/delete.png) no-repeat center center;
                            background-size: 100% 100%;
                        }
                    }
                }
                &.label {
                    div {
                        margin-right: 20px;
                    }
                    i {
                        width: 17px;
                        height: 19px;
                        margin: 8px 10px;
                        background: url(./i/label.png) no-repeat center center;
                        background-size: 100% 100%;
                    }
                    b {
                        width: 14px;
                        height: 14px;
                        margin: 11px 6px;
                        background: url(./i/delete.png) no-repeat center center;
                        background-size: 100% 100%;
                    }
                }
                &.sex {
                    .item {
                        margin-right: 31px;
                        i {
                            width: 14px;
                            height: 14px;
                            margin: 11px 6px;
                            background: url(./i/no-selected.png) no-repeat center center;
                            background-size: 100% 100%;
                            &.active {
                                background: url(./i/selected.png) no-repeat center center;
                                background-size: 100% 100%;
                            }
                        }
                    }
                }
            }
        }
    }
}

.form {
    .form-content {
        height: 384px;
        .form-left {
            width: 235px;
            height: 100%;
            .search {
                width: 100%;
                input {
                    box-sizing: border-box;
                }
                input[type=text] {
                    width: 198px;
                    height: 36px;
                    padding-left: 6px;
                    border: 1px solid #cecece;
                    border-right: 1px solid #fff;
                    outline: none;
                    font-size:11px;
                }
                input[type=button] {
                    width: 36px;
                    height: 36px;
                    border: 0;
                    background: url(./i/search-btn.png) no-repeat center center;
                    background-size: 100% 100%;
                }
            }
            .tree {
                margin-top: 18px;
                .title {
                    i {
                        width: 12px;
                        height: 6px;
                        margin-right: 7px;
                        margin-top: 5px;
                        background: url(./i/search-btn.png) no-repeat center center;
                        background-size: 100% 100%;
                    }
                    b {
                        width: 20px;
                        height: 15px;
                        margin-right: 10px;
                        background: url(./i/department.png) no-repeat center center;
                        background-size: 100% 100%;
                    }
                }
                ul {
                    margin-top: 10px;
                    li {
                        margin-left: 25px;
                        height: 30px;
                        i {
                            width: 20px;
                            height: 15px;
                            margin-right: 10px;
                            background: url(./i/department.png) no-repeat center center;
                            background-size: 100% 100%;
                        }
                    }
                }
            }
        }
        .arrow {
            width: 10px;
            height: 100%;
            margin: 0 10px 0 15px;
            background: url(./i/right-icon.png) no-repeat center center;
            background-size: 100%;
        }
        .form-right {
            width: 210px;
            height: 100%;
            padding: 12px 15px;
            border-radius:4px;
            border: 1px solid rgba(218,218,218,1);
            .title {
                line-height: 42px;
            }
            ul {
                li {
                    height: 40px;
                    i {
                        width: 20px;
                        height: 15px;
                        margin-right: 10px;
                        margin-top: 2px;
                        background: url(./i/department.png) no-repeat center center;
                        background-size: 100% 100%;
                    }
                    b {
                        width: 9px;
                        height: 9px;
                        margin-top: 6px;
                        background: url(./i/tree-delete.png) no-repeat center center;
                        background-size: 100% 100%;
                    }
                }
            }
        }
    }
}