@medicus.ai/medicus-report-pdf-generator 1.3.13 → 1.3.15

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.
Files changed (178) hide show
  1. package/.vscode/settings.json +3 -3
  2. package/HANDOVER.md +146 -0
  3. package/README.md +26 -26
  4. package/app/i18n.config.js +20 -20
  5. package/app/i18n_wellbeing.config.js +20 -20
  6. package/app/services/localeService.js +28 -28
  7. package/assets/Mediclinic/css/nasco_report.css +6297 -6297
  8. package/assets/Mediclinic/css/nasco_report_rtl.css +851 -851
  9. package/assets/Mediclinic/css/style.css +33 -33
  10. package/assets/Mediclinic/js/js.js +112 -112
  11. package/assets/Mediclinic/js/raphael.js +8437 -8437
  12. package/assets/arabic.css +275 -275
  13. package/assets/charts.min.js +7 -7
  14. package/assets/corporate_report/css/report.css +582 -582
  15. package/assets/corporate_report/css/report_rtl.css +144 -144
  16. package/assets/corporate_report/js/js.js +14 -14
  17. package/assets/data/data.json +124 -124
  18. package/assets/data/data2.json +675 -675
  19. package/assets/data/pdf_data_with_history.json +1255 -1255
  20. package/assets/doctor-note-insight-icon.svg +11 -11
  21. package/assets/imc/css/style.css +61 -61
  22. package/assets/jquery-1.4.min.js +151 -151
  23. package/assets/jquery-2.1.0.min.js +3 -3
  24. package/assets/js.js +201 -201
  25. package/assets/medicus_pdf/arabic.css +444 -444
  26. package/assets/medicus_pdf/styles.css +2427 -2427
  27. package/assets/print.css +4 -4
  28. package/assets/qr-code-style.css +68 -68
  29. package/assets/qrcode.min.js +3 -3
  30. package/assets/raphael-min.js +10 -10
  31. package/assets/sanusx/css/sanusx_report.css +707 -707
  32. package/assets/sizing.js +2 -2
  33. package/assets/styles.css +1545 -1545
  34. package/assets/styles.min.css +1358 -1358
  35. package/assets/translation.js +30 -30
  36. package/assets/wellbeing/css/nasco_report.css +3472 -3472
  37. package/assets/wellbeing/css/nasco_report_rtl.css +679 -679
  38. package/assets/wellbeing/js/js.js +111 -111
  39. package/assets/wellbeing/js/raphael.js +8437 -8437
  40. package/base64/cairo-font.js +2 -2
  41. package/config/Mediclinic.json +37 -37
  42. package/config/Najeeb.ai.json +35 -35
  43. package/config/Pha.json +64 -64
  44. package/config/bionext.json +37 -37
  45. package/config/default.json +35 -35
  46. package/config/diagnostikare.json +34 -34
  47. package/config/maisonsante.json +39 -39
  48. package/config/nasco.json +35 -35
  49. package/config/sanitas.json +35 -35
  50. package/config/sanusx.json +34 -34
  51. package/config/test.txt +4 -4
  52. package/data converter.js +53 -53
  53. package/docs/01-architecture-overview.md +149 -0
  54. package/docs/02-configuration-and-whitelabelling.md +111 -0
  55. package/docs/03-templating-and-rendering.md +71 -0
  56. package/docs/04-report-pipelines.md +128 -0
  57. package/docs/05-questions-and-data-model.md +67 -0
  58. package/docs/06-internationalization.md +59 -0
  59. package/docs/07-email-notifications.md +59 -0
  60. package/docs/08-known-issues-and-technical-debt.md +41 -0
  61. package/docs/README.md +22 -0
  62. package/downloadfile.js +6 -6
  63. package/example.txt +1188 -1188
  64. package/index.js +481 -480
  65. package/lib/big_integral_questionnaire.js +370 -298
  66. package/lib/corporate_report_generator.js +399 -399
  67. package/lib/pdf_generator.min.js +525 -525
  68. package/lib/sanusx_report_generator.js +533 -533
  69. package/lib/sendEmail.js +343 -343
  70. package/lib/template.js +2227 -2227
  71. package/lib/wellbeing_report_generator.js +2164 -2134
  72. package/locales/ar-AE.json +169 -169
  73. package/locales/ar-SA.json +169 -169
  74. package/locales/ar.json +397 -397
  75. package/locales/de.json +169 -169
  76. package/locales/en.json +229 -229
  77. package/locales/fr.json +168 -168
  78. package/locales/pt.json +165 -165
  79. package/locales/wellbeing/ar-AE.json +149 -149
  80. package/locales/wellbeing/ar-SA.json +257 -257
  81. package/locales/wellbeing/de.json +301 -301
  82. package/locales/wellbeing/en.json +423 -423
  83. package/locales/wellbeing/es.json +133 -133
  84. package/locales/wellbeing/fr.json +121 -121
  85. package/locales/wellbeing/it-IT.json +121 -121
  86. package/locales/wellbeing/pt.json +121 -121
  87. package/locales/wellbeing/tr.json +121 -121
  88. package/locales/wellbeing/zh-CN.json +121 -121
  89. package/locales/zh-CN.json +165 -165
  90. package/package.json +47 -47
  91. package/preview-big-integral.js +75 -75
  92. package/run.js +15 -15
  93. package/templates/Mediclinic/blocks/first-section.html +205 -205
  94. package/templates/Mediclinic/blocks/footer.html +7 -7
  95. package/templates/Mediclinic/blocks/header-template.html +5 -5
  96. package/templates/Mediclinic/blocks/header.html +20 -20
  97. package/templates/Mediclinic/blocks/patient-table.html +38 -38
  98. package/templates/Mediclinic/blocks/pdf-header.html +9 -9
  99. package/templates/Mediclinic/blocks/tips.html +8 -8
  100. package/templates/Mediclinic/ltr_no_pages.html +37 -37
  101. package/templates/Mediclinic/rtl_no_pages.html +42 -42
  102. package/templates/Mediclinic/wellbeing_template.html +41 -41
  103. package/templates/Pha/blocks/first-section.html +207 -207
  104. package/templates/Pha/blocks/footer.html +7 -7
  105. package/templates/Pha/blocks/header-template.html +5 -5
  106. package/templates/Pha/blocks/header.html +20 -20
  107. package/templates/Pha/blocks/patient-table.html +38 -38
  108. package/templates/Pha/blocks/pdf-header.html +8 -8
  109. package/templates/Pha/blocks/tips.html +8 -8
  110. package/templates/Pha/ltr_no_pages.html +37 -37
  111. package/templates/Pha/rtl_no_pages.html +42 -42
  112. package/templates/Pha/wellbeing_template.html +41 -41
  113. package/templates/base.html +23 -23
  114. package/templates/blocks/ar-first-page-header.html +68 -68
  115. package/templates/blocks/ar-footer.html +54 -54
  116. package/templates/blocks/ar-header.html +67 -67
  117. package/templates/blocks/biomarker-compact-ar.html +27 -27
  118. package/templates/blocks/biomarker-compact.html +27 -27
  119. package/templates/blocks/biomarker-details.html +41 -41
  120. package/templates/blocks/biomarker-insight.html +22 -22
  121. package/templates/blocks/biomarker-min.html +9 -9
  122. package/templates/blocks/doctor-note.html +11 -11
  123. package/templates/blocks/footer.html +35 -35
  124. package/templates/blocks/header-first-page.html +46 -46
  125. package/templates/blocks/header.html +49 -49
  126. package/templates/blocks/panel-compact.html +38 -38
  127. package/templates/blocks/panel-details.html +16 -16
  128. package/templates/blocks/report-summary.html +16 -16
  129. package/templates/blocks/section-title.html +4 -4
  130. package/templates/blocks/signature.html +16 -16
  131. package/templates/blocks/summary-insight.html +15 -15
  132. package/templates/blocks/summary.html +9 -9
  133. package/templates/corporate_report/cover_page.html +23 -23
  134. package/templates/corporate_report/footer.html +9 -9
  135. package/templates/corporate_report/ltr_no_pages.html +20 -20
  136. package/templates/corporate_report/page.html +24 -24
  137. package/templates/corporate_report/participant_analytics.html +5 -5
  138. package/templates/corporate_report/rtl_no_pages.html +20 -20
  139. package/templates/empty.html +10 -10
  140. package/templates/first_page_head.html +157 -157
  141. package/templates/imc/first-header-template.html +53 -53
  142. package/templates/ltr.html +1368 -1368
  143. package/templates/ltr_no_pages.html +89 -89
  144. package/templates/maisonsante/blocks/first-section.html +151 -207
  145. package/templates/maisonsante/blocks/footer.html +7 -7
  146. package/templates/maisonsante/blocks/header-template.html +5 -5
  147. package/templates/maisonsante/blocks/header.html +20 -20
  148. package/templates/maisonsante/blocks/patient-table.html +38 -38
  149. package/templates/maisonsante/blocks/pdf-header.html +8 -8
  150. package/templates/maisonsante/blocks/tips.html +8 -8
  151. package/templates/maisonsante/ltr_no_pages.html +38 -38
  152. package/templates/maisonsante/rtl_no_pages.html +43 -43
  153. package/templates/maisonsante/wellbeing_template.html +41 -41
  154. package/templates/no_pages.html +1224 -1224
  155. package/templates/popup/popup-template.html +129 -129
  156. package/templates/rtl_no_pages.html +92 -92
  157. package/templates/sanusx/blocks/footer.html +6 -6
  158. package/templates/sanusx/blocks/header.html +20 -20
  159. package/templates/sanusx/blocks/personal-details.html +123 -123
  160. package/templates/sanusx/blocks/predictions-section.html +57 -57
  161. package/templates/sanusx/blocks/recommendations-section.html +6 -6
  162. package/templates/sanusx/blocks/super-power-section.html +29 -29
  163. package/templates/sanusx/blocks/tips.html +8 -8
  164. package/templates/sanusx/ltr_no_pages.html +26 -26
  165. package/templates/sanusx/rtl_no_pages.html +36 -36
  166. package/templates/template.html +1377 -1377
  167. package/templates/wellbeing/blocks/first-section.html +106 -106
  168. package/templates/wellbeing/blocks/footer.html +7 -7
  169. package/templates/wellbeing/blocks/header.html +37 -37
  170. package/templates/wellbeing/blocks/tips.html +8 -8
  171. package/templates/wellbeing/ltr_no_pages.html +35 -35
  172. package/templates/wellbeing/rtl_no_pages.html +36 -36
  173. package/templates/wellbeing/wellbeing_template.html +43 -43
  174. package/test.js +74 -74
  175. package/testing-reports/mediclinic/arabic-data.js +0 -439
  176. package/testing-reports/mediclinic/doctor-data.js +0 -523
  177. package/testing-reports/mediclinic/with-wellbeing.js +0 -415
  178. package/testing-reports/pha/notes-example.js +0 -397
@@ -1,708 +1,708 @@
1
- @font-face {
2
- font-family: 'Roboto';
3
- font-style: normal;
4
- font-weight: 100;
5
- src: url('../fonts/Roboto-Light.ttf');
6
- }
7
-
8
- @font-face {
9
- font-family: 'Roboto';
10
- font-style: normal;
11
- font-weight: 400;
12
- src: url('../fonts/Roboto-Regular.ttf');
13
- }
14
-
15
- @font-face {
16
- font-family: 'Roboto';
17
- font-style: normal;
18
- font-weight: bold;
19
- src: url('../fonts/Roboto-Bold.ttf');
20
- }
21
-
22
-
23
- @font-face {
24
- font-family: 'FrankRuhlLibre';
25
- font-style: normal;
26
- font-weight: 100;
27
- src: url('../fonts/FrankRuhlLibre-Regular.ttf')
28
- }
29
-
30
- @font-face {
31
- font-family: 'FrankRuhlLibre';
32
- font-style: normal;
33
- font-weight: 300;
34
- src: url('../fonts/FrankRuhlLibre-Regular.ttf')
35
- }
36
-
37
- @font-face {
38
- font-family: 'Frank Ruhl Libre';
39
- font-style: normal;
40
- font-weight: 600;
41
- src: url('../fonts/FrankRuhlLibre-Bold.ttf')
42
- }
43
-
44
- @font-face {
45
- font-family: 'Frank Ruhl Libre';
46
- font-style: normal;
47
- font-weight: bold;
48
- src: url('../fonts/FrankRuhlLibre-Bold.ttf')
49
- }
50
-
51
- body {
52
- margin: 0;
53
- padding: 0;
54
- /* background: url('../images/A4.png');*/
55
- background-repeat: no-repeat;
56
- background-size: 211mm;
57
- background-position: center top;
58
- box-sizing: border-box;
59
- width: 210mm;
60
- height: 297mm;
61
- MARGIN: AUTO;
62
- font-family: 'Open Sans', sans-serif;
63
- background-color: #f8f8f3;
64
- }
65
-
66
- html {
67
- background: unset;
68
- height: 100%;
69
- scroll-behavior: smooth;
70
- }
71
-
72
- body {
73
- position: relative;
74
- font-family: 'Open Sans', sans-serif;
75
- }
76
-
77
- header {
78
- min-height: 38px;
79
- padding: 3.143em 3.571em 0;
80
- }
81
-
82
- .content {
83
- width: 100%;
84
- float: left;
85
- margin-top: 29px;
86
- padding: 0px 36px 0 27px;
87
- box-sizing: border-box;
88
- direction: ltr;
89
- }
90
-
91
- img {
92
- width: 100%
93
- }
94
-
95
- /*Header*/
96
- .report-header {
97
- color: rgba(51, 51, 51, 1);
98
- font-size: 23.5px;
99
- margin-bottom: 20px;
100
- letter-spacing: -0.9px;
101
- display: inline-block;
102
- margin-top: 0;
103
- font-family: Open Sans;
104
- line-height: 34px;
105
- letter-spacing: -0.9px;
106
- }
107
-
108
- .report-logo {
109
- display: inline-block;
110
- float: left;
111
- margin-right: 6px;
112
- }
113
-
114
- .report-logo img {
115
- width: 84px;
116
- display: inline-block;
117
- margin-left: 6px;
118
- }
119
-
120
- .avatar-img {
121
- width: 113px;
122
- display: inline-block;
123
- float: left;
124
- margin-right: 10px;
125
- }
126
-
127
- .avata-info {
128
- float: left;
129
- margin-top: 30px;
130
- width: 56%;
131
- }
132
-
133
- .avatar-title {
134
- font-family: 'Roboto';
135
- font-size: 17.5px;
136
- }
137
-
138
- .hero-title {
139
- color: #005651;
140
- font-family: 'Frank Ruhl Libre';
141
- font-size: 16px;
142
- }
143
-
144
- .avatar-main-info {
145
- float: left;
146
- width: 39%;
147
- }
148
-
149
- .avatar-desc {
150
- width: 61%;
151
- float: left;
152
- font-family: 'Roboto';
153
- font-size: 12px;
154
- line-height: 14px;
155
- margin-top: -5px;
156
- color: rgba(2, 84, 80, 1);
157
- padding-left: 2%;
158
- box-sizing: border-box;
159
- }
160
-
161
- .avatar-desc p:first-child {
162
- margin-bottom: 12px;
163
- display: block
164
- }
165
-
166
- .super-power-section {
167
- float: left;
168
- width: 100%;
169
- margin-top: 12px;
170
- }
171
-
172
- .single-super-power {
173
- float: left;
174
- width: 28.5%;
175
- }
176
-
177
- .avatar-td-1 {
178
- font-size: 11px;
179
- float: left;
180
- width: 63%;
181
- color: #3B3B3B;
182
- }
183
-
184
- .de .avatar-td-1 {
185
- font-size: 10px;
186
- }
187
-
188
- .avarat-td-img {
189
- float: left;
190
- margin-right: 14px;
191
- width: 30px;
192
- }
193
-
194
- .avarat-td-img img {
195
- margin-top: 11px;
196
- }
197
-
198
- .super-power-section .single-super-power:nth-child(2) {
199
- width: 37%;
200
- }
201
-
202
- .super-power-section .single-super-power:nth-child(3) .avatar-td-1 {
203
- width: 78%
204
- }
205
-
206
- .avatar-td-1 strong {
207
- font-size: 15px;
208
- display: inline-block;
209
- padding-bottom: 3px;
210
- color: #025450;
211
- }
212
-
213
- /*personal details*/
214
- .first-section-scores {
215
- margin-top: 12px;
216
- float: left;
217
- }
218
-
219
- .pdf-container {
220
- margin-left: auto !important;
221
- margin-right: auto !important;
222
- }
223
-
224
- .closer-look-container {
225
- padding: 0px;
226
- }
227
-
228
- .closer-look-body {
229
- overflow: hidden;
230
- padding: 0px;
231
- }
232
-
233
- .closer-look-left {
234
- width: 28%;
235
- }
236
-
237
- .closer-look-left .closer-loook-part:nth-child(2) .closer-look-table-img,
238
- .closer-look-left .closer-loook-part:last-child .closer-look-table-img {
239
- vertical-align: top;
240
- }
241
-
242
- .closer-look-right {
243
- width: 53.3%;
244
- }
245
-
246
- .closer-look-middle {
247
- width: 18.7%;
248
- margin-top: 18px;
249
- background: url(../images/middle_arrows_image.png);
250
- background-repeat: no-repeat;
251
- background-size: cover;
252
- box-sizing: border-box;
253
- height: 229px;
254
- border-right: 8px solid #f8f8f3;
255
- }
256
-
257
- .closer-look-middle img {
258
- width: 100%;
259
- display: none;
260
- }
261
-
262
- .closer-look-title {
263
- font-family: 'Frank Ruhl Libre';
264
- font-style: normal;
265
- font-weight: 700;
266
- font-size: 18.3px;
267
- line-height: 25px;
268
- color: #025450;
269
- margin-bottom: 20px;
270
- }
271
-
272
- .closer-look-table-img, .closer-look-details {
273
- display: inline-block;
274
- }
275
-
276
- .closer-look-details h2 {
277
- font-family: 'Frank Ruhl Libre';
278
- font-style: normal;
279
- font-weight: 700;
280
- font-size: 15px;
281
- color: #000000;
282
- margin: 0;
283
- }
284
-
285
- .closer-look-example {
286
- font-family: 'Roboto';
287
- font-style: normal;
288
- font-weight: 400;
289
- font-size: 11px;
290
- line-height: 17px;
291
- color: #676767;
292
- }
293
-
294
- .de .closer-look-example {
295
- font-size: 10px;
296
- }
297
-
298
- .closer-look-table-img {
299
- width: 59px;
300
- margin-right: 16px;
301
- vertical-align: middle;
302
- }
303
-
304
- .closer-look-table-img img {
305
- width: 100%
306
- }
307
-
308
- .closer-loook-part {
309
- margin-bottom: 18px;
310
- }
311
-
312
- .closer-look-left, .closer-look-middle, .closer-look-right {
313
- float: left;
314
- }
315
-
316
- .sanusx-score-section .meter-body {
317
- overflow: hidden;
318
- padding: 17px 15px 10px 15px;
319
- background: #FFFFFF;
320
- box-shadow: 0px 1px 2px 1px rgb(0 0 0 / 4%);
321
- border-radius: 8px;
322
- margin: 19px 0px 0px 0px;
323
- box-sizing: border-box
324
- }
325
-
326
- .sanusx-score-section .meter-body:last-child {
327
- margin-top: 11px;
328
- }
329
-
330
- .speedometer-container svg {
331
- width: 118%;
332
- margin-top: -22px;
333
- overflow: visible;
334
- }
335
-
336
- .speedometer-container img {
337
- width: 100%;
338
- }
339
-
340
- .score-circle {
341
- width: 23%;
342
- float: left;
343
- box-sizing: border-box;
344
- margin-right: 5%;
345
- }
346
-
347
- .speedometer-circle {
348
- position: relative
349
- }
350
-
351
- .speedometer-container {
352
- text-align: center;
353
- display: inline-block;
354
- width: 100%;
355
- position: relative;
356
- }
357
-
358
- .needle-container {
359
- position: absolute;
360
- right: 0;
361
- top: 13px;
362
- left: 0;
363
- height: 60px;
364
- width: 65px;
365
- margin-left: 8px;
366
- margin-right: 10px;
367
- margin-top: 0;
368
- }
369
-
370
- .needle-container img {
371
- width: 18px;
372
- position: absolute;
373
- bottom: 0;
374
- display: block;
375
- vertical-align: middle;
376
- max-width: 100%;
377
- background-color: transparent;
378
- }
379
-
380
- .speedometer-value {
381
- z-index: 5;
382
- top: 24px;
383
- position: absolute;
384
- margin-left: auto;
385
- margin-right: auto;
386
- left: 0;
387
- right: 0px;
388
- text-align: center;
389
- }
390
-
391
- span.speedometer-value-down {
392
- color: #000;
393
- font-size: 11px;
394
- font-weight: 300;
395
- font-stretch: normal;
396
- font-style: normal;
397
- line-height: normal;
398
- letter-spacing: -0.34px;
399
- text-align: center;
400
- margin-top: -1px;
401
- display: block;
402
- }
403
-
404
- .meter-needle.ui.image {
405
- width: 12px !important;
406
- position: absolute;
407
- bottom: 0;
408
- height: auto !important;
409
- }
410
-
411
- .score-details {
412
- width: 70%;
413
- float: left;
414
- }
415
-
416
- .score-description {
417
- font-family: 'Roboto';
418
- font-style: normal;
419
- font-weight: 400;
420
- font-size: 11.5px;
421
- line-height: 16px;
422
- color: #676767;
423
- }
424
-
425
- .de .score-description {
426
- font-size: 10px
427
- }
428
-
429
- .score-header {
430
- font-family: 'Frank Ruhl Libre';
431
- font-style: normal;
432
- font-weight: 700;
433
- font-size: 14px;
434
- line-height: 115%;
435
- color: #333333;
436
- margin-bottom: 7px
437
- }
438
-
439
- .closer-look-details {
440
- width: 53%;
441
- }
442
-
443
- /*predictions-section*/
444
- .predictions-section {
445
- float: left;
446
- width: 100%;
447
- }
448
-
449
- .predictions-title {
450
- font-family: 'Frank Ruhl Libre';
451
- font-weight: bold;
452
- font-size: 18.5px;
453
- color: #025450;
454
- margin-bottom: 7px;
455
- }
456
-
457
- .predictions-desc {
458
- font-family: 'Roboto';
459
- font-size: 13.3px;
460
- margin-bottom: 15px;
461
- }
462
-
463
- .predictions-body {
464
- float: left;
465
- width: 100%;
466
- position: relative;
467
- display: flex;
468
- }
469
-
470
- .prediction-component {
471
- width: 32.66%;
472
- float: left;
473
- margin-right: 1%;
474
- background: #fff;
475
- border-radius: 7px;
476
- box-shadow: 0px 1px 1px 1px rgb(0 0 0 / 4%);
477
- border-top: 6px solid rgba(36, 187, 96, 1);
478
- display: inline-flex;
479
- }
480
-
481
- .predictions-body .prediction-component.prediction-wrong {
482
- border-color: grey
483
- }
484
-
485
-
486
- .predictions-body .prediction-component:last-child {
487
- margin-right: 0;
488
- }
489
-
490
- .prediction-sub-image {
491
- width: 20.7%;
492
- text-align: center;
493
- float: left;
494
- margin-right: 14px;
495
- }
496
-
497
- .prediction-des-container {
498
- width: 72%;
499
- float: left;
500
- }
501
-
502
- .prediction-sub-result {
503
- padding: 8px 6px;
504
- box-sizing: border-box;
505
- font-family: 'Roboto';
506
- font-size: 10px;
507
- color: #025450;
508
- background: #CBE3BF;
509
- float: left;
510
- border-radius: 4px;
511
- }
512
-
513
- .prediction-component.prediction-wrong .prediction-sub-result {
514
- background: #E9E8D8
515
- }
516
-
517
- .prediction-component.prediction-wrong .prediction-sub-result img {
518
- display: none;
519
- }
520
-
521
- .prediction-sub-result img {
522
- width: 10px;
523
- margin-right: 6px;
524
- float: left;
525
- margin-top: 8px;
526
- }
527
-
528
- .prediction-sub-result div {
529
- float: left;
530
- width: 88%;
531
- }
532
-
533
- .prediction-container {
534
- padding: 12px 6px 9px 10px;
535
- width: 100%;
536
- box-sizing: border-box;
537
- float: left;
538
- }
539
-
540
- .prediction-sub-title {
541
- font-family: 'Roboto';
542
- color: #676767;
543
- font-size: 9.2px;
544
- margin-bottom: 3px;
545
- }
546
-
547
- .prediction-sub-desc {
548
- color: #025450;
549
- font-family: 'Frank Ruhl Libre';
550
- font-weight: bold;
551
- line-height: 1;
552
- font-size: 14px;
553
- margin-bottom: 4px;
554
- }
555
-
556
- /* Recommendations */
557
- .recommendations-section {
558
- float: left;
559
- width: 100%
560
- }
561
-
562
- .recommendations-title {
563
- color: rgba(2, 84, 80, 1);
564
- font-family: 'Frank Ruhl Libre';
565
- margin-top: 22px;
566
- font-weight: bold;
567
- font-size: 18.4px;
568
- margin-bottom: 10px;
569
- }
570
-
571
- .tips-section {
572
- display: flex;
573
- }
574
-
575
- .insight-container {
576
- width: 32.66%;
577
- float: left;
578
- margin-right: 1%;
579
- padding: 12px 11px;
580
- box-sizing: border-box;
581
- box-shadow: 0px 1px 2px 1px rgb(0 0 0 / 4%);
582
- background: #fff;
583
- border-radius: 5px;
584
- display: inline-flexn;
585
- }
586
-
587
-
588
- .tips-section .insight-container:last-child {
589
- margin-right: 0
590
- }
591
-
592
- .chunk-image {
593
- float: left;
594
- width: 55px;
595
- min-height: 59px;
596
- }
597
-
598
- .insight-container img {
599
- width: 46px
600
- }
601
-
602
- .tip-score-section {
603
- float: left;
604
- width: 72%;
605
- padding-left: 0%;
606
- box-sizing: border-box;
607
- }
608
-
609
- .top-tip-section {
610
- float: left;
611
- width: 100%;
612
- margin-bottom: 2px;
613
- }
614
-
615
- .tips-text {
616
- color: #676767;
617
- font-size: 10.5px;
618
- font-family: 'Roboto';
619
- width: 100%;
620
- float: left;
621
- line-height: 14px;
622
- }
623
-
624
- .de .tips-text {
625
- font-size: 10px;
626
- line-height: 13px;
627
- }
628
-
629
- .tip-title {
630
- color: #025450;
631
- font-family: 'Frank Ruhl Libre';
632
- font-size: 15px;
633
- font-weight: bold;
634
- margin-bottom: 8px;
635
- }
636
-
637
- .score-lines {
638
- width: 88%;
639
- float: left;
640
- clear: both;
641
- margin-bottom: 2px;
642
- }
643
-
644
- .score-line {
645
- width: 17%;
646
- height: 4px;
647
- float: left;
648
- margin-right: 5px;
649
- background: #b9b7b7;
650
- border-radius: 18px;
651
- }
652
-
653
- .score-lines .score-line:last-child {
654
- margin-right: 0
655
- }
656
-
657
- .score-sum {
658
- color: #025450;
659
- font-family: 'Roboto';
660
- font-size: 9px;
661
- display: block;
662
- float: left;
663
- }
664
-
665
- .score-lines .score-line.highlighted.highlight-red {
666
- background: #F58F90;
667
- }
668
-
669
- .insight-container .score-lines .score-line.highlight-blue {
670
- background: #80A9A7;
671
- }
672
-
673
- .insight-container .score-lines .score-line.highlight-green {
674
- background: #CCDDDC;
675
- }
676
-
677
- /*Footer*/
678
-
679
- .print-page-footer {
680
- width: 100%;
681
- float: left;
682
- margin-top: 20px;
683
- padding: 0;
684
- box-sizing: border-box;
685
- }
686
-
687
- .de .print-page-footer {
688
- margin-top: 10px
689
- }
690
-
691
- .footer-icon {
692
- width: 39px;
693
- float: left;
694
- margin-top: 9px
695
- }
696
-
697
- .footer-content {
698
- float: left;
699
- width: calc(100% - 43px);
700
- font-size: 8.5px;
701
- color: rgba(103, 103, 103, 1);
702
- font-family: 'Open Sans', sans-serif !important;
703
- font-weight: 400;
704
- font-style: italic;
705
- padding-left: 5px;
706
- box-sizing: border-box;
707
- line-height: 13px;
1
+ @font-face {
2
+ font-family: 'Roboto';
3
+ font-style: normal;
4
+ font-weight: 100;
5
+ src: url('../fonts/Roboto-Light.ttf');
6
+ }
7
+
8
+ @font-face {
9
+ font-family: 'Roboto';
10
+ font-style: normal;
11
+ font-weight: 400;
12
+ src: url('../fonts/Roboto-Regular.ttf');
13
+ }
14
+
15
+ @font-face {
16
+ font-family: 'Roboto';
17
+ font-style: normal;
18
+ font-weight: bold;
19
+ src: url('../fonts/Roboto-Bold.ttf');
20
+ }
21
+
22
+
23
+ @font-face {
24
+ font-family: 'FrankRuhlLibre';
25
+ font-style: normal;
26
+ font-weight: 100;
27
+ src: url('../fonts/FrankRuhlLibre-Regular.ttf')
28
+ }
29
+
30
+ @font-face {
31
+ font-family: 'FrankRuhlLibre';
32
+ font-style: normal;
33
+ font-weight: 300;
34
+ src: url('../fonts/FrankRuhlLibre-Regular.ttf')
35
+ }
36
+
37
+ @font-face {
38
+ font-family: 'Frank Ruhl Libre';
39
+ font-style: normal;
40
+ font-weight: 600;
41
+ src: url('../fonts/FrankRuhlLibre-Bold.ttf')
42
+ }
43
+
44
+ @font-face {
45
+ font-family: 'Frank Ruhl Libre';
46
+ font-style: normal;
47
+ font-weight: bold;
48
+ src: url('../fonts/FrankRuhlLibre-Bold.ttf')
49
+ }
50
+
51
+ body {
52
+ margin: 0;
53
+ padding: 0;
54
+ /* background: url('../images/A4.png');*/
55
+ background-repeat: no-repeat;
56
+ background-size: 211mm;
57
+ background-position: center top;
58
+ box-sizing: border-box;
59
+ width: 210mm;
60
+ height: 297mm;
61
+ MARGIN: AUTO;
62
+ font-family: 'Open Sans', sans-serif;
63
+ background-color: #f8f8f3;
64
+ }
65
+
66
+ html {
67
+ background: unset;
68
+ height: 100%;
69
+ scroll-behavior: smooth;
70
+ }
71
+
72
+ body {
73
+ position: relative;
74
+ font-family: 'Open Sans', sans-serif;
75
+ }
76
+
77
+ header {
78
+ min-height: 38px;
79
+ padding: 3.143em 3.571em 0;
80
+ }
81
+
82
+ .content {
83
+ width: 100%;
84
+ float: left;
85
+ margin-top: 29px;
86
+ padding: 0px 36px 0 27px;
87
+ box-sizing: border-box;
88
+ direction: ltr;
89
+ }
90
+
91
+ img {
92
+ width: 100%
93
+ }
94
+
95
+ /*Header*/
96
+ .report-header {
97
+ color: rgba(51, 51, 51, 1);
98
+ font-size: 23.5px;
99
+ margin-bottom: 20px;
100
+ letter-spacing: -0.9px;
101
+ display: inline-block;
102
+ margin-top: 0;
103
+ font-family: Open Sans;
104
+ line-height: 34px;
105
+ letter-spacing: -0.9px;
106
+ }
107
+
108
+ .report-logo {
109
+ display: inline-block;
110
+ float: left;
111
+ margin-right: 6px;
112
+ }
113
+
114
+ .report-logo img {
115
+ width: 84px;
116
+ display: inline-block;
117
+ margin-left: 6px;
118
+ }
119
+
120
+ .avatar-img {
121
+ width: 113px;
122
+ display: inline-block;
123
+ float: left;
124
+ margin-right: 10px;
125
+ }
126
+
127
+ .avata-info {
128
+ float: left;
129
+ margin-top: 30px;
130
+ width: 56%;
131
+ }
132
+
133
+ .avatar-title {
134
+ font-family: 'Roboto';
135
+ font-size: 17.5px;
136
+ }
137
+
138
+ .hero-title {
139
+ color: #005651;
140
+ font-family: 'Frank Ruhl Libre';
141
+ font-size: 16px;
142
+ }
143
+
144
+ .avatar-main-info {
145
+ float: left;
146
+ width: 39%;
147
+ }
148
+
149
+ .avatar-desc {
150
+ width: 61%;
151
+ float: left;
152
+ font-family: 'Roboto';
153
+ font-size: 12px;
154
+ line-height: 14px;
155
+ margin-top: -5px;
156
+ color: rgba(2, 84, 80, 1);
157
+ padding-left: 2%;
158
+ box-sizing: border-box;
159
+ }
160
+
161
+ .avatar-desc p:first-child {
162
+ margin-bottom: 12px;
163
+ display: block
164
+ }
165
+
166
+ .super-power-section {
167
+ float: left;
168
+ width: 100%;
169
+ margin-top: 12px;
170
+ }
171
+
172
+ .single-super-power {
173
+ float: left;
174
+ width: 28.5%;
175
+ }
176
+
177
+ .avatar-td-1 {
178
+ font-size: 11px;
179
+ float: left;
180
+ width: 63%;
181
+ color: #3B3B3B;
182
+ }
183
+
184
+ .de .avatar-td-1 {
185
+ font-size: 10px;
186
+ }
187
+
188
+ .avarat-td-img {
189
+ float: left;
190
+ margin-right: 14px;
191
+ width: 30px;
192
+ }
193
+
194
+ .avarat-td-img img {
195
+ margin-top: 11px;
196
+ }
197
+
198
+ .super-power-section .single-super-power:nth-child(2) {
199
+ width: 37%;
200
+ }
201
+
202
+ .super-power-section .single-super-power:nth-child(3) .avatar-td-1 {
203
+ width: 78%
204
+ }
205
+
206
+ .avatar-td-1 strong {
207
+ font-size: 15px;
208
+ display: inline-block;
209
+ padding-bottom: 3px;
210
+ color: #025450;
211
+ }
212
+
213
+ /*personal details*/
214
+ .first-section-scores {
215
+ margin-top: 12px;
216
+ float: left;
217
+ }
218
+
219
+ .pdf-container {
220
+ margin-left: auto !important;
221
+ margin-right: auto !important;
222
+ }
223
+
224
+ .closer-look-container {
225
+ padding: 0px;
226
+ }
227
+
228
+ .closer-look-body {
229
+ overflow: hidden;
230
+ padding: 0px;
231
+ }
232
+
233
+ .closer-look-left {
234
+ width: 28%;
235
+ }
236
+
237
+ .closer-look-left .closer-loook-part:nth-child(2) .closer-look-table-img,
238
+ .closer-look-left .closer-loook-part:last-child .closer-look-table-img {
239
+ vertical-align: top;
240
+ }
241
+
242
+ .closer-look-right {
243
+ width: 53.3%;
244
+ }
245
+
246
+ .closer-look-middle {
247
+ width: 18.7%;
248
+ margin-top: 18px;
249
+ background: url(../images/middle_arrows_image.png);
250
+ background-repeat: no-repeat;
251
+ background-size: cover;
252
+ box-sizing: border-box;
253
+ height: 229px;
254
+ border-right: 8px solid #f8f8f3;
255
+ }
256
+
257
+ .closer-look-middle img {
258
+ width: 100%;
259
+ display: none;
260
+ }
261
+
262
+ .closer-look-title {
263
+ font-family: 'Frank Ruhl Libre';
264
+ font-style: normal;
265
+ font-weight: 700;
266
+ font-size: 18.3px;
267
+ line-height: 25px;
268
+ color: #025450;
269
+ margin-bottom: 20px;
270
+ }
271
+
272
+ .closer-look-table-img, .closer-look-details {
273
+ display: inline-block;
274
+ }
275
+
276
+ .closer-look-details h2 {
277
+ font-family: 'Frank Ruhl Libre';
278
+ font-style: normal;
279
+ font-weight: 700;
280
+ font-size: 15px;
281
+ color: #000000;
282
+ margin: 0;
283
+ }
284
+
285
+ .closer-look-example {
286
+ font-family: 'Roboto';
287
+ font-style: normal;
288
+ font-weight: 400;
289
+ font-size: 11px;
290
+ line-height: 17px;
291
+ color: #676767;
292
+ }
293
+
294
+ .de .closer-look-example {
295
+ font-size: 10px;
296
+ }
297
+
298
+ .closer-look-table-img {
299
+ width: 59px;
300
+ margin-right: 16px;
301
+ vertical-align: middle;
302
+ }
303
+
304
+ .closer-look-table-img img {
305
+ width: 100%
306
+ }
307
+
308
+ .closer-loook-part {
309
+ margin-bottom: 18px;
310
+ }
311
+
312
+ .closer-look-left, .closer-look-middle, .closer-look-right {
313
+ float: left;
314
+ }
315
+
316
+ .sanusx-score-section .meter-body {
317
+ overflow: hidden;
318
+ padding: 17px 15px 10px 15px;
319
+ background: #FFFFFF;
320
+ box-shadow: 0px 1px 2px 1px rgb(0 0 0 / 4%);
321
+ border-radius: 8px;
322
+ margin: 19px 0px 0px 0px;
323
+ box-sizing: border-box
324
+ }
325
+
326
+ .sanusx-score-section .meter-body:last-child {
327
+ margin-top: 11px;
328
+ }
329
+
330
+ .speedometer-container svg {
331
+ width: 118%;
332
+ margin-top: -22px;
333
+ overflow: visible;
334
+ }
335
+
336
+ .speedometer-container img {
337
+ width: 100%;
338
+ }
339
+
340
+ .score-circle {
341
+ width: 23%;
342
+ float: left;
343
+ box-sizing: border-box;
344
+ margin-right: 5%;
345
+ }
346
+
347
+ .speedometer-circle {
348
+ position: relative
349
+ }
350
+
351
+ .speedometer-container {
352
+ text-align: center;
353
+ display: inline-block;
354
+ width: 100%;
355
+ position: relative;
356
+ }
357
+
358
+ .needle-container {
359
+ position: absolute;
360
+ right: 0;
361
+ top: 13px;
362
+ left: 0;
363
+ height: 60px;
364
+ width: 65px;
365
+ margin-left: 8px;
366
+ margin-right: 10px;
367
+ margin-top: 0;
368
+ }
369
+
370
+ .needle-container img {
371
+ width: 18px;
372
+ position: absolute;
373
+ bottom: 0;
374
+ display: block;
375
+ vertical-align: middle;
376
+ max-width: 100%;
377
+ background-color: transparent;
378
+ }
379
+
380
+ .speedometer-value {
381
+ z-index: 5;
382
+ top: 24px;
383
+ position: absolute;
384
+ margin-left: auto;
385
+ margin-right: auto;
386
+ left: 0;
387
+ right: 0px;
388
+ text-align: center;
389
+ }
390
+
391
+ span.speedometer-value-down {
392
+ color: #000;
393
+ font-size: 11px;
394
+ font-weight: 300;
395
+ font-stretch: normal;
396
+ font-style: normal;
397
+ line-height: normal;
398
+ letter-spacing: -0.34px;
399
+ text-align: center;
400
+ margin-top: -1px;
401
+ display: block;
402
+ }
403
+
404
+ .meter-needle.ui.image {
405
+ width: 12px !important;
406
+ position: absolute;
407
+ bottom: 0;
408
+ height: auto !important;
409
+ }
410
+
411
+ .score-details {
412
+ width: 70%;
413
+ float: left;
414
+ }
415
+
416
+ .score-description {
417
+ font-family: 'Roboto';
418
+ font-style: normal;
419
+ font-weight: 400;
420
+ font-size: 11.5px;
421
+ line-height: 16px;
422
+ color: #676767;
423
+ }
424
+
425
+ .de .score-description {
426
+ font-size: 10px
427
+ }
428
+
429
+ .score-header {
430
+ font-family: 'Frank Ruhl Libre';
431
+ font-style: normal;
432
+ font-weight: 700;
433
+ font-size: 14px;
434
+ line-height: 115%;
435
+ color: #333333;
436
+ margin-bottom: 7px
437
+ }
438
+
439
+ .closer-look-details {
440
+ width: 53%;
441
+ }
442
+
443
+ /*predictions-section*/
444
+ .predictions-section {
445
+ float: left;
446
+ width: 100%;
447
+ }
448
+
449
+ .predictions-title {
450
+ font-family: 'Frank Ruhl Libre';
451
+ font-weight: bold;
452
+ font-size: 18.5px;
453
+ color: #025450;
454
+ margin-bottom: 7px;
455
+ }
456
+
457
+ .predictions-desc {
458
+ font-family: 'Roboto';
459
+ font-size: 13.3px;
460
+ margin-bottom: 15px;
461
+ }
462
+
463
+ .predictions-body {
464
+ float: left;
465
+ width: 100%;
466
+ position: relative;
467
+ display: flex;
468
+ }
469
+
470
+ .prediction-component {
471
+ width: 32.66%;
472
+ float: left;
473
+ margin-right: 1%;
474
+ background: #fff;
475
+ border-radius: 7px;
476
+ box-shadow: 0px 1px 1px 1px rgb(0 0 0 / 4%);
477
+ border-top: 6px solid rgba(36, 187, 96, 1);
478
+ display: inline-flex;
479
+ }
480
+
481
+ .predictions-body .prediction-component.prediction-wrong {
482
+ border-color: grey
483
+ }
484
+
485
+
486
+ .predictions-body .prediction-component:last-child {
487
+ margin-right: 0;
488
+ }
489
+
490
+ .prediction-sub-image {
491
+ width: 20.7%;
492
+ text-align: center;
493
+ float: left;
494
+ margin-right: 14px;
495
+ }
496
+
497
+ .prediction-des-container {
498
+ width: 72%;
499
+ float: left;
500
+ }
501
+
502
+ .prediction-sub-result {
503
+ padding: 8px 6px;
504
+ box-sizing: border-box;
505
+ font-family: 'Roboto';
506
+ font-size: 10px;
507
+ color: #025450;
508
+ background: #CBE3BF;
509
+ float: left;
510
+ border-radius: 4px;
511
+ }
512
+
513
+ .prediction-component.prediction-wrong .prediction-sub-result {
514
+ background: #E9E8D8
515
+ }
516
+
517
+ .prediction-component.prediction-wrong .prediction-sub-result img {
518
+ display: none;
519
+ }
520
+
521
+ .prediction-sub-result img {
522
+ width: 10px;
523
+ margin-right: 6px;
524
+ float: left;
525
+ margin-top: 8px;
526
+ }
527
+
528
+ .prediction-sub-result div {
529
+ float: left;
530
+ width: 88%;
531
+ }
532
+
533
+ .prediction-container {
534
+ padding: 12px 6px 9px 10px;
535
+ width: 100%;
536
+ box-sizing: border-box;
537
+ float: left;
538
+ }
539
+
540
+ .prediction-sub-title {
541
+ font-family: 'Roboto';
542
+ color: #676767;
543
+ font-size: 9.2px;
544
+ margin-bottom: 3px;
545
+ }
546
+
547
+ .prediction-sub-desc {
548
+ color: #025450;
549
+ font-family: 'Frank Ruhl Libre';
550
+ font-weight: bold;
551
+ line-height: 1;
552
+ font-size: 14px;
553
+ margin-bottom: 4px;
554
+ }
555
+
556
+ /* Recommendations */
557
+ .recommendations-section {
558
+ float: left;
559
+ width: 100%
560
+ }
561
+
562
+ .recommendations-title {
563
+ color: rgba(2, 84, 80, 1);
564
+ font-family: 'Frank Ruhl Libre';
565
+ margin-top: 22px;
566
+ font-weight: bold;
567
+ font-size: 18.4px;
568
+ margin-bottom: 10px;
569
+ }
570
+
571
+ .tips-section {
572
+ display: flex;
573
+ }
574
+
575
+ .insight-container {
576
+ width: 32.66%;
577
+ float: left;
578
+ margin-right: 1%;
579
+ padding: 12px 11px;
580
+ box-sizing: border-box;
581
+ box-shadow: 0px 1px 2px 1px rgb(0 0 0 / 4%);
582
+ background: #fff;
583
+ border-radius: 5px;
584
+ display: inline-flexn;
585
+ }
586
+
587
+
588
+ .tips-section .insight-container:last-child {
589
+ margin-right: 0
590
+ }
591
+
592
+ .chunk-image {
593
+ float: left;
594
+ width: 55px;
595
+ min-height: 59px;
596
+ }
597
+
598
+ .insight-container img {
599
+ width: 46px
600
+ }
601
+
602
+ .tip-score-section {
603
+ float: left;
604
+ width: 72%;
605
+ padding-left: 0%;
606
+ box-sizing: border-box;
607
+ }
608
+
609
+ .top-tip-section {
610
+ float: left;
611
+ width: 100%;
612
+ margin-bottom: 2px;
613
+ }
614
+
615
+ .tips-text {
616
+ color: #676767;
617
+ font-size: 10.5px;
618
+ font-family: 'Roboto';
619
+ width: 100%;
620
+ float: left;
621
+ line-height: 14px;
622
+ }
623
+
624
+ .de .tips-text {
625
+ font-size: 10px;
626
+ line-height: 13px;
627
+ }
628
+
629
+ .tip-title {
630
+ color: #025450;
631
+ font-family: 'Frank Ruhl Libre';
632
+ font-size: 15px;
633
+ font-weight: bold;
634
+ margin-bottom: 8px;
635
+ }
636
+
637
+ .score-lines {
638
+ width: 88%;
639
+ float: left;
640
+ clear: both;
641
+ margin-bottom: 2px;
642
+ }
643
+
644
+ .score-line {
645
+ width: 17%;
646
+ height: 4px;
647
+ float: left;
648
+ margin-right: 5px;
649
+ background: #b9b7b7;
650
+ border-radius: 18px;
651
+ }
652
+
653
+ .score-lines .score-line:last-child {
654
+ margin-right: 0
655
+ }
656
+
657
+ .score-sum {
658
+ color: #025450;
659
+ font-family: 'Roboto';
660
+ font-size: 9px;
661
+ display: block;
662
+ float: left;
663
+ }
664
+
665
+ .score-lines .score-line.highlighted.highlight-red {
666
+ background: #F58F90;
667
+ }
668
+
669
+ .insight-container .score-lines .score-line.highlight-blue {
670
+ background: #80A9A7;
671
+ }
672
+
673
+ .insight-container .score-lines .score-line.highlight-green {
674
+ background: #CCDDDC;
675
+ }
676
+
677
+ /*Footer*/
678
+
679
+ .print-page-footer {
680
+ width: 100%;
681
+ float: left;
682
+ margin-top: 20px;
683
+ padding: 0;
684
+ box-sizing: border-box;
685
+ }
686
+
687
+ .de .print-page-footer {
688
+ margin-top: 10px
689
+ }
690
+
691
+ .footer-icon {
692
+ width: 39px;
693
+ float: left;
694
+ margin-top: 9px
695
+ }
696
+
697
+ .footer-content {
698
+ float: left;
699
+ width: calc(100% - 43px);
700
+ font-size: 8.5px;
701
+ color: rgba(103, 103, 103, 1);
702
+ font-family: 'Open Sans', sans-serif !important;
703
+ font-weight: 400;
704
+ font-style: italic;
705
+ padding-left: 5px;
706
+ box-sizing: border-box;
707
+ line-height: 13px;
708
708
  }