design(disclaimer): start polishing disclaimer view

This commit is contained in:
Jason Dreyzehner 2016-10-07 02:45:50 -04:00
parent 926e80fcea
commit 4660683204
3 changed files with 35 additions and 22 deletions

View File

@ -1,6 +1,21 @@
#onboarding-disclaimer {
color: #fff;
height: 100%;
&-container {
max-width: 450px;
display: flex;
flex-direction: column;
justify-content: center;
margin-left: auto;
margin-right: auto;
height: calc(100vh - 210px);
}
#disclaimer-topic {
margin: 0 1rem;
}
#disclaimer-description {
margin: 1rem 1rem 2rem;
}
ion-content{
height: 100%;
&.has-header{
@ -29,6 +44,7 @@
background: transparent;
border: none;
color: #fff;
text-align: left;
.checkbox input:before,
.checkbox .checkbox-icon:before {
border-radius: 50% !important;
@ -46,13 +62,8 @@
.checkbox input:checked:after,
input:checked + .checkbox-icon:after {
border-color: rgb(19, 229, 182);
top:20%;
left:11%;
@media (min-width:450px){
&{
left: 20%;
}
}
top: 4px;
left: 5px;
}
.item-content {
width: 90%;
@ -64,14 +75,14 @@
margin-left: 3%;
top:44%;
}
#agree-to-terms{
#agree-to-terms {
background: #fff;
padding:1rem;
position: absolute;
bottom: 0;
width: 100%;
&.header-present{
bottom:16px;
bottom: 38px;
}
&-content{
max-width: 600px;
@ -87,6 +98,7 @@
}
p{
color:rgb(58,58,58);
text-align: left;
}
@media (min-width:450px){
p{

View File

@ -24,6 +24,7 @@
padding: 1rem;
position: absolute;
bottom: 0;
width: 100%;
.checkbox input:before,
.checkbox .checkbox-icon:before {
border-radius: 50% !important;

View File

@ -8,23 +8,23 @@
</ion-nav-buttons>
</ion-nav-bar>
<ion-content scroll="false" ng-class="{'has-header': backedUp == 'false'}">
<div class="row text-center">
<h3 translate class="col-75 col">Almost done! Let's review</h3>
<div id="onboarding-disclaimer-container">
<div class="onboarding-topic" id="disclaimer-topic">Almost done! Let's review.</div>
<div class="onboarding-description" id="disclaimer-description">Bitcoin is different &ndash; it cannot be safely held with a bank or web service.</div>
<ion-list>
<ion-checkbox ng-model="accept1">
<span translate>I understand that my funds are held securely on this device, not by a company.</span>
</ion-checkbox>
<ion-checkbox ng-model="accept2">
<span translate>I understand that if this app is moved to another device or deleted, my bitcoin can only be recovered with the backup phrase.</span>
</ion-checkbox>
</ion-list>
</div>
<div class="row text-center tag">
<p translate class="col col-75">
Bitcoin is different - it cannot be safely held with a bank or web service
</p>
</div>
<ion-list>
<ion-checkbox ng-model="accept1"><span translate>I understand my funds are held securely on this device, not by a company.</span></ion-checkbox>
<ion-checkbox ng-model="accept2"><span translate>I understand if this app moved to another device or deleted, my bitcoin can only be recovered with the backup phrase</span></ion-checkbox>
</ion-list>
<div id="agree-to-terms" ng-if="accept1 && accept2" ng-class="{'header-present': backedUp == 'false'}">
<div id="agree-to-terms-content" class="center-block">
<ion-checkbox ng-model="terms.accept3"></ion-checkbox>
<p translate>I have read, understood, and agree with the <a ng-click="openTermsModal()" translate>Terms of use</a>.</p>
<button ng-disabled="!accept1 || !accept2 || !terms.accept3" class="button button-block button-positive" ng-click="confirm()" translate>Confirm & Finish</button>
<p translate>I have read, understood, and agree to the <a ng-click="openTermsModal()" translate>Terms of Use</a>.</p>
<button ng-disabled="!accept1 || !accept2 || !terms.accept3" class="button button-block button-positive" ng-click="confirm()" translate>Confirm &amp; Finish</button>
</div>
</div>
</ion-content>