Created
October 8, 2012 11:42
-
-
Save reformatco/3852078 to your computer and use it in GitHub Desktop.
Freeagent Invoice LESS Styles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* All templates seem to have 1cm padding, must be required */ | |
#invoice { | |
padding:0 1cm 1cm 1cm; | |
font-size:9pt; | |
line-height:12pt; | |
} | |
#invoice-header { | |
.logo { | |
} | |
#company-address { | |
.org { | |
strong { | |
} /* strong */ | |
} /* .org */ | |
.adr { | |
.street-address { | |
} | |
.locality { | |
} | |
.company-postcode { | |
} | |
.email { | |
} | |
.tel { | |
} | |
.url { | |
} | |
#sales-tax-reg-number { | |
} | |
}/* .adr */ | |
} /* #company-address */ | |
} /* #invoice-header */ | |
#invoice-info { | |
h2 { | |
strong { | |
} | |
} | |
h3 { | |
} | |
p { | |
&#payment-terms { | |
} | |
&#payment-due { | |
} | |
&#payment-total { | |
} | |
} | |
} /* #invoice-info */ | |
#client-details { | |
.fn { | |
} | |
.org { | |
} | |
.adr { | |
.street-address { | |
} | |
.locality { | |
} | |
#client-postcode { | |
.region { | |
} | |
.postal-code { | |
} | |
} /* #client-postcode */ | |
#your-tax-number { | |
} | |
} | |
} | |
table#invoice-amount { | |
thead { | |
tr { | |
&#header_row { | |
th { | |
&.quantity_th { | |
} | |
&.details_th { | |
} | |
&.unitprice_th { | |
} | |
&.salestax_th { | |
} | |
&.subtotal_th { | |
} | |
} | |
} /* #header_row */ | |
} | |
} /* thead */ | |
tbody { | |
tr { | |
&.item { | |
td { | |
&.item_l { | |
} | |
&.item_r { | |
} | |
} | |
} | |
&.odd { | |
} | |
} | |
&#estimate_items { | |
/* Only added if it's an estimate */ | |
} | |
} /* tbody */ | |
tfoot { | |
tr { | |
&#discount_tr { | |
} | |
&#net_total_tr { | |
} | |
&#vat_tr { | |
} | |
&#total_tr { | |
td { | |
&.total { | |
} | |
&#total_currency { | |
} | |
} | |
} /* #total_tr */ | |
td { | |
&.item_r { | |
} | |
} | |
} | |
} /* tfoot */ | |
} | |
#invoice-other { | |
h2 { | |
} | |
#company-reg-number { | |
strong { | |
} | |
} | |
#contract-number { | |
strong { | |
} | |
} | |
} | |
#payment-details { | |
h2 { | |
} | |
#bank_name { | |
} | |
#sort-code { | |
strong { | |
} | |
} | |
#account-number { | |
strong { | |
} | |
} | |
#iban { | |
strong { | |
} | |
} | |
#bic { | |
strong { | |
} | |
} | |
#payment-reference { | |
strong { | |
} | |
} | |
} | |
#comments { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment