From 9ce35eb3c18fcda6797c97c0797f4742b254d76e Mon Sep 17 00:00:00 2001 From: credelinghuys Date: Thu, 16 Jul 2026 14:12:30 -0400 Subject: [PATCH] CASH-3031: Update afterpay learn more link --- .../afterpay-modal-banner.vue | 211 ++---------------- src/layouts/quote/quote.vue | 3 +- 2 files changed, 22 insertions(+), 192 deletions(-) diff --git a/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue b/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue index cc708dc6a..764d5c9c0 100644 --- a/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue +++ b/src/layouts/quote/afterpay-modal-banner/afterpay-modal-banner.vue @@ -1,5 +1,9 @@ @@ -198,117 +137,9 @@ export default { @include media-breakpoint-up(md) { padding-left: 1rem; } - } -} -.afterpay-modal { - &.modal.modal-component { - :deep(.modal-dialog) { - margin: 0 1rem; - top: 0; - - @include media-breakpoint-up(md) { - width: 100%; - max-width: 840px; - top: 3.4rem; - right: 0; - left: 0; - transform: none; - margin: 0 auto; - padding: 0 1rem; - } - .modal-content { - border-radius: 0.5rem; - margin: 1.5rem 0; - - .modal-header.mt-6 { - background-color: $blue-100; - margin-top: 0; - padding: 1.5rem 2rem 1.5rem 1.5rem; - font-family: UrbanistSemibold; - - .modal-title.justify-content-center { - // OVERRIDE - justify-content: flex-start; - } - .btn-close { - top: 1.25rem; - right: 1.5rem; - } - } - .afterpay-section { - display: block; - border: 1px solid $gray-200; - border-radius: 0.25rem; - padding: 1rem; - - .section-header { - display: flex; - align-items: center; - margin-bottom: 1rem; - - img { - width: 40px; - height: 40px; - } - h3 { - font-family: UrbanistBold; - font-size: 1rem; - margin: 0 0 0 0.5rem; - color: $black; - } - } - p { - font-size: 0.75rem; - } - strong { - font-family: UrbanistSemibold; - font-size: 0.875rem; - } - } - - .modal-body { - padding: 1.5rem; - - .afterpay-sections { - @include media-breakpoint-up(md) { - display: flex; - column-gap: 1rem; - align-items: stretch; - } - .afterpay-section { - margin-bottom: 1rem; - - @include media-breakpoint-up(md) { - flex: 0 1 33%; - margin-bottom: 0; - } - - &:last-of-type { - margin-bottom: 0; - } - } - } - } - } - &.modal-dialog-centered { - height: auto; - min-height: auto; - } - } - } - - :deep(.modal-footer) { - position: relative; - background: $gray-100; - - .modal-disclaimer { - font-style: italic; - font-size: 0.75rem; - a { - padding: 0; - line-height: 1.625; - } + img { + transform: translateY(-0.1rem); } } } diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 50512bcbf..920aa8617 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -47,8 +47,7 @@ + cmsWidgetName="AfterpayBannerWidget" />