fix: 优化顶部导航栏布局与工作台摘要展示并清理旧票据数据
This commit is contained in:
@@ -505,12 +505,19 @@
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.progress-identity,
|
||||
.progress-result {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.progress-identity strong,
|
||||
.progress-result strong {
|
||||
margin-bottom: 2px;
|
||||
|
||||
overflow: hidden;
|
||||
color: var(--workbench-ink);
|
||||
font-size: 13px;
|
||||
font-weight: 850;
|
||||
font-weight: bold;
|
||||
line-height: 1.25;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
@@ -573,24 +580,29 @@
|
||||
}
|
||||
|
||||
.progress-status--warning {
|
||||
background: var(--warning-soft);
|
||||
color: var(--warning);
|
||||
background: var(--warning-soft, #fff7ed);
|
||||
color: var(--warning, #ea580c);
|
||||
}
|
||||
|
||||
.progress-status--success {
|
||||
background: var(--workbench-primary-soft);
|
||||
color: var(--workbench-primary-active);
|
||||
background: var(--workbench-primary-soft, #eaf4fa);
|
||||
color: var(--workbench-primary-active, #255b7d);
|
||||
}
|
||||
|
||||
.progress-status--muted {
|
||||
background: var(--info-soft);
|
||||
color: var(--workbench-muted);
|
||||
background: var(--info-soft, #f1f5f9);
|
||||
color: var(--workbench-muted, #64748b);
|
||||
}
|
||||
|
||||
.progress-status--danger {
|
||||
background: var(--danger-soft, #fef2f2);
|
||||
color: var(--danger, #dc2626);
|
||||
}
|
||||
|
||||
.progress-row {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(78px, 0.42fr) minmax(132px, 0.74fr) minmax(84px, 0.42fr) minmax(260px, 1.28fr) minmax(92px, auto);
|
||||
grid-template-columns: minmax(118px, 0.58fr) minmax(132px, 0.74fr) minmax(84px, 0.42fr) minmax(260px, 1.28fr) minmax(92px, auto);
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
@@ -638,6 +650,54 @@
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.progress-time-wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.expense-type-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 8px;
|
||||
font-size: 20px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.expense-type-icon--blue {
|
||||
background: color-mix(in srgb, var(--workbench-primary, #3a7ca5) 12%, #ffffff);
|
||||
color: var(--workbench-primary, #3a7ca5);
|
||||
}
|
||||
|
||||
.expense-type-icon--amber {
|
||||
background: color-mix(in srgb, var(--workbench-chart-amber, #b58b4c) 12%, #ffffff);
|
||||
color: var(--workbench-chart-amber, #b58b4c);
|
||||
}
|
||||
|
||||
.expense-type-icon--emerald {
|
||||
background: color-mix(in srgb, #10b981 12%, #ffffff);
|
||||
color: #10b981;
|
||||
}
|
||||
|
||||
.expense-type-icon--violet {
|
||||
background: color-mix(in srgb, #8b5cf6 12%, #ffffff);
|
||||
color: #8b5cf6;
|
||||
}
|
||||
|
||||
.expense-type-icon--cyan {
|
||||
background: color-mix(in srgb, #06b6d4 12%, #ffffff);
|
||||
color: #06b6d4;
|
||||
}
|
||||
|
||||
.expense-type-icon--muted {
|
||||
background: var(--info-soft, #f1f5f9);
|
||||
color: var(--workbench-muted, #64748b);
|
||||
}
|
||||
|
||||
.progress-time,
|
||||
.progress-identity,
|
||||
.progress-type,
|
||||
@@ -649,6 +709,7 @@
|
||||
|
||||
.progress-time {
|
||||
color: var(--workbench-muted);
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
.progress-time time {
|
||||
@@ -669,6 +730,16 @@
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.progress-time .time-capsule {
|
||||
margin-top: 4px;
|
||||
padding: 2px 6px;
|
||||
border-radius: 999px;
|
||||
background: var(--danger-soft, #fef2f2);
|
||||
color: var(--danger, #dc2626);
|
||||
font-weight: 850;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.progress-result {
|
||||
justify-items: end;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user