blob: 6dad5239787a3072120c14fc8ca6cfb9469aa814 [file] [log] [blame]
Matteo Scandolobe9b13d2016-01-21 11:21:03 -08001service-canvas {
2 height: 100%;
3 width: 100%;
4 display: block;
5}
6
Matteo Scandolo65d6fc42016-01-25 16:24:42 -08007service-canvas .subscriber-select{
Matteo Scandolo39f49472016-01-25 13:55:09 -08008 z-index: 1000;
9 position: absolute;
10 width: 200px;
11 top: 10px;
12 left: 10px;
13}
14
Matteo Scandolo4889f5a2016-01-25 12:00:42 -080015service-canvas svg {
16 position: absolute;
17 top: 0;
18}
19
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080020/* LEGEND */
21
22.legend {
23 fill: #fff;
24 stroke: #ccc;
25 stroke-width: 1px;
26 position: relative;
27}
28
29.legend text {
30 stroke: #000;
31}
32
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080033.node {
34 cursor: pointer;
35}
36
37.node circle {
38 fill: #fff;
39 stroke: steelblue;
40 stroke-width: 3px;
41}
42
Matteo Scandolofb46f5b2016-01-25 10:10:38 -080043.node.subscriber circle,
44.node.internet circle {
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080045 stroke: #05ffcb;
Matteo Scandolofb46f5b2016-01-25 10:10:38 -080046}
47
Matteo Scandolo4889f5a2016-01-25 12:00:42 -080048.node.slice circle {
49 stroke: #b01dff;
50}
51
52.node.instance circle {
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080053 stroke: #ff8b00;
Matteo Scandolo4889f5a2016-01-25 12:00:42 -080054}
55
Matteo Scandolo793e1dd2016-01-22 09:33:26 -080056.node rect.slice-detail{
57 fill: #fff;
58 stroke: steelblue;
59 stroke-width: 3px;
60}
61
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080062.node text {
63 font: 12px sans-serif;
64}
65
66.link {
67 fill: none;
68 stroke: #ccc;
69 stroke-width: 2px;
Matteo Scandolo68236262016-01-21 15:38:06 -080070}
71
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080072.link.slice {
Matteo Scandolo39f49472016-01-25 13:55:09 -080073 stroke: rgba(157, 4, 183, 0.29);
74}
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080075.link.instance{
76 stroke: rgba(255, 138, 0, 0.65);
77}
Matteo Scandolo39f49472016-01-25 13:55:09 -080078
Matteo Scandolo68236262016-01-21 15:38:06 -080079.service-details{
80 width: 200px;
81 position: absolute;
82 top: 20px;
83 right: 20px;
Matteo Scandolo53a02262016-01-21 16:02:57 -080084}
85
86/* when showing the thing */
87
88.animate.ng-hide-remove {
89 animation:0.5s bounceInRight ease;
90}
91
92/* when hiding the picture */
93.animate.ng-hide-add {
94 animation:0.5s bounceOutRight ease;
95}
96
97/* ANIMATIONS */
98
99@keyframes bounceInRight {
100 from, 60%, 75%, 90%, to {
101 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
102 }
103
104 from {
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 }
125}
126
127@keyframes bounceInLeft {
128 from, 60%, 75%, 90%, to {
129 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
130 }
131
132 0% {
133 opacity: 0;
134 transform: translate3d(-3000px, 0, 0);
135 }
136
137 60% {
138 opacity: 1;
139 transform: translate3d(25px, 0, 0);
140 }
141
142 75% {
143 transform: translate3d(-10px, 0, 0);
144 }
145
146 90% {
147 transform: translate3d(5px, 0, 0);
148 }
149
150 to {
151 transform: none;
152 }
Matteo Scandolobe9b13d2016-01-21 11:21:03 -0800153}