-
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.
- Loading branch information
1 parent
3719084
commit 5caac7a
Showing
9 changed files
with
91 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.lista-suspensa select { | ||
background-color: #FFF; | ||
box-shadow: 10px 10px 30px rgba(0, 0, 0.06); | ||
width: 100%; | ||
border: none; | ||
font-size: 24px; | ||
padding: 24px; | ||
border-radius: 10px; | ||
} | ||
|
||
.lista-suspensa { | ||
display: block; | ||
margin-bottom: 8px; | ||
font-size: 24px; | ||
} | ||
|
||
.lista-suspensa label { | ||
display: block; | ||
margin-bottom: 8px; | ||
font-size: 20px; | ||
font-weight: bold | ||
} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import "./ListaSuspensa.css" | ||
|
||
|
||
const ListaSuspensa = (props) => { | ||
return ( | ||
<div className="lista-suspensa"> | ||
<label>{props.label}</label> | ||
<select required={props.required}> | ||
{props.itens.map((item) => { | ||
return <option key={item}>{item}</option>; | ||
})} | ||
</select> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ListaSuspensa; |
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.botao { | ||
background-color: #6278f7; | ||
border-radius: 10px; | ||
font-weight: 700; | ||
font-size: 18px; | ||
padding: 32px; | ||
border: none; | ||
cursor: pointer; | ||
color: #FFF; | ||
margin: 16px 0; | ||
} | ||
|
||
.botao:hover { | ||
color: #95FFD4 | ||
} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import "./botao.css" | ||
|
||
const Botao = (props) => { | ||
return (<button className='botao'> | ||
{props.children} | ||
</button>) | ||
} | ||
|
||
export default Botao |
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,12 +1,12 @@ | ||
.formulario { | ||
display: flex; | ||
justify-content: center; | ||
margin: 80 px 0; | ||
margin: 80px 0; | ||
} | ||
.formulario form { | ||
max-width: 80%; | ||
background-color: #F2F2F2; | ||
border-radius: 20px; | ||
padding: 36px 64px; | ||
box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08); | ||
box-shadow: 8px 8px 16px rgba(0, 0 ,0, 0.08); | ||
} |
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