William O'Beirne bf6a122e38 Night Mode Theme (#1896)
* Initial changes to define theme maps, color function, and convert all global styles.

* More global styles.

* All styles converted, colors uncertain.

* Fix tabs, temporary theme toggle button.

* Color refinements

* Color network selector, introduce shade function

* Make palette page

* Add theme button and minor styling to nav

* Blueify dark theme

* A bunch of color adjustments to work better with dark theme

* Fix tables

* Fix wallet decrypt colors

* More misc fixes

* Fix up electron colors

* Convert web theme to redux state / action

* Theme toggle in app, prevent rerenders

* Get rid of all variables, fix selects

* Fix conf modal, modal close styles

* Fix test

* Adjust swap colors

* Check in breaking out component, changing icons

* Check in progress

* Theme toggle in footer. New icons

* Prevent rerender on theme change

* Fix up outstanding merge conflicts

* Fix generate colors to be dark mode friendly

* Reduce swap color intensity

* Make disabled buttons darker in dark mode

* Reduce button size by 25%
2018-06-26 23:51:42 -05:00

120 lines
2.3 KiB
SCSS

@import 'common/sass/variables';
@import 'common/sass/mixins';
.SupportPage {
padding: 0;
max-width: 920px;
margin: 0 auto;
&-mycrypto {
text-align: center;
&-logo {
display: block;
margin: 0 auto $space;
height: 100px;
background-image: url('~assets/images/logo-mycrypto-transparent.svg');
background-position: center;
background-size: auto 100%;
background-repeat: no-repeat;
@include theme(dark) {
background-image: url('~assets/images/logo-mycrypto.svg');
}
}
&-about {
max-width: 700px;
margin: 0 auto $space;
}
&-social {
margin-bottom: $space-sm;
&-link {
margin: 0 .45rem;
color: shade-dark(0.4);
&:hover {
opacity: 1;
}
.sm-icon {
font-size: 1.3rem;
}
}
}
&-legal {
display: flex;
justify-content: center;
&-text {
margin: 0 $space-sm;
color: shade-dark(0.4);
font-size: $font-size-xs-bump;
a {
color: shade-dark(0.4);
&:hover {
color: color(link-hover-color);
}
}
}
}
}
&-affiliates-title,
&-products-title,
&-donate-title {
text-align: center;
margin-top: 0;
margin-bottom: $space;
}
&-donate {
text-align: center;
&-type {
margin-bottom: $space-md;
&-currency {
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
font-size: $font-size-small;
margin-bottom: $space-xs;
&-icon {
display: inline-block;
width: 20px;
height: 20px;
margin-right: $space-xs;
background-size: 100%;
&.is-ETH {
background-image: url('~assets/images/ether.png');
}
&.is-BTC {
background-image: url('~assets/images/bitcoin.png');
}
}
}
&-address {
display: block;
padding: $space-xs $space-sm;
background: shade-dark(0.06);
border: 1px solid shade-dark(0.12);
font-size: $font-size-xs;
border-radius: 4px;
word-wrap: break-word;
@include mono;
}
}
}
}