Ajout d'une indication pour le choix d'objectifs multiples

pull/138/head
mama 2017-11-30 11:14:39 +01:00
parent 0adb49b792
commit 10b67e7d59
2 changed files with 18 additions and 7 deletions

View File

@ -22,7 +22,6 @@
}
#targetSelection div {
display: inline-block;
margin-left: 1em;
line-height: 0.6em;
}
@ -66,17 +65,26 @@
color: #2975d1;
}
#targetSelection #action {
text-align: center;
margin: 2em auto;
}
#targetSelection #action p {
font-size: 80%;
color: #4a89dc;
}
/* TODO styler les checkboxes https://codepen.io/KenanYusuf/pen/PZKEKd */
#targetSelection button {
color: white;
display: block;
text-align: center;
background: #4a89dc;
padding: 0.3em 1em;
font-size: 200%;
margin: 2em auto;
width: 8em;
margin: 0 auto;
border: none;
box-shadow: 0px 9px 14px 0px rgba(0, 0, 0, 0.1);
opacity: 0.95;

View File

@ -13,12 +13,15 @@ export default class TargetSelection extends Component {
return (
<section id="targetSelection">
<h2>Qu'allons-nous calculer ?</h2>
<h2>Que voulez-vous calculer ?</h2>
{this.renderOutputList()}
{targets.length !== 0 && (
<Link to={'/simu/' + targets.join('+')}>
<button>Valider</button>
</Link>
<div id="action">
<p>Vous pouvez faire plusieurs choix</p>
<Link to={'/simu/' + targets.join('+')}>
<button>Valider</button>
</Link>
</div>
)}
</section>
)