wallet Details buttons

This commit is contained in:
Sebastiaan Pasma 2018-07-19 13:10:25 +02:00
commit b1befb1e73
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
3 changed files with 11 additions and 9 deletions

View file

@ -365,6 +365,8 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
var t = amountTop; var t = amountTop;
$scope.altAmountOpacity = (amountHeight - 100) / 80; $scope.altAmountOpacity = (amountHeight - 100) / 80;
$scope.buttonsOpacity = (amountHeight - 150)/80;
$window.requestAnimationFrame(function() { $window.requestAnimationFrame(function() {
$scope.amountHeight = amountHeight + 'px'; $scope.amountHeight = amountHeight + 'px';
$scope.contentMargin = contentMargin + 'px'; $scope.contentMargin = contentMargin + 'px';

View file

@ -147,13 +147,13 @@
background-color: transparent; background-color: transparent;
} }
} }
.nav-bar-block, .bar { //.nav-bar-block, .bar {
background-color: inherit !important; //background-color: inherit !important;
} //}
ion-content { ion-content {
&.collapsible { &.collapsible {
margin-top: 230px; margin-top: 210px;
} }
padding-top: 0; padding-top: 0;
@ -193,7 +193,7 @@
.buttons { .buttons {
margin-bottom: 0; margin-bottom: 0;
margin-top: 6px; margin-top: 30px;
>.col { >.col {
padding: 5px 10px; padding: 5px 10px;
margin-bottom: 0; margin-bottom: 0;
@ -206,8 +206,8 @@
width: 100%; width: 100%;
font-size: 19px; font-size: 19px;
font-weight: bolder; font-weight: bolder;
min-height: 45px; min-height: 40px;
line-height: 45px; line-height: 40px;
} }
} }
} }
@ -215,7 +215,7 @@
width: 100%; width: 100%;
text-align: center; text-align: center;
color: #fff; color: #fff;
height: 230px; height: 210px;
padding-top: 40px; padding-top: 40px;
display: block; display: block;
align-items: center; align-items: center;

View file

@ -90,7 +90,7 @@
</span> </span>
</button> </button>
</div> </div>
<div class="buttons row"> <div class="buttons row" ng-style="{opacity: buttonsOpacity}">
<div class="col"> <div class="col">
<div class="button button-outline button-white-outline" ui-sref="tabs.receive"> <div class="button button-outline button-white-outline" ui-sref="tabs.receive">
<span translate>Receive</span> <span translate>Receive</span>