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