dibk-design 3.11.2 → 3.12.0
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.
- package/dist/components/PDF.scss +34 -5
- package/dist/style/pdf.css +33 -7
- package/dist/style/pdf.css.map +1 -1
- package/package.json +1 -1
package/dist/components/PDF.scss
CHANGED
|
@@ -7,6 +7,7 @@ $font-size-h2: 24px;
|
|
|
7
7
|
$font-size-h2-small: 16px;
|
|
8
8
|
$font-size-h3: 19px;
|
|
9
9
|
$font-size-h4: 17px;
|
|
10
|
+
$font-size-h5: 16px;
|
|
10
11
|
$font-size-table-header: 15px;
|
|
11
12
|
$font-size-table-data: 16px;
|
|
12
13
|
$font-size-checkbox: 20px;
|
|
@@ -17,6 +18,7 @@ $width-checkbox: 22px;
|
|
|
17
18
|
$heading-logo-width: 100px;
|
|
18
19
|
$heading-logo-margin-left: 15px;
|
|
19
20
|
|
|
21
|
+
$margin-top-h1: 5px;
|
|
20
22
|
$margin-top-h2: 22px;
|
|
21
23
|
$margin-bottom-h2: 2px;
|
|
22
24
|
$margin-bottom-h2-small: 6px;
|
|
@@ -24,6 +26,8 @@ $margin-top-h3: 15px;
|
|
|
24
26
|
$margin-bottom-h3: 4px;
|
|
25
27
|
$margin-top-h4: 15px;
|
|
26
28
|
$margin-bottom-h4: 6px;
|
|
29
|
+
$margin-top-h5: 12px;
|
|
30
|
+
$margin-bottom-h5: 2px;
|
|
27
31
|
$margin-top-paragraph: 3px;
|
|
28
32
|
$margin-bottom-paragraph: 12px;
|
|
29
33
|
$margin-top-list: 3px;
|
|
@@ -129,7 +133,7 @@ body {
|
|
|
129
133
|
font-size: $font-size-h1;
|
|
130
134
|
font-weight: normal;
|
|
131
135
|
line-height: 0.9em;
|
|
132
|
-
margin-top:
|
|
136
|
+
margin-top: $margin-top-h1;
|
|
133
137
|
margin-bottom: 0.4em;
|
|
134
138
|
small {
|
|
135
139
|
display: block;
|
|
@@ -182,6 +186,15 @@ body {
|
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
188
|
|
|
189
|
+
h5,
|
|
190
|
+
.h5 {
|
|
191
|
+
page-break-after: avoid;
|
|
192
|
+
font-size: $font-size-h5;
|
|
193
|
+
font-weight: bold;
|
|
194
|
+
margin-top: $margin-top-h5;
|
|
195
|
+
margin-bottom: $margin-bottom-h5;
|
|
196
|
+
}
|
|
197
|
+
|
|
185
198
|
p {
|
|
186
199
|
margin-top: $margin-top-paragraph;
|
|
187
200
|
margin-bottom: $margin-bottom-paragraph;
|
|
@@ -346,7 +359,7 @@ body {
|
|
|
346
359
|
}
|
|
347
360
|
|
|
348
361
|
.text-bold {
|
|
349
|
-
font-
|
|
362
|
+
font-weight: bold;
|
|
350
363
|
}
|
|
351
364
|
|
|
352
365
|
.block {
|
|
@@ -398,13 +411,16 @@ body {
|
|
|
398
411
|
float: right;
|
|
399
412
|
margin-left: calc($heading-logo-margin-left * $scaling-for-signed-documents);
|
|
400
413
|
}
|
|
401
|
-
h1
|
|
414
|
+
h1,
|
|
415
|
+
.h1 {
|
|
402
416
|
font-size: calc($font-size-h1 * $scaling-for-signed-documents);
|
|
417
|
+
margin-top: calc($margin-top-h1 * $scaling-for-signed-documents);
|
|
403
418
|
small {
|
|
404
419
|
font-size: calc($font-size-h1-small * $scaling-for-signed-documents);
|
|
405
420
|
}
|
|
406
421
|
}
|
|
407
|
-
h2
|
|
422
|
+
h2,
|
|
423
|
+
.h2 {
|
|
408
424
|
font-size: calc($font-size-h2 * $scaling-for-signed-documents);
|
|
409
425
|
margin-top: calc($margin-top-h2 * $scaling-for-signed-documents);
|
|
410
426
|
margin-bottom: calc($margin-bottom-h2 * $scaling-for-signed-documents);
|
|
@@ -413,11 +429,24 @@ body {
|
|
|
413
429
|
margin-bottom: calc($margin-bottom-h2-small * $scaling-for-signed-documents);
|
|
414
430
|
}
|
|
415
431
|
}
|
|
416
|
-
h3
|
|
432
|
+
h3,
|
|
433
|
+
.h3 {
|
|
417
434
|
font-size: calc($font-size-h3 * $scaling-for-signed-documents);
|
|
418
435
|
margin-top: calc($margin-top-h3 * $scaling-for-signed-documents);
|
|
419
436
|
margin-bottom: calc($margin-bottom-h3 * $scaling-for-signed-documents);
|
|
420
437
|
}
|
|
438
|
+
h4,
|
|
439
|
+
.h4 {
|
|
440
|
+
font-size: calc($font-size-h4 * $scaling-for-signed-documents);
|
|
441
|
+
margin-top: calc($margin-top-h4 * $scaling-for-signed-documents);
|
|
442
|
+
margin-bottom: calc($margin-bottom-h4 * $scaling-for-signed-documents);
|
|
443
|
+
}
|
|
444
|
+
h5,
|
|
445
|
+
.h5 {
|
|
446
|
+
font-size: calc($font-size-h5 * $scaling-for-signed-documents);
|
|
447
|
+
margin-top: calc($margin-top-h5 * $scaling-for-signed-documents);
|
|
448
|
+
margin-bottom: calc($margin-bottom-h5 * $scaling-for-signed-documents);
|
|
449
|
+
}
|
|
421
450
|
p {
|
|
422
451
|
margin-top: calc($margin-top-paragraph * $scaling-for-signed-documents);
|
|
423
452
|
margin-bottom: calc($margin-bottom-paragraph * $scaling-for-signed-documents);
|
package/dist/style/pdf.css
CHANGED
|
@@ -75,7 +75,7 @@ body {
|
|
|
75
75
|
font-size: 34px;
|
|
76
76
|
font-weight: normal;
|
|
77
77
|
line-height: 0.9em;
|
|
78
|
-
margin-top:
|
|
78
|
+
margin-top: 5px;
|
|
79
79
|
margin-bottom: 0.4em;
|
|
80
80
|
}
|
|
81
81
|
.page h1 small,
|
|
@@ -131,6 +131,14 @@ body {
|
|
|
131
131
|
.page .h4 + p {
|
|
132
132
|
margin-top: 0;
|
|
133
133
|
}
|
|
134
|
+
.page h5,
|
|
135
|
+
.page .h5 {
|
|
136
|
+
page-break-after: avoid;
|
|
137
|
+
font-size: 16px;
|
|
138
|
+
font-weight: bold;
|
|
139
|
+
margin-top: 12px;
|
|
140
|
+
margin-bottom: 2px;
|
|
141
|
+
}
|
|
134
142
|
.page p {
|
|
135
143
|
margin-top: 3px;
|
|
136
144
|
margin-bottom: 12px;
|
|
@@ -264,7 +272,7 @@ body {
|
|
|
264
272
|
font-style: italic;
|
|
265
273
|
}
|
|
266
274
|
.page .text-bold {
|
|
267
|
-
font-
|
|
275
|
+
font-weight: bold;
|
|
268
276
|
}
|
|
269
277
|
.page .block {
|
|
270
278
|
display: block;
|
|
@@ -309,26 +317,44 @@ body {
|
|
|
309
317
|
float: right;
|
|
310
318
|
margin-left: 16.6203px;
|
|
311
319
|
}
|
|
312
|
-
.page.signed-document div.content-container h1
|
|
320
|
+
.page.signed-document div.content-container h1,
|
|
321
|
+
.page.signed-document div.content-container .h1 {
|
|
313
322
|
font-size: 37.67268px;
|
|
323
|
+
margin-top: 5.5401px;
|
|
314
324
|
}
|
|
315
|
-
.page.signed-document div.content-container h1 small
|
|
325
|
+
.page.signed-document div.content-container h1 small,
|
|
326
|
+
.page.signed-document div.content-container .h1 small {
|
|
316
327
|
font-size: 19.94436px;
|
|
317
328
|
}
|
|
318
|
-
.page.signed-document div.content-container h2
|
|
329
|
+
.page.signed-document div.content-container h2,
|
|
330
|
+
.page.signed-document div.content-container .h2 {
|
|
319
331
|
font-size: 26.59248px;
|
|
320
332
|
margin-top: 24.37644px;
|
|
321
333
|
margin-bottom: 2.21604px;
|
|
322
334
|
}
|
|
323
|
-
.page.signed-document div.content-container h2 small
|
|
335
|
+
.page.signed-document div.content-container h2 small,
|
|
336
|
+
.page.signed-document div.content-container .h2 small {
|
|
324
337
|
font-size: 17.72832px;
|
|
325
338
|
margin-bottom: 6.64812px;
|
|
326
339
|
}
|
|
327
|
-
.page.signed-document div.content-container h3
|
|
340
|
+
.page.signed-document div.content-container h3,
|
|
341
|
+
.page.signed-document div.content-container .h3 {
|
|
328
342
|
font-size: 21.05238px;
|
|
329
343
|
margin-top: 16.6203px;
|
|
330
344
|
margin-bottom: 4.43208px;
|
|
331
345
|
}
|
|
346
|
+
.page.signed-document div.content-container h4,
|
|
347
|
+
.page.signed-document div.content-container .h4 {
|
|
348
|
+
font-size: 18.83634px;
|
|
349
|
+
margin-top: 16.6203px;
|
|
350
|
+
margin-bottom: 6.64812px;
|
|
351
|
+
}
|
|
352
|
+
.page.signed-document div.content-container h5,
|
|
353
|
+
.page.signed-document div.content-container .h5 {
|
|
354
|
+
font-size: 17.72832px;
|
|
355
|
+
margin-top: 13.29624px;
|
|
356
|
+
margin-bottom: 2.21604px;
|
|
357
|
+
}
|
|
332
358
|
.page.signed-document div.content-container p {
|
|
333
359
|
margin-top: 3.32406px;
|
|
334
360
|
margin-bottom: 13.29624px;
|
package/dist/style/pdf.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../src/stories/PDF.scss","../../src/style/abstracts/mixins/_box-sizing.scss","../../src/style/abstracts/variables/_colors.scss"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../src/stories/PDF.scss","../../src/style/abstracts/mixins/_box-sizing.scss","../../src/style/abstracts/variables/_colors.scss"],"names":[],"mappings":"AAwDA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA,WA7Da;EA8Db;EACA;EACA;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,WA9Ea;;;AAgFjB;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;AAAA;IAEI;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;AAIR;EC1GE,oBD2GsB;EC1GnB,iBD0GmB;ECzGd,YDyGc;;;AAIpB;EACI;;AAGJ;EACI;;AACA;EACI;;AAIR;EACI,OA3Ga;EA4Gb;EACA,aA5GmB;;AA+GvB;AAAA;EAEI;EACA,WAjIO;EAkIP;EACA;EACA,YAnHQ;EAoHR;;AACA;AAAA;EACI;EACA,WAvIS;EAwIT;;AAGR;AAAA;EAEI;EACA,WA7IO;EA8IP;EACA;EACA,YAhIQ;EAiIR,eAhIW;;AAiIX;AAAA;EACI;EACA,WAnJS;EAoJT;EACA,eApIa;;AAs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