blob: 595ad2789301f06c65957e6f19e9c9f9a2265dbd [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 Scandolo2c33a4c2016-01-25 16:24:42 -080047/* LEGEND */
48
49.legend {
50 fill: #fff;
51 stroke: #ccc;
52 stroke-width: 1px;
53 position: relative;
54}
55
56.legend text {
57 stroke: #000;
58}
59
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080060.node {
61 cursor: pointer;
62}
63
Matteo Scandolo5bf04572016-01-25 17:36:08 -080064.node circle,
65.node rect{
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080066 fill: #fff;
67 stroke: steelblue;
Matteo Scandolofcdbed32016-02-08 16:55:44 -080068 stroke-width: 1px;
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080069}
70
Matteo Scandolof2c99012016-01-25 10:10:38 -080071.node.subscriber circle,
Matteo Scandolo9fe01af2016-02-09 16:01:49 -080072.node.subscriber rect,
73.node.router circle,
74.node.router rect {
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080075 stroke: #05ffcb;
Matteo Scandolof2c99012016-01-25 10:10:38 -080076}
77
Matteo Scandolo5bf04572016-01-25 17:36:08 -080078.node.slice rect {
Matteo Scandolo071ef462016-01-25 12:00:42 -080079 stroke: #b01dff;
80}
81
Matteo Scandolo5bf04572016-01-25 17:36:08 -080082.node.instance rect {
Matteo Scandoloc9ebd922016-01-28 12:02:57 -080083 stroke: #ccc;
84}
85
86.node.instance rect.active {
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080087 stroke: #ff8b00;
Matteo Scandolo071ef462016-01-25 12:00:42 -080088}
89
Matteo Scandolo6e8a75a2016-01-22 09:33:26 -080090.node rect.slice-detail{
91 fill: #fff;
92 stroke: steelblue;
93 stroke-width: 3px;
94}
95
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080096.node text {
97 font: 12px sans-serif;
98}
99
Matteo Scandolo219b1a72016-02-09 11:19:22 -0800100.link, .device-link {
Matteo Scandolo8a64fa42016-01-21 11:21:03 -0800101 fill: none;
102 stroke: #ccc;
103 stroke-width: 2px;
Matteo Scandolo06f45d62016-01-21 15:38:06 -0800104}
105
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -0800106.link.slice {
Matteo Scandolo9ef3c842016-01-25 13:55:09 -0800107 stroke: rgba(157, 4, 183, 0.29);
108}
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -0800109.link.instance{
Matteo Scandoloc9ebd922016-01-28 12:02:57 -0800110 stroke: #ccc;
111}
112
113.link.instance.active{
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -0800114 stroke: rgba(255, 138, 0, 0.65);
115}
Matteo Scandolo9ef3c842016-01-25 13:55:09 -0800116
Matteo Scandolo06f45d62016-01-21 15:38:06 -0800117.service-details{
118 width: 200px;
119 position: absolute;
120 top: 20px;
121 right: 20px;
Matteo Scandolo3501ccb2016-01-21 16:02:57 -0800122}
123
124/* when showing the thing */
125
126.animate.ng-hide-remove {
127 animation:0.5s bounceInRight ease;
128}
129
130/* when hiding the picture */
131.animate.ng-hide-add {
132 animation:0.5s bounceOutRight ease;
133}
134
135/* ANIMATIONS */
136
137@keyframes bounceInRight {
138 from, 60%, 75%, 90%, to {
139 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
140 }
141
142 from {
143 opacity: 0;
144 transform: translate3d(3000px, 0, 0);
145 }
146
147 60% {
148 opacity: 1;
149 transform: translate3d(-25px, 0, 0);
150 }
151
152 75% {
153 transform: translate3d(10px, 0, 0);
154 }
155
156 90% {
157 transform: translate3d(-5px, 0, 0);
158 }
159
160 to {
161 transform: none;
162 }
163}
164
165@keyframes bounceInLeft {
166 from, 60%, 75%, 90%, to {
167 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
168 }
169
170 0% {
171 opacity: 0;
172 transform: translate3d(-3000px, 0, 0);
173 }
174
175 60% {
176 opacity: 1;
177 transform: translate3d(25px, 0, 0);
178 }
179
180 75% {
181 transform: translate3d(-10px, 0, 0);
182 }
183
184 90% {
185 transform: translate3d(5px, 0, 0);
186 }
187
188 to {
189 transform: none;
190 }
Matteo Scandolo8a64fa42016-01-21 11:21:03 -0800191}