Fix for Playful design

This commit is contained in:
Hillel Coren 2018-03-05 11:53:18 +02:00
parent 2c1ffd9da1
commit 76e30824ac

View File

@ -9,13 +9,13 @@
{"canvas": [{ "type": "rect", "x": 0, "y": 0, "w": 190, "h": "$invoiceDetailsHeight","r":5, "lineWidth": 1,"color":"$primaryColor:#009d91"}],"width":10,"margin":[200,0,0,0]}, {"canvas": [{ "type": "rect", "x": 0, "y": 0, "w": 190, "h": "$invoiceDetailsHeight","r":5, "lineWidth": 1,"color":"$primaryColor:#009d91"}],"width":10,"margin":[200,0,0,0]},
{ {
"width":400, "width":400,
"table": { "table": {
"body": "$invoiceDetails" "body": "$invoiceDetails"
}, },
"layout": "noBorders", "layout": "noBorders",
"margin": [210, 10, 10, 0] "margin": [210, 10, 10, 0]
} }
] ]
}, },
{ {
"margin": [0, 18, 0, 0], "margin": [0, 18, 0, 0],
@ -43,8 +43,8 @@
}, },
{"columns":[ {"columns":[
"$accountDetails", "$accountDetails",
"$accountAddress" "$accountAddress"
], "columnGap": 4}, ], "columnGap": 4},
{"canvas": [{ "type": "line", "x1": 0, "y1": 9, "x2": 250, "y2": 9, "lineWidth": 1,"dash": { "length": 3 },"lineColor":"$primaryColor:#009d91"}]} {"canvas": [{ "type": "line", "x1": 0, "y1": 9, "x2": 250, "y2": 9, "lineWidth": 1,"dash": { "length": 3 },"lineColor":"$primaryColor:#009d91"}]}
] ]
} }
@ -62,12 +62,12 @@
"hLineWidth": "$notFirst:.5", "hLineWidth": "$notFirst:.5",
"vLineWidth": "$none", "vLineWidth": "$none",
"hLineColor": "$primaryColor:#009d91", "hLineColor": "$primaryColor:#009d91",
"paddingLeft": "$amount:8", "paddingLeft": "$amount:8",
"paddingRight": "$amount:8", "paddingRight": "$amount:8",
"paddingTop": "$amount:8", "paddingTop": "$amount:8",
"paddingBottom": "$amount:8" "paddingBottom": "$amount:8"
} }
}, },
{ {
"columns": [ "columns": [
"$notesAndTerms", "$notesAndTerms",
@ -92,9 +92,9 @@
"canvas": [ "canvas": [
{ {
"type": "rect", "type": "rect",
"x": 76, "x": 50,
"y": 20, "y": 20,
"w": 182, "w": 208,
"h": 30, "h": 30,
"r": 4, "r": 4,
"lineWidth": 1, "lineWidth": 1,
@ -105,7 +105,7 @@
{ {
"style": "subtotalsBalance", "style": "subtotalsBalance",
"table": { "table": {
"widths": ["*", "35%"], "widths": ["*", "50%"],
"body": "$subtotalsBalance" "body": "$subtotalsBalance"
}, },
"layout": { "layout": {
@ -120,7 +120,7 @@
] ]
} }
] ]
}, },
{ {
"stack": [ "stack": [
{ {
@ -149,7 +149,7 @@
], ],
"style": "invoiceDocuments" "style": "invoiceDocuments"
} }
], ],
"footer": [ "footer": [
{"canvas": [{ "type": "line", "x1": 0, "y1": 38, "x2": 68, "y2": 38, "lineWidth": 6,"lineColor":"#009d91"}]}, {"canvas": [{ "type": "line", "x1": 0, "y1": 38, "x2": 68, "y2": 38, "lineWidth": 6,"lineColor":"#009d91"}]},
{"canvas": [{ "type": "line", "x1": 68, "y1": 0, "x2": 135, "y2": 0, "lineWidth": 6,"lineColor":"#1d766f"}]}, {"canvas": [{ "type": "line", "x1": 68, "y1": 0, "x2": 135, "y2": 0, "lineWidth": 6,"lineColor":"#1d766f"}]},
@ -225,7 +225,7 @@
}, },
"lineTotalTableHeader": { "lineTotalTableHeader": {
"alignment": "right" "alignment": "right"
}, },
"subtotalsBalanceDueLabel": { "subtotalsBalanceDueLabel": {
"fontSize": "$fontSizeLargest", "fontSize": "$fontSizeLargest",
"color":"#FFFFFF", "color":"#FFFFFF",
@ -269,11 +269,11 @@
}, },
"subtotals": { "subtotals": {
"alignment": "right" "alignment": "right"
}, },
"subtotalsBalance": { "subtotalsBalance": {
"alignment": "right", "alignment": "right",
"margin": [0, -25, 0, 0] "margin": [0, -25, 0, 0]
}, },
"termsLabel": { "termsLabel": {
"bold": true, "bold": true,
"margin": [0, 0, 0, 4] "margin": [0, 0, 0, 4]