-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
106 lines (90 loc) · 1.88 KB
/
Copy pathindex.css
File metadata and controls
106 lines (90 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
@keyframes fade-in-up {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.animate-fade-in-up {
animation: fade-in-up 0.3s ease-out;
}
.animate-fade-in {
animation: fade-in 0.2s ease-out;
}
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* ============================================================
Print Styles — 可交付 PDF 简报
============================================================ */
@media print {
/* 隐藏非报告元素 */
body {
background: white !important;
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
/* 隐藏侧边栏、导航、FAB 按钮等 */
nav, aside,
.print\:hidden,
button:not(.print-keep),
[data-print-hide],
.animate-ping {
display: none !important;
}
/* 报告标题区 */
.print\:block {
display: block !important;
}
/* 主内容全宽 */
.max-w-6xl {
max-width: 100% !important;
padding: 0 !important;
}
/* Grid 改为单列打印 */
.lg\:grid-cols-12 {
grid-template-columns: 1fr !important;
}
.lg\:col-span-4 {
grid-column: span 1 !important;
}
/* 卡片去阴影 */
.shadow-sm, .shadow-lg, .shadow-xl, .shadow-2xl {
box-shadow: none !important;
}
/* 圆角保留但边框加深 */
.rounded-2xl, .rounded-xl {
border: 1px solid #e2e8f0 !important;
}
/* 确保图表可见 */
.recharts-wrapper {
page-break-inside: avoid;
}
/* 页脚 */
@page {
margin: 1.5cm;
size: A4;
}
}