@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'); } // @font-face { // font-family: 'PingFang SC'; // src: url("../fonts/SourceHanSansSC-Normal-2.woff2"); // } // *{ // font-family: SimHei; // } //弹窗样式 .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%); } //按钮大小 .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: Metropolis, Avenir Next, Helvetica Neue, Arial, sans-serif; } .bbsl-common-page { height: 100%; } .bbsl-table-search { padding: 19px 24px; background-color: #fff; border-radius: 20px; // box-shadow: 0px 0px 12px 0 rgba($color: #000000, $alpha: 0.1); box-shadow: 0px 12px 23px 0px rgba(0, 0, 0, 0.05); position: relative; height: 60px; box-sizing: border-box; vertical-align: center; display: flex; align-items: center; /deep/.el-form-item { margin: 0; display: inline-block; } /deep/.el-input { width: 209px; } } .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: #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; } // // /*定义滚动条轨道 内阴影+圆角*/ // .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-tag, .el-input__inner { font-size: 15px; } .el-input input { font-size: 15px; } * { ::placeholder { font-size: 15px !important; } } .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; span { font-size: 16px !important; font-weight: 700; vertical-align: middle; } i { margin-right: 6px; font-size: 16px !important; vertical-align: middle; } } .bbsl-location-dialog { .el-dialog__body { padding: 10px 20px; } } // 全部修改弹层样式高度 .el-dialog__body { max-height: 65vh; overflow: auto; } .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; } } .cqlt-icon { font-size: 28px; } .cqlt-icon:hover { cursor: pointer; color: #409eff; } // 全局样式 .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%; } .oneStage .el-cascader-menu:nth-of-type(1) .el-radio__input { display: none !important; } //禁止选中前两级 .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; } .chackTwoStage .el-cascader-menu:nth-of-type(1) .el-checkbox__input { display: none !important; } .chackTwoStage .el-cascader-menu:nth-of-type(2) .el-checkbox__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; // }