refine Semi UI operations review flow

This commit is contained in:
lingniu
2026-07-18 09:35:16 +08:00
parent 71f334d259
commit 04d5992252
4 changed files with 680 additions and 38 deletions

View File

@@ -10917,3 +10917,530 @@
font-size: 14px;
}
}
/*
* Semi UI operations review flow.
* Keep the queue readable at a glance, translate protocol evidence into
* business language, and make the review decision the clear end of the flow.
*/
.v2-reconcile-overview .v2-reconcile-kpi-card.is-priority {
background: linear-gradient(145deg, #edf5ff 0%, #f7faff 100%);
box-shadow: inset 0 -3px #1f6feb;
}
.v2-reconcile-overview .v2-reconcile-kpi-card.is-priority small,
.v2-reconcile-overview .v2-reconcile-kpi-card.is-priority strong {
color: #155fc5;
}
.v2-reconcile-result-bar {
display: flex;
min-height: 34px;
flex: 0 0 auto;
align-items: center;
justify-content: space-between;
gap: 12px;
border-bottom: 1px solid #e7edf4;
background: #fbfcfe;
padding: 0 12px;
color: #8491a2;
font-size: 10px;
}
.v2-reconcile-result-bar > span {
min-width: 0;
}
.v2-reconcile-result-bar strong {
margin-right: 3px;
color: #2f5f9b;
font-size: 12px;
font-variant-numeric: tabular-nums;
}
.v2-reconcile-table .semi-table {
min-width: 908px;
}
.v2-reconcile-issue-cell > span {
display: flex;
min-width: 0;
align-items: center;
gap: 7px;
}
.v2-reconcile-issue-cell > span > strong {
min-width: 0;
flex: 1;
}
.v2-reconcile-issue-cell .v2-reconcile-severity.semi-tag {
min-height: 22px;
flex: 0 0 auto;
border-radius: 6px;
padding-inline: 7px;
}
.v2-reconcile-detail.semi-card:not(.is-sheet) {
width: min(620px, 58vw);
border-left-color: #c8d6e7;
box-shadow: -18px 0 48px rgba(21, 42, 69, .18);
}
.v2-reconcile-detail-status {
display: inline-flex;
align-items: center;
gap: 5px;
}
.v2-reconcile-detail-body {
padding: 14px 16px 24px;
scrollbar-color: #aebdce transparent;
scrollbar-width: thin;
}
.v2-reconcile-identity {
grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr) minmax(0, 1.05fr);
border-color: #dce5ef;
border-radius: 10px;
background: #fff;
}
.v2-reconcile-identity div {
padding: 12px 13px;
}
.v2-reconcile-identity small {
color: #7b899b;
font-weight: 650;
}
.v2-reconcile-identity strong {
margin: 5px 0;
color: #263c54;
font-size: 13px;
}
.v2-reconcile-decision-guide {
display: grid;
grid-template-columns: 24px minmax(0, 1fr);
align-items: start;
gap: 9px;
margin-top: 12px;
border: 1px solid #f1dfb7;
border-radius: 10px;
background: linear-gradient(135deg, #fffaf0 0%, #fffdf8 100%);
padding: 11px 12px;
color: #82581a;
}
.v2-reconcile-decision-guide > .semi-icon {
margin-top: 1px;
color: #d08b22;
font-size: 18px;
}
.v2-reconcile-decision-guide strong {
color: #6f4d1d;
font-size: 11px;
}
.v2-reconcile-decision-guide p {
margin: 3px 0 0;
color: #806a4a;
font-size: 10px;
line-height: 1.55;
}
.v2-reconcile-summary {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: start;
gap: 9px;
border: 1px solid #dce9fa;
background: #f3f8ff;
padding: 10px 12px;
}
.v2-reconcile-summary > strong {
color: #2c64a4;
font-size: 10px;
white-space: nowrap;
}
.v2-reconcile-summary > span {
color: #4e6279;
font-size: 11px;
line-height: 1.5;
}
.v2-reconcile-evidence.semi-card,
.v2-reconcile-review.semi-card,
.v2-reconcile-actions.semi-card {
border-color: #dce5ef;
border-radius: 10px;
}
.v2-reconcile-evidence dl {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
background: #f7f9fc;
padding: 10px;
}
.v2-reconcile-evidence dl > div {
display: grid;
min-width: 0;
grid-template-columns: minmax(112px, .82fr) minmax(0, 1.18fr);
overflow: hidden;
border: 1px solid #e1e8f0;
border-radius: 8px;
background: #fff;
}
.v2-reconcile-evidence dl > div.is-object {
grid-column: 1 / -1;
grid-template-columns: 132px minmax(0, 1fr);
}
.v2-reconcile-evidence dt {
display: grid;
align-content: center;
gap: 3px;
border-right: 1px solid #e7edf4;
background: #fbfcfe;
padding: 9px 10px;
}
.v2-reconcile-evidence dt > strong {
color: #53677e;
font-size: 10px;
}
.v2-reconcile-evidence dt > code {
overflow: hidden;
color: #96a2b1;
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 8px;
font-weight: 500;
text-overflow: ellipsis;
white-space: nowrap;
}
.v2-reconcile-evidence dd {
display: flex;
min-width: 0;
align-items: center;
margin: 0;
padding: 9px 10px;
}
.v2-reconcile-evidence-value {
overflow-wrap: anywhere;
color: #243e5a;
font-size: 11px;
font-weight: 720;
font-variant-numeric: tabular-nums;
}
.v2-reconcile-evidence-object {
display: grid;
width: 100%;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px 12px;
}
.v2-reconcile-evidence-object > span {
display: grid;
min-width: 0;
gap: 3px;
}
.v2-reconcile-evidence-object small {
color: #8a97a8;
font-size: 8px;
}
.v2-reconcile-evidence-object strong {
overflow: hidden;
color: #334d68;
font-size: 10px;
font-weight: 650;
text-overflow: ellipsis;
white-space: nowrap;
}
.v2-reconcile-review > .semi-card-body {
padding-bottom: 12px !important;
}
.v2-reconcile-review > .semi-card-body > label {
gap: 7px;
margin: 10px 12px;
color: #53677e;
font-size: 10px;
font-weight: 650;
}
.v2-reconcile-review > .semi-card-body > label > .semi-radioGroup {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 6px;
}
.v2-reconcile-review .semi-radio-addon-buttonRadio {
height: 36px;
border-radius: 7px;
font-size: 10px;
}
.v2-reconcile-review > .semi-card-body > .semi-button {
min-width: 166px;
height: 38px;
margin: 3px 12px 0;
border-radius: 8px;
font-weight: 680;
}
@media (min-width: 681px) {
.v2-reconcile-heading.v2-workspace-panel-header {
min-height: 64px;
}
.v2-reconcile-overview .v2-reconcile-kpi-card > .semi-card-body,
.v2-reconcile-sla > .semi-card-body {
min-height: 82px;
}
.v2-reconcile-overview .v2-reconcile-kpi-card small {
font-size: 10px;
font-weight: 650;
}
.v2-reconcile-overview .v2-reconcile-kpi-card strong {
margin-block: 7px 4px;
font-size: 24px;
}
.v2-reconcile-overview .v2-reconcile-kpi-card span {
font-size: 9px;
}
.v2-reconcile-table .semi-table-thead > .semi-table-row > .semi-table-row-head {
height: 40px;
color: #697a90;
font-size: 10px;
}
.v2-reconcile-table .semi-table-tbody > .semi-table-row > .semi-table-row-cell {
height: 64px;
}
.v2-reconcile-cell strong {
font-size: 11px;
}
.v2-reconcile-cell small {
font-size: 9px;
}
}
@media (max-width: 680px) {
.v2-reconcile-heading.v2-workspace-panel-header {
min-height: 50px;
padding: 5px 7px 5px 10px;
}
.v2-reconcile-heading > .v2-workspace-panel-copy {
display: flex;
}
.v2-reconcile-heading > .v2-workspace-panel-copy > h5.semi-typography {
display: block;
font-size: 12px;
}
.v2-reconcile-heading > .v2-workspace-panel-copy > .semi-typography,
.v2-reconcile-heading > .v2-workspace-panel-actions > .v2-workspace-panel-meta {
display: none;
}
.v2-reconcile-heading > .v2-workspace-panel-actions {
display: flex;
width: auto;
max-width: none;
flex: 0 0 auto;
grid-template-columns: none;
align-items: center;
justify-content: flex-end;
gap: 5px;
margin-left: auto;
}
.v2-reconcile-heading > .v2-workspace-panel-actions > .semi-button {
width: 38px !important;
min-width: 38px !important;
max-width: 38px;
flex: 0 0 38px;
min-height: 38px;
padding: 0;
font-size: 0;
}
.v2-reconcile-heading > .v2-workspace-panel-actions > .semi-button .semi-button-content-right {
display: none;
}
.v2-reconcile-heading > .v2-workspace-panel-actions > .semi-button .semi-icon {
font-size: 15px;
}
.v2-reconcile-overview .v2-reconcile-kpi-card.is-priority {
background: #eff6ff;
box-shadow: inset 0 -3px #1f6feb;
}
.v2-reconcile-result-bar {
display: none;
}
.v2-reconcile-detail.is-sheet .v2-reconcile-detail-heading {
min-height: 56px;
padding: 8px 11px;
}
.v2-reconcile-detail.is-sheet .v2-reconcile-detail-heading .v2-workspace-panel-copy > h5.semi-typography {
font-size: 13px;
}
.v2-reconcile-detail.is-sheet .v2-reconcile-detail-heading .v2-workspace-panel-copy > .semi-typography {
font-size: 9px;
}
.v2-reconcile-detail-body {
padding: 10px 10px 18px;
}
.v2-reconcile-identity {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.v2-reconcile-identity > div:first-child {
grid-column: 1 / -1;
}
.v2-reconcile-identity > div + div {
border-top: 1px solid #e5ebf2;
border-left: 0;
}
.v2-reconcile-identity > div:last-child {
border-left: 1px solid #e5ebf2;
}
.v2-reconcile-identity div {
padding: 9px 10px;
}
.v2-reconcile-identity strong {
margin-block: 4px;
font-size: 11px;
}
.v2-reconcile-identity small,
.v2-reconcile-identity span {
font-size: 8px;
}
.v2-reconcile-decision-guide {
grid-template-columns: 20px minmax(0, 1fr);
gap: 7px;
margin-top: 9px;
padding: 9px 10px;
}
.v2-reconcile-decision-guide > .semi-icon {
font-size: 15px;
}
.v2-reconcile-decision-guide strong,
.v2-reconcile-decision-guide p {
font-size: 9px;
}
.v2-reconcile-summary {
gap: 7px;
margin-block: 9px;
padding: 9px 10px;
}
.v2-reconcile-summary > strong,
.v2-reconcile-summary > span {
font-size: 9px;
}
.v2-reconcile-evidence.semi-card,
.v2-reconcile-review.semi-card,
.v2-reconcile-actions.semi-card {
margin-top: 9px;
}
.v2-reconcile-evidence dl {
gap: 6px;
padding: 7px;
}
.v2-reconcile-evidence dl > div,
.v2-reconcile-evidence dl > div.is-object {
grid-template-columns: minmax(0, 1fr);
}
.v2-reconcile-evidence dl > div.is-object {
grid-column: 1 / -1;
}
.v2-reconcile-evidence dt {
gap: 2px;
border-right: 0;
border-bottom: 1px solid #edf1f5;
padding: 7px 8px 5px;
}
.v2-reconcile-evidence dt > strong {
font-size: 9px;
}
.v2-reconcile-evidence dt > code {
font-size: 7px;
}
.v2-reconcile-evidence dd {
min-height: 34px;
padding: 6px 8px 8px;
}
.v2-reconcile-evidence-value {
font-size: 10px;
}
.v2-reconcile-evidence-object {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 7px 9px;
}
.v2-reconcile-review > .semi-card-body > .v2-workspace-panel-header,
.v2-reconcile-evidence > .semi-card-body > .v2-workspace-panel-header {
min-height: 48px;
}
.v2-reconcile-review > .semi-card-body > label {
margin-inline: 9px;
}
.v2-reconcile-review > .semi-card-body > .semi-button {
width: calc(100% - 18px);
min-height: 42px;
margin-inline: 9px;
justify-content: center;
}
}