MyCrypto/common/sass/styles/overrides/input-groups.scss
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

54 lines
915 B
SCSS

// Input groups overrides
@import 'common/sass/variables';
label {
font-weight: normal;
}
.input-group {
> * {
margin-bottom: 0;
margin-top: 0;
}
.dropdown-toggle {
padding-left: $space-md;
padding-right: $space-md;
}
}
// Align with inputs
.input-group-addon {
width: auto;
font-size: 1rem;
line-height: 1.4;
margin-bottom: 1rem;
padding: 0.75rem 1rem;
&--transparent {
background-color: transparent;
border: none;
}
}
.input-group-btn {
.btn {
margin-bottom: 0;
margin-top: 0;
font-size: $font-size-base;
padding: 0.5rem $space-xl;
}
// Fix for nested dropdown button
&:not(:first-child) > .dropdown > .btn {
border-left: 0;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
&:not(:last-child) > .dropdown > .btn {
border-right: 0;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
}