2017-07-15 04:16:36 +00:00
|
|
|
@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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-18 20:33:53 +00:00
|
|
|
@keyframes dropdown-is-flashing {
|
|
|
|
0%, 100% {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-15 04:16:36 +00:00
|
|
|
// Header
|
|
|
|
.Header {
|
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 19:52:01 +00:00
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
2017-08-25 07:37:36 +00:00
|
|
|
&-announcement {
|
2017-08-28 19:09:42 +00:00
|
|
|
padding: 4px 10px;
|
|
|
|
line-height: 26px;
|
|
|
|
font-size: 16px;
|
2017-08-25 07:37:36 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-15 04:16:36 +00:00
|
|
|
&-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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-02 22:36:59 +00:00
|
|
|
&-right {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 200;
|
2017-07-15 04:16:36 +00:00
|
|
|
color: white;
|
2017-10-02 22:36:59 +00:00
|
|
|
flex: 1 auto;
|
|
|
|
text-align: right;
|
|
|
|
padding: 0 0 5px;
|
|
|
|
@include small-query {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-07-15 04:16:36 +00:00
|
|
|
|
2017-10-02 22:36:59 +00:00
|
|
|
> * {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-top: 5px;
|
2017-07-15 04:16:36 +00:00
|
|
|
}
|
|
|
|
|
2017-10-02 22:36:59 +00:00
|
|
|
&-version {
|
|
|
|
max-width: 395px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-dropdown {
|
|
|
|
margin-left: 6px;
|
|
|
|
|
|
|
|
&-add {
|
|
|
|
text-align: center;
|
|
|
|
padding-top: $space-sm !important;
|
|
|
|
padding-bottom: $space-sm !important;
|
2017-07-15 04:16:36 +00:00
|
|
|
}
|
2017-11-18 20:33:53 +00:00
|
|
|
|
|
|
|
&.is-flashing {
|
|
|
|
pointer-events: none;
|
|
|
|
animation: dropdown-is-flashing 800ms ease infinite;
|
|
|
|
}
|
2017-07-15 04:16:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|