mirror of https://github.com/BTCPrivate/copay.git
added help circle and tip modal
This commit is contained in:
parent
ad862bc78c
commit
b0c5fc22db
|
@ -1,6 +1,11 @@
|
||||||
<ion-view id="tab-receive">
|
<ion-view id="tab-receive">
|
||||||
<ion-nav-bar class="bar-royal">
|
<ion-nav-bar class="bar-royal">
|
||||||
<ion-nav-title>{{'Receive' | translate}}</ion-nav-title>
|
<ion-nav-title>{{'Receive' | translate}}</ion-nav-title>
|
||||||
|
<ion-nav-buttons side="secondary">
|
||||||
|
<button class="no-border">
|
||||||
|
<i class="ion-help-circled"></i>
|
||||||
|
</button>
|
||||||
|
</ion-nav-buttons>
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
<ion-content ng-controller="tabReceiveController" ng-init="init()">
|
<ion-content ng-controller="tabReceiveController" ng-init="init()">
|
||||||
<article id="address">
|
<article id="address">
|
||||||
|
@ -49,4 +54,15 @@
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
|
<div id="first-time-tip" ng-if="firstTime">
|
||||||
|
<i class="ion-close close"></i>
|
||||||
|
<div class="row">
|
||||||
|
<h3 class="col col-60 center-block">Receive bitcoin by sharing your address</h3>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<p class="col col-60 center-block">
|
||||||
|
Other bitcoin users can scan this code to send you money
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
|
|
@ -1,9 +1,17 @@
|
||||||
#tab-receive {
|
#tab-receive {
|
||||||
|
ion-header-bar{
|
||||||
|
button{
|
||||||
|
i{
|
||||||
|
color:#fff;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
#address {
|
#address {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
.item {
|
.item {
|
||||||
border: none;
|
border: none;
|
||||||
font-size: .9rem;
|
font-size: .8rem;
|
||||||
i {
|
i {
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
&.ion-social-bitcoin-outline {
|
&.ion-social-bitcoin-outline {
|
||||||
|
@ -21,6 +29,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#wallets {
|
#wallets {
|
||||||
|
position: relative;
|
||||||
&:before {
|
&:before {
|
||||||
content: "";
|
content: "";
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -34,4 +43,49 @@
|
||||||
left: 45%;
|
left: 45%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#first-time-tip {
|
||||||
|
background: rgba(30, 49, 134, 1);
|
||||||
|
background: -moz-linear-gradient(top, rgba(30, 49, 134, 1) 0%, rgba(30, 49, 134, 0) 88%, rgba(30, 49, 134, 0) 100%);
|
||||||
|
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(30, 49, 134, 1)), color-stop(88%, rgba(30, 49, 134, 0)), color-stop(100%, rgba(30, 49, 134, 0)));
|
||||||
|
background: -webkit-linear-gradient(top, rgba(30, 49, 134, 1) 0%, rgba(30, 49, 134, 0) 88%, rgba(30, 49, 134, 0) 100%);
|
||||||
|
background: -o-linear-gradient(top, rgba(30, 49, 134, 1) 0%, rgba(30, 49, 134, 0) 88%, rgba(30, 49, 134, 0) 100%);
|
||||||
|
background: -ms-linear-gradient(top, rgba(30, 49, 134, 1) 0%, rgba(30, 49, 134, 0) 88%, rgba(30, 49, 134, 0) 100%);
|
||||||
|
background: linear-gradient(to bottom, rgba(30, 49, 134, 1) 0%, rgba(30, 49, 134, 0) 88%, rgba(30, 49, 134, 0) 100%);
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
opacity: 0;
|
||||||
|
animation-name: fadeIn;
|
||||||
|
animation-iteration-count: 1;
|
||||||
|
animation-timing-function: ease-in;
|
||||||
|
animation-duration: .4s;
|
||||||
|
animation-delay: 2s;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
z-index: 10;
|
||||||
|
text-align: center;
|
||||||
|
color: #fff;
|
||||||
|
padding-top: 3rem;
|
||||||
|
.close {
|
||||||
|
top: .5rem;
|
||||||
|
right: 1rem;
|
||||||
|
position: absolute;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
opacity: .5;
|
||||||
|
}
|
||||||
|
h3 {
|
||||||
|
color: #fff;
|
||||||
|
margin-bottom:1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fadeIn {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue