Daniel Ternyak a4ec6f6139 Finalize send (broadcast signedTx, loading indicators, error handling, form validation) (#141)
* hide buttons during send loading state

* fix transaction succeeded not clickable; provide error in action

* move BroadcastStatusTransaction into 'libs/transaction'

* use more succint Array.prototype.find

* rename resetState -> resetTransaction

* refactor and component componentDidUpdate logic

* rename disabled -> generateDisabled; comment componentDidUpdate

* add size to Spinner, use in ConfirmationModal; disable instead of hide buttons in Modal

* fix flow not understanding that an object wouldn't be null in this case anyway. silly flow

* various refactors; send entire balance working
2017-08-30 21:00:31 -07:00

54 lines
952 B
SCSS

@import "common/sass/variables";
$summary-height: 54px;
.ConfModal {
&-summary {
display: flex;
margin-bottom: 30px;
&-icon {
height: $summary-height;
width: $summary-height;
margin: 0 30px;
}
&-amount {
flex-grow: 1;
text-align: center;
line-height: $summary-height / 2;
&-arrow {
display: inline-block;
height: $summary-height / 3;
width: 100%;
background-image: url('~assets/images/icon-dot-arrow.svg');
background-size: auto 100%;
background-repeat: no-repeat;
background-position: center;
}
&-currency {
color: $brand-danger;
}
}
}
&-details {
padding-left: 30px;
margin-bottom: 20px;
}
&-confirm {
text-align: center;
font-weight: bold;
font-size: $font-size-medium-bump;
}
&-loading {
text-align: center;
font-size: $font-size-medium-bump
}
}