blob: cc2b130154dbace267ff1384a9591ce3368d8abc [file] [log] [blame]
Matteo Scandolo8a64fa42016-01-21 11:21:03 -08001service-canvas {
2 height: 100%;
3 width: 100%;
4 display: block;
5}
6
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -08007service-canvas .subscriber-select{
Matteo Scandolo9ef3c842016-01-25 13:55:09 -08008 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 Scandolo2c33a4c2016-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 Scandolo8a64fa42016-01-21 11:21:03 -080033.node {
34 cursor: pointer;
35}
36
Matteo Scandolo5bf04572016-01-25 17:36:08 -080037.node circle,
38.node rect{
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080039 fill: #fff;
40 stroke: steelblue;
41 stroke-width: 3px;
42}
43
Matteo Scandolof2c99012016-01-25 10:10:38 -080044.node.subscriber circle,
45.node.internet circle {
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080046 stroke: #05ffcb;
Matteo Scandolof2c99012016-01-25 10:10:38 -080047}
48
Matteo Scandolo5bf04572016-01-25 17:36:08 -080049.node.slice rect {
Matteo Scandolo071ef462016-01-25 12:00:42 -080050 stroke: #b01dff;
51}
52
Matteo Scandolo5bf04572016-01-25 17:36:08 -080053.node.instance rect {
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080054 stroke: #ff8b00;
Matteo Scandolo071ef462016-01-25 12:00:42 -080055}
56
Matteo Scandolo6e8a75a2016-01-22 09:33:26 -080057.node rect.slice-detail{
58 fill: #fff;
59 stroke: steelblue;
60 stroke-width: 3px;
61}
62
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080063.node text {
64 font: 12px sans-serif;
65}
66
67.link {
68 fill: none;
69 stroke: #ccc;
70 stroke-width: 2px;
Matteo Scandolo06f45d62016-01-21 15:38:06 -080071}
72
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080073.link.slice {
Matteo Scandolo9ef3c842016-01-25 13:55:09 -080074 stroke: rgba(157, 4, 183, 0.29);
75}
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080076.link.instance{
77 stroke: rgba(255, 138, 0, 0.65);
78}
Matteo Scandolo9ef3c842016-01-25 13:55:09 -080079
Matteo Scandolo06f45d62016-01-21 15:38:06 -080080.service-details{
81 width: 200px;
82 position: absolute;
83 top: 20px;
84 right: 20px;
Matteo Scandolo3501ccb2016-01-21 16:02:57 -080085}
86
87/* when showing the thing */
88
89.animate.ng-hide-remove {
90 animation:0.5s bounceInRight ease;
91}
92
93/* when hiding the picture */
94.animate.ng-hide-add {
95 animation:0.5s bounceOutRight ease;
96}
97
98/* ANIMATIONS */
99
100@keyframes bounceInRight {
101 from, 60%, 75%, 90%, to {
102 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
103 }
104
105 from {
106 opacity: 0;
107 transform: translate3d(3000px, 0, 0);
108 }
109
110 60% {
111 opacity: 1;
112 transform: translate3d(-25px, 0, 0);
113 }
114
115 75% {
116 transform: translate3d(10px, 0, 0);
117 }
118
119 90% {
120 transform: translate3d(-5px, 0, 0);
121 }
122
123 to {
124 transform: none;
125 }
126}
127
128@keyframes bounceInLeft {
129 from, 60%, 75%, 90%, to {
130 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
131 }
132
133 0% {
134 opacity: 0;
135 transform: translate3d(-3000px, 0, 0);
136 }
137
138 60% {
139 opacity: 1;
140 transform: translate3d(25px, 0, 0);
141 }
142
143 75% {
144 transform: translate3d(-10px, 0, 0);
145 }
146
147 90% {
148 transform: translate3d(5px, 0, 0);
149 }
150
151 to {
152 transform: none;
153 }
Matteo Scandolo8a64fa42016-01-21 11:21:03 -0800154}