Browse Source
Merge pull request #431 from odb366/fix/onboarding-layout-ui
Fix/onboarding layout ui
renovate/lint-staged-8.x
JimmyMow
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with
56 additions and
25 deletions
-
app/components/Onboarding/Alias.scss
-
app/components/Onboarding/Autopilot.scss
-
app/components/Onboarding/ConnectionDetails.scss
-
app/components/Onboarding/ConnectionType.scss
-
app/components/Onboarding/FormContainer.js
-
app/components/Onboarding/FormContainer.scss
-
app/components/Onboarding/InitWallet.scss
-
app/components/Onboarding/Login.scss
-
app/components/Onboarding/NewAezeedPassword.scss
-
app/components/Onboarding/NewWalletPassword.scss
-
app/components/Onboarding/Signup.scss
|
|
@ -3,7 +3,9 @@ |
|
|
|
.alias { |
|
|
|
background: transparent; |
|
|
|
outline: none; |
|
|
|
border: 0; |
|
|
|
border:1px solid #404040; |
|
|
|
border-radius: 4px; |
|
|
|
padding: 15px; |
|
|
|
color: $gold; |
|
|
|
-webkit-text-fill-color: $white; |
|
|
|
font-size: 22px; |
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
|
color: $white; |
|
|
|
|
|
|
|
section { |
|
|
|
margin: 20px 0; |
|
|
|
margin-bottom: 0; |
|
|
|
|
|
|
|
&.enable { |
|
|
|
&.active { |
|
|
@ -44,6 +44,7 @@ |
|
|
|
font-weight: 200; |
|
|
|
cursor: pointer; |
|
|
|
transition: all 0.25s; |
|
|
|
margin-bottom: 20px; |
|
|
|
} |
|
|
|
|
|
|
|
.label { |
|
|
|
|
|
@ -4,22 +4,26 @@ |
|
|
|
color: $white; |
|
|
|
|
|
|
|
label { |
|
|
|
display: block; |
|
|
|
font-size: 12px; |
|
|
|
line-height: 14px; |
|
|
|
padding: 10px 0px; |
|
|
|
padding-bottom: 5px; |
|
|
|
min-height: 14px; |
|
|
|
} |
|
|
|
|
|
|
|
input { |
|
|
|
background: transparent; |
|
|
|
outline: none; |
|
|
|
border: 0; |
|
|
|
border:1px solid #404040; |
|
|
|
border-radius: 4px; |
|
|
|
padding: 10px; |
|
|
|
color: $gold; |
|
|
|
-webkit-text-fill-color: $white; |
|
|
|
font-size: 22px; |
|
|
|
font-size: 18px; |
|
|
|
width: 100%; |
|
|
|
// font-weight: 200; |
|
|
|
margin-bottom: 25px; |
|
|
|
font-weight: 400; |
|
|
|
margin-bottom: 20px; |
|
|
|
width: 600px; |
|
|
|
} |
|
|
|
|
|
|
|
input::-webkit-input-placeholder { |
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
|
color: $white; |
|
|
|
|
|
|
|
section { |
|
|
|
margin: 30px 0; |
|
|
|
margin: 0; |
|
|
|
|
|
|
|
&.option { |
|
|
|
.button { |
|
|
|
|
|
@ -29,14 +29,14 @@ const FormContainer = ({ title, description, back, next, children }) => ( |
|
|
|
<div className={styles.buttonsContainer}> |
|
|
|
<section> |
|
|
|
{back && ( |
|
|
|
<div onClick={back}> |
|
|
|
<div onClick={back} className={styles.backButton}> |
|
|
|
<FaAngleLeft style={{ verticalAlign: 'top' }} /> Back |
|
|
|
</div> |
|
|
|
)} |
|
|
|
</section> |
|
|
|
<section> |
|
|
|
{next && ( |
|
|
|
<div onClick={next}> |
|
|
|
<div onClick={next} className={styles.nextButton}> |
|
|
|
Next <FaAngleRight style={{ verticalAlign: 'top' }} /> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
|
|
|
|
.info { |
|
|
|
color: $white; |
|
|
|
margin: 20px 0 20px 0; |
|
|
|
margin-bottom: 20px; |
|
|
|
padding: 20px 40px; |
|
|
|
|
|
|
|
h1 { |
|
|
@ -41,13 +41,13 @@ |
|
|
|
position: relative; |
|
|
|
background: $spaceblue; |
|
|
|
height: 100vh; |
|
|
|
padding: 60px 40px; |
|
|
|
padding: 40px 40px; |
|
|
|
} |
|
|
|
|
|
|
|
.footer { |
|
|
|
position: absolute; |
|
|
|
bottom: 0; |
|
|
|
padding: 20px 40px; |
|
|
|
padding: 25px 40px; |
|
|
|
color: $white; |
|
|
|
width: calc(100% - 80px); |
|
|
|
|
|
|
@ -56,14 +56,30 @@ |
|
|
|
flex-direction: row; |
|
|
|
justify-content: space-between; |
|
|
|
|
|
|
|
div { |
|
|
|
.nextButton { |
|
|
|
cursor: pointer; |
|
|
|
transition: all 0.25s; |
|
|
|
background: $darkspaceblue; |
|
|
|
padding: 10px 30px 10px 40px; |
|
|
|
width: 54px; |
|
|
|
text-align: center; |
|
|
|
|
|
|
|
&:hover { |
|
|
|
background: lighten($darkspaceblue, 10%); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.backButton { |
|
|
|
cursor: pointer; |
|
|
|
transition: all 0.25s; |
|
|
|
padding: 10px 20px 10px 0px; |
|
|
|
text-align: center; |
|
|
|
|
|
|
|
&:hover { |
|
|
|
opacity: 0.5; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -7,7 +7,9 @@ |
|
|
|
.password { |
|
|
|
background: transparent; |
|
|
|
outline: none; |
|
|
|
border: 0; |
|
|
|
border:1px solid #404040; |
|
|
|
border-radius: 4px; |
|
|
|
padding: 15px; |
|
|
|
color: $gold; |
|
|
|
-webkit-text-fill-color: $white; |
|
|
|
font-size: 22px; |
|
|
|
|
|
@ -7,15 +7,17 @@ |
|
|
|
.password { |
|
|
|
background: transparent; |
|
|
|
outline: none; |
|
|
|
border: 0; |
|
|
|
border:1px solid #404040; |
|
|
|
border-radius: 4px; |
|
|
|
padding: 15px; |
|
|
|
color: $gold; |
|
|
|
-webkit-text-fill-color: $white; |
|
|
|
font-size: 22px; |
|
|
|
border-bottom: 1px solid transparent; |
|
|
|
//border-bottom: 1px solid transparent; |
|
|
|
transition: all 0.25s; |
|
|
|
|
|
|
|
&.inputError { |
|
|
|
border-bottom: 1px solid $red; |
|
|
|
border: 1px solid $red; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1,20 +1,22 @@ |
|
|
|
@import '../../variables.scss'; |
|
|
|
|
|
|
|
.input:nth-child(2) { |
|
|
|
margin-top: 40px; |
|
|
|
margin-top: 30px; |
|
|
|
} |
|
|
|
|
|
|
|
.password { |
|
|
|
background: transparent; |
|
|
|
outline: none; |
|
|
|
border: 0; |
|
|
|
border:1px solid #404040; |
|
|
|
border-radius: 4px; |
|
|
|
padding: 15px; |
|
|
|
color: $gold; |
|
|
|
-webkit-text-fill-color: $white; |
|
|
|
font-size: 22px; |
|
|
|
transition: all 0.25s; |
|
|
|
|
|
|
|
&.error { |
|
|
|
border-bottom: 1px solid $red; |
|
|
|
border: 1px solid $red; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1,20 +1,22 @@ |
|
|
|
@import '../../variables.scss'; |
|
|
|
|
|
|
|
.input:nth-child(2) { |
|
|
|
margin-top: 40px; |
|
|
|
margin-top: 30px; |
|
|
|
} |
|
|
|
|
|
|
|
.password { |
|
|
|
background: transparent; |
|
|
|
outline: none; |
|
|
|
border: 0; |
|
|
|
border:1px solid #404040; |
|
|
|
border-radius: 4px; |
|
|
|
padding: 15px; |
|
|
|
color: $gold; |
|
|
|
-webkit-text-fill-color: $white; |
|
|
|
font-size: 22px; |
|
|
|
transition: all 0.25s; |
|
|
|
|
|
|
|
&.error { |
|
|
|
border-bottom: 1px solid $red; |
|
|
|
border: 1px solid $red; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -4,7 +4,7 @@ |
|
|
|
color: $white; |
|
|
|
|
|
|
|
section { |
|
|
|
margin: 20px 0; |
|
|
|
margin-bottom: 20px; |
|
|
|
|
|
|
|
&.enable { |
|
|
|
&.active { |
|
|
|