pdf.css in Commerce Invoice 7.2
body {
font-family: Arial, sans-serif;
font-size: 16px;
}
header {
width: 100%;
height: 100px;
padding-bottom: 20px;
margin-bottom: 25px;
border-bottom: 1px solid #ccc;
}
footer {
margin-top: 25px;
text-align: center;
}
.logo,
.header{
float: left;
width: 50%;
}
.header{
text-align: right;
}
.pull-right {
width: 40%;
float: right;
}
table {
width: 100%;
line-height: 1.2em;
border-collapse: collapse;
}
thead {
text-align: left;
border-bottom: 2px solid black;
}
td, th {
text-align: left;
}
td {
height: 30px;
}
.field-name-commerce-invoice-items {
margin-top: 50px;
}
.views-field-commerce-unit-price,
.views-field-quantity,
.views-field-commerce-total {
text-align: right;
padding-right: 5px;
}
.view-commerce-line-item-table .views-field-line-item-title {
text-align: left;
width: 300px;
}
.field-name-commerce-invoice-total {
border-top: 1px solid black;
font-weight: bold;
padding-right: 5px;
}
td.component-title {
text-align: right;
}
td.component-total {
text-align: right;
width: 200px;
}
.contextual-links-wrapper {
display: none;
}
File
modules/pdf/css/pdf.css
View source
- body {
- font-family: Arial, sans-serif;
- font-size: 16px;
- }
-
- header {
- width: 100%;
- height: 100px;
- padding-bottom: 20px;
- margin-bottom: 25px;
- border-bottom: 1px solid #ccc;
- }
-
- footer {
- margin-top: 25px;
- text-align: center;
- }
-
- .logo,
- .header{
- float: left;
- width: 50%;
- }
-
- .header{
- text-align: right;
- }
-
- .pull-right {
- width: 40%;
- float: right;
- }
-
- table {
- width: 100%;
- line-height: 1.2em;
- border-collapse: collapse;
- }
- thead {
- text-align: left;
- border-bottom: 2px solid black;
- }
-
- td, th {
- text-align: left;
- }
- td {
- height: 30px;
- }
-
- .field-name-commerce-invoice-items {
- margin-top: 50px;
- }
-
- .views-field-commerce-unit-price,
- .views-field-quantity,
- .views-field-commerce-total {
- text-align: right;
- padding-right: 5px;
- }
- .view-commerce-line-item-table .views-field-line-item-title {
- text-align: left;
- width: 300px;
- }
-
- .field-name-commerce-invoice-total {
- border-top: 1px solid black;
- font-weight: bold;
- padding-right: 5px;
- }
- td.component-title {
- text-align: right;
- }
- td.component-total {
- text-align: right;
- width: 200px;
- }
-
- .contextual-links-wrapper {
- display: none;
- }