This commit is contained in:
Benjamin Beganović 2020-10-01 13:20:38 +02:00
parent 5e773a03c8
commit 4d959315c6

View File

@ -5,6 +5,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style id="style"> <style id="style">
:root {
--primary-color: $primary_color;
--secondary-color: $secondary_color;
}
* { * {
font-size: '$font-size'; font-size: '$font-size';
} }
@ -66,7 +71,7 @@
text-transform: uppercase; text-transform: uppercase;
} }
.entity-label-wrapper .entity-label > *:last-child { .entity-label-wrapper .entity-label > *:last-child {
color: #b21c53; color: var(--primary-color);
font-style: italic; font-style: italic;
} }
.entity-label-wrapper #entity-details { .entity-label-wrapper #entity-details {
@ -82,7 +87,7 @@
min-width: 100%; min-width: 100%;
table-layout: fixed; table-layout: fixed;
overflow-wrap: break-word; overflow-wrap: break-word;
border-top: 5px solid #b21c53; border-top: 5px solid var(--primary-color);
} }
#product-table > thead { #product-table > thead {
text-align: left; text-align: left;
@ -117,13 +122,13 @@
> * > *
[data-element='product-table-balance-due'] { [data-element='product-table-balance-due'] {
font-weight: bold; font-weight: bold;
color: #b21c53; color: var(--primary-color);
} }
#product-table-footer > * > * { #product-table-footer > * > * {
padding-left: 1rem; padding-left: 1rem;
} }
#product-table-footer > *:last-child > * { #product-table-footer > *:last-child > * {
border-top: 5px solid #b21c53; border-top: 5px solid var(--primary-color);
padding-top: 1rem; padding-top: 1rem;
} }
#product-table-footer > * > :last-child { #product-table-footer > * > :last-child {