Merge pull request #4125 from beganovich/v2-fix-font-size-variable

Rename $font-size to $font_size & remove all comments from designs
This commit is contained in:
David Bomba 2020-10-01 21:45:00 +10:00 committed by GitHub
commit 92c65f73da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 28 deletions

View File

@ -317,7 +317,7 @@ class HtmlEngine
$data['_rate2'] = ['value' => '', 'label' => ctrans('texts.tax')];
$data['_rate3'] = ['value' => '', 'label' => ctrans('texts.tax')];
$data['$font-size'] = ['value' => $this->settings->font_size . 'px', 'label' => ''];
$data['$font_size'] = ['value' => $this->settings->font_size . 'px', 'label' => ''];
$data['$invoiceninja.whitelabel'] = ['value' => asset('images/created-by-invoiceninja-new.png'), 'label' => ''];

View File

@ -13,7 +13,7 @@
* {
margin: 0;
padding: 0;
font-size: '$font-size';
font-size: '$font_size';
}
body {
@ -148,7 +148,7 @@
</head>
<div class="header-wrapper" id="header">
<div><!-- Empty space placeholder--></div>
<div></div>
<div id="company-details"></div>
<div id="company-address"></div>
@ -174,5 +174,5 @@
<div id="product-table-footer" cellspacing="0"></div>
</body>
<div id="footer"><!-- Your footer content here --></div>
<div id="footer"></div>
</html>

View File

@ -14,7 +14,7 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: Arial, Helvetica, sans-serif;
font-size: '$font-size';
font-size: '$font_size';
}
@page {
@ -206,5 +206,5 @@
<div id="product-table-footer" cellspacing="0"></div>
</body>
<div id="footer"><!-- Your footer content here --></div>
<div id="footer"></div>
</html>

View File

@ -1,4 +1,3 @@
<!-- Template: Clean -->
<!DOCTYPE html>
<html lang="en">
<head id="head">
@ -15,7 +14,7 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: Arial, Helvetica, sans-serif;
font-size: '$font-size';
font-size: '$font_size';
margin: 1cm;
}
@ -160,11 +159,9 @@
<div id="client-details"></div>
</div>
<!-- product_table -->
<table id="product-table" cellspacing="0"></table>
<div id="product-table-footer" cellspacing="0"></div>
</body>
<div id="footer"><!-- Your footer content here --></div>
<div id="footer"></div>
</html>

View File

@ -11,7 +11,7 @@
}
* {
font-size: '$font-size';
font-size: '$font_size';
}
p {
@ -170,5 +170,5 @@
<div id="product-table-footer" cellspacing="0"></div>
</body>
<div id="footer"><!-- Your footer content here --></div>
<div id="footer"></div>
</html>

View File

@ -11,7 +11,7 @@
}
* {
font-size: '$font-size';
font-size: '$font_size';
}
p {

View File

@ -11,7 +11,7 @@
}
* {
font-size: '$font-size';
font-size: '$font_size';
}
p {
@ -209,5 +209,5 @@
<div id="product-table-footer" cellspacing="0"></div>
</body>
<div id="footer"><!-- Your footer content here --></div>
<div id="footer"></div>
</html>

View File

@ -11,7 +11,7 @@
}
* {
font-size: '$font-size';
font-size: '$font_size';
}
body {
@ -192,12 +192,10 @@
<tr>
<td class="page-footer-cell">
<div class="footer-info">
<div style="margin-top: 195px">
<!-- An offset div to space out table from footer -->
</div>
<div style="margin-top: 195px"></div>
<div class="footer-wrapper" id="footer">
<div class="footer-content">
<div><!-- Placeholder for offset --></div>
<div></div>
<div id="company-details"></div>
<div id="company-address"></div>
</div>

View File

@ -6,7 +6,7 @@
<style id="style">
* {
font-size: '$font-size';
font-size: '$font_size';
}
p {
@ -135,5 +135,5 @@
<div id="product-table-footer" cellspacing="0"></div>
</body>
<div id="footer"><!-- Your footer content here --></div>
<div id="footer"></div>
</html>

View File

@ -11,7 +11,7 @@
}
* {
font-size: '$font-size';
font-size: '$font_size';
}
p {
@ -163,9 +163,7 @@
alt="$company.name logo"
/>
<div>
<!-- Placeholder for empty space -->
</div>
<div></div>
<div class="entity-details-wrapper">
<table id="entity-details" cellspacing="0"></table>
@ -192,5 +190,5 @@
<div id="product-table-footer" cellspacing="0"></div>
</body>
<div id="footer"><!-- Your footer content here --></div>
<div id="footer"></div>
</html>