-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New send icon ++ no border between button and input field
- Loading branch information
Anthony Herco
committed
Nov 19, 2017
1 parent
759f85e
commit 77fafe4
Showing
5 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,6 @@ | |
width: 98%; | ||
padding: 0.5em; | ||
border: 0.1em solid #b3b3b3; | ||
border-right: none; | ||
font-size: 1em; | ||
} |
9 changes: 6 additions & 3 deletions
9
src/scenes/Bank/components/InputBank/components/SubmitInputBank/SubmitInputBank.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
.SubmitInputBank > input { | ||
.SubmitInputBank { | ||
width: 3em; | ||
padding: 0.5em; | ||
padding-left: 1em; | ||
padding-right: 1em; | ||
font-size: 1em; | ||
background-color: white; | ||
border: 0.1em solid #b3b3b3; | ||
border-left: none; | ||
} | ||
|
||
.SubmitInputBank > input:hover { | ||
.SubmitInputBank:hover { | ||
filter: brightness(90%); | ||
transition-duration: 0.1s; | ||
} | ||
|
||
.SubmitInputBank > input:active { | ||
.SubmitInputBank:active { | ||
filter: brightness(80%); | ||
transition-duration: 0.1s; | ||
} |
6 changes: 4 additions & 2 deletions
6
src/scenes/Bank/components/InputBank/components/SubmitInputBank/SubmitInputBank.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import React, { Component } from 'react'; | ||
import MdSend from 'react-icons/lib/md/send'; | ||
import './SubmitInputBank.css'; | ||
|
||
export default class SubmitInputBank extends Component { | ||
render () { | ||
const button = <input type='button' value='>>' />; | ||
return <div className='SubmitInputBank'>{button}</div>; | ||
const icon = <MdSend {...this.props} />; | ||
const button = <input type='button' />; | ||
return <div className='SubmitInputBank'>{icon}</div>; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters