William O'Beirne de7d4fbaa2 v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less

* Darken body, adjust header.

* First pass at tab styles, each tab will need a lot of individual love tho.

* Update footer to main site content, improve responsiveness.

* Missing key added.

* Fix dropdowns.

* Convert GenerateWallet HTML over, still needs styling.

* Send form.

* Current rates styled.

* CurrencySwap form styles.

* SwapInfoHeader styled.

* Finish up swap restyling, minor usability improvements for mobile.

* Fix up notifications / alert customizations

* Import v3 variables.

* Fix notification spacing.

* Align input height base with buttons.

* Revert height base, add additional bootstrap overrides.

* Grid overrides.

* Move overrides to their own folder. Adjust naming.

* Fix inconsistencies.

* Style generate wallet pt 1.

* Style generate wallet pt 2

* Style generate wallet pt 3

* Fix swap

* Added some missing overries, fixed the fallout.

* Remove header text, indicate alpha version.

* Fix radio / checkbox weights.

* Bind => arrow

* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.

* Fix token balances buttons, footr icons.
2017-09-05 14:52:01 -05:00

77 lines
1.5 KiB
SCSS

@import "common/sass/variables";
@import "common/sass/mixins";
.SwapRates {
&-title {
margin-top: 0;
text-align: center;
}
&-panel {
position: relative;
margin: 0 auto $space * 2;
background: linear-gradient(150deg, $ether-blue, $ether-navy);
@include mono;
&-side {
display: flex;
flex-direction: column;
justify-content: space-around;
min-height: 100px;
text-align: center;
padding: $space 0;
}
&-rate {
color: #fff;
&-input {
display: inline-block;
width: 16%;
min-width: 3.5rem;
height: 2rem;
padding: 1rem;
margin: .5rem auto;
font-size: 1rem;
margin-right: $space;
text-align: right;
background-color: transparent;
box-shadow: 0 0 0 #fff;
border: 0 solid #fff;
border-bottom: 2px solid #fff;
}
&-amount {
display: inline-block;
min-width: 190px;
opacity: 0.9;
text-align: left;
}
}
&-logo {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
// Go vertical on small screens
@media screen and (max-width: $screen-sm) {
padding-top: 1rem;
padding-bottom: 1rem;
&-side {
text-align: left;
padding: 0 0 0 22%;
}
&-logo {
left: -1rem;
top: 40%;
transform: rotate(-90deg);
}
}
}
}