提交
This commit is contained in:
1 parent
d84f4b944c
commit
7c838cfb2d
249 files changed
+50600
-18556
No files matched your search
@@ -430,6 +430,232 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
// 面板级胶囊分段 Tab(薄荷绿渐变轨道 + 主色选中,对齐 zkxw 生产工单等页)
|
||||
.panel-pill-tabs {
|
||||
// 自定义按钮结构(生产工单 TabBar 等)
|
||||
&:not(.el-tabs) {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 12px 24px 4px;
|
||||
}
|
||||
|
||||
&--start:not(.el-tabs) {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
&--lg:not(.el-tabs) {
|
||||
margin: 16px 24px 8px;
|
||||
|
||||
.panel-pill-tabs__track {
|
||||
gap: 6px;
|
||||
padding: 5px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.panel-pill-tabs__btn {
|
||||
min-width: 140px;
|
||||
padding: 10px 28px;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
&__track {
|
||||
display: inline-flex;
|
||||
gap: 4px;
|
||||
padding: 4px;
|
||||
background: linear-gradient(180deg, var(--primary-bg, #ecfdf5) 0%, #fff 100%);
|
||||
border: 1px solid #d1fae5;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
&__btn {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 108px;
|
||||
padding: 8px 20px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
text-align: center;
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
transition:
|
||||
background 0.15s,
|
||||
color 0.15s,
|
||||
box-shadow 0.15s;
|
||||
|
||||
&:hover:not(.is-active) {
|
||||
color: #065f46;
|
||||
}
|
||||
|
||||
&.is-active {
|
||||
background: var(--primary, #10b981);
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 3px rgba(16, 185, 129, 0.28);
|
||||
font-weight: 500;
|
||||
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background: var(--primary, #10b981);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__badge {
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: -4px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
padding: 0 5px;
|
||||
border-radius: 999px;
|
||||
background: #d97706;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
border: 2px solid #d1fae5;
|
||||
pointer-events: none;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
&__btn.is-active &__badge {
|
||||
border-color: var(--primary, #10b981);
|
||||
}
|
||||
|
||||
&__badge--zero {
|
||||
background: #94a3b8;
|
||||
}
|
||||
|
||||
&__badge--dual {
|
||||
min-width: 34px;
|
||||
padding: 0 6px;
|
||||
font-size: 10px;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
&__btn.is-active &__badge--zero {
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
color: var(--primary-dark, #059669);
|
||||
border-color: var(--primary, #10b981);
|
||||
}
|
||||
|
||||
// el-tabs 结构
|
||||
&.el-tabs {
|
||||
> .el-tabs__header {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin: 12px 24px 4px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.el-tabs__nav-wrap {
|
||||
flex: 0 1 auto;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.el-tabs__nav-scroll {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.el-tabs__nav {
|
||||
display: inline-flex;
|
||||
gap: 4px;
|
||||
float: none;
|
||||
padding: 4px;
|
||||
background: linear-gradient(180deg, var(--primary-bg, #ecfdf5) 0%, #fff 100%);
|
||||
border: 1px solid #d1fae5;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.el-tabs__active-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.el-tabs__item {
|
||||
display: inline-flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
box-sizing: border-box;
|
||||
min-width: 108px;
|
||||
height: auto !important;
|
||||
margin: 0 !important;
|
||||
padding: 8px 20px !important;
|
||||
border: none !important;
|
||||
border-radius: 6px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1.4;
|
||||
text-align: center !important;
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
transition:
|
||||
background 0.15s,
|
||||
color 0.15s,
|
||||
box-shadow 0.15s;
|
||||
|
||||
&:hover:not(.is-active) {
|
||||
color: #065f46;
|
||||
}
|
||||
|
||||
&.is-active {
|
||||
background: var(--primary, #10b981);
|
||||
color: #fff;
|
||||
box-shadow: 0 1px 3px rgba(16, 185, 129, 0.28);
|
||||
font-weight: 500;
|
||||
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background: var(--primary, #10b981);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--start.el-tabs {
|
||||
> .el-tabs__header {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.el-tabs__nav-scroll {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
&--lg.el-tabs {
|
||||
> .el-tabs__header {
|
||||
margin: 16px 24px 8px;
|
||||
}
|
||||
|
||||
.el-tabs__nav {
|
||||
gap: 6px;
|
||||
padding: 5px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.el-tabs__item {
|
||||
min-width: 140px;
|
||||
padding: 10px 28px !important;
|
||||
border-radius: 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page-container .panel-tabs {
|
||||
border-bottom: 1px solid var(--mint-border);
|
||||
|
||||
@@ -789,7 +1015,8 @@ body {
|
||||
}
|
||||
|
||||
.filter-actions-end,
|
||||
.toolbar-actions {
|
||||
.toolbar-actions,
|
||||
.list-toolbar-end {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
@@ -797,6 +1024,44 @@ body {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.list-toolbar-end {
|
||||
flex-shrink: 0;
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.list-toolbar-end-btn.el-button,
|
||||
.list-toolbar-end-btn.btn-ghost.el-button {
|
||||
--el-button-border-color: transparent;
|
||||
--el-button-hover-border-color: transparent;
|
||||
--el-button-active-border-color: transparent;
|
||||
width: 36px;
|
||||
min-width: 36px;
|
||||
height: 36px;
|
||||
padding: 0;
|
||||
border-radius: 8px;
|
||||
color: var(--mint-text-muted);
|
||||
border: none !important;
|
||||
box-shadow: none;
|
||||
background: transparent;
|
||||
|
||||
.el-icon {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus-visible {
|
||||
color: var(--mint-primary-dark);
|
||||
border: none !important;
|
||||
box-shadow: none;
|
||||
background: var(--mint-primary-bg);
|
||||
}
|
||||
|
||||
&:active {
|
||||
border: none !important;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.list-toolbar,
|
||||
.toolbar {
|
||||
padding: 0;
|
||||
@@ -819,6 +1084,7 @@ body {
|
||||
.toolbar .el-button + .el-button,
|
||||
.toolbar-right .el-button + .el-button,
|
||||
.toolbar-actions .el-button + .el-button,
|
||||
.list-toolbar-end .el-button + .el-button,
|
||||
.filter-actions-end .el-button + .el-button {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
@@ -858,6 +1124,11 @@ body {
|
||||
|
||||
.pagination.list-pager-bar,
|
||||
.list-footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 8px 12px;
|
||||
margin-top: 0;
|
||||
padding: 10px 16px 12px;
|
||||
border-top: 1px solid var(--mint-border);
|
||||
@@ -865,6 +1136,12 @@ body {
|
||||
border-radius: 0 0 var(--mint-radius) var(--mint-radius);
|
||||
}
|
||||
|
||||
/* 分页条左侧说明文案(BX range / 分类 total-count 等)与右侧控件区分 */
|
||||
.pagination.list-pager-bar .list-range,
|
||||
.pagination.list-pager-bar .total-count {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.pagination {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
@@ -1034,6 +1311,26 @@ body {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* 标准 CRUD / 大表单弹窗遮罩:顶对齐留白,避免 align-center 高弹窗与顶栏贴齐(protocol-dialog-mask 同构,全局兜底) */
|
||||
.protocol-dialog-mask,
|
||||
.lab-test-item-dialog-mask,
|
||||
.el-overlay:has(.el-dialog.dialog-form-layout),
|
||||
.el-overlay:has(.el-dialog.system-view-dialog),
|
||||
.el-overlay:has(.el-dialog.order-module-dialog) {
|
||||
align-items: flex-start !important;
|
||||
backdrop-filter: none !important;
|
||||
|
||||
.el-overlay-dialog {
|
||||
margin-top: 16px;
|
||||
margin-bottom: auto;
|
||||
}
|
||||
|
||||
.el-dialog.dialog-form-layout,
|
||||
.el-dialog.order-module-dialog {
|
||||
max-width: calc(100vw - 48px);
|
||||
}
|
||||
}
|
||||
|
||||
/* 弹窗异步加载:骨架占位,减轻先小后大 */
|
||||
.dialog-scroll.is-view-loading,
|
||||
.dialog-form-body.is-dialog-loading,
|
||||
@@ -1074,7 +1371,22 @@ body {
|
||||
border-bottom: 1px solid var(--mint-border);
|
||||
}
|
||||
|
||||
/* 弹窗 / 抽屉内键值展示:上下布局、黑色文案 */
|
||||
/* Portal 一体化顶栏(对齐 zkxw TOP_LEFT 顶栏 56px + Fresh Mint) */
|
||||
#app-portal-header .portal-header {
|
||||
background: var(--mint-surface) !important;
|
||||
}
|
||||
|
||||
.app-layout-portal #app-worktab .worktab-strip {
|
||||
margin-bottom: 0 !important;
|
||||
padding: 0 24px 4px !important;
|
||||
}
|
||||
|
||||
.app-layout-portal #app-sidebar .layout-sidebar {
|
||||
border-right: 1px solid var(--mint-border) !important;
|
||||
background: var(--mint-surface);
|
||||
}
|
||||
|
||||
/* 弹窗 / 抽屉内键值展示:上下布局、深色正文(对齐 zkxw Token 链) */
|
||||
:is(.el-dialog, .system-view-dialog, .el-drawer) {
|
||||
:is(.view-kv, [class*='-view-kv']:not([class*='-grid']), .pl-plan-kv) {
|
||||
display: flex !important;
|
||||
@@ -1088,14 +1400,14 @@ body {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
font-weight: 400 !important;
|
||||
color: #000 !important;
|
||||
color: var(--mint-text-muted) !important;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0;
|
||||
font-weight: 400;
|
||||
color: #000 !important;
|
||||
color: var(--mint-text) !important;
|
||||
word-break: break-word;
|
||||
line-height: 1.5;
|
||||
}
|
||||
@@ -1104,7 +1416,7 @@ body {
|
||||
.view-field-label {
|
||||
font-size: 13px;
|
||||
font-weight: 400 !important;
|
||||
color: #000 !important;
|
||||
color: var(--mint-text-muted) !important;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
@@ -1122,22 +1434,22 @@ body {
|
||||
|
||||
.el-dialog.dialog-form-layout {
|
||||
.el-form-item__label {
|
||||
color: #000 !important;
|
||||
color: var(--mint-text) !important;
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
|
||||
.el-input__inner,
|
||||
.el-textarea__inner,
|
||||
.el-select__selected-item {
|
||||
color: #000 !important;
|
||||
color: var(--mint-text) !important;
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
|
||||
.el-input.is-disabled .el-input__inner,
|
||||
.el-input.is-disabled .el-input__wrapper,
|
||||
.el-textarea.is-disabled .el-textarea__inner {
|
||||
color: #000 !important;
|
||||
-webkit-text-fill-color: #000 !important;
|
||||
color: var(--mint-text) !important;
|
||||
-webkit-text-fill-color: var(--mint-text) !important;
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
}
|
||||
@@ -1211,12 +1523,12 @@ body {
|
||||
--el-table-border-color: var(--mint-border);
|
||||
--el-table-row-hover-bg-color: var(--mint-row-hover);
|
||||
--el-table-text-color: var(--mint-text);
|
||||
--el-table-header-text-color: var(--mint-text);
|
||||
--el-table-header-text-color: var(--mint-text-muted);
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
|
||||
th.el-table__cell {
|
||||
color: var(--mint-text);
|
||||
color: var(--mint-text-muted);
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
}
|
||||
@@ -1239,21 +1551,144 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
/* 全局:业务界面文字统一主文本色(消除 muted 灰字) */
|
||||
.text-muted {
|
||||
color: var(--mint-text) !important;
|
||||
}
|
||||
|
||||
html:not(.dark) {
|
||||
.text-g-500,
|
||||
.text-g-600,
|
||||
.text-g-700,
|
||||
.text-g-800 {
|
||||
color: var(--mint-text) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* 筛选区 label:13px 次要色(对齐 zkxw filter-form 实践;filter-hint 仍为 11px) */
|
||||
.page-container .filter-block .el-form-item__label,
|
||||
.console-container .filter-block .el-form-item__label,
|
||||
.page-container .filter-form .el-form-item__label,
|
||||
.console-container .filter-form .el-form-item__label {
|
||||
color: var(--mint-text) !important;
|
||||
.console-container .filter-form .el-form-item__label,
|
||||
.el-dialog .filter-block .el-form-item__label,
|
||||
.el-dialog .filter-form .el-form-item__label {
|
||||
font-size: 13px !important;
|
||||
font-weight: 500;
|
||||
color: var(--mint-text-muted) !important;
|
||||
}
|
||||
|
||||
/* label 在上(如 order 筛选) */
|
||||
.page-container .filter-form.el-form--label-top .el-form-item__label,
|
||||
.console-container .filter-form.el-form--label-top .el-form-item__label,
|
||||
.el-dialog .filter-form.el-form--label-top .el-form-item__label {
|
||||
padding: 0 0 4px !important;
|
||||
line-height: 1.2 !important;
|
||||
height: auto !important;
|
||||
}
|
||||
|
||||
/* label 与输入左右布局:label 右侧留间距 */
|
||||
.page-container .filter-form:not(.el-form--label-top) .el-form-item__label,
|
||||
.console-container .filter-form:not(.el-form--label-top) .el-form-item__label,
|
||||
.el-dialog .filter-form:not(.el-form--label-top) .el-form-item__label,
|
||||
.page-container .filter-block:not(:has(.el-form--label-top)) .el-form-item__label,
|
||||
.console-container .filter-block:not(:has(.el-form--label-top)) .el-form-item__label,
|
||||
.el-dialog .filter-block:not(:has(.el-form--label-top)) .el-form-item__label {
|
||||
padding: 0 8px 0 0 !important;
|
||||
line-height: 36px !important;
|
||||
height: 36px !important;
|
||||
}
|
||||
|
||||
/* 筛选栅格:表单项撑满列宽,控件全宽 */
|
||||
.page-container .filter-form,
|
||||
.console-container .filter-form,
|
||||
.el-dialog .filter-form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.page-container .filter-grid .el-form-item,
|
||||
.console-container .filter-grid .el-form-item,
|
||||
.el-dialog .filter-grid .el-form-item {
|
||||
margin-bottom: 0;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.page-container .filter-form:not(.el-form--label-top) .el-form-item,
|
||||
.console-container .filter-form:not(.el-form--label-top) .el-form-item,
|
||||
.el-dialog .filter-form:not(.el-form--label-top) .el-form-item {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.page-container .filter-form .el-form-item__content,
|
||||
.console-container .filter-form .el-form-item__content,
|
||||
.el-dialog .filter-form .el-form-item__content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.page-container .filter-form .el-form-item__content > .el-input,
|
||||
.page-container .filter-form .el-form-item__content > .el-select,
|
||||
.page-container .filter-form .el-form-item__content > .el-date-editor,
|
||||
.page-container .filter-form .el-form-item__content > .el-tree-select,
|
||||
.page-container .filter-form .el-form-item__content > .el-cascader,
|
||||
.page-container .filter-form .el-form-item__content > .el-input-number,
|
||||
.console-container .filter-form .el-form-item__content > .el-input,
|
||||
.console-container .filter-form .el-form-item__content > .el-select,
|
||||
.console-container .filter-form .el-form-item__content > .el-date-editor,
|
||||
.console-container .filter-form .el-form-item__content > .el-tree-select,
|
||||
.console-container .filter-form .el-form-item__content > .el-cascader,
|
||||
.console-container .filter-form .el-form-item__content > .el-input-number,
|
||||
.el-dialog .filter-form .el-form-item__content > .el-input,
|
||||
.el-dialog .filter-form .el-form-item__content > .el-select,
|
||||
.el-dialog .filter-form .el-form-item__content > .el-date-editor,
|
||||
.el-dialog .filter-form .el-form-item__content > .el-tree-select,
|
||||
.el-dialog .filter-form .el-form-item__content > .el-cascader,
|
||||
.el-dialog .filter-form .el-form-item__content > .el-input-number {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.page-container .filter-form .el-select .el-select__wrapper,
|
||||
.page-container .filter-form .el-tree-select .el-select__wrapper,
|
||||
.console-container .filter-form .el-select .el-select__wrapper,
|
||||
.console-container .filter-form .el-tree-select .el-select__wrapper,
|
||||
.el-dialog .filter-form .el-select .el-select__wrapper,
|
||||
.el-dialog .filter-form .el-tree-select .el-select__wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.page-container .filter-block .filter-hint,
|
||||
.console-container .filter-block .filter-hint {
|
||||
color: var(--mint-text-muted);
|
||||
}
|
||||
|
||||
.list-column-setting-popover.el-popper {
|
||||
padding: 12px 14px 10px;
|
||||
}
|
||||
|
||||
.list-column-setting {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.list-column-setting-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.list-column-setting-title {
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
color: var(--mint-text);
|
||||
}
|
||||
|
||||
.list-column-setting-reset {
|
||||
font-size: 12px;
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.list-column-setting-check-all {
|
||||
padding-bottom: 8px;
|
||||
border-bottom: 1px solid var(--mint-border);
|
||||
}
|
||||
|
||||
.list-column-setting-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.list-column-setting-item {
|
||||
display: flex;
|
||||
margin-right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
'white': #ffffff,
|
||||
'black': #000000,
|
||||
'success': (
|
||||
'base': #10b981
|
||||
'base': #059669
|
||||
),
|
||||
'warning': (
|
||||
'base': #ffae1f
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
// 系统主色
|
||||
--main-color: var(--mint-primary);
|
||||
--el-color-primary: var(--mint-primary) !important;
|
||||
--el-color-primary-light-3: #34d399 !important;
|
||||
--el-color-primary-light-5: #6ee7b7 !important;
|
||||
--el-color-primary-light-7: #a7f3d0 !important;
|
||||
--el-color-primary-light-8: #d1fae5 !important;
|
||||
--el-color-primary-light-3: #0d9d6e !important;
|
||||
--el-color-primary-light-5: #34a88a !important;
|
||||
--el-color-primary-light-7: #6bb99a !important;
|
||||
--el-color-primary-light-8: #a8d4c4 !important;
|
||||
--el-color-primary-light-9: var(--mint-primary-bg) !important;
|
||||
--el-color-primary-dark-2: var(--mint-primary-dark) !important;
|
||||
--el-border-color: var(--mint-border) !important;
|
||||
--el-border-color-light: #eaf4ef !important;
|
||||
--el-border-color-light: #dfece6 !important;
|
||||
--el-fill-color-light: var(--mint-table-head) !important;
|
||||
--el-bg-color: var(--mint-surface) !important;
|
||||
--el-bg-color-page: var(--mint-bg-page) !important;
|
||||
@@ -20,7 +20,7 @@
|
||||
// regular 用于大量控件正文(input value / select value / 普通文案)
|
||||
--el-text-color-regular: var(--mint-text) !important;
|
||||
// secondary 用于次级信息(说明/弱提示)
|
||||
--el-text-color-secondary: var(--mint-text) !important;
|
||||
--el-text-color-secondary: var(--mint-text-muted) !important;
|
||||
// placeholder 全局占位符颜色(含弹窗 Teleport 场景)
|
||||
--el-text-color-placeholder: var(--mint-text-placeholder) !important;
|
||||
--el-mask-color: rgba(15, 23, 42, 0.35) !important;
|
||||
@@ -743,13 +743,13 @@ body .el-table thead {
|
||||
--el-table-border-color: var(--mint-border);
|
||||
--el-table-row-hover-bg-color: var(--mint-row-hover);
|
||||
--el-table-text-color: var(--mint-text);
|
||||
--el-table-header-text-color: var(--mint-text);
|
||||
--el-table-header-text-color: var(--mint-text-muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.page-container .el-table th.el-table__cell,
|
||||
.console-container .el-table th.el-table__cell {
|
||||
color: var(--mint-text);
|
||||
color: var(--mint-text-muted);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
}
|
||||
@@ -1204,13 +1204,27 @@ textarea::placeholder {
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
// 列表与分页之间:保留列表底部线,去掉分页顶部线
|
||||
// 列表与分页之间:保留列表底部线,去掉分页顶部线;分页控件右对齐(§7.9)
|
||||
.page-container .pagination.list-pager-bar,
|
||||
.console-container .pagination.list-pager-bar,
|
||||
.el-dialog .pagination.list-pager-bar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 8px 12px;
|
||||
border-top: none !important;
|
||||
}
|
||||
|
||||
.page-container .pagination.list-pager-bar .list-range,
|
||||
.page-container .pagination.list-pager-bar .total-count,
|
||||
.console-container .pagination.list-pager-bar .list-range,
|
||||
.console-container .pagination.list-pager-bar .total-count,
|
||||
.el-dialog .pagination.list-pager-bar .list-range,
|
||||
.el-dialog .pagination.list-pager-bar .total-count {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.page-container .el-button.auto-icon-plus,
|
||||
.console-container .el-button.auto-icon-plus {
|
||||
--auto-icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
// Fresh Mint 设计令牌(与 test/fresh-mint-green.html、docs/web-admin-ui-spec-fresh-mint.md 一致)
|
||||
// Fresh Mint 设计令牌(与 docs/web-admin-ui-spec-fresh-mint.md 一致;Step1 对齐 zkxw 语义色)
|
||||
:root {
|
||||
--mint-primary: #10b981;
|
||||
--mint-primary-dark: #059669;
|
||||
--mint-primary-bg: #ecfdf5;
|
||||
--mint-text: #1e293b;
|
||||
--mint-text-muted: #64748b;
|
||||
--mint-text-placeholder: #94a3b8;
|
||||
/* 略浅于主文字:label / 说明 / 表头等次要文字,可读且保留层次(对齐 zkxw 实践) */
|
||||
--mint-text-muted: #334155;
|
||||
--mint-text-placeholder: #9ca3af;
|
||||
--mint-border: #d9e8e2;
|
||||
--mint-bg-page: #fefefe;
|
||||
--mint-surface: #ffffff;
|
||||
@@ -15,4 +16,36 @@
|
||||
--mint-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
||||
--mint-radius: 10px;
|
||||
--mint-content-padding: 24px;
|
||||
|
||||
/* 成功 / 启用等语义色(深一档于主色,便于与 primary Tag 区分) */
|
||||
--mint-success: #059669;
|
||||
--mint-success-dark: #047857;
|
||||
--mint-success-bg: #d1fae5;
|
||||
--mint-success-text: #047857;
|
||||
|
||||
--primary: var(--mint-primary);
|
||||
--primary-dark: var(--mint-primary-dark);
|
||||
--primary-bg: var(--mint-primary-bg);
|
||||
|
||||
/* bx/db 模块沿用的语义别名(避免在模块 SCSS 重复 :root) */
|
||||
--text: var(--mint-text);
|
||||
--text-muted: var(--mint-text-muted);
|
||||
--border: var(--mint-border);
|
||||
--bg-page: var(--mint-bg-page);
|
||||
--surface: var(--mint-surface);
|
||||
--table-head: var(--mint-table-head);
|
||||
--row-alt: var(--mint-row-alt);
|
||||
--row-hover: var(--mint-row-hover);
|
||||
--shadow: var(--mint-shadow);
|
||||
--radius: var(--mint-radius);
|
||||
--radius-md: 8px;
|
||||
--control-h: 36px;
|
||||
--success: var(--mint-success);
|
||||
--success-bg: var(--mint-success-bg);
|
||||
--warning: #d97706;
|
||||
--warning-bg: #fffbeb;
|
||||
--danger: #dc2626;
|
||||
--danger-bg: #fef2f2;
|
||||
--info: #64748b;
|
||||
--info-bg: #f8fafc;
|
||||
}
|
||||
Reference in new issue
Block a user