updated and fixed issues with collect email view styling, moved skip button to top right
This commit is contained in:
parent
57c1942740
commit
d2b5a70d93
3 changed files with 50 additions and 28 deletions
|
|
@ -1,4 +1,11 @@
|
||||||
<ion-view ng-controller="collectEmailController" id="onboarding-collect-email" class="onboarding">
|
<ion-view ng-controller="collectEmailController" id="onboarding-collect-email" class="onboarding">
|
||||||
|
<ion-nav-bar class="bar-overlay">
|
||||||
|
<ion-nav-buttons side="right">
|
||||||
|
<button class="button button-block button-positive button-clear" ng-click="onboardingMailSkip()">
|
||||||
|
{{'Skip' | translate}}
|
||||||
|
</button>
|
||||||
|
</ion-nav-buttons>
|
||||||
|
</ion-nav-bar>
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<img src="img/onboarding-success.svg" class="col col-75" id="success-image" />
|
<img src="img/onboarding-success.svg" class="col col-75" id="success-image" />
|
||||||
|
|
@ -8,18 +15,15 @@
|
||||||
</div>
|
</div>
|
||||||
<div id="collect-email">
|
<div id="collect-email">
|
||||||
<div class="row text-center">
|
<div class="row text-center">
|
||||||
<p translate class="col col-75">Where would you like to receive email notifications about payments </p>
|
<p translate class="col col-75 center-block">Where would you like to receive email notifications about payments? </p>
|
||||||
</div>
|
</div>
|
||||||
<form name="emailForm" ng-submit="save(emailForm)" novalidate>
|
<form name="emailForm" ng-submit="save(emailForm)" novalidate>
|
||||||
<label class="item item-input col col-75">
|
<label class="item item-input col col-75 center-block">
|
||||||
<i class="icon ion-arrow-right-c"></i>
|
<i class="icon ion-arrow-right-c"></i>
|
||||||
<input type="email" id="email" name="email" ng-model="email" required></input>
|
<input type="email" id="email" name="email" ng-model="email" placeholder="satoshi@example.com" required></input>
|
||||||
</label>
|
</label>
|
||||||
</form>
|
</form>
|
||||||
<button class="button button-block button-positive button-clear" ng-click="onboardingMailSkip()">
|
|
||||||
{{'Skip' | translate}}
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="overlay"></div>
|
<div class="overlay collect-overlay"></div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,7 @@
|
||||||
float:none;
|
float:none;
|
||||||
margin: $topBottom auto;
|
margin: $topBottom auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.center-block{
|
||||||
|
@include center-block();
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,9 @@
|
||||||
#onboarding-collect-email {
|
#onboarding-collect-email {
|
||||||
background: rgb(17, 209, 166);
|
background: rgb(17, 209, 166);
|
||||||
|
.scroll-content {
|
||||||
|
margin-top: 0;
|
||||||
|
height: 101%;
|
||||||
|
}
|
||||||
.scroll {
|
.scroll {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
@ -10,6 +14,25 @@
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
.collect-overlay, .bar-overlay {
|
||||||
|
animation-name: opacity;
|
||||||
|
animation-iteration-count: 1;
|
||||||
|
animation-timing-function: ease-in;
|
||||||
|
animation-duration: .2s;
|
||||||
|
animation-delay: .8s;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
.collect-overlay{
|
||||||
|
top:-1px;
|
||||||
|
}
|
||||||
|
.bar-overlay{
|
||||||
|
background: rgba(0, 0, 0, 0.23);
|
||||||
|
.button-clear{
|
||||||
|
color:#fff;
|
||||||
|
min-width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
#collect-email {
|
#collect-email {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
@ -18,8 +41,8 @@
|
||||||
animation-name: topBottom;
|
animation-name: topBottom;
|
||||||
animation-iteration-count: 1;
|
animation-iteration-count: 1;
|
||||||
animation-timing-function: ease-in;
|
animation-timing-function: ease-in;
|
||||||
animation-duration: 1s;
|
animation-duration: .4s;
|
||||||
animation-delay: 2s;
|
animation-delay: 1s;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -14rem;
|
bottom: -14rem;
|
||||||
animation-fill-mode: forwards;
|
animation-fill-mode: forwards;
|
||||||
|
|
@ -40,15 +63,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.overlay {
|
|
||||||
animation-name: bottomTop;
|
|
||||||
animation-iteration-count: 1;
|
|
||||||
animation-timing-function: ease-in;
|
|
||||||
animation-duration: 1s;
|
|
||||||
animation-delay: 2s;
|
|
||||||
animation-fill-mode: forwards;
|
|
||||||
top: 100%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes topBottom {
|
@keyframes topBottom {
|
||||||
|
|
@ -60,11 +74,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes bottomTop {
|
@keyframes opacity {
|
||||||
0% {
|
0% {
|
||||||
top: 100%;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
top: 0;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue