From 150341463e3e523b6c923b455276dce7e348710a Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Thu, 26 Oct 2017 17:04:27 -0500 Subject: [PATCH] fix(channelform): final MVP design touches --- app/app.global.scss | 10 +++++ app/components/ChannelForm/ChannelForm.js | 9 +++- app/components/ChannelForm/Footer.js | 43 ++++++++++--------- app/components/ChannelForm/StepThree.scss | 2 +- app/components/ChannelForm/StepTwo.scss | 2 +- app/reducers/channelform.js | 6 +++ app/reducers/channels.js | 6 ++- .../channels/containers/ChannelsContainer.js | 7 ++- 8 files changed, 59 insertions(+), 26 deletions(-) diff --git a/app/app.global.scss b/app/app.global.scss index df38cff3..1af35784 100644 --- a/app/app.global.scss +++ b/app/app.global.scss @@ -106,6 +106,16 @@ body { } } +.buttonPrimary.inactive { + opacity: 0.5; + cursor: auto; +} + +.buttonPrimary.inactive:active { + box-shadow: 0 3px 0 0 darken($main, 10%); + transform: none; +} + .buttonSecondary { background-color: $secondary; box-shadow: 0 3px 0 0 darken($secondary, 10%); diff --git a/app/components/ChannelForm/ChannelForm.js b/app/components/ChannelForm/ChannelForm.js index 8c677aa7..249abdb6 100644 --- a/app/components/ChannelForm/ChannelForm.js +++ b/app/components/ChannelForm/ChannelForm.js @@ -14,6 +14,7 @@ import styles from './ChannelForm.scss' const ChannelForm = ({ channelform, + openChannel, closeChannelForm, changeStep, setNodeKey, @@ -21,6 +22,7 @@ const ChannelForm = ({ setPushAmount, channelFormHeader, channelFormProgress, + stepTwoIsValid, peers }) => { const renderStep = () => { @@ -61,7 +63,12 @@ const ChannelForm = ({ {renderStep()} -