From 7fb27cf0c7a5c8eb2aa492ced603873996537c81 Mon Sep 17 00:00:00 2001 From: Alexander Tseung Date: Fri, 16 Mar 2018 08:50:21 -0700 Subject: Update margins for consistency in first time flow (#3588) --- mascara/src/app/first-time/backup-phrase-screen.js | 42 ++++--- .../app/first-time/import-seed-phrase-screen.js | 129 +++++++++++---------- mascara/src/app/first-time/index.css | 99 +++++++++++----- mascara/src/app/first-time/notice-screen.js | 46 ++++---- mascara/src/app/first-time/unique-image-screen.js | 34 +++--- 5 files changed, 206 insertions(+), 144 deletions(-) (limited to 'mascara') diff --git a/mascara/src/app/first-time/backup-phrase-screen.js b/mascara/src/app/first-time/backup-phrase-screen.js index 9db61f3ab..c8cc56c6c 100644 --- a/mascara/src/app/first-time/backup-phrase-screen.js +++ b/mascara/src/app/first-time/backup-phrase-screen.js @@ -89,15 +89,15 @@ class BackupPhraseScreen extends Component { )} - ); + ) } - renderSecretScreen() { + renderSecretScreen () { const { isShowingSecret } = this.state return (
-
+
Secret Backup Phrase
Your secret backup phrase makes it easy to back up and restore your account. @@ -106,17 +106,6 @@ class BackupPhraseScreen extends Component { WARNING: Never disclose your backup phrase. Anyone with this phrase can take your Ether forever.
{this.renderSecretWordsContainer()} - -
Tips:
@@ -130,6 +119,19 @@ class BackupPhraseScreen extends Component { Memorize this phrase.
+
+ + +
) } @@ -231,10 +233,14 @@ class BackupPhraseScreen extends Component { return this.props.isLoading ? : ( -
- {this.renderBack()} - - {this.renderContent()} +
+
+
+ {this.renderBack()} + + {this.renderContent()} +
+
) } diff --git a/mascara/src/app/first-time/import-seed-phrase-screen.js b/mascara/src/app/first-time/import-seed-phrase-screen.js index de8d675e1..86f02ceac 100644 --- a/mascara/src/app/first-time/import-seed-phrase-screen.js +++ b/mascara/src/app/first-time/import-seed-phrase-screen.js @@ -79,70 +79,73 @@ class ImportSeedPhraseScreen extends Component { const { warning } = this.props const importDisabled = warning || !seedPhrase || !password || !confirmPassword return ( -
- { - e.preventDefault() - this.props.back() - }} - href="#" - > - {`< Back`} - -
- Import an Account with Seed Phrase +
+
+
+ { + e.preventDefault() + this.props.back() + }} + href="#" + > + {`< Back`} + +
+ Import an Account with Seed Phrase +
+
+ Enter your secret twelve word phrase here to restore your vault. +
+
+ +