James Prado 9ef1920fe0 Update dropdowns, inputs, and textareas (#1169)
* Align footer to bottom

* Fix request payment offset padding

* Update request payment padding

* Add new Input and Dropdown components

* Fix offset margins in equiv vals

* Update all send tx inputs & dropdowns

* Update generate wallet dropdowns

* Update inputs & dropdowns for contracts tab

* Add inputs & dropdowns for all but swap tab

* amend

* Fix imports

* inputs are invalid when not disabled or readonly

* Fix offset refresh button

* Add togglable password back to wallet generation

* Update swap inputs, textareas, and dropdowns

* Update any outstanding inputs

* Make UnitDropDown searchable

* unitdropdown searchanble if options > 10

* Fix css issues

* Reset before setting currentTo
2018-03-01 11:53:29 -06:00

69 lines
1.1 KiB
SCSS

@import 'common/sass/variables';
.CurrencySwap {
text-align: center;
&-title {
font-weight: 100;
margin-bottom: $space * 2.5;
}
&-input,
&-divider {
display: inline-block;
vertical-align: top;
}
&-input-group {
display: inline-block;
}
&-error-message {
display: block;
min-height: 25px;
color: $brand-danger;
text-align: left;
}
&-inner-wrap {
display: flex;
justify-content: center;
margin: 0 -8px;
margin-bottom: 2rem;
> .input-group-wrapper {
margin: 0 8px;
width: 100%;
max-width: 400px;
}
}
@media (max-width: $screen-sm) {
&-inner-wrap {
display: block;
margin: 0;
> .input-group-wrapper {
max-width: 100%;
margin: 0;
}
}
}
&-dropdown {
display: inline-block;
margin: 0 0;
}
&-input {
width: 100%;
max-width: 10rem;
margin-right: $space-sm;
margin-bottom: 0;
}
&-divider {
font-size: 2.1125rem;
margin: 0rem 1rem;
line-height: $input-height-base;
font-weight: 300;
}
&-submit {
margin-top: 0.5rem;
}
}