removed overflow-y hidden when elect-phrase element is relative

This commit is contained in:
Jamal Jackson 2016-09-14 11:26:00 -04:00
commit ca6b6c058b

View file

@ -1,84 +1,128 @@
#wallet-backup-phrase { #wallet-backup-phrase {
&, &,
& ion-content, & ion-content,
& ion-content .scroll { & ion-content .scroll {
height: 100%; height: 100%;
overflow-y: hidden; overflow-y: hidden;
} }
.bar.bar-royal { .bar.bar-royal {
.title { .title {
font-size: 1rem; font-size: 1rem;
} }
} }
background: #fff; background: #fff;
.backup-phrase { .backup-phrase {
background: rgba(246, 246, 246, 0.87); background: rgba(246, 246, 246, 0.87);
padding: .5rem .5rem 1.7rem; padding: .5rem .5rem 1.7rem;
border: 2px dashed rgb(206, 206, 206); border: 2px dashed rgb(206, 206, 206);
width: 95%; width: 95%;
margin: 1rem auto; margin: 1rem auto;
color: rgb(43, 43, 43); color: rgb(43, 43, 43);
text-align: center; text-align: center;
span { span {
line-height: 2rem; line-height: 2rem;
font-weight: bold; font-weight: bold;
max-width: 400px; max-width: 400px;
color: rgb(43, 43, 43); color: rgb(43, 43, 43);
} }
} }
p { p {
color: rgb(58, 58, 58); color: rgb(58, 58, 58);
font-weight: 200; font-weight: 200;
} }
.cta-buttons { .cta-buttons {
position: absolute; position: absolute;
width: 100%; width: 100%;
text-align: center; text-align: center;
bottom: 90px; bottom: 90px;
button { button {
max-width: 400px; max-width: 400px;
} }
} }
.select-word { .select-word {
background: #fff; background: #fff;
box-shadow: 0px 4px 5px 0px rgba(50, 50, 50, 0.37); box-shadow: 0px 4px 5px 0px rgba(50, 50, 50, 0.37);
margin: .25rem 0 .25rem; margin: .25rem 0 .25rem;
display: inline-block; display: inline-block;
padding: 0 5px; padding: 0 5px;
} }
#select-phrase { #select-phrase {
background: rgba(246, 246, 246, 0.87); background: rgba(246, 246, 246, 0.87);
width: 100%; width: 100%;
text-align: center; text-align: center;
position: absolute; position: absolute;
bottom: 43px; bottom: 43px;
padding-bottom: 20px; padding-bottom: 20px;
p { p {
font-weight: bold; font-weight: bold;
font-weight: bold; font-weight: bold;
padding-top: .7rem; padding-top: .7rem;
margin-bottom: 0.3rem; margin-bottom: 0.3rem;
float: left; float: left;
width: 100%; width: 100%;
} }
.select-word { .select-word {
&.button[disabled] { &.button[disabled] {
background: transparent !important; background: transparent !important;
box-shadow: none !important; box-shadow: none !important;
color: transparent; color: transparent;
border: 1px solid rgb(211, 211, 211); border: 1px solid rgb(211, 211, 211);
}
}
#confirm-phrase {
margin: 5px auto 0;
}
}
ion-content.has-header {
#select-phrase {
bottom: 75px;
}
.backup-phrase {
padding: .5rem .5rem .9rem;
}
} }
} }
#confirm-phrase{
margin:5px auto 0; @media (max-width: 400px) {
#wallet-backup-phrase {
ion-content {
h2 {
font-size: 1.2rem;
}
p,
h2,
h3 {
max-width: 600px !important;
}
button {
max-width: 400px !important;
}
}
}
} }
}
ion-content.has-header{ @media (max-height: 560px) {
#select-phrase{ #wallet-backup-phrase {
bottom:75px; &,
} & ion-content,
.backup-phrase{ & ion-content .scroll {
padding: .5rem .5rem .9rem; overflow-y:visible;
} }
} #select-phrase {
} float: left;
position: relative;
}
.backup-phrase {
margin-bottom: 5rem;
}
}
}
@media (max-height: 379px) {
#wallet-backup-phrase {
.cta-buttons {
float: left;
position: relative;
bottom: 0;
}
}
}