Printing: Replace WinziPrint with iText
Some checks failed
Test / Run tests (push) Has been cancelled

This commit is contained in:
2026-02-18 23:00:21 +01:00
parent 751246537e
commit 4bd68eb16b
17 changed files with 341 additions and 234 deletions

View File

@@ -1,19 +1,4 @@
.m1, .m2, .m3 {
height: 0;
width: 10mm;
position: fixed;
left: -25mm;
border-top: var(--border-thickness) solid black;
}
.m1.r, .m2.r, .m3.r {
left: initial;
right: -20mm;
}
.m1 {top: 80mm;}
.m2 {top: 123.5mm;}
.m3 {top: 185mm;}
.page-break {
break-before: page;
}
@@ -23,15 +8,15 @@ hr.page-break {
@page {
size: A4;
margin: 25mm 20mm 35mm 25mm;
margin: 25mm 20mm 25mm 25mm;
}
@bottom-center {
content: element(page-footer);
}
@page :first {
margin: 25mm 20mm 35mm 25mm;
}
@media screen {
body, header, .footer-wrapper {
body, header {
width: 210mm;
}
@@ -39,10 +24,6 @@ hr.page-break {
border: 1px solid lightgray;
}
.m1, .m2, .m3 {
display: none;
}
header {
top: 0;
}
@@ -54,23 +35,9 @@ hr.page-break {
.main-wrapper {
margin: 0 20mm 40mm 25mm;
}
.footer-wrapper {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: white;
}
}
@media print {
.page::after {
content: "Seite " counter(page) " von " counter(pages) !important;
}
a {
text-decoration: inherit;
color: inherit;
}
a {
text-decoration: inherit;
color: inherit;
}