2018-01-12 17:50:51 +00:00
|
|
|
@import 'common/sass/variables';
|
|
|
|
@import 'common/sass/mixins';
|
2017-07-15 04:16:36 +00:00
|
|
|
|
|
|
|
$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 {
|
2018-01-12 17:50:51 +00:00
|
|
|
0%,
|
|
|
|
100% {
|
2017-11-18 20:33:53 +00:00
|
|
|
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-12-05 19:51:21 +00:00
|
|
|
@media screen and (max-width: $screen-sm) {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
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;
|
2018-06-27 04:51:42 +00:00
|
|
|
background: color(gray-darker);
|
|
|
|
|
|
|
|
@include theme(dark) {
|
|
|
|
background: color(gray-lighter);
|
|
|
|
}
|
2017-08-25 07:37:36 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: underline;
|
|
|
|
transition: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Colors
|
|
|
|
&.is-primary {
|
2018-06-27 04:51:42 +00:00
|
|
|
background: color(brand-primary);
|
2017-08-25 07:37:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-warning {
|
2018-06-27 04:51:42 +00:00
|
|
|
background: color(brand-warning);
|
2017-08-25 07:37:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-danger {
|
2018-06-27 04:51:42 +00:00
|
|
|
background: color(brand-danger);
|
2017-08-25 07:37:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-success {
|
2018-06-27 04:51:42 +00:00
|
|
|
background: color(brand-success);
|
2017-08-25 07:37:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-info {
|
2018-06-27 04:51:42 +00:00
|
|
|
background: color(brand-info);
|
|
|
|
border-bottom: 1px solid rgba(#fff, 0.4);
|
2017-08-25 07:37:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-15 04:16:36 +00:00
|
|
|
&-branding {
|
|
|
|
color: white;
|
|
|
|
padding: 0;
|
2018-02-07 23:22:31 +00:00
|
|
|
background: #274e7e;
|
2018-03-01 17:53:29 +00:00
|
|
|
background-image: url('~assets/images/header-bg.jpg'), linear-gradient(130deg, #37709e, #274e7e);
|
2018-02-07 23:22:31 +00:00
|
|
|
background-size: cover;
|
|
|
|
background-position: left;
|
2017-07-15 04:16:36 +00:00
|
|
|
|
|
|
|
@include small-query {
|
|
|
|
text-align: center;
|
2018-02-07 23:22:31 +00:00
|
|
|
background-position: center;
|
2017-07-15 04:16:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-inner {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
@include small-query {
|
|
|
|
flex-direction: column;
|
|
|
|
padding-left: $cont-padding;
|
|
|
|
padding-right: $cont-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-title {
|
|
|
|
@include big-query {
|
2018-02-07 04:28:28 +00:00
|
|
|
text-align: left;
|
2017-07-15 04:16:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-logo {
|
2018-02-07 04:28:28 +00:00
|
|
|
height: 64px;
|
|
|
|
width: auto;
|
|
|
|
padding: 8px;
|
|
|
|
padding-right: 0;
|
2018-03-01 17:53:29 +00:00
|
|
|
filter: drop-shadow(0 1px 0 rgba(#000, 0.12)) drop-shadow(1px 1px 0 rgba(#000, 0.12));
|
2017-07-15 04:16:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-02 22:36:59 +00:00
|
|
|
&-right {
|
|
|
|
font-size: 18px;
|
2018-01-12 17:50:51 +00:00
|
|
|
font-weight: 300;
|
2018-06-27 04:51:42 +00:00
|
|
|
color: color(text-color-inverted);
|
2017-10-02 22:36:59 +00:00
|
|
|
flex: 1 auto;
|
|
|
|
text-align: right;
|
|
|
|
padding: 0 0 5px;
|
2017-12-05 19:51:21 +00:00
|
|
|
|
2017-10-02 22:36:59 +00:00
|
|
|
@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;
|
|
|
|
}
|
|
|
|
|
2018-01-11 18:04:11 +00:00
|
|
|
&-online {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
2017-10-02 22:36:59 +00:00
|
|
|
&-dropdown {
|
|
|
|
margin-left: 6px;
|
|
|
|
|
2017-12-05 19:51:21 +00:00
|
|
|
@media screen and (max-width: $screen-xs) {
|
|
|
|
.btn {
|
2018-01-12 17:50:51 +00:00
|
|
|
padding: 0.3rem 0.5rem;
|
2017-12-05 19:51:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-02 22:36:59 +00:00
|
|
|
&-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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|