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

.crafts-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: 135px;
        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: 205px;
        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;
            background: #f6f6f6;
            margin-bottom: 10px;

            .page-title-text {
                font-size: 14px;
                font-weight: bold;
            }
            .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 5px 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: 60px;
                            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%;
                border: 1px solid #d2d3d5;
                overflow-y: auto;
                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-select-dropdown el-popper is-multiple {
                z-index: 2017!important;
            }
        }
        .el-form-item {
            margin-bottom: 15px!important;
        }

        .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;
                    }
                }
            }
        }
    }
}
.el-select-dropdown .el-popper .is-multiple {
    z-index: 200!important;
}
