Close button in correct position. Modal animation customizable

This commit is contained in:
Gustavo Maximiliano Cortez 2015-05-07 11:07:33 -03:00
commit 0731c47e32
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
8 changed files with 12 additions and 12 deletions

View file

@ -1,5 +1,5 @@
<nav class="tab-bar"> <nav class="tab-bar">
<section class="right-small"> <section class="left-small">
<a ng-click="cancel()" class="p10"> <a ng-click="cancel()" class="p10">
<span class="text-close" translate>Close</span> <span class="text-close" translate>Close</span>
</a> </a>

View file

@ -1,5 +1,5 @@
<nav class="tab-bar"> <nav class="tab-bar">
<section class="right-small"> <section class="left-small">
<a ng-click="cancel()" class="p10"> <a ng-click="cancel()" class="p10">
<span class="text-close" translate>Close</span> <span class="text-close" translate>Close</span>
</a> </a>

View file

@ -1,5 +1,5 @@
<nav class="tab-bar"> <nav class="tab-bar">
<section class="right-small"> <section class="left-small">
<a ng-click="cancel()" class="p10"> <a ng-click="cancel()" class="p10">
<span class="text-close" translate>Close</span> <span class="text-close" translate>Close</span>
</a> </a>

View file

@ -1,5 +1,5 @@
<nav class="tab-bar"> <nav class="tab-bar">
<section class="right-small"> <section class="left-small">
<a ng-click="cancel()" class="p10 ng-animate-disabled"> <a ng-click="cancel()" class="p10 ng-animate-disabled">
<span class="text-close" translate>Close</span> <span class="text-close" translate>Close</span>
</a> </a>

View file

@ -1,5 +1,5 @@
<nav class="tab-bar"> <nav class="tab-bar">
<section class="right-small"> <section class="left-small">
<a ng-click="cancel()" class="p10"> <a ng-click="cancel()" class="p10">
<span class="text-close" translate>Close</span> <span class="text-close" translate>Close</span>
</a> </a>

View file

@ -590,7 +590,7 @@ a.pin-button:active {
} }
} }
.reveal-modal.ng-animate.in-remove { .reveal-modal.ng-animate.in-remove.closeModalAnimation {
-webkit-animation-name: slideOutDown; -webkit-animation-name: slideOutDown;
animation-name: slideOutDown; animation-name: slideOutDown;
z-index: 1003; z-index: 1003;
@ -622,7 +622,7 @@ a.pin-button:active {
} }
} }
.reveal-modal.ng-animate.in-add.in.in-add-active { .reveal-modal.ng-animate.in-add.in.in-add-active.openModalAnimation {
-webkit-animation-name: slideInUp; -webkit-animation-name: slideInUp;
animation-name: slideInUp; animation-name: slideInUp;
} }

View file

@ -101,7 +101,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
}; };
$modal.open({ $modal.open({
templateUrl: 'views/modals/copayers.html', templateUrl: 'views/modals/copayers.html',
windowClass: 'full', windowClass: 'full openModalAnimation closeModalAnimation',
controller: ModalInstanceCtrl, controller: ModalInstanceCtrl,
}); });
}; };
@ -277,7 +277,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
var modalInstance = $modal.open({ var modalInstance = $modal.open({
templateUrl: 'views/modals/txp-details.html', templateUrl: 'views/modals/txp-details.html',
windowClass: 'full', windowClass: 'full openModalAnimation closeModalAnimation',
controller: ModalInstanceCtrl, controller: ModalInstanceCtrl,
}); });
@ -675,7 +675,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
}; };
$modal.open({ $modal.open({
templateUrl: 'views/modals/paypro.html', templateUrl: 'views/modals/paypro.html',
windowClass: 'full', windowClass: 'full openModalAnimation closeModalAnimation',
controller: ModalInstanceCtrl, controller: ModalInstanceCtrl,
}); });
}; };
@ -829,7 +829,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
$modal.open({ $modal.open({
templateUrl: 'views/modals/tx-details.html', templateUrl: 'views/modals/tx-details.html',
windowClass: 'full', windowClass: 'full openModalAnimation closeModalAnimation',
controller: ModalInstanceCtrl, controller: ModalInstanceCtrl,
}); });
}; };

View file

@ -37,7 +37,7 @@ angular.module('copayApp.services').factory('txStatus', function($modal, lodash,
}; };
$modal.open({ $modal.open({
templateUrl: 'views/modals/tx-status.html', templateUrl: 'views/modals/tx-status.html',
windowClass: 'full popup-tx-status', windowClass: 'full popup-tx-status closeModalAnimation',
controller: ModalInstanceCtrl, controller: ModalInstanceCtrl,
}); });
}; };