From 970b4cd5e1046dd8bcc8d26327dd777dcffed979 Mon Sep 17 00:00:00 2001 From: dave justice Date: Wed, 17 Jul 2019 11:56:25 -0400 Subject: [PATCH] fix(fxa-payments-server): redirects to and from payments form - refs #1358 - cleaned up buttons on 123done for demo --- packages/123done/static/css/main.css | 47 ++++++++++++++ packages/123done/static/index.html | 64 ++++++++++++------- ...t123DonePro.tsx => Redirect123donePro.tsx} | 0 .../SubscriptionRedirect/RedirectDev.tsx | 25 ++++++++ .../Product/SubscriptionRedirect/index.tsx | 8 +-- 5 files changed, 118 insertions(+), 26 deletions(-) rename packages/fxa-payments-server/src/routes/Product/SubscriptionRedirect/{Redirect123DonePro.tsx => Redirect123donePro.tsx} (100%) create mode 100644 packages/fxa-payments-server/src/routes/Product/SubscriptionRedirect/RedirectDev.tsx diff --git a/packages/123done/static/css/main.css b/packages/123done/static/css/main.css index c89d5331fd..859f24b27f 100644 --- a/packages/123done/static/css/main.css +++ b/packages/123done/static/css/main.css @@ -34,10 +34,57 @@ h6 { font-weight: lighter; } +/* Reset `button` default styles */ +button { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; + background: none; + border: 0; + color: inherit; + font: inherit; + line-height: normal; + overflow: visible; + padding: 0; + -webkit-user-select: none; /* for button */ + -moz-user-select: none; + -ms-user-select: none; +} + +button::-moz-focus-inner { + border: 0; + padding: 0; +} + +.banner { + background: #304050; + position: fixed; + top: 0; + width: 100%; + padding: 20px; + + display: flex; + align-items: center; + justify-content: center; +} + +.banner .btn { + background: #eef2f0; + border-radius: 2px; + margin: 10px; + padding: 10px; + color: black; +} + +.banner .btn:hover { + background: #fff; +} + #splash { display: none; font-family: 'Alegreya Sans', sans-serif; margin-bottom: 60px; + margin-top: 150px; } #splash header { diff --git a/packages/123done/static/index.html b/packages/123done/static/index.html index 2ac6206895..e64c7f453e 100644 --- a/packages/123done/static/index.html +++ b/packages/123done/static/index.html @@ -18,6 +18,33 @@ + +

123done

- - -
- -