Improves response of close button

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-27 03:51:41 -03:00
commit 47ae2f8e59
7 changed files with 36 additions and 18 deletions

View file

@ -563,11 +563,6 @@ a.pin-button:active {
padding-bottom: 20px;
}
.modal.fade,
.reveal-modal.fade {
opacity: 1;
}
.modal.fade .modal-dialog,
.modal.in .modal-dialog,
.reveal-modal-bg,
@ -575,11 +570,29 @@ a.pin-button:active {
.reveal-modal,
.reveal-modal .fade,
.reveal-modal .fade .out,
.reveal-modal .fade .in {
-webkit-transition: none !important;
transition: none !important;
-webkit-transform: none !important;
transform: none !important;
.reveal-modal .fade .in,
.reveal-modal.fade.full.in,
.reveal-modal.fade.full.out,
.reveal-modal.fade.full {
/*CSS transitions*/
-o-transition-property: none !important;
-moz-transition-property: none !important;
-ms-transition-property: none !important;
-webkit-transition-property: none !important;
transition-property: none !important;
/*CSS transforms*/
-o-transform: none !important;
-moz-transform: none !important;
-ms-transform: none !important;
-webkit-transform: none !important;
transform: none !important;
/*CSS animations*/
-webkit-animation: none !important;
-moz-animation: none !important;
-o-animation: none !important;
-ms-animation: none !important;
animation: none !important;
}
.popup-tx-status {

View file

@ -83,6 +83,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
};
};
$modal.open({
animation: false,
templateUrl: 'views/modals/copayers.html',
windowClass: 'full',
controller: ModalInstanceCtrl,
@ -259,6 +260,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
};
var modalInstance = $modal.open({
animation: false,
templateUrl: 'views/modals/txp-details.html',
windowClass: 'full',
controller: ModalInstanceCtrl,
@ -769,6 +771,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
};
$modal.open({
animation: false,
templateUrl: 'views/modals/tx-details.html',
windowClass: 'full',
controller: ModalInstanceCtrl,

View file

@ -16,9 +16,11 @@ if (window && window.navigator) {
//Setting up route
angular
.module('copayApp')
.config(function(historicLogProvider, $provide, $logProvider, $stateProvider, $urlRouterProvider) {
.config(function(historicLogProvider, $provide, $logProvider, $stateProvider, $urlRouterProvider, $animateProvider) {
$urlRouterProvider.otherwise('/');
$animateProvider.classNameFilter(/^(?:(?!ng-animate-disabled).)*$/);
$logProvider.debugEnabled(true);
$provide.decorator('$log', ['$delegate',
function($delegate) {