@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'; @font-face { font-family: 'electronicFont'; src: url('../fonts/CursedTimerUlil-Aznm.ttf'); } @font-face { font-family: 'PingFang'; src: url('../fonts/PingFang Medium.otf'); } //弹窗样式 * { font-family: PingFang; } .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: center; } } .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顶部按钮样式 .search-container__col { // .el-button-group{ // width: calc(100% - 360px); // } } .ht-table { .el-radio { .el-radio__label { display: none; } } } // 树+表格的边框缩小 .main-ht-table { padding: 10px !important; } .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: 0; top: -10px; left: 50%; transform: translateX(-50%); } .tooltip-wrapper:hover > .msg-log-content { opacity: 1; position: static; display: inline-block; } .msg-log-icon { position: relative; top: -10px; } .msg-log-icon:hover + .msg-log-content { opacity: 1; position: static; display: inline-block; } .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: 0; 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%); } // 导出按钮的间距 .export-import-container + .export-import-container, .export-import-container + .el-button, .el-button + .export-import-container, .ht-delete-button + .export-import-container { margin-left: 10px; } /* 设置滚动条的样式 background-color: #0f3a5c;*/ ::-webkit-scrollbar { width: 10px !important; height: 10px !important; background-color: #ccc; border-radius: 2px; } /* 滚动槽 */ ::-webkit-scrollbar-track { border-radius: 6px; background-color: #ccc !important; } /* 滚动条滑块 */ ::-webkit-scrollbar-thumb { border-radius: 6px; background-color: #9fa1a5; } html { font-family: Metropolis, Avenir Next, Helvetica Neue, Arial, sans-serif; } .bbsl-common-page { height: 100%; } .bbsl-table-search { padding: 0 20px; background-color: #fff; border-radius: 20px; box-shadow: 0px 0px 12px 0 rgba($color: #000000, $alpha: 0.1); position: relative; height: 60px; box-sizing: border-box; vertical-align: center; display: flex; align-items: center; } .bbsl-table-search > .el-form { display: block; width: 100%; .el-form-item { margin-bottom: 0; } } .bbsl-search-more { width: calc(50% + 40px); padding: 20px 20px 0 20px; background-color: #fff; box-shadow: 0px 4px 6px 0 rgba($color: #000000, $alpha: 0.1); position: absolute; z-index: 999; right: 0; top: 66px; border: 1px solid #ccc; box-sizing: border-box; } .bbsl-table-content { height: calc(100% - 70px); margin-top: 10px; border-radius: 20px; padding: 20px 20px; background-color: #fff; box-shadow: 0px 0px 12px 0 rgba($color: #000000, $alpha: 0.1); position: relative; box-sizing: border-box; } .bbsl-btn-content { margin-bottom: 10px; } .bbsl-pagination { position: absolute; right: 10px; bottom: 10px; } .el-table thead tr, .el-table thead tr th { background-color: #f5f7fa !important; } .el-table--mini th { height: 54px; } .el-table--mini td { height: 51px !important; padding-top: 0; padding-bottom: 0; } .el-table th > .cell { font-size: 14px; font-weight: bold; color: #606266; } .el-table td > .cell { font-size: 14px; color: #606266; } .el-table--border th, .el-table--border td { border-right: 1px solid #fff !important; } .el-scrollbar__wrap { overflow-x: hidden; } .el-textarea.is-disabled .el-textarea__inner { color: rgba($color: #000000, $alpha: 0.7); } .el-input.is-disabled .el-input__inner { color: rgba($color: #000000, $alpha: 0.7); } .el-range-editor.is-disabled input { color: rgba($color: #000000, $alpha: 0.7); } .el-table ::-webkit-scrollbar { width: 18px; height: 18px; background-color: #f6f6f6; } .el-table ::-webkit-scrollbar-corner { background: #f6f6f6; } // // /*定义滚动条轨道 内阴影+圆角*/ // .el-table ::-webkit-scrollbar-track { // background: #f6f6f6; // border-radius: 2px; // } // // /*定义滑块 内阴影+圆角*/ // .el-table ::-webkit-scrollbar-thumb { // background: #cdcdcd; // border-radius: 2px; // } /* 层级 */ .v-modal { //z-index: 11 !important; } /* tab */ .el-tabs { width: 100%; height: 100%; } .el-tabs__content { width: 100%; height: 100%; } /* 穿梭框 */ .el-transfer { height: 100% !important; display: flex; } .el-transfer-panel__body { height: 100% !important; } .el-transfer-panel { flex: 1 !important; height: 100% !important; } // .el-checkbox-group { // height: 458px !important; // } .el-transfer__buttons { width: 10% !important; line-height: 584px !important; } .el-tree { border-right: 1px solid rgb(238, 237, 237); border-left: 1px solid rgb(238, 237, 237); border-bottom: 1px solid rgb(238, 237, 237); } /* 公用新增修改框分割线 */ .from-title { width: 100%; height: 30px; line-height: 30px; color: #409eff; margin-top: 0; margin-bottom: 20px; span { font-size: 14px !important; font-weight: 700; vertical-align: middle; } i { margin-right: 6px; font-size: 14px !important; vertical-align: middle; } } .bbsl-location-dialog { // background-color:#C7C7C9; .el-dialog__header { background-color: #f5f6fb; font-weight: bold; border-bottom: 1px solid #f5f6fb; } .el-dialog__body { background-color: #fdfdff; max-height: 500px; overflow-y: auto; padding: 10px 20px; margin: 0 25px; } } .bbsl-tab { .el-tabs__item { padding: 0 16px !important; } } .bbsl-scroll-pane { display: flex; position: relative; .bbsl-scroll-step { width: 200px; height: 300px; position: relative; .hidden-item { position: absolute; z-index: 3; width: 100%; height: 28px; border: 1px solid rgb(112, 65, 65); } } .bbsl-scroll-form { // 如果要加左边步骤条 // width : calc(100% - 220px); // 如果要加左边步骤条 width: calc(100% - 20px); height: calc(95vh - 300px); overflow-y: auto; padding: 0 10px; } .el-scrollbar .el-scrollbar__wrap { overflow-x: hidden !important; } .el-step.is-vertical .el-step__main { padding-left: 2px; } .el-step__icon-inner[class*='el-icon']:not(.is-status) { font-size: 16px; } .el-step__title { font-size: 14px; } } // 树-表布局 .tree-table-container { width: 100%; height: 100%; .common-tree-container { width: calc(100% - 10px) !important; height: 100%; background-color: #fff; box-shadow: 0px 0px 12px 0 rgba($color: #000000, $alpha: 0.1); } .common-tree-title { height: 46px; line-height: 46px; color: $--color-primary; background-color: #d9e4ea; padding: 0 10px; font-weight: 700; font-size: 16px; } .el-tree-node__content { height: 38px !important; } .tree-node-icon { color: $--color-primary; } .common-tree-content { width: 100% !important; height: calc(100% - 46px) !important; overflow: auto; } .common-tree-content { .el-tree-node > .el-tree-node__children { overflow: initial !important; } } .common-table-container { width: 100%; height: 100%; } .custom-tree-node { font-size: 14px; } } .form-collapse { border: none; .el-collapse-item__header { justify-content: start; border-bottom: none; display: inline-block; } .el-collapse-item__wrap { border-bottom: none; } .el-collapse-item__arrow { margin: 0 0 0 10px; color: $--color-primary; } .collapse-title { color: $--color-primary; font-size: 16px; font-weight: 700; } .collapse-title-icon { margin-right: 10px; font-size: 18px; } } .new-edition-dialog { .el-dialog__header { background-color: #3d3d3d; font-weight: bold; * { color: #fff !important; } .el-dialog__close { &:hover { color: $--color-primary !important; } } } .el-dialog__body { max-height: 600px; overflow-y: auto; padding: 15px 30px; } } .el-table__header { .el-table__cell { padding: 12px 0 !important; &.is-required { .cell { &::before { content: '*'; display: inline-block; color: $--color-danger; margin-right: 3px; font-size: 11px; vertical-align: top; } } } } }