@import 'element-variables.scss'; /* 改变 icon 字体路径变量,必需 */ $--font-path: '~element-ui/lib/theme-chalk/fonts'; @import '~element-ui/packages/theme-chalk/src/index'; @import '../icon/iconfont.css'; //弹窗样式 .manage-dialog__wrap { overflow: unset !important; .el-dialog { width: 70%; height: 72%; .el-dialog__header { padding: 10px 0; margin: 0 20px; height: 24px; line-height: 24px; border-bottom: 1px solid #ebeef5; } .el-dialog__title { font-size: 16px; color: #333; } .el-dialog__headerbtn { top: 14px; } .el-dialog__body { height: calc(100% - 120px); padding-top: 10px; padding-bottom: 10px; overflow: auto; font-size: 12px; .el-main { padding-top: 0; padding-bottom: 0; } } .el-input__inner { font-size: 12px; } } .el-dialog__footer { padding-top: 0; } .dialog-footer { text-align: right !important; } } .manage-dialog__wrap { @media (max-width: 1024px) { .el-dialog { width: 100%; height: 90%; margin-top: 4vh !important; } } @media (min-width: 1152px) and (max-width: 1400px) { .el-dialog { width: 90%; } } } // htTable顶部按钮样式 .ht-table { .el-radio { .el-radio__label { display: none; } } } .tooltip-wrapper { position: relative; display: inline-block; padding: 4px 6px; top: 10px; } .tooltip-wrapper::before { content: ''; position: absolute; border-width: 4px 6px 0 6px; border-style: solid; border-color: transparent; border-top-color: black; opacity: 1; top: -10px; left: 50%; transform: translateX(-50%); } .msg-log-icon { position: relative; } .log-id { padding-top: 10px; color: #333; } .msg-log-content { position: absolute; background: black; text-align: center; color: #fff; border-radius: 5px; padding: 4px 2px; min-width: 80px; pointer-events: auto; opacity: 1; left: 50%; top: -5px; transform: translateX(-50%) translateY(-100%); } .tooltip-wrapper:hover::after, .tooltip-wrapper:hover::before { opacity: 1; } /* 右侧 */ .tooltip-wrapper:hover[position='right']::before { top: 15%; left: 8%; margin-left: -3px; transform: translateY(-50%) rotate(-90deg); } .tooltip-wrapper[position='right'] > .msg-log-content { top: 50%; left: 100%; margin-left: 10px; transform: translateY(-50%); } .import-export__wrap { .el-dropdown { font-size: 14px; padding-right: 14px; } } .table-header-btn__wrap { .clear-all-btn { margin-top: 4px; } } //无数据时显示图片样式 .el-tree__empty-block { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; .no-data-text { margin: 0; } .el-image__inner { width: 380px; } } @mixin base-scrollbar { &::-webkit-scrollbar { width: 13px; height: 13px; } &::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.4); background-clip: padding-box; border: 3px solid transparent; border-radius: 7px; } &::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, 0.5); } &::-webkit-scrollbar-track { background-color: transparent; } &::-webkit-scrollbar-track:hover { background-color: #f8fafc; } } //全局表格样式 .el-table { .el-table__header-wrapper, .el-table__fixed-header-wrapper { .el-table__cell { background: #f4f4f4; padding: 8px 0; .cell { color: #333; font-weight: bold; font-size: 14px; } } } .el-table__body { .el-table__cell { .cell { color: #333; font-size: 14px; .el-button { font-size: 14px; } } } } th.el-table__cell { background: #f4f4f4; color: #333; font-size: 14px; } .el-table__body-wrapper { @include base-scrollbar; } } p, ul, li { margin: 0; padding: 0; } // 子表中 radio和checkbox对齐样式 .xh_table { .ht-form-inputs__block { .el-checkbox-group, .el-radio-group { text-align: left; } } } .ht-selector__table { &::before { height: 0; } } .follow-theme-background-color { background-color: #409eff !important; } .follow-theme-color { color: #409eff !important; } .header-popper[x-placement^='bottom'] { margin-top: 28px; // right: 38px; // left: unset !important; } .el-menu--vertical { .el-menu--popup { .el-menu-item { &:hover { background-color: #fff; } .menu-item-title { &:hover { color: $--color-primary; } } } .el-menu-item.is-active { background: #f0f8ff; font-weight: normal; .menu-item-title { .menu-item-name { color: $--color-primary; } .collect-icon { color: #e2e2e2; } .is-collect { color: #ffca28; } } } } } // 全局按钮样式调整 .el-button--small { font-size: 14px; border-radius: 2px; } .dialog-selector__wrapper { .ht-search__btn { .el-button--small { padding: 7.6px 15px; } } } /* 表格表头过滤样式开始 */ .filter-column { .cell { span.el-table__column-filter-trigger { display: none; } .filter-colum__wrap { .icon-screen { padding-left: 8px; } } } } /* 表格版本样式调整 */ .el-tag.version-tag { background-color: #eeeeee; border: none; color: #333; border-radius: 2px; } .green-color { color: #51b43a; } .red-color { color: #e55555; } .theme-color { color: $--color-primary; } /* 表格更多操作按钮样式调整 */ .copy-btn.el-button--text { margin-left: 16px; } .more-operate-btn__dropdown { margin-left: 16px; .more-operate-btn { cursor: pointer; color: $--color-primary; } } .delete-drop-item { color: #e55555; } .operate-dropdown__button { .el-dropdown-menu__item:not(.is-disabled):hover, .el-dropdown-menu__item:focus { background-color: #f8f8f8; } .delete-drop-item:not(.is-disabled):hover { color: #e55555; } .el-dropdown-menu__item { padding: 0 24px; line-height: 32px; text-align: center; font-size: 14px; } } .el-table { .status_text { padding-left: 4px; } } /* 弹窗样式 */ .right-dialog { .el-dialog__header { border-bottom: 1px solid #dcdee0 !important; } } .el-dialog__header { padding: 20px 24px; .el-dialog__title { color: #222; font-size: 16px; font-weight: bold; } .el-dialog__headerbtn { .el-dialog__close { font-size: 16px; color: #666; } } } .el-dialog__body { padding: 32px 48px; } .el-dialog__footer { text-align: right; .el-button + .el-button { margin-left: 0; } .el-button { margin-right: 24px; &:last-child { margin-right: 0; } } .dialog-footer{ text-align: right !important; } } .button-theme-style { .el-select-dropdown__item.selected { color: unset; } .el-select-dropdown__item:nth-child(2) { color: $--color-primary; } .el-select-dropdown__item:nth-child(3) { color: $--color-success; } .el-select-dropdown__item:nth-child(4) { color: #ccc; } .el-select-dropdown__item:nth-child(5) { color: $--color-warning; } .el-select-dropdown__item:nth-child(6) { color: $--color-danger; } } .el-button--default { border-color: #dcdee0; &:hover { color: unset; border-color: #dcdee0; background-color: unset; } } .el-button--primary { color: #fff; background-color: #409eff; border-color: #409eff; &:hover { background: #66b1ff; border-color: #66b1ff; color: #fff; } &:focus { background: #66b1ff; border-color: #66b1ff; color: #fff; } } // 全局table 表头筛选框样式 .el-table-filter .el-table-filter__bottom { padding: 8px 12px; display: flex; justify-content: space-between; } .examples-code { .cm-s-base16-light.CodeMirror { background: #fff; height: unset; } } // 新增栏目提示框样式 .el-message-box__wrapper { .col-msg__box { width: 408px; border-radius: 2px; .el-message-box__header { padding: 16px 24px; .el-message-box__title { color: #222; font-size: 16px; font-weight: bold; } } .el-message-box__content { padding: 12px 32px 0px 32px; } .el-message-box__container { .el-message-box__status { display: none; } .el-message-box__message { padding: 0; color: #333; } } .el-message-box__btns { text-align: center; margin: 10px 0 22px 0; height: 34px; .el-button--default { background: #409eff; color: #fff; &:hover { background: #409eff; color: #fff; } } .el-button--primary { background: rgba(255, 255, 255, 0.39); color: #666666; border-color: #dcdee0; &:hover { background: rgba(255, 255, 255, 0.39); color: #666666; border-color: #dcdee0; } } } .el-message-box__btns button:nth-child(2) { margin-left: 24px; } } } //常用功能栏目样式 .common-function { .function-item { width: calc(33.33% - 20px); margin-right: 24px; margin-bottom: 24px; span { padding-top: 8px; font-size: 14px; } &:hover { background: #f6f6f6; cursor: pointer; span { color: #409eff !important; } } &:nth-child(3n) { margin-right: 0; } } } .el-input-group__append, .el-input-group__prepend { border-radius: 2px; } .el-textarea__inner { border-radius: 2px; } .el-input__inner { border-radius: 2px; } .js-var-tip.is-dark { color: #e55555; } // 修复表单列表操作按钮 下拉选项为空时,会有小箭头和一条线的问题 .el-dropdown-menu.el-popper[x-placement^='bottom'] { .popper__arrow { visibility: hidden; } > li + .popper__arrow { visibility: visible; } } .el-dropdown-menu.el-popper.el-dropdown-menu--mini.el-popper[x-placement^='bottom'] { border: none; } .custom-tree__select { min-width: 266px !important; .el-checkbox.is-disabled { display: none; } .custom-tree-node { padding-right: 10px; width: 100%; display: flex; justify-content: space-between; .node-btn { color: #999999; } .check-node { color: #409eff; } } .el-scrollbar__bar.is-horizontal { height: 0; } .org-range-tree { overflow: auto; &::-webkit-scrollbar { width: 13px; height: 13px; } &::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.4); background-clip: padding-box; border: 3px solid transparent; border-radius: 7px; } &::-webkit-scrollbar-thumb:hover { background-color: rgba(0, 0, 0, 0.5); } &::-webkit-scrollbar-track { background-color: transparent; } &::-webkit-scrollbar-track:hover { background-color: #f8fafc; } .el-tree-node { .node-label { width: 300px; overflow: hidden; text-overflow: ellipsis; } .el-tree-node__children { overflow: inherit; } } } } .el-select-dropdown.is-multiple.custom-tree__select { .el-select-dropdown__item { padding: 0; } } .form-content{ .table_layout_wrap { .main-table { margin-bottom: 0; .main-title { padding: 0 8px !important; } } } } //表格校验样式 .form-table__container { .form-table_box { .xh_table { .el-table { div[aria-invalid='true'] + .exhibit { margin: 16px 0; } .haveNumMargin { margin: 16px 0; } .cell{ padding-left: 6px; padding-right: 6px; } } .inputs { position: relative; div[aria-invalid='true'] { margin: 16px 0; } div[aria-invalid='true'] + .field-tail__wrap { text-align: left; position: absolute; top: calc(100% - 16px); left: 0; .el-form-item__error { top: calc(100% - 16px); position: static; } } div[aria-invalid='true'] + div + .field-tail__wrap { text-align: left; position: absolute; left: 15px; top: calc(100% - 18px); .el-form-item__error { top: calc(100% - 16px); position: static; } } } .isFormat { .el_home { margin: 16px 0; } .exhibitText { text-align: right; position: absolute; top: calc(100% - 18px); left: 0; } } .file-upload-container { text-align: left; } .file-list__wrap { .file-item { .file__name { text-align: left; } } } } } } //富文本中表格样式 .formT_box .xh_table { .sub-collapse .el-collapse-item__content .form-table tbody tr td { .inputs.ht-form-inputs__block { tbody tr td { border-right: 1px solid #ebeef5; border-bottom: 1px solid #ebeef5; } .wangEditor-table-style { table { border-left: 1px solid #ccc; } } } } } .language-type-tips { .href { color: #409eff; } } .el-table__fixed { z-index: 999; } //表单列表 tab .template-view_change { .el-tabs__content { padding: 20px; } .el-tabs__item.is-top:nth-child(2) { padding-left: 20px !important; } } .form-table__wrap { .sub-collapse { .sub-collapse-item { div[aria-expanded='true'] { .sub-collapse-item-title { .el-icon-caret-right { transform: rotate(90deg); } } } } } .sun-collapse { .sun-collapse-item { div[aria-expanded='true'] { .sun-collapse-item-title { .el-icon-caret-right { transform: rotate(90deg); } } } } } } .has-options { .el-select-dropdown__empty { display: none; } } .el-picker-panel { z-index: 10000 !important; } .el-dialog__body .form-table { border-top: 1px solid #ebeef5; border-left: 1px solid #ebeef5; .linkageTable-th { background: #f9f9f9; } } .setting-dialog { .el-form { .inputs.ht-form-inputs__block div[aria-invalid='true'], .inputs.ht-form-inputs__inline div { margin-top: 0; } } .toolbar-container { font-size: 14px; font-weight: 400; color: #409eff; width: 100%; height: 44px; line-height: 44px; background: rgba(64, 158, 255, 0.05); padding-left: 16px; } } @media print { #flow-form-container { display: block; height: auto; overflow: hidden; margin: 0; } body .el-table th.gutter { display: none !important; } body { .form-content { .form-top-title { text-align: center; } ::v-deep { .printHide { display: none; } } .no-print { display: none; } } } @page { size: auto; margin: 3mm; } } .form-table__container .field-tail__wrap ::v-deep .el-form-item__error { position: static; }