Skip to content

Commit

Permalink
Improve css in HtmlOutput to define font for all child elements
Browse files Browse the repository at this point in the history
This may be relevant if other css on the same page is present which may have a higher specificity otherwise.
  • Loading branch information
sprain committed Apr 25, 2020
1 parent 2c8fba1 commit 72bd491
Show file tree
Hide file tree
Showing 17 changed files with 68 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
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
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
5 changes: 4 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
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
5 changes: 4 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
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
5 changes: 4 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
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
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
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
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
5 changes: 4 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

0 comments on commit 72bd491

Please sign in to comment.