William O'Beirne 6513acd03d Generate Mnemonic Wallet (#659)
* Initial work at splitting out generate into two flows.

* Finish mnemonic flow.

* Convert keystore to state-based component. Remove all redux generate stuff. Remove generate help section. Fix styles.

* Add back button, switch to routing instead of state for generate pages.

* PR feedback.

* Alertify warning at generate. Linkify alternatives. Fix some alert link styles.
2017-12-28 13:54:07 -06:00

62 lines
973 B
SCSS

@import 'common/sass/variables';
$width: 320px;
$number-width: 40px;
$number-margin: 6px;
@keyframes word-fade {
0% {
color: rgba($text-color, 0);
}
100% {
color: rgba($text-color, 1);
}
}
.MnemonicWord {
display: flex;
width: $width;
margin-bottom: $space-md;
&:last-child {
margin-bottom: 0;
}
&-number {
display: inline-block;
width: $number-width;
margin-right: $number-margin;
text-align: right;
font-size: 26px;
font-weight: 100;
line-height: 40px;
vertical-align: bottom;
}
&-word {
width: $width - $number-width - $number-margin;
&-input {
animation: word-fade 400ms ease 1;
animation-fill-mode: both;
}
&-toggle {
color: $gray-light;
&:hover {
color: $gray;
}
}
}
// Fade-in animation
@for $i from 1 to 12 {
&:nth-child(#{$i}) {
.MnemonicWord-word-input {
animation-delay: $i * 50ms;
}
}
}
}