@use './mixin.scss'; @use './transition.scss'; @use './element-ui.scss'; @use './sidebar.scss'; @use './btn.scss'; @use './ruoyi.scss'; body { height: 100%; margin: 0; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; } label { font-weight: 700; } html { height: 100%; box-sizing: border-box; } #app { height: 100%; } *, *:before, *:after { box-sizing: inherit; } .no-padding { padding: 0px !important; } .padding-content { padding: 4px 0; } a:focus, a:active { outline: none; } a, a:focus, a:hover { cursor: pointer; color: inherit; text-decoration: none; } div:focus { outline: none; } .fr { float: right; } .fl { float: left; } .pr-5 { padding-right: 5px; } .pl-5 { padding-left: 5px; } .block { display: block; } .pointer { cursor: pointer; } .inlineBlock { display: block; } .clearfix { &:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } } aside { background: #eef1f6; padding: 8px 24px; margin-bottom: 20px; border-radius: 2px; display: block; line-height: 32px; font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; color: #2c3e50; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; a { color: #337ab7; cursor: pointer; &:hover { color: rgb(32, 160, 255); } } } //main-container全局样式 .app-container { padding: 10px; height: calc(100vh - 5.25rem); background-color: #fff; box-sizing: border-box; } .box-container { padding: 10px 10px 0 10px; height: calc(100vh - 5.25rem); background-color: #e6edf9; box-sizing: border-box; } .card-box { background: #fff; border-radius: 4px; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08); padding: 10px; margin-bottom: 10px; .section-title { position: relative; padding-left: 12px; padding-bottom: 6px; font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; // align-items: center; /* 左侧蓝色小竖线 */ &::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; height: 14px; background-color: #409eff; margin-right: 8px; border-radius: 0 4px 4px 0; } } } .separator { width: 6%; display: inline-block; text-align: center; } .components-container { margin: 30px 50px; position: relative; } .pagination-container { margin-top: 10px; } .text-center { text-align: center } .sub-navbar { height: 50px; line-height: 50px; position: relative; width: 100%; text-align: right; padding-right: 20px; transition: 600ms ease position; background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%); .subtitle { font-size: 20px; color: #fff; } &.draft { background: #d0d0d0; } &.deleted { background: #d0d0d0; } } .link-type, .link-type:focus { color: #337ab7; cursor: pointer; &:hover { color: rgb(32, 160, 255); } } .compact-form { flex: 1; position: relative; height: 100%; overflow-y: auto; overflow-x: hidden; .el-form-item { margin-bottom: 0px; } .el-form-item__label { padding-bottom: 0px; color: #08355E; font-size: .75rem; } // pointer-events: none; :deep(.el-radio__label) { color: #08355E; } } .filter-container { padding-bottom: 10px; .filter-item { display: inline-block; vertical-align: middle; margin-bottom: 10px; } } .flex-between { display: flex; justify-content: space-between; } .time-line-box { display: flex; justify-content: space-around; align-items: center; margin-top: .35rem; background-color: #f0f3f8; padding: .3rem 2.5rem; .time-line-item { display: flex; align-items: center; justify-content: space-around; width: 16.6%; .timeline-content { display: flex; flex-direction: column; align-items: center; .index { width: 1.875rem; height: 1.875rem; line-height: 1.875rem; background: #E1E9F7; border-radius: 50%; text-align: center; font-family: SourceHanSansCN, SourceHanSansCN; font-weight: 500; font-size: 1.125rem; color: #4767A3; } .active { background-color: #4096ff; box-shadow: 0 0 0 .25rem rgba(64, 150, 255, 0.2); color: #FFF; } .timeline-title { font-family: SourceHanSansCN, SourceHanSansCN; font-weight: 500; font-size: 1rem; color: #4767A3; } .timeline-time { font-family: SourceHanSansCN, SourceHanSansCN; font-weight: 400; font-size: .875rem; color: #4767A3; height: 1rem; } } .no_active { .index, .timeline-title { color: #9b9999 !important; } } .timg { width: 3.125rem; } } } .next_box { display: flex; align-items: center; justify-content: space-between; .jt_btn { width: 1.5rem; height: 2rem; line-height: 2rem; font-size: 1rem; text-align: center; background-color: #f6fafc; color: #fff; cursor: pointer; } .next_btn { margin-right: 0.2rem; } } .search-form { :deep(.el-form-item__label) { padding: 0 !important; } :deep(.el-form-item) { margin-right: 0; } .el-form-item--default { margin-bottom: .3125rem !important; } .el-form-item--small { margin-bottom: .3125rem !important; } } .page-box { margin-top: 10px; float: right; } .tabs_box { .el-tabs__header { height: 1.875rem !important; margin-bottom: 0px; font-size: .875rem; .el-tabs__item { height: 1.875rem !important; padding: 0 .625rem; &.is-active { border-bottom: .125rem solid #00a5ff !important; background-color: #00a5ff; color: #fff; } } } .el-tabs__nav-next, .el-tabs__nav-prev { line-height: 1.875rem; color: #00a5ff; } } .dialog-footer { margin-top: 20px; text-align: right; } .el-tree-node__children { padding-left: 15px !important; } /* 禁止文本选中 */ .no-select { user-select: none; /* 兼容旧版浏览器 */ -webkit-user-select: none; /* Safari/Chrome */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* IE/Edge */ cursor: pointer; } .el-form .el-form-item__label { font-weight: 700; } .el-form--inline .el-form-item { margin-right: .9375rem; } .el-form-item__label { font-weight: 400; font-size: .875rem; color: #81878d; } .el-dialog:not(.is-fullscreen) { margin-top: 6vh !important; padding: 0; // border-radius: 20px; .el-dialog__body { padding: 10px; } } .el-dialog.scrollbar .el-dialog__body { overflow: auto; overflow-x: hidden; max-height: 70vh; padding: 16px; } .el-dialog__header { background: linear-gradient(90deg, #0c1a97 0%, #1373d3 100%); padding: 10px 20px; position: relative; font-family: SourceHanSansCN, SourceHanSansCN; &::before { content: ''; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; background: url('@/assets/logo/logo.png') no-repeat center; background-size: contain; z-index: 1; } // 标题文本样式 .el-dialog__title { color: #fff; /* 标题文字颜色 */ padding-left: 40px; /* 给 Logo 留出空间 */ font-size: 16px; font-weight: 600; } .el-dialog__headerbtn .el-dialog__close { color: #fff; /* 关闭按钮颜色 */ font-size: 18px; &:hover { color: #fff; } } } .el-dialog__footer { padding: 10px; } .el-table { padding: 0 !important; .el-table__header-wrapper, .el-table__fixed-header-wrapper { th { word-break: break-word; background-color: #eff6fa !important; color: #3c526f; height: 1.875rem !important; font-size: 15px; font-weight: 700; } } .el-table__body-wrapper { .el-button [class*="el-icon-"]+span { margin-left: 1px; } } .el-table__body td { font-size: 15px; } .el-scrollbar__thumb { background-color: #d8d8d8 !important; opacity: 1; } .el-scrollbar__thumb:hover { background-color: #d8d8d8 !important; opacity: 1; } .cell.el-tooltip { min-width: 0; } .el-table__body-wrapper .el-table-column--selection>.cell { padding: 0 !important; height: 1.8125rem; line-height: 1.8125rem; } .cell.el-tooltip { padding: 0 !important; height: 1.8125rem; line-height: 1.8125rem; } .el-table-header-cell .cell { padding: 0 !important; } .el-table--default { .cell { padding: 0 !important; } } .el-table__cell { padding: 0 !important; height: 1.8125rem; line-height: 1.8125rem; color: #3c526f; font-size: 14px; } .el-checkbox { height: 100% !important; } /* 修改选中行背景色 */ .el-table__body tr.current-row>td { background-color: #d9ecf7 !important; } // /* 可选:修改悬停颜色 */ // .el-table__body tr.hover-row>td { // background-color: #a4beef !important; // } .el-table__empty-block { width: 100% !important; } --el-table-border-color:#ccc; // 边框颜色 .el-table__header th { border-color: #ccc !important; } .el-table__body td { border-color: #ccc !important; } .el-table__row { border-color: #ccc !important; } } .el-input__wrapper, .el-select__wrapper { box-shadow: 0 0 0 1px #96B8D9 inset; } .el-select__wrapper.is-disabled { background-color: #dfdcdc !important; } .el-select-dropdown__item.is-hovering { background-color: #a4beef !important; } .el-input.is-disabled .el-input__wrapper { background-color: #dfdcdc !important; } .el-input.is-disabled .el-input__inner { -webkit-text-fill-color: #4e4c4c; } .el-date-editor.el-input__wrapper { box-shadow: 0 0 0 1px #96B8D9 inset; .is-focus { box-shadow: 0 0 0 1px #f6fafc inset !important; } &:hover { box-shadow: 0 0 0 1px #f6fafc inset !important; } } .vxe-table { border: 1px solid #96B8D9 !important; // border-top: none !important; /* 蓝色外边框 */ border-radius: .5rem; /* 可选:添加边框圆角 */ overflow: hidden; } .mytable-style { .vxe-header--column { word-break: break-word; background-color: #f6fafc !important; color: #3c526f; height: 1.875rem !important; line-height: 1.875rem !important; padding: 0 !important; font-size: 16px; border-color: #f6fafc !important; } .vxe-table--render-default.is--padding .vxe-body--column .vxe-cell { padding: 0 !important; } .vxe-table--render-default .vxe-header--column .vxe-cell { padding: 0 !important; } .vxe-table--render-default .vxe-body--column, .vxe-footer--column, .col--ellipsis { height: 1.875rem !important; line-height: 1.875rem !important; } .el-checkbox { height: 1.875rem !important; } } // 高亮 .vxe-table--render-default .vxe-body--row.row--current { background-color: #a4beef !important; color: #FFF !important; } .vxe-table--render-default .vxe-body--row.row--current .vxe-cell { background-color: #a4beef !important; color: #FFF !important; } // 滚动条 .mytable-style ::-webkit-scrollbar { width: .6rem; height: .5rem; } .mytable-style ::-webkit-scrollbar-thumb { background-color: #817e7e; cursor: pointer; } .mytable-style ::-webkit-scrollbar-thumb:hover { background-color: #817e7e; cursor: pointer; } .el-table--default .cell { padding: 0 0 0 .3125rem !important; } // 表格input宽度,表格select宽度 .full-width-input .el-input__inner .el-select__inner { width: 100%; height: 100%; background: transparent !important; border: none !important; } .full-width-input { .el-input__wrapper { // box-shadow: 0 0 0 1px rgba(64, 158, 255, 0.2); box-shadow: none; background: transparent !important; padding: 0 !important; padding-left: .3125rem !important; outline: none; &:hover { box-shadow: none !important; } } .el-select__wrapper { box-shadow: none; background: transparent !important; padding: 0 !important; padding-left: .3125rem !important; outline: none; &:hover { box-shadow: none !important; } } }