同步:完善质量分析工作台并更新主题字体
同步已上线的智能分析执行协议、来源查询、图表报告与管理页面配套代码。 补齐数据库迁移、运行依赖和回归测试,保留原有指标计算口径。 统一午夜黑及其他主题的控件细节、中文和业务数字字体。 排除本地业务数据、凭据、预览、发布与验收产物。 验证:生产构建通过,320项前端回归通过;本轮仅同步Git,不再次部署。
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--metric-grid-head, #aebccc);
|
||||
border-inline-color: var(--line, #dfe5ef);
|
||||
border-radius: 6px;
|
||||
border-radius: var(--panel-radius, 5px);
|
||||
background: var(--surface, #fff);
|
||||
}
|
||||
|
||||
@@ -18,8 +18,9 @@
|
||||
.quality-table-frame .ant-table {
|
||||
color: var(--ink, #202a3b);
|
||||
background: transparent;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-control);
|
||||
}
|
||||
.quality-table-frame .quality-table .ant-table.ant-table-small { font-size: var(--font-table); }
|
||||
|
||||
.quality-table-frame .ant-table-container {
|
||||
border: 0 !important;
|
||||
@@ -29,7 +30,7 @@
|
||||
padding: 10px 12px !important;
|
||||
background: color-mix(in srgb, var(--surface, #fff) 84%, var(--blue-soft, #eef1ff)) !important;
|
||||
color: var(--ink, #202a3b);
|
||||
font-size: 12px;
|
||||
font-size: var(--font-control);
|
||||
font-weight: 650;
|
||||
line-height: 1.45;
|
||||
text-align: center;
|
||||
@@ -129,3 +130,92 @@
|
||||
padding: 8px 9px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Data intake and management use the complaint ledger's compact, single-line cells. */
|
||||
.quality-table-frame.quality-table-compact .ant-table.ant-table-small .ant-table-thead > tr > th {
|
||||
height: 34px;
|
||||
padding: 4px 8px !important;
|
||||
line-height: 22px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.quality-table-frame.quality-table-compact .ant-table.ant-table-small .ant-table-tbody > tr:not(.ant-table-measure-row) > td {
|
||||
height: 36px;
|
||||
padding: 4px 8px !important;
|
||||
line-height: 22px;
|
||||
white-space: nowrap;
|
||||
overflow-wrap: normal;
|
||||
}
|
||||
.quality-cell-preview {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-height: 22px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
line-height: 22px;
|
||||
}
|
||||
.quality-table-compact .quality-cell-preview:not(.quality-cell-interactive) :is(div,p,dl,dt,dd,ul,li,span,code,strong,small) {
|
||||
display: inline !important;
|
||||
margin: 0 !important;
|
||||
white-space: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
.quality-cell-preview.quality-cell-interactive {
|
||||
max-height: none;
|
||||
overflow: visible;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.quality-cell-overflow { cursor: help; }
|
||||
.quality-cell-preview:focus-visible { outline: 2px solid var(--blue, #6379df); outline-offset: 1px; }
|
||||
.quality-cell-fulltext {
|
||||
max-width: 430px;
|
||||
max-height: min(320px, 55vh);
|
||||
overflow: auto;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
font-size: var(--font-control);
|
||||
line-height: 1.65;
|
||||
user-select: text;
|
||||
}
|
||||
.quality-table-compact .quality-cell-interactive .task-actions,
|
||||
.quality-table-compact .quality-cell-interactive .ant-space {
|
||||
display: inline-flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
gap: 6px !important;
|
||||
}
|
||||
.quality-table-compact .quality-cell-interactive .ant-btn-link {
|
||||
height: 24px;
|
||||
padding: 0;
|
||||
line-height: 24px;
|
||||
font-size: var(--font-control);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.quality-table-compact .quality-cell-interactive > .ant-btn-link,
|
||||
.quality-table-compact .quality-cell-interactive > a { max-width: 100%; }
|
||||
.quality-table-compact .quality-cell-interactive > .ant-btn-link > span:not(.ant-btn-icon),
|
||||
.quality-table-compact .quality-cell-interactive > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.quality-table-compact .quality-cell-interactive :is(.ant-input,.ant-input-number,.ant-input-affix-wrapper,.ant-select) {
|
||||
min-height: 26px !important;
|
||||
height: 26px !important;
|
||||
font-size: var(--font-control);
|
||||
}
|
||||
.quality-table-compact .quality-cell-interactive .ant-input {
|
||||
padding-block: 2px;
|
||||
line-height: 20px;
|
||||
}
|
||||
.quality-table-compact .quality-cell-interactive .ant-input-number-input {
|
||||
height: 24px;
|
||||
}
|
||||
.quality-table-compact .quality-cell-interactive .ant-tag { margin-block: 0; }
|
||||
.quality-table-compact .compact-task-progress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
height: 26px;
|
||||
}
|
||||
.quality-table-compact .compact-task-progress .ant-progress { flex: 1; min-width: 70px; margin: 0; }
|
||||
.quality-table-compact .ant-table-placeholder .ant-empty { margin: 0 !important; }
|
||||
.quality-table-compact .ant-table-placeholder .ant-empty-image { display: none; }
|
||||
.quality-table-compact .ant-table-placeholder .ant-table-expanded-row-fixed { padding: 0 !important; margin: 0 !important; max-width: 100%; }
|
||||
|
||||
Reference in New Issue
Block a user