diff --git a/packages/fxa-payments-server/src/components/PaymentErrorView/index.scss b/packages/fxa-payments-server/src/components/PaymentErrorView/index.scss index c83419c8c13..b2ab7757a90 100644 --- a/packages/fxa-payments-server/src/components/PaymentErrorView/index.scss +++ b/packages/fxa-payments-server/src/components/PaymentErrorView/index.scss @@ -2,21 +2,59 @@ @import '../../../../fxa-content-server/app/styles/variables'; @import '../../../../fxa-content-server/app/styles/breakpoints'; -.subscription-title + .payment-error { - @include checkout-title(); -} - .payment-error { - @include checkout-view(); - // override grid-row rule from checkout-view FXA-3237 + box-shadow: 0 -1px white, 0 1px white, -2px 2px 2px -2px rgba(12, 12, 13, 0.1), + 2px 2px 2px -2px rgba(12, 12, 13, 0.1); + color: rgba(12, 12, 13, 0.8); + padding: 16px 16px 60px; grid-row: 3/4; - margin-top: 0px; - .wrapper { - margin-bottom: 60px; + @include max-width("tablet") { + position: relative; // md:relative + } + + @include min-width("tablet") { + grid-row: 2/3; + margin: 0 0 32px; + } + + @include min-width("desktop") { + min-width: 60%; + padding: 0 48px 48px; + } + + .options { + border: 0; + display: flex; + flex-direction: column; + justify-content: center; + + .button { + align-items: center; + background: #0060df; + color: $color-white; + display: flex; + font-size: 15px; + font-weight: 600; + height: 48px; + justify-content: center; + margin: 32px 0; + text-decoration: none; + width: 100%; + } + .button:hover { + background: #003eaa; + } + + .button:active { + background: #002275; + } + } + + .wrapper { p { - line-height: 22px; + color: $grey-50; @include max-width('tablet') { padding: 0 30px; @@ -28,14 +66,6 @@ } } - .button.primary-button { - margin-bottom: 40px; - } - - #error-icon { - margin: 60px auto 40px; - } - @include max-width('tablet') { margin-top: 10px; } diff --git a/packages/fxa-payments-server/src/components/PaymentErrorView/index.tsx b/packages/fxa-payments-server/src/components/PaymentErrorView/index.tsx index 18dcbe179a7..b7679dbade3 100644 --- a/packages/fxa-payments-server/src/components/PaymentErrorView/index.tsx +++ b/packages/fxa-payments-server/src/components/PaymentErrorView/index.tsx @@ -28,7 +28,7 @@ const retryButtonFn = (onRetry: PaymentErrorViewProps['actionFn']) =>