mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-13 04:24:14 +00:00
bf6a122e38
* 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%
53 lines
928 B
SCSS
53 lines
928 B
SCSS
@import 'common/sass/variables';
|
|
@import 'common/sass/mixins';
|
|
|
|
$button-padding: $space-xs $space-md;
|
|
$button-font-size: $font-size-small;
|
|
|
|
@if ($is-electron) {
|
|
$button-padding: 12px 0px;
|
|
$button-font-size: 13px;
|
|
}
|
|
|
|
|
|
.NetworkSelector {
|
|
width: 100%;
|
|
text-align: left;
|
|
color: color(text-color);
|
|
background: color(control-bg);
|
|
font-size: $font-size-base;
|
|
|
|
&-add,
|
|
&-alts {
|
|
@include reset-button;
|
|
display: block;
|
|
width: 100%;
|
|
padding: $button-padding;
|
|
text-align: center;
|
|
color: color(text-color);
|
|
font-size: $button-font-size;
|
|
|
|
&:hover {
|
|
color: color(link-hover-color);
|
|
}
|
|
|
|
.fa {
|
|
font-size: 12px;
|
|
width: 11px;
|
|
text-align: center;
|
|
opacity: 0.8;
|
|
margin-right: $space-xs;
|
|
}
|
|
}
|
|
|
|
&-alts {
|
|
border-bottom: 1px solid shade-dark(0.08);
|
|
}
|
|
|
|
@if ($is-electron) {
|
|
&-add {
|
|
border-bottom: 1px solid shade-dark(0.08);
|
|
}
|
|
}
|
|
}
|