diff --git a/resources/views/pdf-designs/tech.html b/resources/views/pdf-designs/tech.html index e3a038c85789..aa785760e65d 100644 --- a/resources/views/pdf-designs/tech.html +++ b/resources/views/pdf-designs/tech.html @@ -43,31 +43,31 @@ /** End of global, standard CSS */ .header-wrapper { - display: flex; - flex-direction: column; + display: grid; + grid-template-columns: auto 1fr auto; + grid-template-areas: "a b c"; + grid-auto-columns: minmax(0, 5fr); + grid-auto-flow: column; + justify-content: space-between; } .top-right-side-section { - display: flex; - flex-direction: row; + display: inline-block; + flex-direction: column; justify-content: flex-end; - } - - .top-right-side-section > * { - margin-left: 1.5rem; + white-space: nowrap; + vertical-align: top; } .logo-and-partial-entity-info { display: flex; - flex-direction: row; + flex-direction: column; justify-content: space-between; - align-items: center; - height: 120px; + /* align-items: center; */ + /* height: 120px; */ } .company-logo-wrapper { - padding-bottom: 60px; - height: 5rem; } .company-logo { @@ -89,7 +89,7 @@ } .hero-section { - margin-top: 50px; + margin-top: 5px; min-width: 100% !important; background: url('$tech_hero_image'); /** If you want to replace the image, this is the place to do it. */ -webkit-background-size: cover; @@ -114,6 +114,10 @@ justify-items: start; } + .spacer { + display: flex; + } + .client-details-to-label { text-transform: uppercase; font-weight: bold; @@ -121,11 +125,30 @@ margin-right: 10px; } + .shipping-to-label { + text-transform: uppercase; + font-weight: bold; + color: var(--primary-color); + margin-right: 10px; + display: $show_shipping_address; + } + + #shipping-details { + display: $show_shipping_address; + flex-direction: column; + white-space: nowrap; + } + + [data-ref="shipping_address-label"] { + display: none; + } + #client-details, #company-details, #company-address { display: flex; flex-direction: column; + white-space: nowrap; } .company-details-wrapper { @@ -352,27 +375,33 @@
$entity_number_label: | +$entity_number | +
$date_label: | +$date | +
$payment_due_label: | +$payment_due | +
$amount_due_label: | +$amount_due | +