mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-22 15:58:31 +00:00
* 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%
72 lines
1.2 KiB
SCSS
72 lines
1.2 KiB
SCSS
@import 'common/sass/variables';
|
|
|
|
$width: 320px;
|
|
$number-width: 40px;
|
|
$number-margin: 6px;
|
|
|
|
@keyframes word-fade {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.MnemonicWord {
|
|
display: flex;
|
|
width: $width;
|
|
margin-bottom: $space-xs;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
& .input-group-addon {
|
|
margin-bottom: $space-md;
|
|
}
|
|
|
|
&-word {
|
|
width: $width - $number-width - $number-margin;
|
|
|
|
&-input {
|
|
animation: word-fade 400ms ease 1;
|
|
animation-fill-mode: both;
|
|
transition: border 0.2s ease-in;
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
&-button {
|
|
position: relative;
|
|
width: 300px;
|
|
margin-bottom: $space-sm;
|
|
|
|
&-index {
|
|
position: absolute;
|
|
top: -4px;
|
|
left: -7px;
|
|
z-index: 1;
|
|
color: color(text-color-inverted);
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 100%;
|
|
background: linear-gradient(
|
|
to top,
|
|
color(brand-success),
|
|
color(brand-success-light)
|
|
);
|
|
line-height: 24px;
|
|
}
|
|
}
|
|
|
|
// Fade-in animation
|
|
@for $i from 1 to 12 {
|
|
&:nth-child(#{$i}) {
|
|
.MnemonicWord-word-input {
|
|
animation-delay: $i * 50ms;
|
|
}
|
|
}
|
|
}
|
|
}
|