feat: add A-card operations frontend and backend foundation

This commit is contained in:
郑龙捷
2026-09-02 09:54:03 +08:00
parent 9badd3597f
commit ad71259ba5
106 changed files with 12461 additions and 1796 deletions
+50 -1
View File
@@ -48,6 +48,26 @@
--spacing-gap-md: 9px;
}
@theme inline {
/* shadcn 语义色映射:STYLE_GUIDE §2.6 */
--color-background: var(--color-bg);
--color-foreground: var(--color-ink);
--color-card: var(--color-bg-panel);
--color-card-foreground: var(--color-ink);
--color-popover: var(--color-bg-panel);
--color-popover-foreground: var(--color-ink);
--color-primary: var(--color-brand);
--color-primary-foreground: #ffffff;
--color-secondary: var(--color-line-soft);
--color-secondary-foreground: var(--color-ink);
--color-muted: var(--color-line-soft);
--color-muted-foreground: var(--color-ink-muted);
--color-accent: var(--color-brand-soft);
--color-accent-foreground: var(--color-brand-strong);
--color-destructive: var(--color-danger);
--color-border: var(--color-line);
--color-input: var(--color-line-soft);
--color-ring: var(--color-brand);
--color-sidebar: var(--sidebar-background);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar-primary: var(--sidebar-primary);
@@ -273,6 +293,35 @@
}
}
@media print {
body.printing-operations-report {
min-width: 0;
overflow: visible;
background: var(--color-bg-panel);
}
body.printing-operations-report * {
visibility: hidden !important;
}
body.printing-operations-report .operations-report-document,
body.printing-operations-report .operations-report-document * {
visibility: visible !important;
}
body.printing-operations-report .operations-report-document {
position: absolute;
inset: 0;
width: 100%;
overflow: visible;
box-shadow: none;
}
body.printing-operations-report [data-slot="button"] {
display: none !important;
}
}
/* Shared UI classes still used by admin / schedules pages */
.icon-button {
display: grid;
@@ -300,4 +349,4 @@
background: linear-gradient(145deg, #3b92ed, #1869c9);
font-size: 14px;
font-weight: 700;
}
}