blob: b241361b170d756e7399b393f2a4dd2b254dfdb9 [file] [log] [blame]
Matteo Scandolo8a64fa42016-01-21 11:21:03 -08001service-canvas {
2 height: 100%;
3 width: 100%;
4 display: block;
5}
6
Matteo Scandolo071ef462016-01-25 12:00:42 -08007service-canvas svg {
8 position: absolute;
9 top: 0;
10}
11
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080012.node {
13 cursor: pointer;
14}
15
16.node circle {
17 fill: #fff;
18 stroke: steelblue;
19 stroke-width: 3px;
20}
21
Matteo Scandolof2c99012016-01-25 10:10:38 -080022.node.subscriber circle,
23.node.internet circle {
24 stroke: #ffdb07;
25}
26
Matteo Scandolo071ef462016-01-25 12:00:42 -080027.node.slice circle {
28 stroke: #b01dff;
29}
30
31.node.instance circle {
32 stroke: #ea25ff;
33}
34
Matteo Scandolo6e8a75a2016-01-22 09:33:26 -080035.node rect.slice-detail{
36 fill: #fff;
37 stroke: steelblue;
38 stroke-width: 3px;
39}
40
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080041.node text {
42 font: 12px sans-serif;
43}
44
45.link {
46 fill: none;
47 stroke: #ccc;
48 stroke-width: 2px;
Matteo Scandolo06f45d62016-01-21 15:38:06 -080049}
50
51.service-details{
52 width: 200px;
53 position: absolute;
54 top: 20px;
55 right: 20px;
Matteo Scandolo3501ccb2016-01-21 16:02:57 -080056}
57
58/* when showing the thing */
59
60.animate.ng-hide-remove {
61 animation:0.5s bounceInRight ease;
62}
63
64/* when hiding the picture */
65.animate.ng-hide-add {
66 animation:0.5s bounceOutRight ease;
67}
68
69/* ANIMATIONS */
70
71@keyframes bounceInRight {
72 from, 60%, 75%, 90%, to {
73 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
74 }
75
76 from {
77 opacity: 0;
78 transform: translate3d(3000px, 0, 0);
79 }
80
81 60% {
82 opacity: 1;
83 transform: translate3d(-25px, 0, 0);
84 }
85
86 75% {
87 transform: translate3d(10px, 0, 0);
88 }
89
90 90% {
91 transform: translate3d(-5px, 0, 0);
92 }
93
94 to {
95 transform: none;
96 }
97}
98
99@keyframes bounceInLeft {
100 from, 60%, 75%, 90%, to {
101 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
102 }
103
104 0% {
105 opacity: 0;
106 transform: translate3d(-3000px, 0, 0);
107 }
108
109 60% {
110 opacity: 1;
111 transform: translate3d(25px, 0, 0);
112 }
113
114 75% {
115 transform: translate3d(-10px, 0, 0);
116 }
117
118 90% {
119 transform: translate3d(5px, 0, 0);
120 }
121
122 to {
123 transform: none;
124 }
Matteo Scandolo8a64fa42016-01-21 11:21:03 -0800125}