@bookipi/htmlgenerator 1.5.17 → 1.5.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,253 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&family=Lato:wght@400;700&display=swap');
2
+
3
+ .bookipay-invoice {
4
+ width: 100%;
5
+ max-width: 600px;
6
+ background-color: white;
7
+ display: flex;
8
+ border-radius: 16px;
9
+ flex-direction: column;
10
+ overflow: hidden;
11
+ font-family: 'Inter', sans-serif;
12
+ line-height: 1.2;
13
+ color: black;
14
+ font-size: 16px;
15
+ }
16
+
17
+ .invoice-content {
18
+ padding: 40px 30px;
19
+ }
20
+
21
+ .invoice-header {
22
+ display: flex;
23
+ padding: 10px;
24
+ margin-bottom: 40px;
25
+ justify-content: space-between;
26
+ }
27
+
28
+ .invoice-footer {
29
+ padding: 30px 38px 40px;
30
+ background-color: rgb(245, 246, 250);
31
+ }
32
+
33
+ .invoice-footer p {
34
+ display: block;
35
+ margin: 0;
36
+ }
37
+
38
+ .invoice-footer-logo {
39
+ height: 20px;
40
+ margin-bottom: 12px;
41
+ }
42
+
43
+ .invoice-logo {
44
+ object-fit: contain;
45
+ max-height: 52px;
46
+ width: auto;
47
+ height: auto;
48
+ }
49
+
50
+ .invoice-body {
51
+ color: rgb(15, 23, 42);
52
+ font-size: 16px;
53
+ }
54
+
55
+ .invoice-company {
56
+ text-align: right;
57
+ }
58
+
59
+ .invoice-spacing {
60
+ margin-bottom: 4px;
61
+ }
62
+
63
+ .invoice-semi-bold {
64
+ color: rgb(15, 23, 42);
65
+ font-weight: 600;
66
+ font-size: 16px;
67
+ }
68
+
69
+ .invoice-bold {
70
+ font-family: 'Lato', sans-serif;
71
+ color: black;
72
+ font-weight: 700;
73
+ font-size: 20px;
74
+ }
75
+
76
+ .invoice-subtitle {
77
+ color: rgba(0, 0, 0, 0.6);
78
+ font-size: 14px;
79
+ }
80
+
81
+ .invoice-subtitle2 {
82
+ color: rgb(147, 154, 172);
83
+ font-size: 14px;
84
+ }
85
+
86
+ .invoice-subtitle3 {
87
+ color: rgb(100, 116, 139);
88
+ font-size: 14px;
89
+ }
90
+
91
+ .invoice-subtitle4 {
92
+ font-size: 10px;
93
+ }
94
+
95
+ .invoice-summary {
96
+ background-color: rgb(245, 246, 250);
97
+ padding: 32px 24px;
98
+ border-radius: 16px;
99
+ margin-bottom: 40px;
100
+ }
101
+
102
+ .invoice-summary-total {
103
+ display: flex;
104
+ margin-top: 24px;
105
+ flex-direction: column;
106
+ }
107
+
108
+ .invoice-summary-customer {
109
+ display: flex;
110
+ flex-direction: row;
111
+ align-items: flex-start;
112
+ justify-content: space-between;
113
+ text-align: left;
114
+ }
115
+
116
+ .invoice-customer-email {
117
+ margin-left: 8px;
118
+ }
119
+
120
+ .invoice-order-header {
121
+ padding: 8px 0;
122
+ margin-bottom: 8px;
123
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
124
+ display: flex;
125
+ justify-content: space-between;
126
+ }
127
+
128
+ .invoice-order-container {
129
+ display: flex;
130
+ justify-content: space-between;
131
+ }
132
+
133
+ .invoice-order-item {
134
+ padding: 12px 0px 5px;
135
+ }
136
+
137
+ .invoice-order-details {
138
+ display: flex;
139
+ justify-content: space-between;
140
+ }
141
+
142
+ .invoice-tax {
143
+ display: flex;
144
+ justify-content: space-between;
145
+ margin-top: 8px;
146
+ }
147
+
148
+ .invoice-payment {
149
+ display: flex;
150
+ padding: 12px 0px 16px;
151
+ justify-content: space-between;
152
+ border-top: 1px solid rgba(0, 0, 0, 0.06);
153
+ margin-top: 15px;
154
+ }
155
+
156
+ .invoice-card {
157
+ display: flex;
158
+ }
159
+
160
+ .invoice-card img {
161
+ height: 18px;
162
+ margin-right: 6px;
163
+ }
164
+
165
+ .invoice-bill-to {
166
+ display: none;
167
+ }
168
+
169
+ @media (max-width: 600px) {
170
+ .bookipay-invoice {
171
+ border-radius: 0;
172
+ }
173
+ }
174
+
175
+ @media (max-width: 799px) {
176
+ .invoice-header {
177
+ flex-direction: column;
178
+ padding: 10px 0;
179
+ }
180
+
181
+ .invoice-company {
182
+ text-align: left;
183
+ }
184
+
185
+ .invoice-logo {
186
+ max-width: 100px;
187
+ margin-bottom: 16px;
188
+ }
189
+
190
+ .invoice-header,
191
+ .invoice-summary {
192
+ margin-bottom: 20px;
193
+ }
194
+
195
+ .invoice-summary {
196
+ margin-left: -30px;
197
+ margin-right: -30px;
198
+ border-radius: 0;
199
+ padding: 32px 30px;
200
+ }
201
+
202
+ .invoice-content {
203
+ padding: 20px 30px;
204
+ }
205
+
206
+ .invoice-bill-to {
207
+ display: flex;
208
+ }
209
+ }
210
+
211
+ @media (max-width: 399px) {
212
+ .footer-actions {
213
+ flex-direction: column;
214
+ }
215
+
216
+ .footer-action {
217
+ margin-bottom: 12px;
218
+ }
219
+
220
+ footer {
221
+ margin: 30px 0;
222
+ }
223
+
224
+ footer p {
225
+ margin-top: 0;
226
+ }
227
+ }
228
+
229
+ @media print {
230
+ * {
231
+ color-adjust: exact;
232
+ -webkit-print-color-adjust: exact;
233
+ print-color-adjust: exact;
234
+ }
235
+
236
+ .invoice-footer {
237
+ width: 100%;
238
+ max-width: 100%;
239
+ margin: 0;
240
+ }
241
+
242
+ .bookipay-invoice {
243
+ max-width: 100%;
244
+ }
245
+
246
+ @page {
247
+ margin: 0;
248
+ }
249
+
250
+ body {
251
+ margin: 1.6cm;
252
+ }
253
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bookipi/htmlgenerator",
3
- "version": "1.5.17",
3
+ "version": "1.5.18",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "",
6
6
  "license": "MIT",