blob: a6c636d172958e602f4b0f6f69a3a10823491ba4 [file] [log] [blame]
Paul Greyson740bdaf2013-03-18 16:10:48 -07001
Paul Greysond9872392013-03-18 12:04:15 -07002body {
3 background-color: black;
4 color: white;
5 font-family: Helvetica;
6 margin: 0px;
7}
8
Paul Greyson7a300822013-04-09 12:57:49 -07009#contents {
10 visibility: hidden;
11 background-color: black;
12}
13
Paul Greyson72f18852013-03-27 15:56:11 -070014#topology.linking {
15 cursor: crosshair;
16}
17
Paul Greyson79b8d832013-04-09 09:34:46 -070018
19.state {
20 fill:none;
21 stroke:#888;
22 stroke-width:1;
23}
24
Paul Greyson72f18852013-03-27 15:56:11 -070025.nodrop {
26 cursor: not-allowed;
27}
28
Paul Greysond9872392013-03-18 12:04:15 -070029.status {
30 padding: 1em;
Paul Greysond9872392013-03-18 12:04:15 -070031}
32
Paul Greysonc3e21a02013-03-21 13:56:05 -070033
Paul Greysond9872392013-03-18 12:04:15 -070034.status:last-child {
35 border-right: none;
36}
37
38.status .static {
Paul Greysonc3e21a02013-03-21 13:56:05 -070039 color: #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070040 padding: .25em;
41}
42
43.status .dynamic {
Paul Greysonc3e21a02013-03-21 13:56:05 -070044 color: #FFF;
Paul Greysond9872392013-03-18 12:04:15 -070045 padding: .25em;
46}
47
Paul Greysonc3e21a02013-03-21 13:56:05 -070048#status.top span {
49 font-size: 24px;
50}
51
Paul Greysond9872392013-03-18 12:04:15 -070052.button {
53 padding: 1em;
54 background-color: lightgray;
55 color: black;
Paul Greyson56378ed2013-03-26 23:17:36 -070056 border: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070057}
58
Paul Greysonb367de22013-03-23 11:09:11 -070059#arrow {
60 stroke: none;
Paul Greyson45303ac2013-03-23 16:44:01 -070061 fill: rgba(255, 255, 255, .35);
Paul Greysonb367de22013-03-23 11:09:11 -070062}
63
Paul Greyson952ccb62013-03-18 22:22:08 -070064.header {
65 height: 50px;
66}
67
Paul Greyson56378ed2013-03-26 23:17:36 -070068#topology {
69 border-top: 1px solid #AAA;
70}
71
72.selectedFlow {
73 border-bottom: 1px solid #AAA;
74}
75
Paul Greyson71b550d2013-03-28 11:56:19 -070076.selectedFlow:hover {
77 background-color: #333;
78}
79
Paul Greyson56378ed2013-03-26 23:17:36 -070080.selectedFlow:last-child {
81 border-bottom: none;
82}
83
84#lastUpdated {
85 padding-bottom: 0px;
86}
87
88#controllers .header {
89 -webkit-box-pack: center;
90 border-bottom: 1px solid #AAA;
91}
92
Paul Greysond9872392013-03-18 12:04:15 -070093
94#right .header {
Paul Greyson952ccb62013-03-18 22:22:08 -070095 font-size: 12px;
96 padding-right: .25em;
97 -webkit-box-sizing: border-box;
Paul Greysond9872392013-03-18 12:04:15 -070098}
99
Paul Greysond1a22d92013-03-19 12:15:19 -0700100#controllers, #selectedFlows {
Paul Greyson56378ed2013-03-26 23:17:36 -0700101 border-top: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -0700102}
103
Paul Greysond1a22d92013-03-19 12:15:19 -0700104#selectedFlows {
Paul Greyson56378ed2013-03-26 23:17:36 -0700105 border-bottom: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -0700106}
107
Paul Greyson127d7fb2013-03-25 23:39:20 -0700108.selectedFlow {
109 height: 2em;
110 color: white;
111 background-color: black;
112}
113
Paul Greyson29aa98d2013-03-28 00:09:31 -0700114#flowChooser .selectedFlow {
115 background-color: rgba(255, 255, 255, .75);
116 color: black;
117}
118
119#flowChooser .flowId {
120 padding-left: 2em;
121}
122
123
Paul Greyson127d7fb2013-03-25 23:39:20 -0700124.selectedFlow.selected {
125 color: black;
126 background-color:#AAA;
127}
128
Paul Greyson421bfcd2013-03-27 22:22:09 -0700129.highlight circle {
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700130 stroke: rgba(255, 255, 255, .5);
131 stroke-width: 2px;
132}
133
Paul Greyson421bfcd2013-03-27 22:22:09 -0700134#linkVector {
135 fill: none;
136 stroke-width: 1px;
137 stroke: rgba(255, 255, 255, .75);
138 pointer-events: none;
139}
140
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700141path {
142 pointer-events: none;
143}
144
Paul Greyson127d7fb2013-03-25 23:39:20 -0700145path.flow {
146 fill: none;
Paul Greyson421bfcd2013-03-27 22:22:09 -0700147 stroke-width: 5px;
Paul Greysonacb59412013-03-25 23:48:06 -0700148 stroke: rgba(255, 255, 255, .35);
Paul Greyson127d7fb2013-03-25 23:39:20 -0700149}
150
Paul Greyson71b550d2013-03-28 11:56:19 -0700151path.flow.highlight {
152 stroke-width: 6px;
153 stroke: rgba(255, 255, 255, .75);
154}
155
Paul Greyson127d7fb2013-03-25 23:39:20 -0700156#selectedFlowsHeader {
Paul Greyson56378ed2013-03-26 23:17:36 -0700157 border-top: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700158}
159
Paul Greyson95db7a12013-04-04 14:57:58 -0700160path.iperfdata {
161 fill: none;
162 stroke-width: 2px;
163 stroke: rgba(255, 255, 255, .75);
164}
165
Paul Greyson29aa98d2013-03-28 00:09:31 -0700166#flowChooser {
167 pointer-events: none;
168 background-color: rgba(0, 0, 0, .25);
169}
170
171
Paul Greyson6f918402013-03-28 12:18:30 -0700172.flowId, .srcDPID, .dstDPID, .iperf, #deleteFlow, .deleteFlow {
Paul Greyson127d7fb2013-03-25 23:39:20 -0700173 display: -webkit-box;
174 -webkit-box-pack: center;
175 -webkit-box-align: center;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700176 width: 3em;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700177}
178
Paul Greyson8247c3f2013-03-28 00:24:02 -0700179
Paul Greyson29aa98d2013-03-28 00:09:31 -0700180.srcDPID, .dstDPID {
181 width: 12em;
182}
183
184
Paul Greyson6f918402013-03-28 12:18:30 -0700185.srcDPID, .dstDPID, .deleteFlow, #deleteFlow {
Paul Greyson56378ed2013-03-26 23:17:36 -0700186 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700187}
188
Paul Greyson13f02b92013-03-28 11:29:35 -0700189.srcDPID {
190 border-left: 1px solid #AAA;
191}
192
Paul Greyson127d7fb2013-03-25 23:39:20 -0700193
Paul Greysond1a22d92013-03-19 12:15:19 -0700194#controllers {
Paul Greyson56378ed2013-03-26 23:17:36 -0700195 border-right: 1px solid #AAA;
Paul Greysond1a22d92013-03-19 12:15:19 -0700196}
197
Paul Greyson3e142162013-03-19 13:56:17 -0700198.controller {
199 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700200 padding-left: 2.5em;
201 position: relative;
202}
203
Paul Greyson8247c3f2013-03-28 00:24:02 -0700204.black-eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700205 position: absolute;
206 top: 0px;
207 left: 0px;
208 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700209 width: 2.25em;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700210 background-image: url('../assets/black-eye.svg');
211 background-size: auto 100%;
212 background-repeat: no-repeat;
213 background-position: .25em center;
214}
215
216.white-eye {
217 height: 100%;
218 width: 2.25em;
219 background-image: url('../assets/white-eye.svg');
Paul Greyson2913af82013-03-27 14:53:17 -0700220 background-size: auto 100%;
221 background-repeat: no-repeat;
222 background-position: .25em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700223}
224
Paul Greyson6f918402013-03-28 12:18:30 -0700225.deleteFlow {
226 height: 100%;
227 background-image: url('../assets/delete.svg');
228 background-size: auto 150%;
229 background-repeat: no-repeat;
230 background-position: center;
231}
232
Paul Greyson952ccb62013-03-18 22:22:08 -0700233#logo {
234 height: 50px;
235}
236
237.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700238 stroke: black;
239 stroke-width: 1.5px;
240}
241
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700242.nolabel text {
243 display: none;
244}
245
246text {
247 stroke: none;
248 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700249 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700250 pointer-events: none;
251}
252
Paul Greysond1a22d92013-03-19 12:15:19 -0700253path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700254 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700255 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700256}
257
Paul Greyson952ccb62013-03-18 22:22:08 -0700258.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700259 stroke: black;
260 stroke-width: 2px;
261}
Paul Greysond1a22d92013-03-19 12:15:19 -0700262
263#traceButton {
264 visibility: hidden
265}
Paul Greyson3e142162013-03-19 13:56:17 -0700266
Paul Greyson01a5dff2013-03-19 15:50:14 -0700267.color1-selected .color1,
268.color2-selected .color2,
269.color3-selected .color3,
270.color4-selected .color4,
271.color5-selected .color5,
272.color6-selected .color6,
273.color7-selected .color7,
274.color8-selected .color8,
275.color9-selected .color9,
276.color10-selected .color10,
277.color11-selected .color11,
278.color12-selected .color12 {
279 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700280 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700281}
282
Paul Greysonc17278a2013-03-23 10:17:12 -0700283.colorInactive {
284 opacity: 1;
285 fill: #444;
286 background-color: #444;
287 color: #222;
288}
289
Paul Greyson01a5dff2013-03-19 15:50:14 -0700290.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700291 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700292 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700293 fill: #EC0033;
294 background-color: #EC0033;
295}
296
Paul Greyson01a5dff2013-03-19 15:50:14 -0700297.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700298 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700299 fill: #FFBA00;
300 background-color: #FFBA00;
301}
302
Paul Greyson01a5dff2013-03-19 15:50:14 -0700303.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700304 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700305 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700306 fill: #3714B0;
307 background-color: #3714B0;
308}
309
Paul Greyson01a5dff2013-03-19 15:50:14 -0700310.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700311 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700312 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700313 fill: #B12C49;
314 background-color: #B12C49;
315}
316
Paul Greyson01a5dff2013-03-19 15:50:14 -0700317.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700318 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700319 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700320 fill: #402C84;
321 background-color: #402C84;
322}
323
Paul Greyson01a5dff2013-03-19 15:50:14 -0700324.color6 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700325 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700326 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700327 fill: #990021;
328 background-color: #990021;
329}
330
Paul Greyson01a5dff2013-03-19 15:50:14 -0700331.color7 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700332 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700333 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700334 fill: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700335 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700336}
337
Paul Greyson01a5dff2013-03-19 15:50:14 -0700338.color8 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700339 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700340 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700341 fill: #A67900;
342 background-color: #A67900;
343}
344
Paul Greyson01a5dff2013-03-19 15:50:14 -0700345.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700346 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700347 fill: #F53D65;
348 background-color: #F53D65;
349}
350
Paul Greyson01a5dff2013-03-19 15:50:14 -0700351.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700352 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700353 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700354 fill: #1F0772;
355 background-color: #1F0772;
356}
357
Paul Greyson01a5dff2013-03-19 15:50:14 -0700358.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700359 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700360 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700361 fill: #F56E8B;
362 background-color: #F56E8B;
363}
364
Paul Greyson01a5dff2013-03-19 15:50:14 -0700365.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700366 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700367 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700368 fill: #6949D7;
369 background-color: #6949D7;
370}
Paul Greyson347fb742013-03-27 13:40:29 -0700371
372
373@-webkit-keyframes pending {
374 from {
375 opacity: 1.0;
376 }
377 to {
378 opacity: 0.5;
379 }
380}
381
382.pending {
383 -webkit-animation-name: pending;
384 -webkit-animation-duration: .5s;
385 -webkit-animation-direction: alternate;
386 -webkit-animation-timing-function: ease-in-out;
Paul Greysoncb5d30d2013-04-04 02:00:56 -0700387 -webkit-animation-iteration-count: 70;
Paul Greyson347fb742013-03-27 13:40:29 -0700388}
389