feat: add A-card operations frontend and backend foundation
This commit is contained in:
+50
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user