From 537f8a6ce1d08ec2227b3bd671ec818186cab12e Mon Sep 17 00:00:00 2001 From: Jacky Chan Date: Fri, 18 Aug 2017 04:51:52 -0700 Subject: CreatePasswordScreen --- .../src/app/first-time/create-password-screen.js | 36 +++++++++++- mascara/src/app/first-time/index.css | 65 ++++++++++++++++++++++ mascara/src/app/first-time/index.js | 6 +- 3 files changed, 104 insertions(+), 3 deletions(-) create mode 100644 mascara/src/app/first-time/index.css (limited to 'mascara/src/app') diff --git a/mascara/src/app/first-time/create-password-screen.js b/mascara/src/app/first-time/create-password-screen.js index afb1ad8f6..1313de561 100644 --- a/mascara/src/app/first-time/create-password-screen.js +++ b/mascara/src/app/first-time/create-password-screen.js @@ -2,10 +2,42 @@ import React, {Component, PropTypes} from 'react' export default class CreatePasswordScreen extends Component { + state = { + password: '', + confirmPassword: '' + } + render() { return ( -
- +
+
+ Create Password +
+ this.setState({password: e.target.value})} + /> + this.setState({confirmPassword: e.target.value})} + /> + + e.preventDefault()} + > + Import an account + +
) } diff --git a/mascara/src/app/first-time/index.css b/mascara/src/app/first-time/index.css new file mode 100644 index 000000000..3d4f17dbb --- /dev/null +++ b/mascara/src/app/first-time/index.css @@ -0,0 +1,65 @@ +.first-time-flow { + height: 100vh; + width: 100vw; + background-color: #FFF; +} + +.create-password { + display: flex; + flex-flow: column nowrap; + margin: 67px 0 0 146px; + max-width: 350px; +} + +.create-password__title { + height: 102px; + width: 280px; + color: #1B344D; + font-size: 40px; + font-weight: 500; + line-height: 51px; + margin-bottom: 24px; +} + +.create-password__confirm-input { + margin-top: 15px; +} + +.first-time-flow__input { + width: 350px; + font-size: 18px; + line-height: 24px; + padding: 15px 28px; + border: 1px solid #CDCDCD; + background-color: #FFFFFF; +} + +.first-time-flow__input::placeholder { + color: #9B9B9B; + font-weight: 200; +} + +.first-time-flow__button { + height: 54px; + width: 198px; + box-shadow: 0 2px 4px 0 rgba(0,0,0,0.14); + color: #FFFFFF; + font-size: 20px; + font-weight: 500; + line-height: 26px; + text-align: center; + text-transform: uppercase; + margin: 35px 0 14px; + transition: 200ms ease-in-out; +} + +button.first-time-flow__button:hover { + transform: scale(1); + background-color: rgba(247, 134, 28, 0.9); +} + +.first-time-flow__link { + color: #1B344D; + font-size: 18px; + line-height: 23px; +} \ No newline at end of file diff --git a/mascara/src/app/first-time/index.js b/mascara/src/app/first-time/index.js index a2cb8d71c..1a9a00eec 100644 --- a/mascara/src/app/first-time/index.js +++ b/mascara/src/app/first-time/index.js @@ -48,7 +48,11 @@ export default class FirstTimeFlow extends Component { } render() { - return
{this.renderScreen()}
+ return ( +
+ {this.renderScreen()} +
+ ) } } -- cgit