|
|
|
@ -91,13 +91,13 @@ |
|
|
|
.el-table { |
|
|
|
color: #071025; |
|
|
|
background: transparent; |
|
|
|
border: 1px solid rgba(64, 146, 255, 0.95); |
|
|
|
border: 1px solid transparent; |
|
|
|
border-bottom: none; |
|
|
|
font-size: 14px; |
|
|
|
|
|
|
|
&::before, |
|
|
|
&::after { |
|
|
|
background-color: rgba(64, 146, 255, 0.95); |
|
|
|
background-color: transparent; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table__header-wrapper, .el-table__fixed-header-wrapper { |
|
|
|
@ -105,21 +105,25 @@ |
|
|
|
|
|
|
|
th { |
|
|
|
word-break: break-word; |
|
|
|
background-color: #06347f; |
|
|
|
color: #ffffff; |
|
|
|
height: 38px; |
|
|
|
font-size: 14px; |
|
|
|
font-weight: 700; |
|
|
|
border-color: rgba(64, 146, 255, 0.95); |
|
|
|
background-color: #012773 !important; |
|
|
|
color: #ffffff !important; |
|
|
|
font-size: 16px !important; |
|
|
|
letter-spacing: 0 !important; |
|
|
|
line-height: 16px !important; |
|
|
|
font-weight: 600 !important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
th.el-table__cell, |
|
|
|
td.el-table__cell { |
|
|
|
th.el-table__cell { |
|
|
|
padding: 7px 0; |
|
|
|
border-color: #c7d7f4; |
|
|
|
} |
|
|
|
|
|
|
|
td.el-table__cell { |
|
|
|
padding: 0 !important; |
|
|
|
border-color: #c7d7f4; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table__body-wrapper { |
|
|
|
flex: 1 1 auto; |
|
|
|
min-height: 0; |
|
|
|
@ -127,11 +131,11 @@ |
|
|
|
background: #dbe7fb; |
|
|
|
|
|
|
|
tr { |
|
|
|
background-color: #e4edfc; |
|
|
|
background-color: #ebf1ff; |
|
|
|
} |
|
|
|
|
|
|
|
tr:nth-child(even) { |
|
|
|
background-color: #d7e4f8; |
|
|
|
background-color: #e0eaff; |
|
|
|
} |
|
|
|
|
|
|
|
tr:hover > td.el-table__cell { |
|
|
|
@ -150,7 +154,7 @@ |
|
|
|
|
|
|
|
.el-table__fixed, |
|
|
|
.el-table__fixed-right { |
|
|
|
background: #dbe7fb; |
|
|
|
background: #ebf1ff; |
|
|
|
} |
|
|
|
|
|
|
|
.el-checkbox__inner { |
|
|
|
@ -177,15 +181,124 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Keep native table headers consistent with Element tables. |
|
|
|
table thead th { |
|
|
|
background-color: #012773 !important; |
|
|
|
color: #ffffff !important; |
|
|
|
font-size: 16px !important; |
|
|
|
letter-spacing: 0 !important; |
|
|
|
line-height: 16px !important; |
|
|
|
font-weight: 600 !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table .el-table__header-wrapper th.el-table__cell, |
|
|
|
.el-table .el-table__fixed-header-wrapper th.el-table__cell, |
|
|
|
.el-table thead th.el-table__cell { |
|
|
|
background: #012773 !important; |
|
|
|
background-color: #012773 !important; |
|
|
|
} |
|
|
|
|
|
|
|
// Element UI renders header labels in a direct .cell child of th. |
|
|
|
.el-table th .cell { |
|
|
|
font-family: inherit !important; |
|
|
|
font-size: inherit !important; |
|
|
|
color: inherit !important; |
|
|
|
letter-spacing: inherit !important; |
|
|
|
line-height: inherit !important; |
|
|
|
font-weight: inherit !important; |
|
|
|
} |
|
|
|
|
|
|
|
// Unified body-cell typography for every Element table. |
|
|
|
.el-table tbody td.el-table__cell, |
|
|
|
.el-table .el-table__fixed-body-wrapper td.el-table__cell { |
|
|
|
padding-top: 0 !important; |
|
|
|
padding-bottom: 0 !important; |
|
|
|
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif !important; |
|
|
|
font-size: 14px !important; |
|
|
|
color: #000000 !important; |
|
|
|
letter-spacing: 0 !important; |
|
|
|
line-height: 44px !important; |
|
|
|
font-weight: 500 !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table tbody td.el-table__cell > .cell, |
|
|
|
.el-table .el-table__fixed-body-wrapper td.el-table__cell > .cell { |
|
|
|
font-family: inherit !important; |
|
|
|
font-size: inherit !important; |
|
|
|
color: inherit !important; |
|
|
|
letter-spacing: inherit !important; |
|
|
|
line-height: inherit !important; |
|
|
|
font-weight: inherit !important; |
|
|
|
} |
|
|
|
|
|
|
|
table tbody td { |
|
|
|
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif !important; |
|
|
|
font-size: 14px !important; |
|
|
|
color: #000000 !important; |
|
|
|
letter-spacing: 0 !important; |
|
|
|
line-height: 44px !important; |
|
|
|
font-weight: 500 !important; |
|
|
|
} |
|
|
|
|
|
|
|
table tbody td > .cell { |
|
|
|
font-family: inherit !important; |
|
|
|
font-size: inherit !important; |
|
|
|
color: inherit !important; |
|
|
|
letter-spacing: inherit !important; |
|
|
|
line-height: inherit !important; |
|
|
|
font-weight: inherit !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table--border, |
|
|
|
.el-table--group { |
|
|
|
border-color: rgba(64, 146, 255, 0.95); |
|
|
|
border-color: transparent !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table--border .el-table__cell { |
|
|
|
border-color: #c7d7f4; |
|
|
|
} |
|
|
|
|
|
|
|
// Remove table grid and fixed-column separator lines. |
|
|
|
.el-table, |
|
|
|
.el-table--border, |
|
|
|
.el-table--group, |
|
|
|
.el-table__header, |
|
|
|
.el-table__body, |
|
|
|
.el-table__footer, |
|
|
|
.el-table__header-wrapper, |
|
|
|
.el-table__body-wrapper, |
|
|
|
.el-table__footer-wrapper, |
|
|
|
.el-table__fixed, |
|
|
|
.el-table__fixed-right, |
|
|
|
.el-table__fixed-header-wrapper, |
|
|
|
.el-table__fixed-body-wrapper, |
|
|
|
.el-table th.el-table__cell, |
|
|
|
.el-table td.el-table__cell, |
|
|
|
.el-table--border .el-table__cell, |
|
|
|
.el-table--group .el-table__cell { |
|
|
|
border: 0 !important; |
|
|
|
border-color: transparent !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table::before, |
|
|
|
.el-table::after, |
|
|
|
.el-table--border::after, |
|
|
|
.el-table--group::after, |
|
|
|
.el-table__fixed::before, |
|
|
|
.el-table__fixed-right::before, |
|
|
|
.el-table__fixed-right::after { |
|
|
|
background-color: transparent !important; |
|
|
|
} |
|
|
|
|
|
|
|
// Use a horizontal separator between rows without restoring the table grid. |
|
|
|
.el-table tbody tr > td.el-table__cell, |
|
|
|
.el-table .el-table__fixed-body-wrapper tbody tr > td.el-table__cell, |
|
|
|
table tbody tr > td { |
|
|
|
border-bottom: 1px solid #acb5e3 !important; |
|
|
|
border-left-color: transparent !important; |
|
|
|
border-right-color: transparent !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table .caret-wrapper .sort-caret.ascending { |
|
|
|
border-bottom-color: #ffffff; |
|
|
|
} |
|
|
|
@ -228,20 +341,48 @@ |
|
|
|
border-radius: 2px; |
|
|
|
} |
|
|
|
|
|
|
|
.el-button--primary { |
|
|
|
.el-button--primary { |
|
|
|
color: #ffffff; |
|
|
|
background: linear-gradient(180deg, #2d73ff 0%, #0b42c4 100%); |
|
|
|
border-color: #2f80ff; |
|
|
|
box-shadow: 0 0 8px rgba(47, 128, 255, 0.35) inset; |
|
|
|
background-image: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
border-color: #397bff; |
|
|
|
box-shadow: none; |
|
|
|
} |
|
|
|
|
|
|
|
.el-button--default { |
|
|
|
.el-button--default { |
|
|
|
color: #54ffff; |
|
|
|
background: rgba(5, 27, 91, 0.55); |
|
|
|
border-color: #1b7fff; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Keep buttons aligned with the 32px form controls. |
|
|
|
.el-button { |
|
|
|
height: 32px !important; |
|
|
|
min-height: 32px !important; |
|
|
|
padding-top: 0 !important; |
|
|
|
padding-bottom: 0 !important; |
|
|
|
border-radius: 2px !important; |
|
|
|
font-family: 'CN-Bold', 'Microsoft YaHei', sans-serif !important; |
|
|
|
font-size: 12px !important; |
|
|
|
letter-spacing: 0 !important; |
|
|
|
line-height: 30px !important; |
|
|
|
font-weight: 700 !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-button--primary, |
|
|
|
.task-toolbar-btn { |
|
|
|
background-image: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
color: #ffffff !important; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
|
|
|
|
.el-input__inner, |
|
|
|
.el-date-editor.el-input__inner, |
|
|
|
.el-date-editor .el-range-input { |
|
|
|
height: 32px !important; |
|
|
|
line-height: 30px !important; |
|
|
|
} |
|
|
|
|
|
|
|
/** 表单布局 **/ |
|
|
|
.form-header { |
|
|
|
font-size: 15px; |
|
|
|
@ -887,3 +1028,108 @@ |
|
|
|
.el-textarea__inner::placeholder { |
|
|
|
color: rgba(220, 236, 255, 0.5); |
|
|
|
} |
|
|
|
|
|
|
|
// Unified table zebra striping across all Element and native tables. |
|
|
|
.el-table .el-table__body tbody tr:nth-child(odd) > td.el-table__cell, |
|
|
|
.el-table .el-table__fixed-body-wrapper tbody tr:nth-child(odd) > td.el-table__cell, |
|
|
|
table tbody tr:nth-child(odd) > td { |
|
|
|
background-color: #ebf1ff !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table .el-table__body tbody tr:nth-child(even) > td.el-table__cell, |
|
|
|
.el-table .el-table__fixed-body-wrapper tbody tr:nth-child(even) > td.el-table__cell, |
|
|
|
table tbody tr:nth-child(even) > td { |
|
|
|
background-color: #e0eaff !important; |
|
|
|
} |
|
|
|
|
|
|
|
// Restore the standard grid for tables that do not use the card-table custom layout. |
|
|
|
.el-table:not(.card-table) { |
|
|
|
border: 1px solid #acb5e3 !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table:not(.card-table) th.el-table__cell, |
|
|
|
.el-table:not(.card-table) td.el-table__cell, |
|
|
|
.el-table:not(.card-table) .el-table--border .el-table__cell { |
|
|
|
border: 1px solid #acb5e3 !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-table:not(.card-table)::before, |
|
|
|
.el-table:not(.card-table)::after, |
|
|
|
.el-table:not(.card-table).el-table--border::after, |
|
|
|
.el-table:not(.card-table).el-table--group::after { |
|
|
|
background-color: #acb5e3 !important; |
|
|
|
} |
|
|
|
|
|
|
|
table:not(.card-table) { |
|
|
|
border: 1px solid #acb5e3 !important; |
|
|
|
border-collapse: collapse; |
|
|
|
} |
|
|
|
|
|
|
|
table:not(.card-table) th, |
|
|
|
table:not(.card-table) td { |
|
|
|
border: 1px solid #acb5e3 !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* Search buttons use the requested gradient; other buttons retain their wireframe style. */ |
|
|
|
.el-button.el-button--primary:has(.el-icon-search), |
|
|
|
button.el-button--primary:has(.el-icon-search) { |
|
|
|
background: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
background-image: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
background-color: transparent !important; |
|
|
|
border-radius: 2px !important; |
|
|
|
} |
|
|
|
|
|
|
|
.el-button.el-button--primary:has(.el-icon-search):hover, |
|
|
|
.el-button.el-button--primary:has(.el-icon-search):focus, |
|
|
|
.el-button.el-button--primary:has(.el-icon-search):active, |
|
|
|
button.el-button--primary:has(.el-icon-search):hover, |
|
|
|
button.el-button--primary:has(.el-icon-search):focus, |
|
|
|
button.el-button--primary:has(.el-icon-search):active { |
|
|
|
background: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
background-image: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
background-color: transparent !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* Scoped page styles can be more specific than the shared Element button rule. */ |
|
|
|
body .el-form .el-button.el-button--primary:has(.el-icon-search), |
|
|
|
body .el-form button.el-button--primary:has(.el-icon-search) { |
|
|
|
background: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
background-image: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
background-color: transparent !important; |
|
|
|
border-radius: 2px !important; |
|
|
|
} |
|
|
|
|
|
|
|
body .el-form .el-button.el-button--primary:has(.el-icon-search):hover, |
|
|
|
body .el-form .el-button.el-button--primary:has(.el-icon-search):focus, |
|
|
|
body .el-form .el-button.el-button--primary:has(.el-icon-search):active, |
|
|
|
body .el-form button.el-button--primary:has(.el-icon-search):hover, |
|
|
|
body .el-form button.el-button--primary:has(.el-icon-search):focus, |
|
|
|
body .el-form button.el-button--primary:has(.el-icon-search):active { |
|
|
|
background: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
background-image: linear-gradient(180deg, #397bff 0%, #0c0c8a 100%) !important; |
|
|
|
background-color: transparent !important; |
|
|
|
} |
|
|
|
|
|
|
|
/* All non-search actions keep the existing blue wireframe treatment. */ |
|
|
|
body .el-button.el-button--primary:not(:has(.el-icon-search)), |
|
|
|
body button.el-button--primary:not(:has(.el-icon-search)), |
|
|
|
body .task-toolbar-btn:not(:has(.el-icon-search)) { |
|
|
|
background: linear-gradient(#01016b, #01016b) padding-box, |
|
|
|
linear-gradient(135deg, #3988ff, #0351c6) border-box !important; |
|
|
|
background-image: linear-gradient(#01016b, #01016b) padding-box, |
|
|
|
linear-gradient(135deg, #3988ff, #0351c6) border-box !important; |
|
|
|
border: 1px solid transparent !important; |
|
|
|
color: #43c0ff !important; |
|
|
|
} |
|
|
|
|
|
|
|
body .el-button.el-button--primary:not(:has(.el-icon-search)):hover, |
|
|
|
body .el-button.el-button--primary:not(:has(.el-icon-search)):focus, |
|
|
|
body .el-button.el-button--primary:not(:has(.el-icon-search)):active, |
|
|
|
body .task-toolbar-btn:not(:has(.el-icon-search)):hover, |
|
|
|
body .task-toolbar-btn:not(:has(.el-icon-search)):focus, |
|
|
|
body .task-toolbar-btn:not(:has(.el-icon-search)):active { |
|
|
|
background: linear-gradient(#01016b, #01016b) padding-box, |
|
|
|
linear-gradient(135deg, #3988ff, #0351c6) border-box !important; |
|
|
|
background-image: linear-gradient(#01016b, #01016b) padding-box, |
|
|
|
linear-gradient(135deg, #3988ff, #0351c6) border-box !important; |
|
|
|
} |