forked from ZyntariHQ/Invoisio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.css
More file actions
95 lines (79 loc) · 1.72 KB
/
Copy pathglobals.css
File metadata and controls
95 lines (79 loc) · 1.72 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
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #171717;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
}
@media print {
@page {
margin: 1.5cm;
size: auto;
}
body {
background: white !important;
color: black !important;
font-size: 11pt;
line-height: 1.5;
}
/* Hide interactive buttons, alerts, and status banners */
button,
[role="alert"],
[role="status"] {
display: none !important;
}
/* Remove shadows for clean print */
.shadow-sm,
.shadow {
box-shadow: none !important;
}
/* All text should be readable black */
* {
color: black !important;
}
/* Keep white backgrounds for cards */
.bg-white,
[class*="bg-white"] {
background: white !important;
}
.min-h-screen {
min-height: auto !important;
}
/* Prevent orphaned headings */
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
/* Monospace code blocks */
code, pre {
font-family: "Courier New", Courier, monospace !important;
font-size: 9pt;
}
/* Keep grid rows together across pages */
.grid {
page-break-inside: avoid;
}
/* Compact spacing for print */
.mb-6, .mb-8, .mt-8 {
margin-bottom: 0.75rem !important;
margin-top: 0.75rem !important;
}
/* Normalize existing colored borders to print-friendly gray */
[class*="border-"] {
border-color: #ccc !important;
}
}