Hipster: Line height, header spacing, color correction

This commit is contained in:
Benjamin Beganović 2021-08-18 12:38:14 +02:00
parent 80b72ac8d7
commit 5b4b5ac42a

View File

@ -2,6 +2,7 @@
:root { :root {
--primary-color: $primary_color; --primary-color: $primary_color;
--secondary-color: $secondary_color; --secondary-color: $secondary_color;
--line-height: 1.6;
} }
body { body {
@ -26,6 +27,7 @@
display: grid; display: grid;
grid-template-columns: 1.2fr 1.8fr; grid-template-columns: 1.2fr 1.8fr;
gap: 20px; gap: 20px;
line-height: var(--line-height);
} }
.header-wrapper .header-text-label { .header-wrapper .header-text-label {
@ -223,6 +225,10 @@
direction: $dir; direction: $dir;
} }
[data-ref="product_table-product.unit_cost-td"] { text-align: right; }
[data-ref="totals_table-outstanding"] { color: var(--primary-color); }
/** Useful snippets, uncomment to enable. **/ /** Useful snippets, uncomment to enable. **/
/** Hide company logo **/ /** Hide company logo **/
@ -252,6 +258,7 @@
/** For more info, please check our docs: https://invoiceninja.github.io **/ /** For more info, please check our docs: https://invoiceninja.github.io **/
/** To find out selectors on your own: https://invoiceninja.github.io/docs/custom-fields/#snippets **/ /** To find out selectors on your own: https://invoiceninja.github.io/docs/custom-fields/#snippets **/
</style> </style>
<div id="header"></div> <div id="header"></div>
<div id="body"> <div id="body">