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

160 lines
2.7 KiB
SCSS

@import "common/sass/variables";
@import "common/sass/mixins";
$small-size: 900px;
@mixin small-query {
@media screen and (max-width: $small-size) {
@content;
}
}
@mixin big-query {
@media screen and (min-width: $small-size + 1) {
@content;
}
}
// Header
.Header {
margin-bottom: 2rem;
&-announcement {
padding: 4px 10px;
line-height: 26px;
font-size: 16px;
text-align: center;
font-weight: 300;
color: #fff;
transition: background-color 80ms ease;
a {
color: #fff;
text-decoration: underline;
transition: none;
&:hover,
&:focus {
opacity: 0.7;
}
}
// Colors
&,
&.is-primary {
background: $brand-primary;
}
&.is-warning {
background: $brand-warning;
}
&.is-danger {
background: $brand-danger;
}
&.is-success {
background: $brand-success;
}
&.is-info {
background: $brand-info;
border-bottom: 1px solid rgba(#fff, 0.6);
}
}
&-branding {
color: white;
padding: 0;
@include bg-gradient;
@include small-query {
text-align: center;
}
&-inner {
display: flex;
align-items: center;
@include small-query {
flex-direction: column;
padding-left: $cont-padding;
padding-right: $cont-padding;
}
}
&-title {
@include big-query {
flex-basis: 245px;
}
&-logo {
max-width: 1000px;
padding: 5px 0;
min-width: 220px;
}
&-tagline {
font-size: 18px;
font-weight: 200;
color: white;
flex: 1 auto;
text-align: right;
padding: 5px 0;
@include small-query {
text-align: center;
}
> * {
display: inline;
vertical-align: middle;
}
&-version {
max-width: 395px;
}
}
}
a {
color: white;
cursor: pointer;
font-weight: 400;
transition: 250ms all ease;
&:hover,
&:active {
opacity: .8;
color: white;
text-decoration: none;
transition: 250ms all ease;
}
}
// TODO - Move to dropdown component?
.dropdown {
margin-left: 15px;
padding: 0;
text-align: right;
white-space: nowrap;
.dropdown-menu {
right: -10px;
left: auto;
min-width: auto;
left: auto;
& > li > a {
font-size: 15px;
padding: 5px 30px 5px 15px;
position: relative;
&.active {
text-decoration: none;
color: $brand-primary;
background-color: $gray-lightest;
}
}
}
}
}
}