Skip to content

Commit

Permalink
Merge pull request #41 from sprain/adjust-html-output
Browse files Browse the repository at this point in the history
Improve HtmlOutput css styles
  • Loading branch information
sprain authored Apr 25, 2020
2 parents 302af43 + 72bd491 commit 54a1b9f
Show file tree
Hide file tree
Showing 18 changed files with 104 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ class PaymentPartTemplate
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}
#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}
#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ class PrintableStylesTemplate
{
public const TEMPLATE = <<<EOT
#qr-bill-separate-info {
border-bottom: 0;
}
#qr-bill-separate-info-text {
display: none;
}
Expand Down
5 changes: 4 additions & 1 deletion tests/TestData/HtmlOutput/qr-additional-information.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down Expand Up @@ -159,6 +162,10 @@
}

#qr-bill-separate-info {
border-bottom: 0;
}

#qr-bill-separate-info-text {
display: none;
}

Expand Down
5 changes: 4 additions & 1 deletion tests/TestData/HtmlOutput/qr-alternative-schemes.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down
9 changes: 8 additions & 1 deletion tests/TestData/HtmlOutput/qr-alternative-schemes.print.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down Expand Up @@ -159,6 +162,10 @@
}

#qr-bill-separate-info {
border-bottom: 0;
}

#qr-bill-separate-info-text {
display: none;
}

Expand Down
5 changes: 4 additions & 1 deletion tests/TestData/HtmlOutput/qr-full-set.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down
9 changes: 8 additions & 1 deletion tests/TestData/HtmlOutput/qr-full-set.print.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down Expand Up @@ -159,6 +162,10 @@
}

#qr-bill-separate-info {
border-bottom: 0;
}

#qr-bill-separate-info-text {
display: none;
}

Expand Down
5 changes: 4 additions & 1 deletion tests/TestData/HtmlOutput/qr-minimal-setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down
9 changes: 8 additions & 1 deletion tests/TestData/HtmlOutput/qr-minimal-setup.print.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down Expand Up @@ -159,6 +162,10 @@
}

#qr-bill-separate-info {
border-bottom: 0;
}

#qr-bill-separate-info-text {
display: none;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down Expand Up @@ -159,6 +162,10 @@
}

#qr-bill-separate-info {
border-bottom: 0;
}

#qr-bill-separate-info-text {
display: none;
}

Expand Down
5 changes: 4 additions & 1 deletion tests/TestData/HtmlOutput/qr-payment-reference-non.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down Expand Up @@ -159,6 +162,10 @@
}

#qr-bill-separate-info {
border-bottom: 0;
}

#qr-bill-separate-info-text {
display: none;
}

Expand Down
5 changes: 4 additions & 1 deletion tests/TestData/HtmlOutput/qr-payment-reference-scor.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down Expand Up @@ -159,6 +162,10 @@
}

#qr-bill-separate-info {
border-bottom: 0;
}

#qr-bill-separate-info-text {
display: none;
}

Expand Down
5 changes: 4 additions & 1 deletion tests/TestData/HtmlOutput/qr-ultimate-debtor.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down
9 changes: 8 additions & 1 deletion tests/TestData/HtmlOutput/qr-ultimate-debtor.print.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
box-sizing: border-box;
width: 210mm;
height: 105mm;
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
border-collapse: collapse;
color: #000;
}

#qr-bill * {
font-family: Arial, Frutiger, Helvetica, "Liberation Sans";
}

#qr-bill img.qr-bill-placeholder {
margin-top: 1pt;
}
Expand Down Expand Up @@ -159,6 +162,10 @@
}

#qr-bill-separate-info {
border-bottom: 0;
}

#qr-bill-separate-info-text {
display: none;
}

Expand Down

0 comments on commit 54a1b9f

Please sign in to comment.