/
style.css
303 lines (244 loc) · 4.59 KB
/
style.css
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
body {
font-family: "DejaVu Sans", sans-serif;
font-size: 10pt;
margin: 0px;
padding: 0px;
}
div.page {
display: block;
page-break-after: always;
width: 207mm;
height: 287mm;
margin: 0px;
padding: 0px;
}
div.header {
display: block;
background: #d1f3ff;
width: 100%;
height: 30mm;
margin: 0px;
padding: 0px;
}
div.header img {
margin: 2mm 0mm 0mm 2mm;
padding: 0mm;
}
div.description{
float: right;
width: 98mm;
/* height: 30mm; */
font-size: 10pt;
padding: 2mm 0mm 0mm 0mm;
}
div.description h3{
font-size: 14pt;
margin: 0mm 0mm 0mm 0mm;
}
div.description h3 span{
font-weight: normal;
}
div.description p{
font-size: 7pt;
margin: 0px;
}
div.content {
display: block;
width: 100%;
position: relative;
margin: 0px;
padding: 0px;
}
div.right-column {
display: block;
float: right;
height: 196mm;
width: 42mm;
background: #d1f3ff;
padding: 4mm 3mm 0mm 3mm;
}
div.invoice_list div.right-column {
height: 250mm;
}
div.sidebar-subsection {
margin-bottom: 3mm;
font-size: 8pt;
}
div.sidebar-subsection h4 {
display: block;
text-transform: uppercase;
font-weight: normal;
font-size: inherit;
margin: 0px;
}
div.sidebar-subsection span.value {
color: #332a4d;
}
div.content table{
border-collapse: collapse;
}
div.left-column {
padding: 6mm 5mm 0px 9mm;
width:145mm;
}
div.left-column> div {
padding: 3mm 0mm 0mm 1mm;
font-size: 8pt;
border-top: 2px solid #666666;
margin: 0mm 0mm 4mm 0mm;
width: 100%;
}
div.left-column> div.invoice_items {
border-top: none;
font-size: 8pt;
}
div.left-column> div.invoice_items table tr th {
border-top: none;
text-align: left;
font-size: 10pt;
padding: 0.5mm 1mm 0.5mm 1mm;
}
div.left-column > div.invoice_items table{
margin-bottom: 1em;
}
div.left-column > div.invoice_items table:empty{
display: none;
}
div.left-column > div.invoice_items table tr td {
padding: 0.5mm 1mm 0.5mm 1mm;
vertical-align: top;
}
div.left-column> div.invoice_items table tr td:first-child {
padding-left: 0.2mm;
}
div.left-column> div.invoice_items table tr:nth-child(even) td {
background-color: #efefef;
}
div.left-column> div> div {
padding-left: 1mm;
padding-bottom: 1mm;
}
div.left-column> div table {
width: 100%;
margin-left: 1.6mm;
}
div.left-column> div table td {
border: none;
text-align: right;
padding: 0.2mm 0mm 0.2mm 0mm;
}
div.left-column table td:first-child {
text-align: left;
white-space: nowrap;
padding-right: 4px;
}
div.left-column> div h4 {
font-size: inherit;
margin: 0.4mm 0mm 0mm 0mm;
}
div.left-column> div> h4 {
font-size: 12pt;
margin: 0mm 0mm 2mm 0mm;
}
div.left-column div.to-address {
border-top: none;
}
div.previous-activity {
width: 100%;
border-top: 2px solid #5d97aa;
color: #5d97aa;
}
div.previous-activity td {
font-size: 8pt;
}
div.previous-activity td.previous_value_total {
border-top: 2px solid #5d97aa;
}
div.invoice-section.total{
margin-top: 5mm;
}
div.invoice-section.total table {
margin-left: 0mm !important;
}
div.invoice-section.total tr td{
padding: 1.4mm 0mm !important;
}
div.invoice-section.total td.values, div.invoice-section.total td.descr{
border-top: 2px solid #666666;
width: 30%;
}
div.left-column div.total-amount-due {
width: 100%;
border-top: 2px solid #666666;
color: #5d97aa;
font-size: 12pt;
}
div.total-amount-due h4{
float: left;
}
div.total-due-value {
float: right;
}
table tbody td {
border: 1px solid #666666;
border-collapse: collapse;
padding: 4px;
}
table thead tr.column-names td , table tfoot tr.column-names td {
background-color: #cccccc;
border: 1px solid #666666;
border-collapse: collapse;
}
div.footer {
clear: both;
background-color: #d1f3ff;
height: 51mm;
padding: 3mm;
border-top: 2pt dashed #666666;
}
div.footer.payment-advice {
}
div.footer> div {
width: 50%;
}
div.footer h3{
margin: 0mm 0mm 1.5mm 0mm;
}
div.footer div.left-col{
float: left;
}
div.footer div.right-col{
float: right;
font-size: 9pt;
}
div.footer div.right-col h3{
font-size: 12pt;
color: #5d97aa;
}
div.footer div.right-col table{
border-collapse: collapse;
width: 100%;
}
div.footer div.right-col table tr td{
border: none;
font-weight: normal;
}
div.footer div.right-col table tr:last-child td{
border-top: 2px solid #666666;
font-size: 9pt;
padding: 3mm 0mm;
font-weight: bold;
}
div.right-col div.footer-mail {
}
div.right-col div.footer-mail, div.right-col div.footer-www, div.footer div.footer-credit {
padding: 1mm 0mm 1mm 8mm;
}
div.right-col div.footer-mail {
background: url(mail.png) no-repeat center left;
}
div.right-col div.footer-www {
background: url(web.jpg) no-repeat center left;
}
div.footer div.footer-credit {
}