diff --git a/dist/components/PDF.scss b/dist/components/PDF.scss index 0520352d..1aaa3cf8 100644 --- a/dist/components/PDF.scss +++ b/dist/components/PDF.scss @@ -7,6 +7,7 @@ $font-size-h2: 24px; $font-size-h2-small: 16px; $font-size-h3: 19px; $font-size-h4: 17px; +$font-size-h5: 16px; $font-size-table-header: 15px; $font-size-table-data: 16px; $font-size-checkbox: 20px; @@ -25,6 +26,8 @@ $margin-top-h3: 15px; $margin-bottom-h3: 4px; $margin-top-h4: 15px; $margin-bottom-h4: 6px; +$margin-top-h5: 12px; +$margin-bottom-h5: 2px; $margin-top-paragraph: 3px; $margin-bottom-paragraph: 12px; $margin-top-list: 3px; @@ -183,6 +186,15 @@ body { } } + h5, + .h5 { + page-break-after: avoid; + font-size: $font-size-h5; + font-weight: bold; + margin-top: $margin-top-h5; + margin-bottom: $margin-bottom-h5; + } + p { margin-top: $margin-top-paragraph; margin-bottom: $margin-bottom-paragraph; @@ -399,14 +411,16 @@ body { float: right; margin-left: calc($heading-logo-margin-left * $scaling-for-signed-documents); } - h1 { + h1, + .h1 { font-size: calc($font-size-h1 * $scaling-for-signed-documents); margin-top: calc($margin-top-h1 * $scaling-for-signed-documents); small { font-size: calc($font-size-h1-small * $scaling-for-signed-documents); } } - h2 { + h2, + .h2 { font-size: calc($font-size-h2 * $scaling-for-signed-documents); margin-top: calc($margin-top-h2 * $scaling-for-signed-documents); margin-bottom: calc($margin-bottom-h2 * $scaling-for-signed-documents); @@ -415,11 +429,24 @@ body { margin-bottom: calc($margin-bottom-h2-small * $scaling-for-signed-documents); } } - h3 { + h3, + .h3 { font-size: calc($font-size-h3 * $scaling-for-signed-documents); margin-top: calc($margin-top-h3 * $scaling-for-signed-documents); margin-bottom: calc($margin-bottom-h3 * $scaling-for-signed-documents); } + h4, + .h4 { + font-size: calc($font-size-h4 * $scaling-for-signed-documents); + margin-top: calc($margin-top-h4 * $scaling-for-signed-documents); + margin-bottom: calc($margin-bottom-h4 * $scaling-for-signed-documents); + } + h5, + .h5 { + font-size: calc($font-size-h5 * $scaling-for-signed-documents); + margin-top: calc($margin-top-h5 * $scaling-for-signed-documents); + margin-bottom: calc($margin-bottom-h5 * $scaling-for-signed-documents); + } p { margin-top: calc($margin-top-paragraph * $scaling-for-signed-documents); margin-bottom: calc($margin-bottom-paragraph * $scaling-for-signed-documents); diff --git a/dist/style/pdf.css b/dist/style/pdf.css index e6f15514..041b5a03 100644 --- a/dist/style/pdf.css +++ b/dist/style/pdf.css @@ -131,6 +131,14 @@ body { .page .h4 + p { margin-top: 0; } +.page h5, +.page .h5 { + page-break-after: avoid; + font-size: 16px; + font-weight: bold; + margin-top: 12px; + margin-bottom: 2px; +} .page p { margin-top: 3px; margin-bottom: 12px; @@ -309,27 +317,44 @@ body { float: right; margin-left: 16.6203px; } -.page.signed-document div.content-container h1 { +.page.signed-document div.content-container h1, +.page.signed-document div.content-container .h1 { font-size: 37.67268px; margin-top: 5.5401px; } -.page.signed-document div.content-container h1 small { +.page.signed-document div.content-container h1 small, +.page.signed-document div.content-container .h1 small { font-size: 19.94436px; } -.page.signed-document div.content-container h2 { +.page.signed-document div.content-container h2, +.page.signed-document div.content-container .h2 { font-size: 26.59248px; margin-top: 24.37644px; margin-bottom: 2.21604px; } -.page.signed-document div.content-container h2 small { +.page.signed-document div.content-container h2 small, +.page.signed-document div.content-container .h2 small { font-size: 17.72832px; margin-bottom: 6.64812px; } -.page.signed-document div.content-container h3 { +.page.signed-document div.content-container h3, +.page.signed-document div.content-container .h3 { font-size: 21.05238px; margin-top: 16.6203px; margin-bottom: 4.43208px; } +.page.signed-document div.content-container h4, +.page.signed-document div.content-container .h4 { + font-size: 18.83634px; + margin-top: 16.6203px; + margin-bottom: 6.64812px; +} +.page.signed-document div.content-container h5, +.page.signed-document div.content-container .h5 { + font-size: 17.72832px; + margin-top: 13.29624px; + margin-bottom: 2.21604px; +} .page.signed-document div.content-container p { margin-top: 3.32406px; margin-bottom: 13.29624px; diff --git a/dist/style/pdf.css.map b/dist/style/pdf.css.map index f907b346..0ceb53d4 100644 --- a/dist/style/pdf.css.map +++ b/dist/style/pdf.css.map @@ -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":"AAqDA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA,WA1Da;EA2Db;EACA;EACA;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,WA3Ea;;;AA6EjB;EACI;EACA;EACA;EACA;EACA;;AAGJ;EACI;AAAA;IAEI;;EAEJ;IACI;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;AAIR;ECvGE,oBDwGsB;ECvGnB,iBDuGmB;ECtGd,YDsGc;;;AAIpB;EACI;;AAGJ;EACI;;AACA;EACI;;AAIR;EACI,OAzGa;EA0Gb;EACA,aA1GmB;;AA6GvB;AAAA;EAEI;EACA,WA9HO;EA+HP;EACA;EACA,YAjHQ;EAkHR;;AACA;AAAA;EACI;EACA,WApIS;EAqIT;;AAGR;AAAA;EAEI;EACA,WA1IO;EA2IP;EACA;EACA,YA9HQ;EA+HR,eA9HW;;AA+HX;AAAA;EACI;EACA,WAhJS;EAiJT;EACA,eAlIa;;AAoIjB;AAAA;EACI;;AAGR;AAAA;EAEI;EACA,WA1JO;EA2JP;EACA;EACA;EACA,YA9IQ;EA+IR,eA9IW;;AA+IX;AAAA;EACI;;AAIR;AAAA;EAEI;EACA,WAvKO;EAwKP;EACA;EACA,YAzJQ;EA0JR,eAzJW;;AA0JX;AAAA;EACI;;AAIR;EACI,YA/Je;EAgKf,eA/JkB;;AAkKtB;EACI,YAlKU;EAmKV,eAlKa;;AAmKb;AAAA;EAEI;EACA;;AAEJ;EACI;;AAGA;EACI;EACA;EACA;;AAGR;EACI;EACA;EACA;;AACA;EACI;;AAEJ;EACI;EACA;;AAIJ;EACI;;AACA;EACI;EACA;;AAEJ;EACI;EACA;;AAGR;EACI;;AAIZ;EACI;EACA;;AAEI;EACI;EACA;;AACA;EACI;EACA,WA7OK;EA8OL;;AACA;EACI;;AAMZ;EACI;;AACA;EACI;EACA,WAzPG;;AA0PH;EACI;;AAIJ;EACI;;AAOR;EACI;EACA;;AACA;EACI,aArOkB;EAsOlB,gBAtOkB;;AA2O1B;EACI;;AACA;EACI,aA7OgB;EA8OhB,gBA9OgB;;AAqPpC;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAKA;AAAA;EACI;;AAIR;EACI,YE9SQ;EF+SR;EACA;EACA;EACA,YA1RgB;;AA6RpB;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAEJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;;AAGJ;EACI;EACA;EACA,YAvUwB;;AAwUxB;EACI,eAxUuB;;AA4U/B;EACI;EACA;EACA,QA3WU;EA4WV,OA3WS;EA4WT;EACA;EACA;EACA;EACA,WAnXa;EAoXb;EACA;;;AAKR;EACI;EACA;EACA;EACA;EACA;;AAEI;EACI;EACA;EACA;;AAEJ;EACI;EACA;;AACA;EACI;;AAGR;EACI;EACA;EACA;;AACA;EACI;EACA;;AAGR;EACI;EACA;EACA;;AAEJ;EACI;EACA;;AAEJ;EACI;EACA;;AACA;AAAA;EAEI;;AAGA;EACI;;AAEJ;EACI;;AAKR;EACI;;AACA;EACI;EACA;;AAEA;EACI;;AAIZ;EACI;;AACA;EACI;EACA;;AAEA;EACI;;AAKR;EACI;EACA;;AAEJ;EACI;EACA;;AAOR;AAAA;EACI;;AAIR;EACI,YEzdI;EF0dJ;EACA;EAEA;EACA;;AAGJ;EACI;;AACA;EACI;;AAEJ;EACI;EACA;EACA;EACA;EACA;;;AAKhB;EACI;IACI;IACA","file":"pdf.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../../src/stories/PDF.scss","../../src/style/abstracts/mixins/_box-sizing.scss","../../src/style/abstracts/variables/_colors.scss"],"names":[],"mappings":"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","file":"pdf.css"} \ No newline at end of file