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 { .alias {
background: transparent; background: transparent;
outline: none; outline: none;
border: 0; border:1px solid #404040;
border-radius: 4px;
padding: 15px;
color: $gold; color: $gold;
-webkit-text-fill-color: $white; -webkit-text-fill-color: $white;
font-size: 22px; font-size: 22px;

3
app/components/Onboarding/Autopilot.scss

@ -4,7 +4,7 @@
color: $white; color: $white;
section { section {
margin: 20px 0; margin-bottom: 0;
&.enable { &.enable {
&.active { &.active {
@ -44,6 +44,7 @@
font-weight: 200; font-weight: 200;
cursor: pointer; cursor: pointer;
transition: all 0.25s; transition: all 0.25s;
margin-bottom: 20px;
} }
.label { .label {

14
app/components/Onboarding/ConnectionDetails.scss

@ -4,22 +4,26 @@
color: $white; color: $white;
label { label {
display: block;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
padding: 10px 0px; padding-bottom: 5px;
min-height: 14px; min-height: 14px;
} }
input { input {
background: transparent; background: transparent;
outline: none; outline: none;
border: 0; border:1px solid #404040;
border-radius: 4px;
padding: 10px;
color: $gold; color: $gold;
-webkit-text-fill-color: $white; -webkit-text-fill-color: $white;
font-size: 22px; font-size: 18px;
width: 100%; width: 100%;
// font-weight: 200; font-weight: 400;
margin-bottom: 25px; margin-bottom: 20px;
width: 600px;
} }
input::-webkit-input-placeholder { input::-webkit-input-placeholder {

2
app/components/Onboarding/ConnectionType.scss

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

4
app/components/Onboarding/FormContainer.js

@ -29,14 +29,14 @@ const FormContainer = ({ title, description, back, next, children }) => (
<div className={styles.buttonsContainer}> <div className={styles.buttonsContainer}>
<section> <section>
{back && ( {back && (
<div onClick={back}> <div onClick={back} className={styles.backButton}>
<FaAngleLeft style={{ verticalAlign: 'top' }} /> Back <FaAngleLeft style={{ verticalAlign: 'top' }} /> Back
</div> </div>
)} )}
</section> </section>
<section> <section>
{next && ( {next && (
<div onClick={next}> <div onClick={next} className={styles.nextButton}>
Next <FaAngleRight style={{ verticalAlign: 'top' }} /> Next <FaAngleRight style={{ verticalAlign: 'top' }} />
</div> </div>
)} )}

24
app/components/Onboarding/FormContainer.scss

@ -22,7 +22,7 @@
.info { .info {
color: $white; color: $white;
margin: 20px 0 20px 0; margin-bottom: 20px;
padding: 20px 40px; padding: 20px 40px;
h1 { h1 {
@ -41,13 +41,13 @@
position: relative; position: relative;
background: $spaceblue; background: $spaceblue;
height: 100vh; height: 100vh;
padding: 60px 40px; padding: 40px 40px;
} }
.footer { .footer {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
padding: 20px 40px; padding: 25px 40px;
color: $white; color: $white;
width: calc(100% - 80px); width: calc(100% - 80px);
@ -56,14 +56,30 @@
flex-direction: row; flex-direction: row;
justify-content: space-between; 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; cursor: pointer;
transition: all 0.25s; transition: all 0.25s;
padding: 10px 20px 10px 0px;
text-align: center;
&:hover { &:hover {
opacity: 0.5; opacity: 0.5;
} }
} }
} }
} }

4
app/components/Onboarding/InitWallet.scss

@ -7,7 +7,9 @@
.password { .password {
background: transparent; background: transparent;
outline: none; outline: none;
border: 0; border:1px solid #404040;
border-radius: 4px;
padding: 15px;
color: $gold; color: $gold;
-webkit-text-fill-color: $white; -webkit-text-fill-color: $white;
font-size: 22px; font-size: 22px;

8
app/components/Onboarding/Login.scss

@ -7,15 +7,17 @@
.password { .password {
background: transparent; background: transparent;
outline: none; outline: none;
border: 0; border:1px solid #404040;
border-radius: 4px;
padding: 15px;
color: $gold; color: $gold;
-webkit-text-fill-color: $white; -webkit-text-fill-color: $white;
font-size: 22px; font-size: 22px;
border-bottom: 1px solid transparent; //border-bottom: 1px solid transparent;
transition: all 0.25s; transition: all 0.25s;
&.inputError { &.inputError {
border-bottom: 1px solid $red; border: 1px solid $red;
} }
} }

8
app/components/Onboarding/NewAezeedPassword.scss

@ -1,20 +1,22 @@
@import '../../variables.scss'; @import '../../variables.scss';
.input:nth-child(2) { .input:nth-child(2) {
margin-top: 40px; margin-top: 30px;
} }
.password { .password {
background: transparent; background: transparent;
outline: none; outline: none;
border: 0; border:1px solid #404040;
border-radius: 4px;
padding: 15px;
color: $gold; color: $gold;
-webkit-text-fill-color: $white; -webkit-text-fill-color: $white;
font-size: 22px; font-size: 22px;
transition: all 0.25s; transition: all 0.25s;
&.error { &.error {
border-bottom: 1px solid $red; border: 1px solid $red;
} }
} }

8
app/components/Onboarding/NewWalletPassword.scss

@ -1,20 +1,22 @@
@import '../../variables.scss'; @import '../../variables.scss';
.input:nth-child(2) { .input:nth-child(2) {
margin-top: 40px; margin-top: 30px;
} }
.password { .password {
background: transparent; background: transparent;
outline: none; outline: none;
border: 0; border:1px solid #404040;
border-radius: 4px;
padding: 15px;
color: $gold; color: $gold;
-webkit-text-fill-color: $white; -webkit-text-fill-color: $white;
font-size: 22px; font-size: 22px;
transition: all 0.25s; transition: all 0.25s;
&.error { &.error {
border-bottom: 1px solid $red; border: 1px solid $red;
} }
} }

2
app/components/Onboarding/Signup.scss

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

Loading…
Cancel
Save