初始化:质量数据分析平台源码

This commit is contained in:
2026-10-22 15:58:57 +08:00
commit 1e8a655adc
280 changed files with 43922 additions and 0 deletions
+175
View File
@@ -0,0 +1,175 @@
:root[data-workspace-theme='dark'] {
color-scheme: dark;
background: #0e1420;
--ink: #eaf0fa;
--muted-ink: #adbdd1;
--surface: #172234;
--surface-subtle: #1d2a3d;
--sidebar-surface: #111b2a;
--line: #35445a;
--blue-dark: #a9bdff;
}
:root[data-workspace-theme='dark'] body,
:root[data-workspace-theme='dark'] .app-shell,
:root[data-workspace-theme='dark'] .main-column { color: var(--ink); background: var(--background); }
:root[data-workspace-theme='dark'] .sidebar,
:root[data-workspace-theme='dark'] .mobile-brand { background: var(--sidebar-surface); }
:root[data-workspace-theme='dark'] .topbar { background: var(--surface); }
:root[data-workspace-theme='dark'] .nav-group-label,
:root[data-workspace-theme='dark'] .nav-item .anticon,
:root[data-workspace-theme='dark'] .topbar-search.ant-btn,
:root[data-workspace-theme='dark'] .topbar-theme.ant-btn,
:root[data-workspace-theme='dark'] .navigation-search-empty,
:root[data-workspace-theme='dark'] .navigation-search-footnote,
:root[data-workspace-theme='dark'] .navigation-result,
:root[data-workspace-theme='dark'] .navigation-search-modal .ant-modal-title { color: var(--ink); }
:root[data-workspace-theme='dark'] .breadcrumb-slash,
:root[data-workspace-theme='dark'] .topbar-search .anticon,
:root[data-workspace-theme='dark'] .topbar-help .anticon,
:root[data-workspace-theme='dark'] .topbar-theme .anticon,
:root[data-workspace-theme='dark'] .organization-breadcrumb > span:first-child,
:root[data-workspace-theme='dark'] .organization-crumb > i { color: var(--muted-ink); }
:root[data-workspace-theme='dark'] .nav-item:hover,
:root[data-workspace-theme='dark'] .navigation-result:hover { background: var(--hover); }
:root[data-workspace-theme='dark'] .nav-item.active { background: var(--blue-soft); color: var(--blue-dark); }
:root[data-workspace-theme='dark'] .avatar,
:root[data-workspace-theme='dark'] .topbar-search kbd,
:root[data-workspace-theme='dark'] .navigation-result kbd,
:root[data-workspace-theme='dark'] .organization-breadcrumb { background: var(--surface-subtle); color: var(--muted-ink); }
:root[data-workspace-theme='dark'] .panel,
:root[data-workspace-theme='dark'] .metric-strip,
:root[data-workspace-theme='dark'] .management-page .panel,
:root[data-workspace-theme='dark'] .management-page .access-summary { background: var(--surface); border-color: var(--line); }
:root[data-workspace-theme='dark'] .metric-card.primary,
:root[data-workspace-theme='dark'] .basis-card { background: var(--blue-soft); }
:root[data-workspace-theme='dark'] .metric-card:hover { background: var(--hover); }
:root[data-workspace-theme='dark'] .metric-table-scroll .ant-table-tbody > tr > td.ant-table-cell-fix-left { background: var(--surface); }
:root[data-workspace-theme='dark'] .metric-table-scroll .combined-column,
:root[data-workspace-theme='dark'] .metric-table-scroll .combined-column.ant-table-cell-fix-left,
:root[data-workspace-theme='dark'] .metric-table-scroll th.combined-column,
:root[data-workspace-theme='dark'] .metric-table-scroll .ant-table-thead > tr:first-child > th:has(.stage-heading.black) { background: #253457 !important; }
:root[data-workspace-theme='dark'] .metric-table-scroll .ant-table-thead > tr:first-child > th:has(.stage-heading.bright) { background: #183f3d !important; }
:root[data-workspace-theme='dark'] .metric-table-scroll .ant-table-thead > tr > th { color: var(--ink); }
:root[data-workspace-theme='dark'] .stage-heading.black,
:root[data-workspace-theme='dark'] .rate-cell.black .table-value { color: var(--blue-dark); }
:root[data-workspace-theme='dark'] .month-state { border-color: var(--line); }
:root[data-workspace-theme='dark'] .defect-track { background: var(--surface-subtle); }
:root[data-workspace-theme='dark'] .management-page {
--management-ink: var(--ink);
--management-muted: var(--muted-ink);
--management-line: var(--line);
--management-blue-wash: var(--surface-subtle);
}
:root[data-workspace-theme='dark'] .management-page .ant-table-tbody > tr:hover > td,
:root[data-workspace-theme='dark'] .management-page .ant-table-tbody > tr.ant-table-row:hover > td { background: var(--hover) !important; }
:root[data-workspace-theme='dark'] .snapshot-card,
:root[data-workspace-theme='dark'] .snapshot-kpis > span,
:root[data-workspace-theme='dark'] .snapshot-defects > div,
:root[data-workspace-theme='dark'] .json-result { background: var(--surface-subtle); color: var(--ink); }
:root[data-workspace-theme='dark'] .management-page .analysis-answer,
:root[data-workspace-theme='dark'] .management-page .snapshot-card,
:root[data-workspace-theme='dark'] .management-page .json-result,
:root[data-workspace-theme='dark'] .management-page .json-cell,
:root[data-workspace-theme='dark'] .management-modal .json-result,
:root[data-workspace-theme='dark'] .management-drawer .json-result,
:root[data-workspace-theme='dark'] .inspection-ai-summary,
:root[data-workspace-theme='dark'] .governance-evidence-summary,
:root[data-workspace-theme='dark'] .governance-monitor-grid > div { background: var(--surface-subtle); color: var(--ink); border-color: var(--line); }
:root[data-workspace-theme='dark'] .management-page .analysis-session-row { background: var(--surface); border-color: var(--line); }
:root[data-workspace-theme='dark'] .management-page .analysis-session-row:hover,
:root[data-workspace-theme='dark'] .management-page .analysis-session-row.active { background: var(--hover); }
:root[data-workspace-theme='dark'] .management-page .analysis-session-item { color: var(--ink); background: transparent; }
:root[data-workspace-theme='dark'] .management-page .analysis-session-item small { color: var(--muted-ink); }
:root[data-workspace-theme='dark'] .management-modal,
:root[data-workspace-theme='dark'] .management-drawer { --management-ink: var(--ink); --management-muted: var(--muted-ink); --management-line: var(--line); }
:root[data-workspace-theme='dark'] .management-modal .ant-modal-container,
:root[data-workspace-theme='dark'] .management-modal .ant-modal-content,
:root[data-workspace-theme='dark'] .management-drawer .ant-drawer-content,
:root[data-workspace-theme='dark'] .navigation-search-modal .ant-modal-container,
:root[data-workspace-theme='dark'] .navigation-search-modal .ant-modal-content,
:root[data-workspace-theme='dark'] .navigation-search-modal .ant-modal-header { background: var(--surface); }
:root[data-workspace-theme='dark'] .analysis-question { background: var(--blue-soft); }
:root[data-workspace-theme='dark'] .completion-definition-list dt,
:root[data-workspace-theme='dark'] .completion-insight-card,
:root[data-workspace-theme='dark'] .completion-empty-value,
:root[data-workspace-theme='dark'] .completion-placeholder,
:root[data-workspace-theme='dark'] .completion-snapshot,
:root[data-workspace-theme='dark'] .completion-delta-grid > span,
:root[data-workspace-theme='dark'] .completion-contribution { background: var(--surface-subtle); border-color: var(--line); }
:root[data-workspace-theme='dark'] .completion-focus-panel,
:root[data-workspace-theme='dark'] .completion-filter-row { border-color: var(--line); }
:root[data-workspace-theme='dark'] .completion-definition-list dt,
:root[data-workspace-theme='dark'] .completion-panel-heading strong,
:root[data-workspace-theme='dark'] .completion-panel-heading span,
:root[data-workspace-theme='dark'] .completion-focus-panel .completion-section-heading,
:root[data-workspace-theme='dark'] .completion-card-heading,
:root[data-workspace-theme='dark'] .completion-target-value,
:root[data-workspace-theme='dark'] .completion-target-value small,
:root[data-workspace-theme='dark'] .completion-snapshot > strong,
:root[data-workspace-theme='dark'] .completion-snapshot dt,
:root[data-workspace-theme='dark'] .completion-snapshot dd,
:root[data-workspace-theme='dark'] .completion-delta-grid small,
:root[data-workspace-theme='dark'] .completion-delta-grid strong,
:root[data-workspace-theme='dark'] .completion-evidence-line,
:root[data-workspace-theme='dark'] .completion-contribution,
:root[data-workspace-theme='dark'] .completion-note,
:root[data-workspace-theme='dark'] .completion-placeholder { color: var(--ink); }
:root[data-workspace-theme='dark'] .completion-focus-panel .completion-section-heading span { color: var(--muted-ink); }
:root[data-workspace-theme='dark'] .target-rule-list > .resource-toolbar { background: var(--surface); border-color: var(--line); }
:root[data-workspace-theme='dark'] .target-admin details pre { background: var(--surface-subtle); color: var(--ink); border-color: var(--line); }
:root[data-workspace-theme='dark'] .structured-config-editor,
:root[data-workspace-theme='dark'] .structured-config-intro p,
:root[data-workspace-theme='dark'] .structured-config-note,
:root[data-workspace-theme='dark'] .structured-config-rule-card h4,
:root[data-workspace-theme='dark'] .nc-simplified-intake,
:root[data-workspace-theme='dark'] .nc-simplified-config-page,
:root[data-workspace-theme='dark'] .nc-simplified-releases,
:root[data-workspace-theme='dark'] .nc-workflow-modal .ant-modal-body,
:root[data-workspace-theme='dark'] .nc-workflow-modal .ant-modal-title,
:root[data-workspace-theme='dark'] .nc-workflow-modal h3,
:root[data-workspace-theme='dark'] .nc-workflow-modal .ant-form-item-label > label,
:root[data-workspace-theme='dark'] .nc-intake-intro h2,
:root[data-workspace-theme='dark'] .nc-intake-intro p,
:root[data-workspace-theme='dark'] .nc-intake-links .ant-btn,
:root[data-workspace-theme='dark'] .nc-intake-links > span,
:root[data-workspace-theme='dark'] .nc-advanced-records > summary,
:root[data-workspace-theme='dark'] .nc-simple-upload-heading h2,
:root[data-workspace-theme='dark'] .nc-simple-upload-heading p,
:root[data-workspace-theme='dark'] .nc-simple-upload-fields > label,
:root[data-workspace-theme='dark'] .nc-advanced-import-settings > summary,
:root[data-workspace-theme='dark'] .nc-simple-submit-row > span,
:root[data-workspace-theme='dark'] .nc-operation-status > div:not(.ant-alert) > strong,
:root[data-workspace-theme='dark'] .nc-operation-status > div:not(.ant-alert) > span,
:root[data-workspace-theme='dark'] .nc-source-maintenance-note { color: var(--ink); }
:root[data-workspace-theme='dark'] .structured-config-intro,
:root[data-workspace-theme='dark'] .structured-config-rule-card,
:root[data-workspace-theme='dark'] .nc-file-drop,
:root[data-workspace-theme='dark'] .nc-file-summary,
:root[data-workspace-theme='dark'] .nc-workbook-upload-intro,
:root[data-workspace-theme='dark'] .nc-processing,
:root[data-workspace-theme='dark'] .nc-delete-request,
:root[data-workspace-theme='dark'] .nc-simple-file-line { background: var(--surface-subtle); border-color: var(--line); }
:root[data-workspace-theme='dark'] .nc-replacement { background: #3a3021; border-color: #786043; }
:root[data-workspace-theme='dark'] .nc-replacement > span { color: var(--ink); }
:root[data-workspace-theme='dark'] .nc-field-match b,
:root[data-workspace-theme='dark'] .nc-simple-config-page .json-result,
:root[data-workspace-theme='dark'] .nc-simple-config-tabs .ant-table-thead > tr > th,
:root[data-workspace-theme='dark'] .nc-simple-history .ant-table-thead > tr > th,
:root[data-workspace-theme='dark'] .nc-simplified-releases .ant-table-thead > tr > th { background: var(--surface-subtle); color: var(--ink); border-color: var(--line); }
:root[data-workspace-theme='dark'] .structured-config-editor .ant-table-thead > tr > th,
:root[data-workspace-theme='dark'] .structured-match-editor .ant-table-thead > tr > th { background: var(--surface-subtle); color: var(--ink); }
:root[data-workspace-theme='dark'] .screen-state { background: var(--background); }
:root[data-workspace-theme='dark'] .state-card { background: var(--surface); }
:root[data-workspace-theme='dark'] .login-screen,
:root[data-workspace-theme='dark'] .login-panel { background: var(--background); }
:root[data-workspace-theme='dark'] .login-card h2,
:root[data-workspace-theme='dark'] .login-card .ant-form-item-label > label { color: var(--ink); }
:root[data-workspace-theme='dark'] .login-panel-top,
:root[data-workspace-theme='dark'] .login-card-subtitle,
:root[data-workspace-theme='dark'] .login-footer { color: var(--muted-ink); }