Redesign biz compare: editable templates and pre/post result workbook.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-17 17:26:52 +08:00
parent 4811a25ac3
commit 14f5870e19
8 changed files with 1133 additions and 298 deletions

View file

@ -9993,6 +9993,49 @@ html.login-page--paused .login-page__flare {
margin-bottom: 4px;
}
/* biz_state compare result workbook */
.bs-cmp-job-body {
min-height: min(64vh, 680px);
}
.bs-cmp-result-table {
flex: 1 1 auto;
min-height: 260px;
max-height: min(46vh, 520px);
}
.bs-cmp-diff-table .bs-cmp-pair-head {
text-align: center;
}
.bs-cmp-diff-table .bs-cmp-pre-head,
.bs-cmp-diff-table .bs-cmp-post-head {
font-size: 11px;
opacity: 0.8;
}
.bs-cmp-row--added {
background: rgba(34, 197, 94, 0.08);
}
.bs-cmp-row--removed {
background: rgba(239, 68, 68, 0.08);
}
.bs-cmp-row--changed {
background: rgba(245, 158, 11, 0.06);
}
.bs-cmp-cell--pre {
background: rgba(239, 68, 68, 0.14);
font-weight: 600;
}
.bs-cmp-cell--post {
background: rgba(34, 197, 94, 0.14);
font-weight: 600;
}
.nm-config-modal__body {
flex: 1 1 auto;
width: 100%;