|
|
@@ -498,6 +498,9 @@ html.dark .el-card {
|
|
|
.el-button > span {
|
|
|
position: relative;
|
|
|
z-index: 10;
|
|
|
+ display: inline-flex;
|
|
|
+ align-items: center;
|
|
|
+ gap: 6px;
|
|
|
}
|
|
|
|
|
|
// 优化颜色选择器圆角
|
|
|
@@ -616,6 +619,9 @@ body .el-table thead {
|
|
|
--el-table-header-bg-color: var(--mint-table-head);
|
|
|
--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-muted);
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.page-container .el-table th.el-table__cell,
|
|
|
@@ -625,6 +631,53 @@ body .el-table thead {
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
+.page-container .el-table td.el-table__cell,
|
|
|
+.console-container .el-table td.el-table__cell {
|
|
|
+ color: var(--mint-text);
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: 500;
|
|
|
+}
|
|
|
+
|
|
|
+// Fresh Mint:状态标签(映射 design spec 的浅底 + 语义色字)
|
|
|
+.page-container .el-tag,
|
|
|
+.console-container .el-tag {
|
|
|
+ border: none;
|
|
|
+ border-radius: 6px;
|
|
|
+ padding: 2px 8px;
|
|
|
+ font-size: 12px;
|
|
|
+ font-weight: 600;
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-tag--success,
|
|
|
+.console-container .el-tag--success {
|
|
|
+ background: #d1fae5 !important;
|
|
|
+ color: #047857 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-tag--warning,
|
|
|
+.console-container .el-tag--warning {
|
|
|
+ background: #fffbeb !important;
|
|
|
+ color: #d97706 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-tag--danger,
|
|
|
+.console-container .el-tag--danger {
|
|
|
+ background: #fef2f2 !important;
|
|
|
+ color: #dc2626 !important;
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-tag--info,
|
|
|
+.console-container .el-tag--info {
|
|
|
+ background: #f8fafc !important;
|
|
|
+ color: #64748b !important;
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-tag--primary,
|
|
|
+.console-container .el-tag--primary {
|
|
|
+ background: #ecfdf5 !important;
|
|
|
+ color: #059669 !important;
|
|
|
+}
|
|
|
+
|
|
|
.page-container .el-button--primary,
|
|
|
.console-container .el-button--primary {
|
|
|
--el-button-bg-color: var(--mint-primary);
|
|
|
@@ -651,6 +704,32 @@ body .el-table thead {
|
|
|
box-shadow: 0 0 0 1px var(--mint-border) inset !important;
|
|
|
}
|
|
|
|
|
|
+// Fresh Mint:placeholder 统一(设计图:更轻的 slate,字号略小)
|
|
|
+.page-container .el-input__inner::placeholder,
|
|
|
+.page-container .el-textarea__inner::placeholder,
|
|
|
+.console-container .el-input__inner::placeholder,
|
|
|
+.console-container .el-textarea__inner::placeholder {
|
|
|
+ color: #94a3b8 !important;
|
|
|
+ font-size: 13px;
|
|
|
+ opacity: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-select__placeholder,
|
|
|
+.console-container .el-select__placeholder {
|
|
|
+ color: #94a3b8 !important;
|
|
|
+ font-size: 13px;
|
|
|
+}
|
|
|
+
|
|
|
+// 兜底:页面内原生 input/textarea placeholder(避免自绘控件不走 Element)
|
|
|
+.page-container input::placeholder,
|
|
|
+.page-container textarea::placeholder,
|
|
|
+.console-container input::placeholder,
|
|
|
+.console-container textarea::placeholder {
|
|
|
+ color: #94a3b8;
|
|
|
+ font-size: 13px;
|
|
|
+ opacity: 1;
|
|
|
+}
|
|
|
+
|
|
|
.page-container .el-input__wrapper:hover,
|
|
|
.page-container .el-select__wrapper:hover,
|
|
|
.console-container .el-input__wrapper:hover,
|
|
|
@@ -670,6 +749,7 @@ body .el-table thead {
|
|
|
.page-container .btn-main.el-button,
|
|
|
.console-container .btn-main.el-button {
|
|
|
height: 36px;
|
|
|
+ padding: 0 14px;
|
|
|
border-radius: 8px;
|
|
|
font-weight: 600;
|
|
|
--el-button-bg-color: var(--mint-primary);
|
|
|
@@ -681,6 +761,7 @@ body .el-table thead {
|
|
|
.page-container .btn-ghost.el-button,
|
|
|
.console-container .btn-ghost.el-button {
|
|
|
height: 36px;
|
|
|
+ padding: 0 14px;
|
|
|
border-radius: 8px;
|
|
|
font-weight: 600;
|
|
|
color: var(--mint-text);
|
|
|
@@ -691,12 +772,42 @@ body .el-table thead {
|
|
|
.page-container .btn-op-item.el-button,
|
|
|
.console-container .btn-op-item.el-button {
|
|
|
height: 28px;
|
|
|
+ padding: 0 8px;
|
|
|
border-radius: 6px;
|
|
|
font-size: 12px;
|
|
|
font-weight: 600;
|
|
|
border-color: var(--mint-border);
|
|
|
}
|
|
|
|
|
|
+.page-container .el-button:not(.is-circle):not(.el-button--text),
|
|
|
+.console-container .el-button:not(.is-circle):not(.el-button--text) {
|
|
|
+ height: 36px;
|
|
|
+ border-radius: 8px;
|
|
|
+ font-weight: 600;
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .btn-op-item.el-button > span,
|
|
|
+.console-container .btn-op-item.el-button > span {
|
|
|
+ gap: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-button .el-icon,
|
|
|
+.console-container .el-button .el-icon {
|
|
|
+ margin-right: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-button[class*='auto-icon-']:not(.is-circle):not(.el-button--text):not(:has(.el-icon)) > span::before,
|
|
|
+.console-container .el-button[class*='auto-icon-']:not(.is-circle):not(.el-button--text):not(:has(.el-icon)) > span::before {
|
|
|
+ content: '';
|
|
|
+ width: 14px;
|
|
|
+ height: 14px;
|
|
|
+ background-color: currentColor;
|
|
|
+ opacity: 0.72;
|
|
|
+ flex-shrink: 0;
|
|
|
+ mask: var(--auto-icon-mask) center / contain no-repeat;
|
|
|
+ -webkit-mask: var(--auto-icon-mask) center / contain no-repeat;
|
|
|
+}
|
|
|
+
|
|
|
.page-container .btn-op-item.primary.el-button,
|
|
|
.console-container .btn-op-item.primary.el-button {
|
|
|
color: #fff;
|
|
|
@@ -704,6 +815,75 @@ body .el-table thead {
|
|
|
background: var(--mint-primary);
|
|
|
}
|
|
|
|
|
|
+.page-container .list-toolbar-row > .el-button:not(.el-button--text):not(.el-button--link),
|
|
|
+.console-container .list-toolbar-row > .el-button:not(.el-button--text):not(.el-button--link),
|
|
|
+.page-container .toolbar-right > .el-button:not(.el-button--text):not(.el-button--link),
|
|
|
+.console-container .toolbar-right > .el-button:not(.el-button--text):not(.el-button--link) {
|
|
|
+ color: var(--mint-text);
|
|
|
+ border-color: var(--mint-border);
|
|
|
+ background: var(--mint-surface);
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .list-toolbar-row > .el-button:not(.el-button--text):not(.el-button--link):first-of-type,
|
|
|
+.console-container .list-toolbar-row > .el-button:not(.el-button--text):not(.el-button--link):first-of-type,
|
|
|
+.page-container .toolbar-right > .el-button:not(.el-button--text):not(.el-button--link):first-of-type,
|
|
|
+.console-container .toolbar-right > .el-button:not(.el-button--text):not(.el-button--link):first-of-type {
|
|
|
+ color: #fff;
|
|
|
+ border-color: var(--mint-primary);
|
|
|
+ background: var(--mint-primary);
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-table__cell .btn-op-item.el-button,
|
|
|
+.console-container .el-table__cell .btn-op-item.el-button {
|
|
|
+ color: var(--mint-text);
|
|
|
+ border-color: var(--mint-border);
|
|
|
+ background: var(--mint-surface);
|
|
|
+}
|
|
|
+
|
|
|
+.page-container .el-table__cell .btn-op-item.el-button:first-of-type,
|
|
|
+.console-container .el-table__cell .btn-op-item.el-button:first-of-type {
|
|
|
+ color: #fff;
|
|
|
+ border-color: #d1ac44;
|
|
|
+ background: #d1ac44;
|
|
|
+}
|
|
|
+
|
|
|
+.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");
|
|
|
+}
|
|
|
+.page-container .el-button.auto-icon-delete,
|
|
|
+.console-container .el-button.auto-icon-delete {
|
|
|
+ --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' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 14H6L5 6'/%3E%3C/svg%3E");
|
|
|
+}
|
|
|
+.page-container .el-button.auto-icon-upload,
|
|
|
+.console-container .el-button.auto-icon-upload {
|
|
|
+ --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' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='M8 8l4-4 4 4'/%3E%3C/svg%3E");
|
|
|
+}
|
|
|
+.page-container .el-button.auto-icon-download,
|
|
|
+.console-container .el-button.auto-icon-download {
|
|
|
+ --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' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='M12 4v12'/%3E%3Cpath d='M8 12l4 4 4-4'/%3E%3C/svg%3E");
|
|
|
+}
|
|
|
+.page-container .el-button.auto-icon-search,
|
|
|
+.console-container .el-button.auto-icon-search {
|
|
|
+ --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%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E");
|
|
|
+}
|
|
|
+.page-container .el-button.auto-icon-refresh,
|
|
|
+.console-container .el-button.auto-icon-refresh {
|
|
|
+ --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' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.64-6.36'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E");
|
|
|
+}
|
|
|
+.page-container .el-button.auto-icon-edit,
|
|
|
+.console-container .el-button.auto-icon-edit {
|
|
|
+ --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' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E");
|
|
|
+}
|
|
|
+.page-container .el-button.auto-icon-view,
|
|
|
+.console-container .el-button.auto-icon-view {
|
|
|
+ --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' stroke-linejoin='round'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
|
|
|
+}
|
|
|
+.page-container .el-button.auto-icon-check,
|
|
|
+.console-container .el-button.auto-icon-check {
|
|
|
+ --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' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
|
|
|
+}
|
|
|
+
|
|
|
.page-container .el-dialog__footer .el-button,
|
|
|
.console-container .el-dialog__footer .el-button {
|
|
|
height: 36px;
|