@import "./font.scss"; .NCC-common-head { display: flex; justify-content: space-between; align-items: center; // padding: 14px 10px; padding-bottom: 8px; flex-shrink: 0; .NCC-common-head-right { flex-shrink: 0; font-size: 0; .el-link { margin-left: 12px; } .NCC-common-head-icon { color: #606266; } } } .NCC-common-el-tree { margin: 10px 0; } .NCC-common-layout { height: 100%; width: 100%; display: flex; position: relative; background: unset; .NCC-common-layout-left { width: 220px; // background-color: #fff; flex-shrink: 0; height: 100%; display: flex; flex-direction: column; margin-right: 10px; .NCC-common-title { flex-shrink: 0; padding: 0 10px; } .NCC-common-el-tree-scrollbar { flex: 1; .el-scrollbar__wrap { overflow-x: hidden; } } .custom-tree-node { width: calc(100% - 30px) !important; } .NCC-common-el-tree { flex: 1; overflow: auto; overflow-x: hidden; .el-tree-node__content { height: 40px; line-height: 40px; } // .is-current>.el-tree-node__content .custom-tree-node { // color: #409eff; // } } } } .NCC-common-layout-center { flex: 1; height: 100%; overflow: hidden; display: flex; flex-direction: column; .NCC-common-layout-main { flex: 1; padding: 0 0 10px; // background-color: #fff; height: 100%; overflow: hidden; &.nohead { padding-top: 10px; } } } .NCC-common-search-box { // background: #fff; flex-shrink: 0; margin-bottom: 10px; // padding: 15px 10px 0; position: relative; .el-form-item { width: 100%; display: flex; margin-bottom: 14px !important; .el-form-item__label { flex-shrink: 0; padding-right: 12px; } .el-form-item__content { flex: 1; } .el-input, .el-select, .el-cascader, .comSelect-container, .el-date-editor { width: 100%; } } .NCC-common-search-box-right { position: absolute; right: 10px; // top: 15px; top: 0px; } } .el-table { border-top: 1px solid #EBEEF5; thead { tr, tr th { background-color: #f5f7fa; font-weight: normal; color: #606266; } } .el-switch { transform: scale(0.8); } .el-button--mini.el-button--text { padding: 3px 0; } &.columnTable { border-top: none; thead { tr, tr th { background-color: #fff; } } td { border-bottom: none; } &.el-table--mini td, &.el-table--mini th { padding: 3px 0; } &::before { height: 0; } } &::before { height: 0 !important; } .el-table__fixed-right-patch { background-color: #f5f7fa; top: 0; } .has-gutter .gutter { border-bottom: 1px solid #ebeef5; } .el-table__empty-block { display: inline-block; } .el-table__column-filter-trigger { line-height: 22px; } .caret-wrapper { height: 23px !important; } .sort-caret.ascending { top: 0px !important; } .sort-caret.descending { bottom: 1px !important; } .btn_dialog { display: inline-block; margin-right: 10px; } } .NCC-table-delBtn { color: #ff3a3a !important; &.el-button--text:hover, &.el-button--text:focus { color: #ff3a3a !important; } &.is-disabled { color: #C0C4CC !important; &.el-button--text:hover, &.el-button--text:focus { color: #C0C4CC !important; } } } .NCC-dialog { &.NCC-dialog_center { display: flex; justify-content: center; align-items: center; .el-dialog { border-radius: 4px; margin: 0 !important; .el-dialog__header { border-bottom: 1px solid #dcdfe6; padding: 0 20px; height: 56px; line-height: 56px; .el-dialog__headerbtn { top: 16px; right: 16px; } } .el-dialog__body { overflow: auto; overflow-x: hidden; max-height: 70vh; padding: 20px 50px 2px; } .el-dialog__close { font-size: 24px; } } &.transfer-dialog { .el-dialog .el-dialog__body { padding: 10px; } } } &.enlarge-dialog .el-dialog .el-dialog__header { border-bottom: none; } .el-select { width: 100%; } } .NCC-dialog-tree { .el-dialog { .el-dialog__body { .el-tree { overflow: auto; overflow-x: hidden; height: 340px; } } } } .NCC-dialog-export { .el-dialog { .el-dialog__body { padding: 20px 20px 0 !important; } } .column-item.el-checkbox { width: calc(33.33% - 30px); } .export-label { font-size: 18px; font-weight: bold; width: 100%; span { margin-left: 10px; font-size: 14px; font-weight: normal; } } .export-line .el-form-item__content { border-top: 1px solid #dcdfe6; } .footer-tip { float: left; font-size: 14px; color: #999999; padding-top: 7px; } } .NCC-common-title { border-bottom: 1px solid #ebeef5; display: flex; justify-content: space-between; color: #606266; align-items: center; &.noBorder { border: none; } h2 { font-size: 16px; line-height: 50px; font-weight: 500; &.bold { font-weight: 600; } } .options { &>i, .el-link { font-size: 16px; margin-left: 6px; cursor: pointer; } } &+.el-table { border-top: none; } } .custom-tree-node { width: calc(100% - 24px); flex: 1; display: flex; font-size: 0; align-items: center; i { font-size: 14px; } .text { flex: 1; font-size: 14px; display: inline-block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } i+.text { padding-left: 6px; } .more { float: right; } } .mb-10 { margin-bottom: 10px; } .mb-20 { margin-bottom: 20px !important; } .mt-10 { margin-top: 10px; } .mt-20 { margin-top: 20px; } .pd-10 { padding: 10px; } .NCC-common-page-header { padding: 14px 10px; display: flex; justify-content: flex-start; align-items: center; border-bottom: 1px solid #dcdfe6; .options { flex-shrink: 0; margin-left: auto; } .el-page-header { .el-page-header__left { flex-shrink: 0; } .el-page-header__content { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .steps { width: 300px; padding: 6px 20px; background: #fff; justify-items: flex-start; .el-step__title { cursor: pointer; } } } .NCC-preview-main { position: absolute; background-color: #fff; left: 0; top: 0; height: 100%; width: 100%; z-index: 100; overflow: auto; overflow-x: hidden; display: flex; flex-direction: column; &.nohead { padding-top: 10px; } .btns { position: absolute; right: 10px; top: 10px; z-index: 100; } .el-table--mini td { padding: 2px 0; } .el-table { flex: 1; } .NCC-common-search-box { margin-bottom: 0; } .main { padding: 10px; flex: 1; overflow: auto; overflow-x: hidden; } } .NCC-flex-main { display: flex; flex-direction: column; .el-table { flex: 1; &::before { border-bottom: 0; height: 0px } } .el-table__fixed::before, .el-table__fixed-right::before { border-bottom: 0; height: 0px } } // 处理el-tabs .NCC-el_tabs { height: 100%; &.el-tabs--top { display: flex; flex-direction: column; } .el-tabs__content { flex: 1; overflow: auto; overflow-x: hidden; .el-tab-pane { height: 100%; } } } .text-primary { color: #188ae2 !important; } .text-success { color: #0eac5c !important; } .text-info { color: #35b8e0 !important; } .text-warning { color: #f9c851 !important; } .text-danger { color: #ff5b5b !important; } .text-pink { color: #ff8acc !important; } .text-purple { color: #5b69bc !important; } .text-inverse { color: #3b3e47 !important; } .text-dark { color: #282828 !important; } .text-white { color: #ffffff !important; } .text-color { color: #6a6c6f !important; } .text-grey { color: #999 !important; } .i-default { color: #6b7a99 !important; } .title-color { color: #475059 !important; } .NCC-select-tags { display: none !important; } .flow-form-main { z-index: 110; .el-date-editor { width: 100%; } .approve-result { position: absolute; right: 10px; top: 50px; z-index: 100; width: 100px; height: 100px; opacity: 0.7; .approve-result-img { width: 100%; height: 100%; &.wait { background: url('../images/flowStatus/wait.png') no-repeat; background-size: 100%; } &.adopt { background: url('../images/flowStatus/adopt.png') no-repeat; background-size: 100%; } &.reject { background: url('../images/flowStatus/reject.png') no-repeat; background-size: 100%; } &.revoke { background: url('../images/flowStatus/revoke.png') no-repeat; background-size: 100%; } &.cancel { background: url('../images/flowStatus/cancel.png') no-repeat; background-size: 100%; } } } .flow-mask { width: 100%; height: 100%; opacity: 0.0; filter: alpha(opacity=00); background: #fff; position: absolute; top: 0px; left: 0; z-index: 100; } .com-title { height: 60px; line-height: 60px; text-align: center; position: relative; color: #606266; h1 { font-size: 18px; margin: 0; } .number { position: absolute; right: 0; bottom: 0; height: 30px; line-height: 30px; font-size: 14px; } } .flow-form { .el-input.is-disabled .el-input__inner { background-color: #fff !important; border-color: #DCDFE6 !important; color: #606266 !important; } .el-textarea.is-disabled .el-textarea__inner { background-color: #fff !important; border-color: #DCDFE6 !important; color: #606266 !important; } .is-checked { .el-radio__input.is-disabled+span.el-radio__label { color: #1890ff !important; } } } .el-form { padding-top: 10px; flex: 1; overflow: auto; overflow-x: hidden; .el-select, .el-date-editor { width: 100%; } } .timeline-cell { line-height: 30px; .signImg { width: 300px; vertical-align: top; } } .timeline-icon { font-size: 16px; background-color: #fff; margin-left: -2px; } .el-tabs__header { padding: 0 10px; } .NCC-el_tabs .el-tabs__content { overflow: hidden; .el-tab-pane { overflow: auto; overflow-x: hidden; padding: 0 10px 10px; } } } .dynamic-form-main { height: calc(100% - 61px); overflow: auto; overflow-x: hidden; padding: 10px; } .functional, .blend { .navbar { &.dark { background: #031e39; border-bottom: none; .functional-logo-container { background: #031e39; } .right-menu { .right-menu-item { color: #fff; } } .icon-ym { color: #fff; } .top-menu .el-menu { .el-menu-item, .el-submenu__title { color: #fff; i { color: #fff; } &.is-active { color: #1890ff; i { color: #1890ff; } } &:hover { color: #1890ff; i { color: #1890ff; } } } } } } .top-menu { .el-menu { height: 60px; background: transparent; &.el-menu--horizontal { border-bottom: none; .el-icon-arrow-down { display: none !important; } } .el-menu-item, .el-submenu__title { height: 61px !important; line-height: 60px !important; // width: 120px; float: left; text-align: center; background: transparent !important; color: #333; i { font-weight: normal; color: #333; } .left-icon { margin-left: 0 !important; margin-right: 4px; } &.is-active { color: #1890ff; i { color: #1890ff; } } &:hover { color: #1890ff; i { color: #1890ff; } } } .el-submenu { // width: 120px; float: left; text-align: center; &:hover { .el-submenu__title { color: #1890ff; background: transparent; i { color: #1890ff; } } } &.is-active { .el-submenu__title { color: #1890ff; i { color: #1890ff; } } } } } .el-menu--horizontal .el-menu-item:not(.is-disabled):hover { background: transparent; } } &.el-menu--horizontal { .el-menu { &.el-menu--popup { min-width: 160px; max-height: calc(100vh - 80px); overflow-y: auto; } .nest-menu { .el-submenu { &.is-active { .el-submenu__title { color: #1890ff; i { color: #1890ff; } } } } .el-menu-item, .el-submenu__title { .el-submenu__icon-arrow { margin-top: -5px; } .left-icon { font-size: 20px; margin-right: 6px; margin-left: 15px; } &:hover { color: #1890ff; i { color: #1890ff; } } &.is-active { color: #1890ff; i { color: #1890ff; } } } } } &.dark { .el-menu { background: #031e39; .el-menu-item, .el-submenu__title { background: #031e39; color: #fff; i { color: #fff; } } } } } } #app .plain { .navbar-platform { color: #666; line-height: 60px; font-size: 16px; margin-left: 20px; } .el-menu { border: none; height: 100%; width: 100% !important; background: #001529; color: #fff; } .plain-sidebar-container { width: 80px; background-color: #001529; height: 100%; position: fixed; font-size: 0px; top: 0; bottom: 0; left: 0; z-index: 1001; overflow: hidden; -webkit-box-shadow: 0 66px 12px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 66px 12px 0 rgba(0, 0, 0, 0.1); .el-scrollbar { height: calc(100% - 60px); } .submenu-title-noDropdown { padding: 0 !important; position: relative; .el-tooltip { padding: 0 !important; .left-icon { font-size: 28px; } } } .el-menu { .el-menu-item { height: 70px !important; text-align: center; } .left-icon { margin-right: 0; font-size: 30px; margin-bottom: 0; } .mainTitle { font-size: 12px; line-height: 24px; margin-top: -8px; } } .el-submenu { overflow: hidden; height: 70px !important; text-align: center; &>.el-submenu__title { padding: 0 !important; height: 70px !important; .el-submenu__icon-arrow { display: none; } } } } .main-container { margin-left: 80px; } } .plain.el-menu--vertical { top: 0; >.el-menu--popup { max-height: 100vh; overflow-y: auto; } } .NCC-full-dialog { .el-dialog__header { padding: 0; } .el-dialog__body { padding: 0; height: 100%; overflow: hidden; } .NCC-full-dialog-header { padding: 0 20px; height: 60px; display: flex; justify-content: space-between; align-items: center; .header-title { height: 60px; width: 320px; } .header-logo { width: auto; height: 60px; vertical-align: top; margin-right: 3px; font-size: 30px; color: #fff; } .header-txt { line-height: 60px; display: inline-block; margin: 0; color: #333; font-size: 18px; } .steps { width: 450px; padding: 6px 20px; background: #fff; justify-items: flex-start; flex-shrink: 0; &.steps2 { width: 300px; } &.steps4 { width: 600px; } .el-step__title { cursor: pointer; } } .options { width: 320px; text-align: right; } } .main { height: calc(100vh - 60px); overflow: hidden; background: #EBEEF5; padding: 10px; .basic-box { height: 100%; overflow: hidden; } .basicForm { background: #fff; padding: 20px; border-radius: 4px; height: 100%; overflow: auto; overflow-x: hidden; .el-select { width: 100%; } } } } .table-actions { margin-top: 10px; border: #ebeef5 1px dashed; text-align: center; } .NCC-common-drawer { .el-drawer__header { height: 60px; border-bottom: 1px solid #dcdfe6; padding: 0 20px; margin-bottom: 0; &>span { line-height: 60px; } } .NCC-flex-main { height: calc(100vh - 60px); } } .portal-common-title { font-size: 16px; span { border-left: 4px solid #1890ff; padding-left: 8px; } } .portal-common-noData { text-align: center; padding-top: 50px; &.portal-common-noData-eChart { padding-top: 70px; .noData-img { width: 200px; height: 200px; } } .noData-img { width: 100px; height: 100px; } .noData-txt { font-size: 14px; color: #909399; line-height: 20px; } } .portal-layout-nodata { text-align: center; position: absolute; top: calc(50% - 200px); left: calc(50% - 200px); .layout-nodata-img { width: 400px; height: 400px; } .layout-nodata-txt { margin-top: -60px; font-size: 20px; color: #909399; line-height: 30px; } } .portal-todoList-box { .el-card__header { height: 55px; } .el-card__body { width: 100%; height: calc(100% - 55px); } .portal-todoList-box-body { padding: 16px 20px; height: 100%; overflow: hidden; .item { display: block; line-height: 20px; font-size: 0; margin-bottom: 12px; &::after { content: ""; clear: both; overflow: hidden; } .name { font-size: 14px; display: inline-block; width: calc(100% - 90px); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-break: break-all; vertical-align: top; } .time { font-size: 14px; display: inline-block; color: #999; width: 90px; text-align: right; } } } } .portal-eChart-box { .el-card__header { height: 55px; } .el-card__body { width: 100%; height: calc(100% - 55px); } .eChart-box-body, #chart { width: 100%; height: 100%; } #chart { z-index: 10; padding: 10px; } } .dynamicDetail { .dynamicDetail-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .dy-fileList { .dy-fileList-item { color: #606266; display: block; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; white-space: nowrap; cursor: pointer; margin-top: 10px; line-height: 25px; .el-icon-document { margin-right: 7px; line-height: inherit; } &:hover { background-color: #f5f7fa; } } } .dy-img { width: 120px; height: 120px; overflow: hidden; margin: 0 8px 8px 0; border: 1px solid #c0ccda; border-radius: 6px; } .el-color-picker__mask { background: none; } .el-switch.is-disabled { opacity: 1; } .slider-box { position: relative; .slider-mark { width: 100%; height: 100%; position: absolute; left: 0; top: 0; background: transparent; z-index: 1100; } } .el-table th { line-height: 23px !important; } } // 重定义element-ui 样式 .el-message-box__wrapper .el-message-box { border-width: 0; } .el-rate { display: inline-block; vertical-align: text-top; } .el-message-box { .el-textarea { textarea { min-height: 88px !important; } } } .el-table__expanded-cell[class*=cell] { padding: 5px 25px !important; } .el-button+.el-popconfirm, .el-button+.el-dropdown, .el-popconfirm+.el-button, .el-popconfirm+.el-dropdown { margin-left: 10px; } textarea.el-textarea__inner { resize: none; } .el-form--label-top .el-form-item__label { padding: 0 !important; } .el-input-number.is-controls-right .el-input__inner { text-align: left !important; } .el-popconfirm__main { margin: 14px 0; } .word-form { padding: 0 !important; margin: 0 !important; border-top: 1px solid #dcdfe6; border-left: 1px solid #dcdfe6; &.word-from-detail { .el-form-item__label+.el-form-item__content { padding: 0 15px; .el-rate, .el-color-picker, .el-switch { padding-left: 0; } } .el-col.item-table { border-bottom: none; } } .el-col { border-right: 1px solid #dcdfe6; border-bottom: 1px solid #dcdfe6; padding: 0 !important; box-sizing: border-box; &.item-card { border: none } } .el-form-item { margin-bottom: 0 !important; .el-form-item__label+.el-form-item__content { border-left: 1px solid#dcdfe6; padding-top: 5px; padding-bottom: 5px; } .el-form-item__error { top: 68% !important; } .el-form-item__label { padding-top: 5px; padding-bottom: 5px; } } .el-input__inner { border: 0 !important; } textarea { border: 0 !important; } .table-actions { border: none; margin-top: 0; } .el-row { margin: 0 !important; .el-col { border: 0; } } .el-card { box-shadow: none !important; border: 0; margin-bottom: 0; border-radius: 0; .el-card__body { padding: 0; } .el-row { .el-col { border: 0; } } } h1 { border: 0 !important; border-bottom: 0 !important; } .ql-toolbar { border: 0 !important; border-bottom: 1px solid #dcdfe6 !important; } .ql-container { border: 0 !important; } .el-radio-group, .el-checkbox-group, .el-rate, .el-color-picker, .el-switch { padding-left: 15px; } .el-slider, .UploadFile-container { padding: 0 15px; } .el-input-number { margin-left: 15px; } .NCCAmount { padding: 0 15px; .el-input-number { margin-left: 0; } } .el-table { td, th { border-right: 1px solid #dcdfe6; border-bottom: 1px solid #dcdfe6 !important; &:last-child { border-right: none !important; } &:hover { &::after, &::before { border-color: transparent !important; } } } .el-input-number { margin-left: 0; } .el-color-picker, .el-switch { padding-left: 0; } } .el-table th:nth-last-child(2) { border-right: none !important; } .NCC-common-title { border-bottom: 1px solid #dcdfe6 !important; } } .table-switch.el-switch.is-disabled { opacity: 1; .el-switch__core, .el-switch__label { cursor: pointer; } } .el-dropdown-menu__item .icon-ym { vertical-align: -1px; } .transfer__body { line-height: 32px; display: flex; justify-content: space-around; padding-top: 10px; height: 380px; .transfer-pane { width: 360px; } .transfer-pane__tools { margin-bottom: 8px; height: 32px; display: flex; justify-content: space-between; align-items: center; } .transfer-pane__body { position: relative; width: 100%; height: calc(100% - 40px); overflow: auto; overflow-x: hidden; font-size: 14px; border: 1px solid #dcdfe6; } .right-pane { box-sizing: border-box; overflow: auto; border: 1px solid #dcdfe6; .selected-item { padding: 0px 12px; display: flex; justify-content: space-between; align-items: center; &:hover { background-color: #f5f7fa; } span { max-width: 90%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } i:hover { color: #f56c6c; cursor: pointer; } } } } .blend { .navbar { &.dark { background: #031e39; border-bottom: none; .right-menu { .right-menu-item { color: #fff; } } .icon-ym { color: #fff; } .el-tabs__item { color: #fff; } } } }