@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'); } // 原设计图为PingFang 后改为思源黑体 不改字体名称 只改文件 @font-face { font-family: 'PingFang SC'; src: url('../fonts/PingFang Medium.woff2'); } // 树+表格的边框缩小 .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%); } //按钮大小 .el-button { height: 40px; } // 导出按钮的间距 .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: Microsoft YaHei-Regular, Microsoft YaHei; } .el-table thead tr, .el-table thead tr th { background-color: #eee !important; } .el-table--mini th { height: 46px; } .el-table--mini td { height: 41px !important; padding-top: 0; padding-bottom: 0; } .el-table th > .cell { font-size: 14px; font-weight: bold; color: #3c4353; } .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: hidden; } .el-table ::-webkit-scrollbar { width: 18px; height: 18px; background-color: #f6f6f6; } .el-table ::-webkit-scrollbar-corner { background: #f6f6f6; } /* 层级 */ .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); } // 全局样式 .bg { background-color: $--background-color-base; } .full-page { width: 100%; height: 100%; box-sizing: border-box; } .flex { display: flex; } .flex-center { display: flex; justify-content: center; align-items: center; } .search-container { width: 100%; height: 60px; line-height: 60px; padding: 0 20px; background-color: #ffffff; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); border-radius: 20px; display: flex; justify-content: space-between; box-sizing: border-box; overflow: hidden; transition: height 0.3s linear; -webkit-transition: height 0.3s linear; -moz-transition: height 0.3s linear; -ms-transition: height 0.3s linear; -o-transition: height 0.3s linear; .el-form-item { margin: 0; display: inline-block; } .left { .title { font-size: 24px; } } .el-form-item__content { line-height: 60px; } .el-input, .el-input--suffix { line-height: normal; } } .main-table-container { height: calc(100% - 70px); padding: 0; margin: 10px 0 0 0 !important; box-sizing: border-box; transition: height 0.3s linear; -webkit-transition: height 0.3s linear; -moz-transition: height 0.3s linear; -ms-transition: height 0.3s linear; -o-transition: height 0.3s linear; } .main-aside-container { width: 300px; height: 100%; border-radius: 20px; box-sizing: border-box; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); background-color: #ffffff; padding: 20px !important; } .table-container { width: 100%; height: 100%; // margin-left: 10px; border-radius: 20px; padding: 20px !important; background-color: #fff; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); position: relative; box-sizing: border-box; .title { font-size: 16px; } .title-icon { font-size: 18px; font-weight: bold; color: #409eff; margin-right: 10px; } } .flex-wrap { display: flex; flex-wrap: wrap; } .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; } } .el-descriptions .is-bordered .el-descriptions-item__cell { width: 10%; } //禁止选中前两级 .twoStage .el-cascader-menu:nth-of-type(1) .el-radio__input { display: none !important; } .twoStage .el-cascader-menu:nth-of-type(2) .el-radio__input { display: none !important; } .defineSwitch { .el-switch__label--left { position: relative; left: 72px; color: #fff; z-index: -1111; } .el-switch__core { width: 70px !important; } .el-switch__label--right { position: relative; right: 72px; color: #fff; z-index: -1111; } .el-switch__label--right.is-active { z-index: 9; color: #fff !important; } .el-switch__label--left.is-active { z-index: 9; color: #fff !important; } } .el-dialog__wrapper { background-color: rgba(0, 0, 0, 0.3); } .btn-audited { background: #67c23a !important; border-color: #67c23a !important; color: #ffffff !important; } .btn-reviewed { background: #f56c6c !important; border-color: #f56c6c !important; color: #ffffff !important; } .advanced-search { height: 120px; transition: height 0.3s linear; -webkit-transition: height 0.3s linear; -moz-transition: height 0.3s linear; -ms-transition: height 0.3s linear; -o-transition: height 0.3s linear; } .advanced-search-table { height: calc(100% - 130px); transition: height 0.3s linear; -webkit-transition: height 0.3s linear; -moz-transition: height 0.3s linear; -ms-transition: height 0.3s linear; -o-transition: height 0.3s linear; } .search-action-btn { white-space: nowrap !important; font-size: 12px; .el-link--inner { white-space: nowrap !important; } .el-link { margin: 0 2px !important; } } .withdraw { border: 1px solid #f56c6c !important; &:hover { background-color: #f56c6c !important; color: #fff !important; border-color: #f56c6c !important; } } .search-container { .el-form-item__label-wrap { .el-form-item__label { white-space: nowrap !important; } } } .basis-position { position: relative; } .history-btn { height: 2.5vw; position: absolute; right: 0; top: 0; } .el-input__inner::-webkit-outer-spin-button, .el-input__inner::-webkit-inner-spin-button { -webkit-appearance: none; } .my-el-popover { max-height: 65vh !important; padding: 30px !important; overflow-y: auto !important; overflow-x: clip !important; } // .el-popper { // max-height: 65vh !important; // padding: 30px !important; // overflow-y: scroll !important; // overflow-x: clip !important; // }