From 834eda2f7db2a0dea380654523d66631452e5fef Mon Sep 17 00:00:00 2001 From: Shaun Maharaj <39800563+shaunmaharaj@users.noreply.github.com> Date: Sun, 7 Oct 2018 10:11:03 -0400 Subject: [PATCH] Fix checkout auth page for UI mockups (#68) --- src/containers/CheckoutAuthPage.jsx | 25 ++++---- src/containers/CheckoutAuthPage.less | 85 ++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+), 12 deletions(-) create mode 100644 src/containers/CheckoutAuthPage.less diff --git a/src/containers/CheckoutAuthPage.jsx b/src/containers/CheckoutAuthPage.jsx index d3724f84c..703fc844a 100644 --- a/src/containers/CheckoutAuthPage.jsx +++ b/src/containers/CheckoutAuthPage.jsx @@ -24,6 +24,7 @@ import ReactRouterPropTypes from 'react-router-prop-types'; import intl from 'react-intl-universal'; import { login, loginRegistered } from '../utils/AuthService'; import cortexFetch from '../utils/Cortex'; +import './CheckoutAuthPage.less'; const Config = require('Config'); @@ -128,15 +129,15 @@ class CheckoutAuthPage extends React.Component {
{intl.get('create-an-account-message')}
@@ -145,11 +146,11 @@ class CheckoutAuthPage extends React.Component {{intl.get('continue-without-account-message')} {' '} diff --git a/src/containers/CheckoutAuthPage.less b/src/containers/CheckoutAuthPage.less new file mode 100644 index 000000000..f0919fcd8 --- /dev/null +++ b/src/containers/CheckoutAuthPage.less @@ -0,0 +1,85 @@ +/** + * Copyright © 2018 Elastic Path Software Inc. All rights reserved. + * + * This is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this license. If not, see + * + * https://www.gnu.org/licenses/ + * + * + */ + +@import './../style/common.less'; + +.checkout-auth-option-list { + h2 { + font-size: 18px; + margin-top: 20px; + margin-bottom: 10px; + } + + .control-label { + .required-label { + color: red; + font-size: 16px; + font-weight: bold; + } + } + + .form-control { + display: block; + height: 34px; + padding: 6px 12px; + font-size: 14px; + color: #555555; + background-color: #ffffff; + border: 1px solid #cccccc; + border-radius: 4px; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); + } + + .checkout-auth-option-container { + padding-bottom: 40px; + } + + .btn { + text-shadow: none; + color: @complimentBlueColor; + background-color: #ffffff; + border: solid 1px @complimentBlueColor; + border-radius: 0; + text-align: middle; + box-shadow: none; + white-space: nowrap; + height: auto; + display: inline-block; + width: 90px; + height: 30px; + margin-right: 10px; + } + + .btn-primary { + padding: 8px 14px; + width: 100%; + height: 40px; + background-color: @mainBlueColor; + font-size: 12px; + font-weight: bold; + color: #ffffff; + border: 0; + border-radius: 0; + text-transform: uppercase; + margin-top: 10px; + max-width: 280px; + } +}