blob: bc952f6e51a5d631afdea9503fb5243d24b6b233 [file] [log] [blame]
Matteo Scandolo8a64fa42016-01-21 11:21:03 -08001service-canvas {
2 height: 100%;
3 width: 100%;
4 display: block;
5}
6
7.node {
8 cursor: pointer;
9}
10
11.node circle {
12 fill: #fff;
13 stroke: steelblue;
14 stroke-width: 3px;
15}
16
17.node text {
18 font: 12px sans-serif;
19}
20
21.link {
22 fill: none;
23 stroke: #ccc;
24 stroke-width: 2px;
Matteo Scandolo06f45d62016-01-21 15:38:06 -080025}
26
27.service-details{
28 width: 200px;
29 position: absolute;
30 top: 20px;
31 right: 20px;
Matteo Scandolo3501ccb2016-01-21 16:02:57 -080032}
33
34/* when showing the thing */
35
36.animate.ng-hide-remove {
37 animation:0.5s bounceInRight ease;
38}
39
40/* when hiding the picture */
41.animate.ng-hide-add {
42 animation:0.5s bounceOutRight ease;
43}
44
45/* ANIMATIONS */
46
47@keyframes bounceInRight {
48 from, 60%, 75%, 90%, to {
49 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
50 }
51
52 from {
53 opacity: 0;
54 transform: translate3d(3000px, 0, 0);
55 }
56
57 60% {
58 opacity: 1;
59 transform: translate3d(-25px, 0, 0);
60 }
61
62 75% {
63 transform: translate3d(10px, 0, 0);
64 }
65
66 90% {
67 transform: translate3d(-5px, 0, 0);
68 }
69
70 to {
71 transform: none;
72 }
73}
74
75@keyframes bounceInLeft {
76 from, 60%, 75%, 90%, to {
77 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
78 }
79
80 0% {
81 opacity: 0;
82 transform: translate3d(-3000px, 0, 0);
83 }
84
85 60% {
86 opacity: 1;
87 transform: translate3d(25px, 0, 0);
88 }
89
90 75% {
91 transform: translate3d(-10px, 0, 0);
92 }
93
94 90% {
95 transform: translate3d(5px, 0, 0);
96 }
97
98 to {
99 transform: none;
100 }
Matteo Scandolo8a64fa42016-01-21 11:21:03 -0800101}