X-Git-Url: http://git.plutz.net/?p=invoices;a=blobdiff_plain;f=invoices.css;fp=invoices.css;h=482984d8857804a43c8751115c354be3c36fe8db;hp=8892892180f68983eeecc334340634e9711fb4ea;hb=c9bb4a41908f01e2e9698d17cf1027255b53a47b;hpb=c0c32950d91b409f0ada82a21e6702ad980bd565 diff --git a/invoices.css b/invoices.css index 8892892..482984d 100755 --- a/invoices.css +++ b/invoices.css @@ -88,6 +88,7 @@ form input { padding: .125em .5em; background-color: #FFF; text-align: left; + font-size: 12pt; } form input[type=number] { width: 5em; @@ -142,6 +143,10 @@ form input[type=number] { line-height: 2em; } +.invoice form input#date { + margin-right: .25em; +} + .invoice form label::before { white-space: pre; content: '\0A'; @@ -168,3 +173,31 @@ form input[type=number] { .invoice form input:checked + label[for^=vat]::before { content: '(x) '; } + +.invoice form table { + width: 30em; + margin-top: 1em; + border-spacing: 0; +} +.invoice form table tr > th { + text-align: left; + padding-left: .5em; + font-weight: bold; +} +.invoice form table tr > th:nth-child(3), +.invoice form table tr > td:nth-child(4), +.invoice form table tr > th:nth-child(4) { + text-align: right; +} +.invoice form table tr > :nth-child(1) { width: 6em; } +.invoice form table tr > :nth-child(2) { width: 12em; } +.invoice form table tr > :nth-child(3) { width: 6em; } +.invoice form table tr > :nth-child(4) { width: 6em; } +.invoice form table tr > * textarea, +.invoice form table tr > * input[type=number], +.invoice form table tr > * input { + display: block; + font-size: 12pt; + width: 100%; height: 100%; + height: 4em; +}