| 1 |
.din_page { |
| 2 |
font-size: 9pt; |
| 3 |
|
| 4 |
.container-fluid & { // center the invoice in portal preview |
| 5 |
margin-left: auto; |
| 6 |
margin-right: auto; |
| 7 |
} |
| 8 |
&.header { |
| 9 |
table { |
| 10 |
width: 100%; |
| 11 |
img, div.h3, td, tr { |
| 12 |
padding: 0; |
| 13 |
margin: 0; |
| 14 |
} |
| 15 |
div.h3 { |
| 16 |
color: $o-default-report-primary-color; |
| 17 |
position: relative; |
| 18 |
top: -10mm; |
| 19 |
margin-bottom: -10mm; |
| 20 |
} |
| 21 |
img { |
| 22 |
padding-top: 10mm; |
| 23 |
float: right; |
| 24 |
} |
| 25 |
} |
| 26 |
} |
| 27 |
&.invoice_note { |
| 28 |
tr { |
| 29 |
.address, .information_block, .shipping_address, .invoice_address { |
| 30 |
margin: 0; |
| 31 |
} |
| 32 |
.address { |
| 33 |
height: 45mm; |
| 34 |
} |
| 35 |
.address, .shipping_address { |
| 36 |
width: 85mm; |
| 37 |
padding-left: 5mm; |
| 38 |
.company_invoice_line { |
| 39 |
margin-top: 1mm; |
| 40 |
} |
| 41 |
.colored_address { |
| 42 |
color: $o-default-report-secondary-color; |
| 43 |
} |
| 44 |
font-size: 0.8em; |
| 45 |
} |
| 46 |
.information_block, .invoice_address { |
| 47 |
width: 75mm; |
| 48 |
min-height: 40mm; |
| 49 |
margin-left: 20mm; |
| 50 |
table { |
| 51 |
width: 100%; |
| 52 |
} |
| 53 |
} |
| 54 |
} |
| 55 |
h2 { |
| 56 |
margin-left: 5mm; |
| 57 |
margin-right: 10mm; |
| 58 |
margin-top: 8.46mm; |
| 59 |
color: $o-default-report-primary-color; |
| 60 |
} |
| 61 |
> .pt-5 { // hide hardcoded address from base.template.layout |
| 62 |
display: none; |
| 63 |
} |
| 64 |
.page { |
| 65 |
margin-left: 5mm; |
| 66 |
margin-right: 10mm; |
| 67 |
> h2, h1, #informations, .mt-4 > h2 { |
| 68 |
display: none; |
| 69 |
} |
| 70 |
[name=invoice_line_table], [name=stock_move_table], .o_main_table { |
| 71 |
margin-top: 8.46mm; |
| 72 |
th { |
| 73 |
color: $o-default-report-secondary-color; |
| 74 |
} |
| 75 |
} |
| 76 |
|
| 77 |
} |
| 78 |
} |
| 79 |
&.footer { |
| 80 |
padding-left: 5mm; |
| 81 |
padding-right: 10mm; |
| 82 |
font-size: 0.7em; |
| 83 |
.page_number { |
| 84 |
margin-top: 4.23mm; |
| 85 |
width: 100%; |
| 86 |
height: 4.23mm; |
| 87 |
} |
| 88 |
.company_details { |
| 89 |
margin-top: 4.23mm; |
| 90 |
width: 100%; |
| 91 |
table { |
| 92 |
border-top: solid 1px; |
| 93 |
table-layout: fixed; |
| 94 |
width: 100%; |
| 95 |
td { |
| 96 |
vertical-align: baseline; |
| 97 |
padding-right: 3mm; |
| 98 |
li { |
| 99 |
font-size: 0.7em; |
| 100 |
p { |
| 101 |
line-height: 1.3em; |
| 102 |
} |
| 103 |
} |
| 104 |
&:last-child { |
| 105 |
padding-right: initial; |
| 106 |
} |
| 107 |
} |
| 108 |
} |
| 109 |
} |
| 110 |
} |
| 111 |
table.o_main_table{ |
| 112 |
tr { |
| 113 |
&.o_line_section td { |
| 114 |
background-color: rgba($gray-300, .5); |
| 115 |
} |
| 116 |
|
| 117 |
th { |
| 118 |
font-weight: bolder; |
| 119 |
} |
| 120 |
} |
| 121 |
} |
| 122 |
div#total { |
| 123 |
tr { |
| 124 |
&.o_subtotal, |
| 125 |
&.o_total { |
| 126 |
td { |
| 127 |
border-top: 1px solid black !important; |
| 128 |
} |
| 129 |
&.o_border_bottom { |
| 130 |
td { |
| 131 |
border-bottom: 1px solid black !important; |
| 132 |
} |
| 133 |
} |
| 134 |
} |
| 135 |
} |
| 136 |
} |
| 137 |
} |
| 138 |
|
| 139 |
.din_page_pdf { |
| 140 |
width: 180mm; |
| 141 |
margin-left: -1rem; |
| 142 |
} |