William O'Beirne 8854d42fd9 Sidebar refactor / style update (#173)
* 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.

* Break out files, style up account info.

* Style up token balances.

* Equivalent values styling.

* Sidebar promos.

* Fix up delete button and add custom form.

* Even spacing.

* Unlog

* Convert Big types to Ether types

* Fix test to expect Ether instead of Big
2017-09-08 14:26:51 -05:00

91 lines
1.4 KiB
SCSS

@import "common/sass/variables";
@import "common/sass/mixins";
.Promos {
&-promo {
position: relative;
height: 6rem;
display: block;
color: #fff;
text-decoration: none;
text-align: center;
transition-duration: 200ms;
@include clearfix;
&:hover,
&:focus,
&:active {
color: #fff;
opacity: 0.85;
}
&-inner {
position: absolute;
display: flex;
align-items: center;
top: 50%;
left: 0;
width: 100%;
transform: translateY(-50%);
}
&-text,
&-images {
padding: 0 $space-sm;
}
&-text {
flex: 1;
p,
h4,
h5,
h6 {
margin: .15rem 0;
}
p {
font-size: 0.8rem;
}
h5 {
font-size: 1.3rem;
}
}
&-images {
padding: 0 $space * 1.5;
img {
display: block;
margin: 0 auto;
width: 100%;
max-width: 96px;
height: auto;
padding: $space-xs;
}
}
}
&-nav {
text-align: center;
&-btn {
@include reset-button;
display: inline-block;
margin: 0 $space-xs;
background: $gray-dark;
width: 12px;
height: 12px;
border: 3px solid $gray-lightest;
border-radius: 100%;
outline: none;
opacity: 0.6;
&.is-active {
opacity: 1;
}
}
}
}