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

.order-view-page {
    position: relative;
    height: 100%;
    width: 100%;
    border: 1px solid #d2d3d5;
    background-color: #fff;
    overflow: hidden;

    .page-title {
        height: 38px;
        line-height: 38px;
        border-bottom: 1px solid #d2d3d5;
    }
    .page-header {
        margin-top: 15px;
        //height: 230px;
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
        border: 1px solid #d2d3d5;

        .float-left {
            width: 100%;
            height: 38px;
            line-height: 38px;
            padding-left: 15px;
            border-bottom: 1px solid #d2d3d5;
            background: #f6f6f6;
            margin-bottom: 10px;

            span {
                font-size: 14px;
                font-weight: bold;
            }
        }

        .page-message {
            margin-left: 15px;
            width: 100%;
            height: auto;
            min-height: 38px;
            font-size: 14px;
            color: #606266;
            font-weight: 700;
            overflow: hidden;
            text-overflow:ellipsis;
            white-space: nowrap;
            word-break: break-all;
        }
    }
    .page-content {
        //position: absolute;
        //top: 293px;
        //bottom: 0;
        //left: 0;
        //right: 0;
        margin:  0 15px 15px;
        //border: 1px solid #d2d3d5;

        .float-left {
            width: 100%;
            height: 38px;
            line-height: 38px;
            padding-left: 15px;
            border-bottom: 1px solid #d2d3d5;
            background: #f6f6f6;
            margin-bottom: 10px;
            display: -webkit-flex; /* Safari */
            display: flex;
            justify-content: space-between;

            span {
                font-size: 14px;
                font-weight: bold;
            }
            .el-button {
                margin-top: 5px;
                margin-right: 15px;
            }
        }

        .el-tabs {
            border: 1px solid #ccc;

            .equipment-type-page {
                width: 100%;
                display: flex;
                display: -webkit-box;
                height: 100%;
                overflow: auto;

                .type-left {
                    width: 35%;
                    height: 100%;
                    padding: 0 15px 15px 15px;

                    .cover-pack {
                        height: 200px;
                        width: 100%;
                        text-align: center;
                        margin-top: 20px;

                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }
                }
                .type-right {
                    width: 65%;
                    height: 100%;

                    .type-right-header {
                        padding: 15px;
                        width: 100%;
                        height: 50%;

                        .right-header {
                            width: 100%;
                            height: 42px;
                            line-height: 42px;
                            font-size: 14px;
                            color: #606266;
                            font-weight: 700;
                            margin-bottom: 10px;
                        }
                    }
                }
            }
        }

        .card-pack {
            margin-bottom: 15px;

            .card-title-pack {
                height: 38px;
                line-height: 38px;
                border: 1px solid #d2d3d5;
                background: #f6f6f6;

                .card-title-text {
                    font-size: 14px;
                    font-weight: bold;
                }
            }
            .card-content-pack {
                @include rdc-box-sizing;
                padding: 10px;
                width: 100%;
                height: 100%;
                border-left: 1px solid #d2d3d5;
                border-right: 1px solid #d2d3d5;
                border-bottom: 1px solid #d2d3d5;
                .cover-pack {
                    width: 100%;
                    height: 100%;
                    text-align: center;
                    img {
                        width: auto;
                        height: 300px;
                    }
                }
                .main-info-row {
                    padding-top: 20px;
                    padding-bottom: 30px;
                }
                .el-col {
                    font-size: 14px;
                    color: #606266;
                    font-weight: 700;
                }
            }
        }
    }
    .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: 270px;
            height: 100%;
            border: 1px solid #d2d3d5;
            background-color: #fff;

            .title-pack {
                height: 38px;
                line-height: 38px;
                border-bottom: 1px solid #d2d3d5;
            }
        }
    }
    .el-dialog__body  {
        .el-select {
            width: 100%;
        }
    }
}
