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

.materials-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: 165px;
        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;
            word-break: break-all;
        }

        .page-message-remarks {
            height: 38px !important;
            margin-left: 15px;
            min-height: 38px;
            font-size: 14px;
            color: #606266;
            font-weight: 700;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
        }
    }
    .page-updata {
        height: 130px;
    }
    .page-content {
        position: absolute;
        // top: 235px;
        bottom: 0;
        left: 0;
        right: 0;
        padding:  0 15px 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: 20px;
                }
                .el-col {
                    font-size: 14px;
                    color: #606266;
                    font-weight: 700;
                }
            }
        }
    }
}
