// 登录页
.login-page {
    .el-input {
        .el-input-group__prepend {
            background-color: rgba(0, 0, 0, 0)!important;
            color: #fff!important;
            padding: 0 10px;
            border-radius: 0;
        }
        .el-input__inner {
            height: 46px;
            line-height: 46px;
            border: 1px solid #fff;
            color: #fff;
            background-color: rgba(7, 15, 36, 0);
            border-radius: 0;
            font-size: 18px;
            &::-webkit-input-placeholder{
                color: rgba(255, 255, 255, 0.5);;
            }
        }
    }
    .el-button {
        width: 100%;
        border-radius: 0px;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
    }
    .el-button--medium {
        padding: 0;
    }
    .el-button--primary {
        background-color: #00a1d8;
        border: 1px solid #00a1d8;
    }
}
.missingListMaterial-list-page {
    .el-input {

        .el-input__inner {
            padding-right: 15px;
        }
    }
}

// 用户管理
.user-page {
    .el-upload-list {
        display: none!important;
    }
    .responsible-table-pack {
        .current-row {
            background-color: #b2d8ff!important;
        }
        .el-table--striped .el-table__body tr.el-table__row--striped.current-row td, .el-table__body tr.current-row>td, .el-table__body tr.hover-row.current-row>td, .el-table__body tr.hover-row.el-table__row--striped.current-row>td, .el-table__body tr.hover-row.el-table__row--striped>td, .el-table__body tr.hover-row>td {
            background-color: #b2d8ff!important;
        }
    }
}

// 设备台帐 / 设备建档管理
.archives-page {
    .el-tabs__nav-wrap {
        padding: 0 15px;
    }
}
// 工序管理页面
.crafts-view-page {
    .member-add-dialog {
        .el-dialog__wrapper {
            z-index: 2100!important;
        }
    }
}
// 产能需求上报、信息发布重置tab
#publish-detail-page,#report-detail-page {
    .el-tabs__nav-wrap.is-top {
        border-bottom: 1px solid #eee;
        background: #f6f6f6;
    }
    .el-tabs__nav-wrap.is-top::after {
        background: #fff !important;
        height: 0 !important;
    }
    .el-tabs__nav-scroll {
        background: #f6f6f6;
    }
    .el-tabs--top .el-tabs__item.is-top {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .el-tabs__item.is-active {
        color: #3b77e3;
    }
    .editor-container {
        img {
            max-width: 100%;
        }
    }
}
#page-content {

    .el-tabs__nav-scroll {
        background: #f6f6f6;
    }
    .el-tabs--top .el-tabs__item.is-top {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
#card-content-pack {
    .el-dialog__header {
        background: #fff!important;

        .el-dialog__headerbtn {
            top: 10px !important;
        }
    }
}
#dialog-content-pack {
    .el-dialog__header {
        background: #fff!important;

        .el-dialog__headerbtn {
            top: 10px !important;
        }
    }
}

// ferrite
.ferrite-page {
    .el-table {
        border: 0px solid #000;
        overflow: auto!important;
        background: rgba(59, 89, 151, 0)!important;
        color: #fff;
        tr {
            background-color: #1f3249!important;
        }

        th {
            background-color: #1f3249!important;
            color: #fff!important;
            border: 1px solid #007cff!important;
            font-size: 12px!important;
        }

        .el-table__header-wrapper {
            background: #0a1631;

            .el-table__header {

                tr {
                    color: #333333;
                    font-size: 12px;
                    background: #f5f5f6;

                    th {
                        padding: 0;
                        font-weight: initial;
                    }
                }
            }
        }

        .hidden {
            display: none;
        }
        .el-table__body {
            @include clearfix;
        }
        .el-table__body-wrapper {
            @include clearfix;
            overflow: hidden;
            border: 1px solid #0087e4!important;
            background: rgba(59, 89, 151, 0)!important;
        }

        .error-row {
            background: #72262f!important;
            td {
                background: #72262f!important;
            }
        }
        .el-table__row {
            background: #23272e;
            td {
                border-bottom: 1px solid #0087e4!important;
                padding: 2px 0;
                height: 30px;
                background: #23272e;

                .el-button+.el-button {
                    margin-left: 0!important;
                }

                .el-button--medium {
                    color: #4e74f0!important;
                    padding: 0 20px 0 0!important;
                    margin-right: 0;
                }
                img {
                    width: 33px;
                    height: 33px;
                    vertical-align: middle;
                }
            }

            &:hover {
                background: rgba(59, 89, 151, 0.2);

                td {
                    background: rgba(59, 89, 151, 0.5)!important;
                }

            }
        }

        tr.el-table__row--striped {
            td {
                background: red!important;
            }
        }
    }
    .el-table::before {
        height: 0px;
    }
    .el-table--border::after, .el-table--group::after {
        height: 0px;
    }
    .el-table--border::after, .el-table--group::after {
        width: 0px;
    }

    .el-table--border td, .el-table--border th, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
        border: 1px solid #000;
    }
}
// 人员信息视图 checked禁用样式重置
#features-component-main {
    .el-checkbox {

        .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner {
            background: #409EFF!important;
            border-color: #409EFF!important;
        }
        .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after {
            border-color: #fff!important;
        }
        .el-checkbox__input.is-disabled+span.el-checkbox__label {
            color: #333;
        }
    }
}
// 物料弹窗样式重置
.missingListMaterial-list-page, .inspection-list-page, .bom-list-page,  .bom-view-page, .process-view-page, .program-list-page, .inspection-view-page {
    .el-form-item__content {
        .el-input.is-disabled .el-input__inner {
            // background-color: #fff;
        }
        .el-input-group__append {
            background-color: #fff;
        }
    }
    .current-row {
        background-color: #b2d8ff!important;
    }
    // .el-table--striped .el-table__body tr.el-table__row--striped.current-row td, .el-table__body tr.current-row>td, .el-table__body tr.hover-row.current-row>td, .el-table__body tr.hover-row.el-table__row--striped.current-row>td, .el-table__body tr.hover-row.el-table__row--striped>td, .el-table__body tr.hover-row>td {
    //     background-color: #b2d8ff!important;
    // }
    .el-table--striped .el-table__body tr.el-table__row--striped.current-row td, .el-table__body tr.current-row>td, .el-table__body tr.hover-row.current-row>td, .el-table__body tr.hover-row.el-table__row--striped.current-row>td {
        background-color: #b2d8ff!important;
    }
}
// BOM查看页面表格样式重置
.bom-view-page {
    .el-table {
        .el-table__body-wrapper {
            overflow: auto!important;
        }
    }
}
// 工序管理页面样式重置
//.el-select-dropdown .el-popper .is-multiple {
//    z-index: 200 !important;
//}
//.el-select-dropdown {
//    z-index: 200 !important;
//}
// 基础信息-车间信息
.workshop-list-page {
    .current-row {
        background-color: #b2d8ff!important;
    }
    .el-table--striped .el-table__body tr.el-table__row--striped.current-row td, .el-table__body tr.current-row>td, .el-table__body tr.hover-row.current-row>td, .el-table__body tr.hover-row.el-table__row--striped.current-row>td, .el-table__body tr.hover-row.el-table__row--striped>td, .el-table__body tr.hover-row>td {
        background-color: #b2d8ff!important;
    }
}
// 字段省略号
.text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -ms-word-break: break-all;
    word-break: break-all;
}
.page-message {
    padding-right: 15px;
}

.page-header .page-message-desc {
    //height: 60px !important;
    height: auto !important;
    line-height: 20px !important;
    //overflow: hidden;
    ///* 设置为伸缩盒子 */
    //display: -webkit-box;
    ///* 设置文本显示行数 */
    //-webkit-line-clamp: 3;
    ///* 设置伸缩盒子 子元素排列方式 */
    //-webkit-box-orient: vertical;
}
.text-all-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;  //这里是在第二行有省略号
    overflow: hidden;
    -ms-word-break: break-all;
    word-break: break-all;
}
