PDF templates fix

DomPDF font-weight problems fix
This commit is contained in:
edevrob
2020-12-09 21:13:56 +02:00
parent 2bd01c4014
commit 8dee0da434
9 changed files with 41 additions and 37 deletions

View File

@ -354,7 +354,7 @@
<h1 class="header-logo"> {{$estimate->user->company->name}} </h1>
@endif
</td>
<td width="50%" class="company-address-container company-address">
<td width="50%" class="company-address-container company-address text-right">
{!! $company_address !!}
</td>
</tr>

View File

@ -273,7 +273,7 @@
}
.total-table-attribute-value {
font-weight: 500;
font-weight: bold;
text-align: right;
font-size: 12px;
color: #040405;

View File

@ -314,7 +314,7 @@
<h1 class="header-logo"> {{$invoice->user->company->name}} </h1>
@endif
</td>
<td width="50%" class="company-address-container company-address">
<td width="50%" class="company-address-container company-address text-right">
{!! $company_address !!}
</td>
</tr>

View File

@ -65,6 +65,10 @@
float: right;
} */
.header-section-right {
text-align: right;
}
.header {
font-size: 20px;
color: rgba(0, 0, 0, 0.7);
@ -226,7 +230,7 @@
}
.content-heading span {
font-weight: 400;
font-weight: normal;
font-size: 14px;
line-height: 25px;
padding-bottom: 5px;
@ -248,7 +252,7 @@
.total-display-label {
display: inline;
font-weight: 600;
font-weight: bold;
font-size: 14px;
line-height: 21px;
color: #595959;
@ -256,7 +260,7 @@
.total-display-box span {
float: right;
font-weight: 500;
font-weight: bold;
font-size: 14px;
line-height: 21px;
text-align: right;

View File

@ -20,7 +20,7 @@
}
.heading-text {
font-weight: 600;
font-weight: bold;
font-size: 24px;
color: #5851D8;
width: 100%;
@ -30,7 +30,7 @@
}
.heading-date-range {
font-weight: 600;
font-weight: normal;
font-size: 15px;
color: #A5ACC1;
width: 100%;
@ -40,7 +40,7 @@
}
.sub-heading-text {
font-weight: 600;
font-weight: normal;
font-size: 16px;
color: #595959;
padding: 0px;
@ -98,7 +98,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 16px;
line-height: 21px;
text-align: right;
@ -117,7 +117,7 @@
padding: 0px;
margin: 0px;
text-align: left;
font-weight: 600;
font-weight: bold;
font-size: 16px;
line-height: 21px;
color: #595959;
@ -127,7 +127,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 20px;
line-height: 21px;
color: #5851D8;

View File

@ -20,7 +20,7 @@
}
.heading-text {
font-weight: 600;
font-weight: bold;
font-size: 24px;
color: #5851D8;
width: 100%;
@ -30,7 +30,7 @@
}
.heading-date-range {
font-weight: 600;
font-weight: normal;
font-size: 15px;
color: #A5ACC1;
width: 100%;
@ -40,7 +40,7 @@
}
.sub-heading-text {
font-weight: 600;
font-weight: normal;
font-size: 16px;
color: #595959;
padding: 0px;
@ -65,7 +65,7 @@
.income-amount {
padding: 0px;
margin: 0px;
font-weight: 500;
font-weight: bold;
font-size: 16px;
line-height: 21px;
text-align: right;
@ -123,7 +123,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 16px;
line-height: 21px;
text-align: right;
@ -142,7 +142,7 @@
padding: 0px;
margin: 0px;
text-align: left;
font-weight: 600;
font-weight: bold;
font-size: 16px;
line-height: 21px;
color: #595959;
@ -152,7 +152,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 20px;
line-height: 21px;
color: #5851D8;

View File

@ -20,7 +20,7 @@
}
.heading-text {
font-weight: 600;
font-weight: bold;
font-size: 24px;
color: #5851D8;
width: 100%;
@ -30,7 +30,7 @@
}
.heading-date-range {
font-weight: 600;
font-weight: normal;
font-size: 15px;
color: #A5ACC1;
width: 100%;
@ -40,7 +40,7 @@
}
.sub-heading-text {
font-weight: 600;
font-weight: bold;
font-size: 16px;
line-height: 21px;
color: #595959;
@ -98,7 +98,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 16px;
line-height: 21px;
text-align: right;
@ -117,7 +117,7 @@
padding: 0px;
margin: 0px;
text-align: left;
font-weight: 600;
font-weight: bold;
font-size: 16px;
line-height: 21px;
color: #595959;
@ -127,7 +127,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 20px;
line-height: 21px;
color: #5851D8;

View File

@ -20,7 +20,7 @@
}
.heading-text {
font-weight: 600;
font-weight: bold;
font-size: 24px;
color: #5851D8;
width: 100%;
@ -30,7 +30,7 @@
}
.heading-date-range {
font-weight: 600;
font-weight: normal;
font-size: 15px;
color: #A5ACC1;
width: 100%;
@ -40,7 +40,7 @@
}
.sub-heading-text {
font-weight: 600;
font-weight: bold;
font-size: 16px;
line-height: 21px;
color: #595959;
@ -98,7 +98,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 16px;
line-height: 21px;
text-align: right;
@ -117,7 +117,7 @@
padding: 0px;
margin: 0px;
text-align: left;
font-weight: 600;
font-weight: bold;
font-size: 16px;
line-height: 21px;
color: #595959;
@ -127,7 +127,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 20px;
line-height: 21px;
color: #5851D8;

View File

@ -21,7 +21,7 @@
}
.heading-text {
font-weight: 600;
font-weight: bold;
font-size: 24px;
color: #5851D8;
width: 100%;
@ -31,7 +31,7 @@
}
.heading-date-range {
font-weight: 600;
font-weight: normal;
font-size: 15px;
color: #A5ACC1;
width: 100%;
@ -41,7 +41,7 @@
}
.sub-heading-text {
font-weight: 600;
font-weight: bold;
font-size: 16px;
color: #595959;
padding: 0px;
@ -99,7 +99,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 16px;
line-height: 21px;
text-align: right;
@ -118,7 +118,7 @@
padding: 0px;
margin: 0px;
text-align: left;
font-weight: 600;
font-weight: bold;
font-size: 16px;
line-height: 21px;
color: #595959;
@ -128,7 +128,7 @@
padding: 0px;
margin: 0px;
text-align: right;
font-weight: 500;
font-weight: bold;
font-size: 20px;
line-height: 21px;
color: #5851D8;