472 lines
7.6 KiB
SCSS
Raw Normal View History

2025-05-08 15:37:28 +08:00
@import './variables.module.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './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 {
2025-09-26 17:26:06 +08:00
padding: 10px 10px 0 10px;
2025-12-25 18:13:21 +08:00
height: calc(100vh - 5.25rem);
2026-06-05 17:37:24 +08:00
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
background-color: #f9f9f9;
2025-05-08 15:37:28 +08:00
}
.components-container {
margin: 30px 50px;
position: relative;
}
.pagination-container {
2025-12-25 19:14:33 +08:00
margin-top: 10px;
2025-05-08 15:37:28 +08:00
}
.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);
}
}
2025-11-06 09:20:22 +08:00
.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;
2025-11-11 18:17:47 +08:00
font-size: .75rem;
2025-11-06 09:20:22 +08:00
}
// pointer-events: none;
:deep(.el-radio__label) {
color: #08355E;
}
}
2025-05-08 15:37:28 +08:00
.filter-container {
padding-bottom: 10px;
.filter-item {
display: inline-block;
vertical-align: middle;
margin-bottom: 10px;
}
}
2025-08-22 19:48:04 +08:00
.flex-between {
display: flex;
justify-content: space-between;
2025-11-11 18:17:47 +08:00
}
.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;
}
}
2025-11-26 18:09:02 +08:00
}
.next_box {
display: flex;
align-items: center;
justify-content: space-between;
2025-12-03 18:06:10 +08:00
.jt_btn {
width: 1.5rem;
2025-11-26 18:09:02 +08:00
height: 2rem;
line-height: 2rem;
font-size: 1rem;
text-align: center;
background-color: #1f6dd3;
color: #fff;
cursor: pointer;
}
2025-12-05 17:58:22 +08:00
.next_btn {
margin-right: 0.2rem;
}
2025-12-08 17:49:43 +08:00
}
.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;
2025-12-11 18:03:51 +08:00
}
2025-12-15 18:06:42 +08:00
.tabs_box {
.el-tabs__header {
2025-12-11 18:03:51 +08:00
height: 1.875rem !important;
2025-12-15 18:06:42 +08:00
margin-bottom: 0px;
font-size: .875rem;
.el-tabs__item {
height: 1.875rem !important;
padding: 0 .625rem;
2025-12-11 18:03:51 +08:00
2025-12-15 18:06:42 +08:00
&.is-active {
border-bottom: .125rem solid #409eff !important;
background-color: #e9f1fb;
}
2025-12-11 18:03:51 +08:00
}
}
2025-12-15 18:06:42 +08:00
.el-tabs__nav-next,
.el-tabs__nav-prev {
line-height: 1.875rem;
color: #1f6dd3;
}
2025-12-26 17:22:35 +08:00
}
.dialog-footer {
margin-top: 20px;
text-align: right;
2026-01-07 17:27:37 +08:00
}
.el-tree-node__children {
padding-left: 15px !important;
2026-02-10 17:36:45 +08:00
}
/* 禁止文本选中 */
.no-select {
user-select: none;
/* 兼容旧版浏览器 */
-webkit-user-select: none;
/* Safari/Chrome */
-moz-user-select: none;
/* Firefox */
-ms-user-select: none;
/* IE/Edge */
cursor: pointer;
2026-05-12 18:01:47 +08:00
}
.query-form {
margin-bottom: 5px;
border-bottom: 1px solid #ebeef5;
.el-form-item {
margin-bottom: 10px;
}
2026-07-03 18:03:45 +08:00
}
.bb_table {
.vxe-table.border--full {
border: 1px solid #ccc !important;
.vxe-header--column,
.vxe-body--column,
.vxe-footer--column {
border-right: 1px solid #ccc !important;
border-bottom: 1px solid #ccc !important;
height: 30px;
line-height: 30px;
padding: 0 !important;
background-image: none !important;
}
.vxe-footer--column {
border-bottom: none !important;
}
/* 表头最下方单元格强制底红线 */
.vxe-header--row:last-of-type .vxe-header--column {
border-bottom: 1px solid #ccc !important;
}
.vxe-body--row {
border-bottom: 1px solid #ccc !important;
}
.vxe-footer--row.vxe-footer--row {
border-top: 1px solid #ccc !important;
}
.vxe-header--row th {
height: 30px !important;
line-height: 30px;
padding: 0 !important;
}
.vxe-body--row td {
height: 30px !important;
line-height: 30px;
padding: 0 !important;
}
.vxe-footer--row td {
height: 30px !important;
line-height: 30px;
font-size: 13px;
font-weight: 700;
padding: 0 !important;
}
/* 清除最后一列重复竖线,避免双线重叠 */
.vxe-header--col:last-child .vxe-header--column,
.vxe-body--col:last-child .vxe-body--column,
.vxe-footer--col:last-child .vxe-footer--column {
border-right: none !important;
}
}
.vxe-table--render-default .vxe-table--footer-wrapper {
border-top: 1px solid #ccc !important;
}
.vxe-table--header-wrapper {
border-bottom: 1px solid #ccc !important;
background-color: #eff6fa !important;
}
2025-08-22 19:48:04 +08:00
}