1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-25 16:59:17 +01:00

in slide down on lock

This commit is contained in:
Kyle Spearrin 2017-10-19 10:27:15 -04:00
parent e64714c8d5
commit a465074cfc
2 changed files with 28 additions and 1 deletions

View File

@ -57,7 +57,7 @@
$analytics.eventTrack('Lock Now');
lockService.lock().then(function () {
return $state.go('lock', {
animation: 'in-slide-up'
animation: 'in-slide-down'
});
});
};

View File

@ -26,6 +26,33 @@
}
}
.in-slide-down {
.main-view.ng-enter,
.main-view.ng-leave {
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.main-view.ng-enter {
bottom: 100%;
z-index: 990;
.box-shadow(0 4px 2px -2px gray);
}
.main-view.ng-enter.ng-enter-active {
bottom: 0;
}
.main-view.ng-leave {
top: 0;
z-index: 970;
}
.main-view.ng-leave.ng-leave-active {
top: 0;
}
}
.out-slide-down {
.main-view.ng-enter,
.main-view.ng-leave {