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

.workStep-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: 10px;
        height: 105px;
        overflow-y: auto;
        overflow-x: hidden;
        border: 1px solid #d2d3d5;

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

            .card-title-text {
                font-size: 14px;
                font-weight: bold;
            }
        }

        .page-message {
            margin-left: 15px;
            width: 100%;
            height: auto;
            min-height: 32px;
            font-size: 14px;
            color: #606266;
            font-weight: 700;
            overflow: hidden;
            text-overflow:ellipsis;
            white-space: nowrap;
            word-break: break-all;
        }
    }
    .page-header-craft {
        margin-top: 10px;
        //height: 155px;
        height: auto;
        border: 1px solid #d2d3d5;

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

            .card-title-text {
                font-size: 14px;
                font-weight: bold;
            }
        }

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

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

            .card-title-text {
                font-size: 14px;
                font-weight: bold;
            }
            .el-button {
                float: right;
                margin-top: 5px;
                margin-right: 15px;
            }
        }
        .crafts-steps {
            position: relative;
            width: 100%;

            .crafts-lf {
                position: absolute;
                width: 400px;
                height: 100%;
                overflow-y: auto;
                border: 1px solid #d2d3d5;
                background-color: #f1f1f1;

                .steps-page {
                    width: 380px;
                    margin: 0 auto;
                    height: 110px;
                    display: -webkit-flex;
                    display: flex;

                    .steps-line {
                        padding-left: 9px;
                        width: 34px;
                        text-align: center;
                        height: 100%;

                        .span-t {
                            margin: 0 auto;
                            width: 1px;
                            height: 49px;
                            background: #999;
                            display: block;
                        }

                        .span-circle {
                            margin: 0 auto;
                            width: 12px;
                            height: 12px;
                            display: block;
                            background: #1890ff;
                            border-radius: 50%;
                        }
                        .span-f {
                            margin: 0 auto;
                            width: 1px;
                            height: 49px;
                            background: #999;
                            display: block;
                        }
                    }
                    .steps-title {
                        width: 30px;
                        height: 110px;
                        line-height: 100px;
                        color: #000;
                        text-align: center;

                        span {
                            width: 30px;
                            height: 1px;
                            background: #ccc;
                            display: inline-block;
                        }
                    }
                    .steps-rg {
                        margin: 10px 0 0 10px;
                        padding: 5px 15px 0 15px;
                        width: 272px;
                        height: 90px;
                        border-radius: 8px;
                        background: #fff;

                        .ingredients-tp {
                            width: 100%;
                            height: 30px;
                            line-height: 30px;
                            display: flex;
                            display: -webkit-flex;

                            .tp-title {
                                width: 65%;
                                font-weight: bold;
                                overflow: hidden;
                                text-overflow:ellipsis;
                                white-space: nowrap;
                            }

                            .sort-up {
                                text-align: right;
                                width: 35%;
                                height: 30px;
                                display: flex;

                                .el-button {
                                    width: 30px;
                                    margin: 0;
                                    padding: 0;
                                }
                                img {
                                    margin: 7px 8px 0 2px;
                                    width: 16px;
                                    height: 16px;
                                    cursor: pointer;
                                }
                            }
                        }
                        .ingredients-ft {
                            width: 242px;
                            height: 70px;
                            cursor: pointer;

                            .i-rg-float {
                                width: 121px;
                                height: 25px;
                                line-height: 25px;
                                float: left;
                                font-size: 12px;
                                overflow: hidden;
                                text-overflow:ellipsis;
                                white-space: nowrap;
                            }
                            .description {
                                width: 242px;
                                height: 25px;
                                line-height: 25px;
                                float: left;
                                font-size: 12px;
                                overflow: hidden;
                                text-overflow:ellipsis;
                                white-space: nowrap;
                            }
                            .i-lf-float {
                                width: 121px;
                                height: 25px;
                                line-height: 25px;
                                float: left;
                                font-size: 12px;
                                overflow: hidden;
                                text-overflow:ellipsis;
                                white-space: nowrap;
                            }
                        }
                    }
                }
                .noDate {
                    margin-top: 140px;
                    width: 100%;
                    height: 40px;
                    text-align: center;
                    font-size: 14px;
                }
            }
            .crafts-rg {
                margin-left: 410px;
                height: 100%;
                overflow-y: auto;
                border: 1px solid #d2d3d5;
                padding: 20px 60px;

                .el-select {
                    width: 100%;
                    height: 32px;
                }
                .el-form-item {
                    margin-bottom: 15px!important;
                }
                .noDate {
                    margin-top: 140px;
                    width: 100%;
                    height: 40px;
                    text-align: center;
                    font-size: 14px;
                }
            }
        }
    }

    .el-dialog__body {

        .el-select {
            width: 100%;
        }
        .el-form-item {
            margin-bottom: 15px!important;
        }
    }
}
