fix onboarding layout errors

This commit is contained in:
Javier 2016-12-29 16:48:05 -03:00
commit 574a216e4b
7 changed files with 160 additions and 81 deletions

View file

@ -33,14 +33,13 @@
text-align: center;
.backup-phrase {
background-color: $subtle-gray;
padding: 12px;
margin: 0 1rem 0 1rem;
border: 2px dashed darken($subtle-gray, 10%);
border-radius: $subtle-radius;
color: #2b2b2b;
text-align: center;
max-width: 500px;
min-height: 10rem;
width: 85%;
min-height: 9rem;
display: flex;
justify-content: center;
align-items: center;
@ -61,70 +60,96 @@
}
}
}
&-step-1,
&-step-1 {
height: 70%;
color: $dark-gray;
.initial-prompt {
padding: 3rem;
@media(max-height: 480px) {
padding: 2rem;
}
}
.tldr-prompt {
padding-bottom: 3rem;
@media(max-height: 480px) {
height: 30%;
padding-bottom: 1rem;
font-size: 14px;
}
}
}
&-step-2 {
display: flex;
flex-direction: column;
display: block;
height: 70%;
width: 100%;
justify-content: center;
align-items: center;
}
&-step-1 {
height: 70%;
}
&-step-2 {
height: 60%
.confirmation-prompt {
padding: 3rem;
@media(max-height: 480px) {
padding: 1rem;
}
}
#select-phrase {
background: $subtle-gray;
.select-word {
&.button[disabled] {
background: transparent !important;
box-shadow: none !important;
color: transparent;
border: 1px solid rgb(211, 211, 211);
}
}
&-content {
max-width: 500px;
margin-left: auto;
margin-right: auto;
.tldr-prompt {
font-weight: bold;
padding: 1rem;
@media(max-height: 480px) {
padding: 0.5rem;
font-size: 14px;
}
}
}
.cta-buttons {
padding-bottom: 0;
}
}
.select-word {
background: #fff;
box-shadow: $subtle-box-shadow;
display: inline-block;
margin: 3px 0;
min-height: 35px;
line-height: 33px;
padding: 0 8px;
@media (min-width: 400px) {
margin: 4px 3px;
padding: 0 16px;
}
@media(max-height: 480px) {
font-size: 14px;
}
}
.tldr-prompt {
padding-bottom: 3rem;
@media(max-height: 480px) {
height: 30%;
padding-bottom: 1rem;
font-size: 14px;
}
}
}
&-step-3 {
}
.initial-prompt,
.confirmation-prompt,
.tldr-prompt {
color: $dark-gray;
padding-bottom: 1.5rem;
}
.initial-prompt,
.confirmation-prompt {
padding-top: 1.5rem;
}
.tldr-prompt {
font-weight: bold;
}
.cta-buttons {
@extend %cta-buttons;
padding-bottom: 5vh;
}
.select-word {
background: #fff;
box-shadow: $subtle-box-shadow;
display: inline-block;
margin: 3px 0;
min-height: 38px;
line-height: 33px;
padding: 0 8px;
@media (min-width: 400px) {
margin: 4px 3px;
padding: 0 16px;
}
}
#select-phrase {
background: $subtle-gray;
padding: 5% 0;
.select-word {
&.button[disabled] {
background: transparent !important;
box-shadow: none !important;
color: transparent;
border: 1px solid rgb(211, 211, 211);
}
}
&-content {
max-width: 500px;
width: 90%;
margin-left: auto;
margin-right: auto;
@media(max-height: 480px) {
padding-bottom: 3vh;
}
}
ion-content.has-tabs{