blob: dd4780dc66a797af6ce9dd0d3de90654893d4500 [file] [log] [blame]
Matteo Scandolo51365872016-06-03 10:00:05 -07001/* animations
2 -------------------------------------------------- */
3
4 @keyframes slideOutRight {
5 from {
6 transform: translate3d(0, 0, 0);
7 opacity: 1;
8 }
9
10 to {
11 opacity: 0;
12 transform: translate3d(100%, 0, 0);
13 }
14 }
15
16 @keyframes slideInRight {
17 from {
18 transform: translate3d(100%, 0, 0);
19 opacity: 0;
20 }
21
22 to {
23 transform: translate3d(0, 0, 0);
24 opacity: 1;
25 }
26 }
27
28@keyframes fadein {
29 from {
30 opacity: 0;
31 transform: scale3d(.3, .3, .3);
32 }
33 50% {
34 transform: scale3d(1, 1, 1);
35 }
36 to { opacity: 1; }
Matteo Scandolobe342fa2016-06-08 15:54:55 -070037}
38
39
40/* ng-view-animation
41-------------------------------------------------- */
42.fade {
43 opacity: 1;
44}
45.fade.ng-enter,
46.fade.ng-leave {
47 transition: all .5s ease-in-out;
48}
49.fade.ng-enter {
50 opacity: 0;
51}
52.fade.ng-enter-active {
53 opacity: 1;
54}
55.fade.ng-leave {
56 opacity: 1;
57}
58.fade.ng-leave-active {
59 opacity: 0;
60}
61
62 /* ng-show-animation
63 -------------------------------------------------- */
64
65 .animate.ng-hide-add {
66 animation:0.5s slideOutRight ease-in-out;
67 }
68 .animate.ng-hide-remove {
69 animation:0.5s slideInRight ease-in-out;
70 }
71
72 /* ng-repeat-animation
73 -------------------------------------------------- */
74 .animate-repeat.ng-move,
75 .animate-repeat.ng-enter,
76 .animate-repeat.ng-leave {
77 transition:all linear 0.5s;
78 }
79
80 .animate-repeat.ng-leave.ng-leave-active,
81 .animate-repeat.ng-move,
82 .animate-repeat.ng-enter {
83 opacity:0;
84 animation: 0.5s slideOutRight ease-in-out;
85 }
86
87 .animate-repeat.ng-leave,
88 .animate-repeat.ng-move.ng-move-active,
89 .animate-repeat.ng-enter.ng-enter-active {
90 opacity:1;
91 height:60px;
92 animation: 0.5s slideInRight ease-in-out;
93 }
94
95 .animate-repeat.ng-enter-stagger,
96 .animate-repeat.ng-leave-stagger{
97 transition-delay: 0.1s;
98 animation-delay: 0.1s;
99 }
100
101