227 lines
7.1 KiB
CSS
227 lines
7.1 KiB
CSS
.quality-table-frame {
|
|
width: 100%;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
border: 1px solid var(--metric-grid-head, #aebccc);
|
|
border-inline-color: var(--line, #dfe5ef);
|
|
border-radius: var(--panel-radius, 5px);
|
|
background: var(--surface, #fff);
|
|
}
|
|
|
|
.quality-table-frame .ant-table-wrapper,
|
|
.quality-table-frame .ant-table-container {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.quality-table-frame .ant-table {
|
|
color: var(--ink, #202a3b);
|
|
background: transparent;
|
|
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;
|
|
}
|
|
|
|
.quality-table-frame .ant-table-thead > tr > th {
|
|
padding: 10px 12px !important;
|
|
background: color-mix(in srgb, var(--surface, #fff) 84%, var(--blue-soft, #eef1ff)) !important;
|
|
color: var(--ink, #202a3b);
|
|
font-size: var(--font-control);
|
|
font-weight: 650;
|
|
line-height: 1.45;
|
|
text-align: center;
|
|
white-space: normal;
|
|
}
|
|
|
|
.quality-table-frame .ant-table-tbody > tr > td {
|
|
padding: 9px 12px !important;
|
|
color: var(--ink, #202a3b);
|
|
line-height: 1.5;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.quality-table-frame .ant-table-cell.quality-table-text-column {
|
|
text-align: left !important;
|
|
}
|
|
|
|
.quality-table-frame .ant-table-bordered .ant-table-cell {
|
|
border-inline-end: 1px solid var(--line, #dfe5ef) !important;
|
|
border-bottom: 1px solid var(--line, #dfe5ef) !important;
|
|
}
|
|
|
|
.quality-table-frame .ant-table-bordered .ant-table-thead > tr > th {
|
|
border-inline-end-color: var(--line, #dfe5ef) !important;
|
|
border-bottom-color: var(--metric-grid-head, #aebccc) !important;
|
|
}
|
|
|
|
.quality-table-frame .ant-table-tbody > tr:nth-child(even) > td {
|
|
background: color-mix(in srgb, var(--surface, #fff) 96%, var(--blue-soft, #eef1ff));
|
|
}
|
|
|
|
.quality-table-frame .ant-table-tbody > tr:hover > td,
|
|
.quality-table-frame .ant-table-tbody > tr.ant-table-row:hover > td {
|
|
background: var(--hover, #f5f6ff) !important;
|
|
}
|
|
|
|
.quality-table-frame .ant-table-cell.quality-table-index-column {
|
|
color: var(--muted-ink, #738198);
|
|
background: color-mix(in srgb, var(--surface, #fff) 91%, var(--blue-soft, #eef1ff));
|
|
font-variant-numeric: tabular-nums;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.quality-table-frame .ant-table-thead > tr > th.quality-table-index-column {
|
|
color: var(--ink, #202a3b);
|
|
}
|
|
|
|
.quality-table-frame .ant-table-pagination {
|
|
margin: 10px 12px !important;
|
|
}
|
|
|
|
.quality-table-frame .ant-pagination .ant-pagination-total-text {
|
|
color: var(--muted-ink, #738198);
|
|
}
|
|
|
|
/* Fixed columns need a clear edge, but Ant Design's default sticky shadow is too dark. */
|
|
.ant-table-wrapper [class*='ant-table-cell-fix']::after {
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.ant-table-wrapper .ant-table-container::before,
|
|
.ant-table-wrapper .ant-table-container::after {
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.management-page .quality-table-frame .ant-table-bordered > .ant-table-container {
|
|
border-inline-start: 0;
|
|
}
|
|
|
|
.management-page .quality-table-frame .ant-table-bordered .ant-table-cell {
|
|
border-inline-end: 1px solid var(--line, #dfe5ef) !important;
|
|
border-bottom: 1px solid var(--line, #dfe5ef) !important;
|
|
}
|
|
|
|
.management-page .quality-table-frame .ant-table-bordered .ant-table-thead > tr > th {
|
|
border-inline-end-color: var(--line, #dfe5ef) !important;
|
|
border-bottom-color: var(--metric-grid-head, #aebccc) !important;
|
|
}
|
|
|
|
.management-page .quality-table-frame .ant-table-tbody > tr:last-child > td {
|
|
border-bottom: 1px solid var(--line, #dfe5ef) !important;
|
|
}
|
|
|
|
.quality-table-frame .ant-table.ant-table-bordered .ant-table-tbody > tr.ant-table-measure-row > td {
|
|
height: 0 !important;
|
|
padding: 0 !important;
|
|
border: 0 !important;
|
|
font-size: 0 !important;
|
|
line-height: 0 !important;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.quality-table-frame {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.quality-table-frame .ant-table-thead > tr > th,
|
|
.quality-table-frame .ant-table-tbody > tr > td {
|
|
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 {
|
|
text-align: left;
|
|
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%; }
|