This commit is contained in:
Benjamin Beganović 2020-10-01 13:33:30 +02:00
parent 1ea2c85e13
commit 40229e7ae3

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;
}
body { body {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
@ -66,7 +71,7 @@
#client-details { #client-details {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
color: #ec782f; color: var(--primary-color);
} }
#client-details > * { #client-details > * {
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
@ -76,7 +81,7 @@
} }
#entity-details { #entity-details {
background-color: #ec782f; background-color: var(--primary-color);
padding: 0.8rem; padding: 0.8rem;
border-radius: 1rem; border-radius: 1rem;
width: 100%; width: 100%;
@ -95,7 +100,7 @@
} }
#product-table > thead { #product-table > thead {
text-align: left; text-align: left;
background: #394e6b; background: var(--secondary-color);
} }
#product-table > thead > tr > th { #product-table > thead > tr > th {
padding: 1rem; padding: 1rem;
@ -124,7 +129,7 @@
[data-element='product-table-balance-due-label'], [data-element='product-table-balance-due-label'],
[data-element='product-table-balance-due'] { [data-element='product-table-balance-due'] {
color: #394e6b !important; color: var(--secondary-color) !important;
font-weight: bold !important; font-weight: bold !important;
} }