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
parent
commit
61a994591b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/components/Onboarding/Alias.scss
  2. 3
      app/components/Onboarding/Autopilot.scss
  3. 14
      app/components/Onboarding/ConnectionDetails.scss
  4. 2
      app/components/Onboarding/ConnectionType.scss
  5. 4
      app/components/Onboarding/FormContainer.js
  6. 24
      app/components/Onboarding/FormContainer.scss
  7. 4
      app/components/Onboarding/InitWallet.scss
  8. 8
      app/components/Onboarding/Login.scss
  9. 8
      app/components/Onboarding/NewAezeedPassword.scss
  10. 8
      app/components/Onboarding/NewWalletPassword.scss
  11. 2
      app/components/Onboarding/Signup.scss

4
app/components/Onboarding/Alias.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;

3
app/components/Onboarding/Autopilot.scss

@ -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 {

14
app/components/Onboarding/ConnectionDetails.scss

@ -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 {

2
app/components/Onboarding/ConnectionType.scss

@ -4,7 +4,7 @@
color: $white;
section {
margin: 30px 0;
margin: 0;
&.option {
.button {

4
app/components/Onboarding/FormContainer.js

@ -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>
)}

24
app/components/Onboarding/FormContainer.scss

@ -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;
}
}
}
}

4
app/components/Onboarding/InitWallet.scss

@ -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;

8
app/components/Onboarding/Login.scss

@ -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;
}
}

8
app/components/Onboarding/NewAezeedPassword.scss

@ -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;
}
}

8
app/components/Onboarding/NewWalletPassword.scss

@ -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;
}
}

2
app/components/Onboarding/Signup.scss

@ -4,7 +4,7 @@
color: $white;
section {
margin: 20px 0;
margin-bottom: 20px;
&.enable {
&.active {

Loading…
Cancel
Save