Skip to content

Commit

Permalink
styled formfields components
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxnelson997 committed Jul 10, 2018
1 parent 0a1973c commit 1c40a83
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/auth/signinForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class SignInForm extends Component {
placeholder='Password'
name='password'
component={FormInput}/>
<div className='sign-in-form__line'></div>
<Field className='sign-in-form__login'
onClick={() => console.log('tryna submit')}
type='submit'
Expand Down
4 changes: 3 additions & 1 deletion src/style/auth/signin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
}

.sign-in-form {

&__line {
border-top: 1px solid #ccc;
}
}
37 changes: 37 additions & 0 deletions src/style/form-fields.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.form-input {
display: grid;
grid-gap: 6.5px;

& > * {
padding-left: 20px;
}

&__label {
font-size: 14px;
}
&__input {
box-sizing: border-box;
height: 39px;
width: 426px;
border: 1px solid #E6E6E6;
border-radius: 20px;
color: #333333;
font-size: 18px;
}
}

.form-button {
&__button {
height: 38px;
width: 243px;
border-radius: 20px;
background-color: #00CB79;

font-size: 16px;
color: white;

&:focus {
outline: none;
}
}
}
8 changes: 7 additions & 1 deletion src/style/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ html {
box-sizing: inherit;
}

body {
font-family: "Open Sans";
color: #808080;
}


@import 'layout';
@import 'headernavbar';
@import 'auth/signin';
@import 'auth/signup';

@import 'page-title';
@import 'page-title';
@import 'form-fields';

0 comments on commit 1c40a83

Please sign in to comment.