blob: 525ca41884a106de659f3c7384d871b0fcb4fba2 [file] [log] [blame]
Matteo Scandolofcdbed32016-02-08 16:55:44 -08001/* CONTAINER */
2diagnostic .half-height {
3 position: relative;
4 height: 50%;
5}
6
Matteo Scandolo9fe01af2016-02-09 16:01:49 -08007diagnostic .subscriber-select{
8 max-width: 200px;
9 position: absolute;
10 top: 20px;
11 right: 20px;
12 z-index: 1;
13}
14
Matteo Scandolo219b1a72016-02-09 11:19:22 -080015.half-height + .half-height {
16 border-top: 1px solid black;
17}
18
19service-topology,
20logic-topology {
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080021 height: 100%;
22 width: 100%;
23 display: block;
Matteo Scandolo219b1a72016-02-09 11:19:22 -080024 position: absolute;
25 top: 0;
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080026}
27
Matteo Scandoloe4779902016-02-09 11:37:11 -080028logic-topology .subscriber circle,
29logic-topology .device circle{
30 fill: #fff;
31 stroke: green;
32 stroke-width: 1px;
33}
34
Matteo Scandolo9fe01af2016-02-09 16:01:49 -080035logic-topology .network .cloud {
36 fill: #fff;
37 stroke: green;
38 stroke-width: 1px;
39}
40
Matteo Scandoload5b2282016-02-16 11:50:51 -080041logic-topology .node.rack rect{
42 fill: #fff;
43 stroke: steelblue;
44 stroke-width: 1px;
45}
46
Matteo Scandolo79de20a2016-02-16 15:06:11 -080047logic-topology .node .instance.active rect{
48 fill: lightsteelblue;
49 stroke: steelblue;
50 stroke-width: 1px;
51}
52
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080053/* LEGEND */
54
55.legend {
56 fill: #fff;
57 stroke: #ccc;
58 stroke-width: 1px;
59 position: relative;
60}
61
62.legend text {
63 stroke: #000;
64}
65
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080066.node {
67 cursor: pointer;
68}
69
Matteo Scandolo5bf04572016-01-25 17:36:08 -080070.node circle,
71.node rect{
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080072 fill: #fff;
73 stroke: steelblue;
Matteo Scandolofcdbed32016-02-08 16:55:44 -080074 stroke-width: 1px;
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080075}
76
Matteo Scandolof2c99012016-01-25 10:10:38 -080077.node.subscriber circle,
Matteo Scandolo9fe01af2016-02-09 16:01:49 -080078.node.subscriber rect,
79.node.router circle,
80.node.router rect {
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080081 stroke: #05ffcb;
Matteo Scandolof2c99012016-01-25 10:10:38 -080082}
83
Matteo Scandolo5bf04572016-01-25 17:36:08 -080084.node.slice rect {
Matteo Scandolo071ef462016-01-25 12:00:42 -080085 stroke: #b01dff;
86}
87
Matteo Scandolo5bf04572016-01-25 17:36:08 -080088.node.instance rect {
Matteo Scandoloc9ebd922016-01-28 12:02:57 -080089 stroke: #ccc;
90}
91
92.node.instance rect.active {
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080093 stroke: #ff8b00;
Matteo Scandolo071ef462016-01-25 12:00:42 -080094}
95
Matteo Scandolo6e8a75a2016-01-22 09:33:26 -080096.node rect.slice-detail{
97 fill: #fff;
98 stroke: steelblue;
99 stroke-width: 3px;
100}
101
Matteo Scandolo8a64fa42016-01-21 11:21:03 -0800102.node text {
103 font: 12px sans-serif;
104}
105
Matteo Scandolo219b1a72016-02-09 11:19:22 -0800106.link, .device-link {
Matteo Scandolo8a64fa42016-01-21 11:21:03 -0800107 fill: none;
108 stroke: #ccc;
109 stroke-width: 2px;
Matteo Scandolo06f45d62016-01-21 15:38:06 -0800110}
111
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -0800112.link.slice {
Matteo Scandolo9ef3c842016-01-25 13:55:09 -0800113 stroke: rgba(157, 4, 183, 0.29);
114}
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -0800115.link.instance{
Matteo Scandoloc9ebd922016-01-28 12:02:57 -0800116 stroke: #ccc;
117}
118
119.link.instance.active{
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -0800120 stroke: rgba(255, 138, 0, 0.65);
121}
Matteo Scandolo9ef3c842016-01-25 13:55:09 -0800122
Matteo Scandolo06f45d62016-01-21 15:38:06 -0800123.service-details{
124 width: 200px;
125 position: absolute;
126 top: 20px;
127 right: 20px;
Matteo Scandolo3501ccb2016-01-21 16:02:57 -0800128}
129
130/* when showing the thing */
131
132.animate.ng-hide-remove {
133 animation:0.5s bounceInRight ease;
134}
135
136/* when hiding the picture */
137.animate.ng-hide-add {
138 animation:0.5s bounceOutRight ease;
139}
140
141/* ANIMATIONS */
142
143@keyframes bounceInRight {
144 from, 60%, 75%, 90%, to {
145 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
146 }
147
148 from {
149 opacity: 0;
150 transform: translate3d(3000px, 0, 0);
151 }
152
153 60% {
154 opacity: 1;
155 transform: translate3d(-25px, 0, 0);
156 }
157
158 75% {
159 transform: translate3d(10px, 0, 0);
160 }
161
162 90% {
163 transform: translate3d(-5px, 0, 0);
164 }
165
166 to {
167 transform: none;
168 }
169}
170
171@keyframes bounceInLeft {
172 from, 60%, 75%, 90%, to {
173 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
174 }
175
176 0% {
177 opacity: 0;
178 transform: translate3d(-3000px, 0, 0);
179 }
180
181 60% {
182 opacity: 1;
183 transform: translate3d(25px, 0, 0);
184 }
185
186 75% {
187 transform: translate3d(-10px, 0, 0);
188 }
189
190 90% {
191 transform: translate3d(5px, 0, 0);
192 }
193
194 to {
195 transform: none;
196 }
Matteo Scandolo8a64fa42016-01-21 11:21:03 -0800197}