blob: a560800b47eaa9982d21caf5d4a38bdafd8282fa [file] [log] [blame]
Matteo Scandolo46b56102015-12-16 14:23:08 -08001body {
2 padding-top: 50px;
Matteo Scandolo35488182015-12-17 11:16:57 -08003}
4
5.list-group-item.active > a {
6 color: white;
7}
8
9/* ANIMATION */
10.animate-repeat{
11 /*background: red;*/
12}
13
14.animate-repeat.ng-move,
15.animate-repeat.ng-enter,
16.animate-repeat.ng-leave {
17 transition:all linear 0.5s;
18}
19
20/* Element Exit */
21.animate-repeat.ng-leave.ng-leave-active,
22.animate-repeat.ng-move,
23.animate-repeat.ng-enter {
24 /*opacity:0;*/
25 animation:0.5s bounceOutRight ease;
26}
27
28/* Element Enter */
29.animate-repeat.ng-leave,
30.animate-repeat.ng-move.ng-move-active,
31.animate-repeat.ng-enter.ng-enter-active {
32 /*opacity:1;*/
33 animation:0.5s bounceInRight ease;
34}
35
36@keyframes bounceInRight {
37 from, 60%, 75%, 90%, to {
38 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
39 }
40
41 from {
42 opacity: 0;
43 transform: translate3d(3000px, 0, 0);
44 }
45
46 60% {
47 opacity: 1;
48 transform: translate3d(-25px, 0, 0);
49 }
50
51 75% {
52 transform: translate3d(10px, 0, 0);
53 }
54
55 90% {
56 transform: translate3d(-5px, 0, 0);
57 }
58
59 to {
60 transform: none;
61 }
62}
63
64@keyframes bounceOutRight {
65 20% {
66 opacity: 1;
67 transform: translate3d(-20px, 0, 0);
68 }
69
70 to {
71 opacity: 0;
72 transform: translate3d(2000px, 0, 0);
73 }
Matteo Scandolo46b56102015-12-16 14:23:08 -080074}