Simplification de code

pull/159/head
mama 2018-01-30 16:24:28 +01:00
parent 8a20cb9314
commit f701cae12a
2 changed files with 3 additions and 7 deletions

View File

@ -21,7 +21,8 @@
opacity: 1;
}
.blueButton:disabled {
background: #4b4b66 !important;
background: #4b4b6633 !important;
box-shadow: none;
}
.blueButton a {
color: inherit;

View File

@ -23,12 +23,7 @@ export default class TargetSelection extends Component {
Vous pouvez faire plusieurs choix
</p>
<Link to={'/simu/' + targets.join('+')}>
<BlueButton
disabled={!ready}
style={{ opacity: !ready ? 0.15 : 1 }}
>
Valider
</BlueButton>
<BlueButton disabled={!ready}>Valider</BlueButton>
</Link>
</div>
</section>