Skip to content

Instantly share code, notes, and snippets.

@wpcrmsystem
Created July 24, 2017 17:07
Show Gist options
  • Save wpcrmsystem/3a40425e710a51c88f95e3bb231f0f59 to your computer and use it in GitHub Desktop.
Save wpcrmsystem/3a40425e710a51c88f95e3bb231f0f59 to your computer and use it in GitHub Desktop.
Stylesheet used for the invoice template
#wpcrm_system_invoice {
width: 60%;
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
margin-top: 0.75em;
border: 2px solid #f5f5f5;
font-family: sans-serif;
}
#wpcrm_system_header_customer, #wpcrm_system_header_invoice {
width: 30%;
}
tr.wpcrm_system_header_row {
vertical-align: top;
}
#wpcrm_invoice_logo, #wpcrm_invoice_business_info, #wpcrm_system_header_customer, #wpcrm_system_header_invoice {
padding: 20px;
}
.wpcrm_invoice_head_name, .wpcrm_system_invoice_line_name, .wpcrm_system_invoice_line_description, .wpcrm_system_terms {
padding-left: 20px;
}
.wpcrm_line_total, .wpcrm_system_invoice_line_total, .wpcrm_system_invoice_line_description, #wpcrm_system_invoice_total_amt, #wpcrm_system_invoice_tax_amt, #wpcrm_system_invoice_subtotal_amt {
padding-right: 20px;
}
.floatright {
float: right;
text-align: right;
}
.wpcrm_invoice_header {
font-weight: 700;
font-size: 1.5em;
background-color: #f5f5f5;
height: 1.5em;
}
.wpcrm_invoice_totals {
font-weight: 700;
font-size: 1em;
background-color: #f5f5f5;
height: 1.5em;
}
div#wpcrm_bill_to, .wpcrm_system_invoice_line_name {
font-weight: 700;
}
.wpcrm_system_invoice_line_description {
font-style: italic;
}
tr.evenline:hover, tr.oddline:hover {
background-color: #f5f5f5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment