@import "../../base";
@import "@/styles/mixin.scss";

.program-list-page {
    position: relative;
    height: 100%;
    width: 100%;
    border: 1px solid #d2d3d5;
    background-color: #fff;

    .title-pack {
        height: 38px;
        line-height: 38px;
        border-bottom: 1px solid #d2d3d5;
    }

    .tool-pack {
        padding-top: 16px;
        padding-bottom: 16px;
        .tool-tag {
            height: 32px;
            line-height: 32px;
            font-size: 14px;
        }
    }

    .edit-button {
        color: #538FFD;
    }

    .status-circle {
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 6px;
        margin-right: 5px;
        vertical-align: middle;
    }
    .delete-button {
        color: #F47476;
    }

    .view-span {
        color: #1284fa;
        border-bottom: 1px solid #1284fa;
        &:hover {
            cursor: pointer;
        }
    }
    .line {
        color: #1fa5f2;
        border-bottom: 1px solid #1fa5f2;
        cursor: pointer;
    }
    .el-dialog__body {
        .el-row {

            .el-col {
                line-height: 35px;

                .el-form-item {
                    width: 100%;

                    .el-form-item__content {
                        width: 100%;

                        .el-input {
                            font-size: 12px;
                            height: 32px;
                        }
                        .el-input__inner {
                            height: 32px;
                        }
                        .el-select {
                            width: 100%!important;
                            font-size: 12px;
                            height: 32px;
                        }
                        .el-date-editor {
                            width: 100%!important;
                        }
                    }
                }
            }
        }

        // 物料弹窗样式
        .materials-dialog {
            height: 540px;
            position: relative;

            .materials-dialog-lf {
                position: absolute;
                width: 260px;
                height: 100%;
                overflow-y: auto;
                border: 1px solid #d2d3d5;
                background-color: #fff;

                .title-pack {
                    height: 38px;
                    line-height: 38px;
                }

                .filter-tree {
                    height: 451px;
                    overflow-y: auto;
                }
            }
            .materials-dialog-rg {
                margin-left: 0px;
                height: 100%;
                border: 1px solid #d2d3d5;
                background-color: #fff;

                .title-pack {
                    height: 38px;
                    line-height: 38px;
                    border-bottom: 1px solid #d2d3d5;
                }
            }
        }
    }
    .el-dialog__body {
        height: 500px;
        position: relative;

        .device-lf-page {
            position: absolute;
            width: 770px;
            height: 555px;
            border: 1px solid #d2d3d5;
            background-color: #fff;

            .title-pack {
                height: 38px;
                line-height: 38px;
                border-bottom: 1px solid #d2d3d5;
                text-align: center;
                font-weight: bold;
            }

            .el-table {
                width: 100%;

                .el-input {
                    width: 100%;
                }
                .el-input-number {
                    width: 100%!important;
                }
            }
        }
        .device-rg-page {
            margin-left: 780px;
            height: 555px;
            border: 1px solid #d2d3d5;
            background-color: #fff;

            .title-pack {
                height: 38px;
                text-align: center;
                line-height: 38px;
                border-bottom: 1px solid #d2d3d5;
                font-weight: bold;
            }
        }
    }

    .member-add-dialog {

        .transform-pack {
            height: 340px;
            overflow-y: auto;

            .el-tree {
                height: 340px;
                width: 100%;
            }

            .member-select-pack {
                margin-left: 20px;
                width: 300px;
                height: 400px;
                border: 1px solid #d2d3d5;
                border-radius: 5px;

                .tree-pack {
                    position: relative;
                    height: 340px;

                    .member-select-view-pack {
                        height:340px;
                        overflow-y: auto;

                        .member-select-item-pack {
                            width: 100%;
                            height: 26px;
                            line-height: 26px;

                            .member-select-item-label-pack {
                                height: 26px;
                                width: 50%;
                                float:left;
                                padding-left: 10px;
                            }

                            .member-select-item-delete-pack {
                                line-height: 26px;
                                height: 26px;
                                width: 50%;
                                float: right;
                                text-align: right;
                                padding-right: 10px;

                                .el-button {
                                    padding: 0!important;
                                    color: #f56c6c;
                                }
                            }
                        }
                    }

                    .no-message {
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        transform: translate(-50%, -50%);
                        color: #6f7180;
                    }
                }
            }
        }
    }

    // 物料弹窗样式
    .materials-dialog {
        height: 540px;
        position: relative;

        .materials-dialog-lf {
            position: absolute;
            width: 260px;
            height: 100%;
            overflow-y: auto;
            border: 1px solid #d2d3d5;
            background-color: #fff;

            .title-pack {
                height: 38px;
                line-height: 38px;
            }

            .filter-tree {
                height: 451px;
                overflow-y: auto;
            }
        }
        .materials-dialog-rg {
            margin-left: 0px;
            height: 100%;
            border: 1px solid #d2d3d5;
            background-color: #fff;

            .title-pack {
                height: 38px;
                line-height: 38px;
                border-bottom: 1px solid #d2d3d5;
            }
        }
    }

}
