blob: b860f1d8fd184335c725133aba5ce5a7bd1c290b [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 Greysonc090d142013-04-09 16:59:03 -070014#topologyArea.linking {
Paul Greyson72f18852013-03-27 15:56:11 -070015 cursor: crosshair;
16}
17
Paul Greyson79b8d832013-04-09 09:34:46 -070018
Paul Greysonc090d142013-04-09 16:59:03 -070019#map path {
Paul Greyson79b8d832013-04-09 09:34:46 -070020 fill:none;
Paul Greyson4e348b92013-04-09 21:02:06 -070021 stroke:#333;
Paul Greysonc090d142013-04-09 16:59:03 -070022 stroke-width:2;
Paul Greyson79b8d832013-04-09 09:34:46 -070023}
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 Greysond20d22e2013-04-09 14:34:53 -070048#status span {
Paul Greysonc3e21a02013-03-21 13:56:05 -070049 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.selectedFlow {
69 border-bottom: 1px solid #AAA;
70}
71
Paul Greyson71b550d2013-03-28 11:56:19 -070072.selectedFlow:hover {
Paul Greysonaf750bf2013-04-09 23:26:37 -070073 background-color: #222;
Paul Greyson71b550d2013-03-28 11:56:19 -070074}
75
Paul Greyson56378ed2013-03-26 23:17:36 -070076.selectedFlow:last-child {
77 border-bottom: none;
78}
79
Paul Greysonaf750bf2013-04-09 23:26:37 -070080#flowChooser .selectedFlow:hover {
81 background-color: white;
82}
83
Paul Greyson56378ed2013-03-26 23:17:36 -070084#lastUpdated {
85 padding-bottom: 0px;
86}
87
Paul Greysond9872392013-03-18 12:04:15 -070088#right .header {
Paul Greyson952ccb62013-03-18 22:22:08 -070089 font-size: 12px;
90 padding-right: .25em;
91 -webkit-box-sizing: border-box;
Paul Greysond9872392013-03-18 12:04:15 -070092}
93
Paul Greysond1a22d92013-03-19 12:15:19 -070094#selectedFlows {
Paul Greysond20d22e2013-04-09 14:34:53 -070095 border-top: 1px solid #AAA;
Paul Greyson56378ed2013-03-26 23:17:36 -070096 border-bottom: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070097}
98
Paul Greyson127d7fb2013-03-25 23:39:20 -070099.selectedFlow {
100 height: 2em;
101 color: white;
102 background-color: black;
103}
104
Paul Greysone6266b92013-04-09 23:15:27 -0700105.header, #onos {
Paul Greysond20d22e2013-04-09 14:34:53 -0700106 border-bottom: 1px solid #AAA;;
107}
108
Paul Greyson69f8baa2013-04-10 12:16:53 -0700109#onos {
110 background-color: #333;
111}
112
113#cluster-label {
114 font-size: 22px;
115 display: -webkit-box;
116 -webkit-box-align: center;
117 padding-left: .5em;
118 padding-right: .5em;
119 color: #EEE;
120}
121
122#actions {
123 padding-right: .25em;
124 padding-left: .25em;
Jonathan Hart19ca4332013-04-13 21:00:34 -0700125 padding-top: .25em;
126 padding-bottom: .25em;
Paul Greyson69f8baa2013-04-10 12:16:53 -0700127 border-left: 1px solid white;
128 display: -webkit-box;
129 -webkit-box-align: center;
Jonathan Hart19ca4332013-04-13 21:00:34 -0700130 -webkit-box-orient: vertical;
131 -webkit-box-pack: center;
Paul Greyson69f8baa2013-04-10 12:16:53 -0700132}
133
134#controllers {
135 padding: .25em;
136 background-color: black;
137 margin: .25em;
138 border-radius: 8px;
Jonathan Hart19ca4332013-04-13 21:00:34 -0700139 overflow: hidden;
140 display: -webkit-box;
141 -webkit-box-align: center;
Paul Greyson69f8baa2013-04-10 12:16:53 -0700142}
143
Paul Greyson29aa98d2013-03-28 00:09:31 -0700144#flowChooser .selectedFlow {
145 background-color: rgba(255, 255, 255, .75);
146 color: black;
147}
148
149#flowChooser .flowId {
150 padding-left: 2em;
151}
152
153
Paul Greyson127d7fb2013-03-25 23:39:20 -0700154.selectedFlow.selected {
155 color: black;
156 background-color:#AAA;
157}
158
Paul Greyson421bfcd2013-03-27 22:22:09 -0700159.highlight circle {
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700160 stroke: rgba(255, 255, 255, .5);
161 stroke-width: 2px;
162}
163
Paul Greyson421bfcd2013-03-27 22:22:09 -0700164#linkVector {
165 fill: none;
166 stroke-width: 1px;
167 stroke: rgba(255, 255, 255, .75);
168 pointer-events: none;
169}
170
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700171path {
172 pointer-events: none;
173}
174
Paul Greyson127d7fb2013-03-25 23:39:20 -0700175path.flow {
176 fill: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700177 stroke-width: 10px;
Paul Greysonacb59412013-03-25 23:48:06 -0700178 stroke: rgba(255, 255, 255, .35);
Paul Greyson127d7fb2013-03-25 23:39:20 -0700179}
180
Paul Greyson71b550d2013-03-28 11:56:19 -0700181path.flow.highlight {
Jonathan Hart73ac3842013-04-14 00:03:18 -0700182 stroke-width: 16px;
Paul Greyson71b550d2013-03-28 11:56:19 -0700183 stroke: rgba(255, 255, 255, .75);
184}
185
Paul Greyson127d7fb2013-03-25 23:39:20 -0700186#selectedFlowsHeader {
Paul Greyson56378ed2013-03-26 23:17:36 -0700187 border-top: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700188}
189
Paul Greyson95db7a12013-04-04 14:57:58 -0700190path.iperfdata {
Jonathan Hart19ca4332013-04-13 21:00:34 -0700191 fill: none;
Paul Greysonbbd708b2013-04-09 22:37:31 -0700192 stroke-width: 1px;
193 stroke: #ccc;
194}
195
196.iperf {
Paul Greysonda293172013-04-11 10:28:26 -0700197 background-color: black;
Paul Greysonbbd708b2013-04-09 22:37:31 -0700198}
199
200#selectedFlowsHeader .iperf {
201 background-color: black;
Paul Greyson95db7a12013-04-04 14:57:58 -0700202}
203
Paul Greyson29aa98d2013-03-28 00:09:31 -0700204#flowChooser {
205 pointer-events: none;
206 background-color: rgba(0, 0, 0, .25);
207}
208
209
Paul Greyson6f918402013-03-28 12:18:30 -0700210.flowId, .srcDPID, .dstDPID, .iperf, #deleteFlow, .deleteFlow {
Paul Greyson127d7fb2013-03-25 23:39:20 -0700211 display: -webkit-box;
212 -webkit-box-pack: center;
213 -webkit-box-align: center;
Paul Greyson45aceb22013-04-09 22:17:03 -0700214 width: 4em;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700215}
216
Paul Greyson8247c3f2013-03-28 00:24:02 -0700217
Paul Greyson29aa98d2013-03-28 00:09:31 -0700218.srcDPID, .dstDPID {
219 width: 12em;
220}
221
222
Paul Greysond43f9512013-04-09 14:46:12 -0700223.srcDPID, .dstDPID, .deleteFlow, #showFlowChooser {
Paul Greyson56378ed2013-03-26 23:17:36 -0700224 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700225}
226
Paul Greysonaf750bf2013-04-09 23:26:37 -0700227#showFlowChooser:hover, .deleteFlow:hover {
228 background-color: #444;
229}
230
231#showFlowChooser:active, .deleteFlow:active {
232 background-color: black;
233}
234
Paul Greyson13f02b92013-03-28 11:29:35 -0700235.srcDPID {
236 border-left: 1px solid #AAA;
237}
238
Paul Greyson3e142162013-03-19 13:56:17 -0700239.controller {
240 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700241 padding-left: 2.5em;
242 position: relative;
Jonathan Hart19ca4332013-04-13 21:00:34 -0700243 height: 1.5em;
Paul Greysone6266b92013-04-09 23:15:27 -0700244 border: 1px solid #444;
245 color: white;
246 position: relative;
Paul Greyson69f8baa2013-04-10 12:16:53 -0700247 border-radius: 8px;
Jonathan Hart19ca4332013-04-13 21:00:34 -0700248 display: -webkit-box;
249 -webkit-box-align: center;
Paul Greyson2913af82013-03-27 14:53:17 -0700250}
251
Paul Greysone6266b92013-04-09 23:15:27 -0700252.controller:hover {
253 border: 1px solid white;
254}
255
Jonathan Hart19ca4332013-04-13 21:00:34 -0700256.controller {
Paul Greyson15e5da22013-04-10 00:16:27 -0700257 font-size: 18px;
Paul Greysone6266b92013-04-09 23:15:27 -0700258}
259
260
Paul Greyson8247c3f2013-03-28 00:24:02 -0700261.black-eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700262 position: absolute;
263 top: 0px;
264 left: 0px;
265 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700266 width: 2.25em;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700267 background-image: url('../assets/black-eye.svg');
268 background-size: auto 100%;
269 background-repeat: no-repeat;
270 background-position: .25em center;
271}
272
273.white-eye {
274 height: 100%;
275 width: 2.25em;
276 background-image: url('../assets/white-eye.svg');
Paul Greyson2913af82013-03-27 14:53:17 -0700277 background-size: auto 100%;
278 background-repeat: no-repeat;
Paul Greysond43f9512013-04-09 14:46:12 -0700279 background-position: .4em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700280}
281
Paul Greyson6f918402013-03-28 12:18:30 -0700282.deleteFlow {
283 height: 100%;
284 background-image: url('../assets/delete.svg');
285 background-size: auto 150%;
286 background-repeat: no-repeat;
287 background-position: center;
288}
289
Paul Greyson952ccb62013-03-18 22:22:08 -0700290#logo {
291 height: 50px;
292}
293
294.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700295 stroke: black;
296 stroke-width: 1.5px;
297}
298
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700299.nolabel text {
300 display: none;
301}
302
303text {
304 stroke: none;
305 fill: white;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700306 font-size: 28px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700307 pointer-events: none;
308}
309
Paul Greyson45aceb22013-04-09 22:17:03 -0700310text.label {
311 fill: #888;
312}
313
Paul Greysond1a22d92013-03-19 12:15:19 -0700314path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700315 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700316 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700317}
318
Paul Greyson952ccb62013-03-18 22:22:08 -0700319.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700320 stroke: black;
321 stroke-width: 2px;
322}
Paul Greysond1a22d92013-03-19 12:15:19 -0700323
324#traceButton {
325 visibility: hidden
326}
Paul Greyson3e142162013-03-19 13:56:17 -0700327
Paul Greyson01a5dff2013-03-19 15:50:14 -0700328.color1-selected .color1,
329.color2-selected .color2,
330.color3-selected .color3,
331.color4-selected .color4,
332.color5-selected .color5,
333.color6-selected .color6,
334.color7-selected .color7,
335.color8-selected .color8,
336.color9-selected .color9,
337.color10-selected .color10,
338.color11-selected .color11,
339.color12-selected .color12 {
340 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700341 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700342}
343
Paul Greysonc17278a2013-03-23 10:17:12 -0700344.colorInactive {
345 opacity: 1;
346 fill: #444;
347 background-color: #444;
348 color: #222;
349}
350
Paul Greyson01a5dff2013-03-19 15:50:14 -0700351.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700352 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700353 pointer-events: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700354 fill: #FF0000;
355 background-color: #FF0000;
Paul Greyson3e142162013-03-19 13:56:17 -0700356}
357
Paul Greyson01a5dff2013-03-19 15:50:14 -0700358.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700359 opacity: .15;
Paul Greysone6266b92013-04-09 23:15:27 -0700360 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700361 fill: #FFBA00;
362 background-color: #FFBA00;
363}
364
Paul Greyson01a5dff2013-03-19 15:50:14 -0700365.color3 {
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: #3714B0;
369 background-color: #3714B0;
370}
371
Paul Greyson01a5dff2013-03-19 15:50:14 -0700372.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700373 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700374 pointer-events: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700375 fill: #800080;
376 background-color: #800080;
Paul Greyson3e142162013-03-19 13:56:17 -0700377}
378
Paul Greyson01a5dff2013-03-19 15:50:14 -0700379.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700380 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700381 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700382 fill: #402C84;
383 background-color: #402C84;
384}
385
Paul Greyson01a5dff2013-03-19 15:50:14 -0700386.color6 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700387 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700388 pointer-events: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700389 fill: #5555FF;
390 background-color: #2222FF;
Paul Greyson3e142162013-03-19 13:56:17 -0700391}
392
Paul Greyson01a5dff2013-03-19 15:50:14 -0700393.color7 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700394 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700395 pointer-events: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700396 fill: #5555FF;
397 background-color: #2222FF;
Paul Greyson3e142162013-03-19 13:56:17 -0700398}
399
Paul Greyson01a5dff2013-03-19 15:50:14 -0700400.color8 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700401 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700402 pointer-events: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700403 fill: #A0522D;
404 background-color: #A0522D;
Paul Greyson3e142162013-03-19 13:56:17 -0700405}
406
Paul Greyson01a5dff2013-03-19 15:50:14 -0700407.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700408 opacity: .2;
Paul Greysone6266b92013-04-09 23:15:27 -0700409 pointer-events: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700410 fill: #66CDAA;
411 background-color: #66CDAA;
Paul Greyson3e142162013-03-19 13:56:17 -0700412}
413
Paul Greyson01a5dff2013-03-19 15:50:14 -0700414.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700415 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700416 pointer-events: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700417 fill: #FFA500;
418 background-color: #FFA500;
Paul Greyson3e142162013-03-19 13:56:17 -0700419}
420
Paul Greyson01a5dff2013-03-19 15:50:14 -0700421.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700422 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700423 pointer-events: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700424 fill: #FFA500;
425 background-color: #FFA500;
Paul Greyson3e142162013-03-19 13:56:17 -0700426}
427
Paul Greyson01a5dff2013-03-19 15:50:14 -0700428.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700429 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700430 pointer-events: none;
Jonathan Hart73ac3842013-04-14 00:03:18 -0700431 fill: #FF69B4;
432 background-color: #FF69B4;
Paul Greyson3e142162013-03-19 13:56:17 -0700433}
Paul Greyson347fb742013-03-27 13:40:29 -0700434
Paul Greysone6266b92013-04-09 23:15:27 -0700435.action {
Jonathan Hart19ca4332013-04-13 21:00:34 -0700436 margin: .1em;
Paul Greyson69f8baa2013-04-10 12:16:53 -0700437 border: 2px solid #AAA;
Jonathan Hart19ca4332013-04-13 21:00:34 -0700438 height: 1.5em;
439 width: 5em;
440 font-size: 9px;
Paul Greysone6266b92013-04-09 23:15:27 -0700441 background-color: #444;
442 display: -webkit-box;
443 -webkit-box-pack: center;
444 -webkit-box-align: center;
Paul Greyson69f8baa2013-04-10 12:16:53 -0700445 color: #AAA;
Jonathan Hart19ca4332013-04-13 21:00:34 -0700446 border-radius: 0%;
Paul Greyson69f8baa2013-04-10 12:16:53 -0700447 -webkit-box-sizing: border-box;
Paul Greysone6266b92013-04-09 23:15:27 -0700448}
449
450.action:hover {
Paul Greyson69f8baa2013-04-10 12:16:53 -0700451 border: 2px solid #FFF;
452 color: white;
Paul Greysone6266b92013-04-09 23:15:27 -0700453}
454
455.action:active {
456 background-color: #222;
457}
458
Paul Greyson347fb742013-03-27 13:40:29 -0700459
460@-webkit-keyframes pending {
461 from {
462 opacity: 1.0;
463 }
464 to {
465 opacity: 0.5;
466 }
467}
468
469.pending {
470 -webkit-animation-name: pending;
471 -webkit-animation-duration: .5s;
472 -webkit-animation-direction: alternate;
473 -webkit-animation-timing-function: ease-in-out;
Paul Greysoncb5d30d2013-04-04 02:00:56 -0700474 -webkit-animation-iteration-count: 70;
Paul Greyson347fb742013-03-27 13:40:29 -0700475}
476
Paul Greyson15e5da22013-04-10 00:16:27 -0700477.core path {
478 stroke-width: 1px;
479 stroke: black;
480}
481
Paul Greyson4a73a8b2013-04-10 11:47:25 -0700482.flowCount {
Jonathan Hart73ac3842013-04-14 00:03:18 -0700483 font-size: 32px;
484 fill: rgba(255, 255, 255, .99);
Paul Greyson4a73a8b2013-04-10 11:47:25 -0700485}
486
Paul Greyson28cf92b2013-04-10 13:15:06 -0700487#confirm {
488 display: none;
489 -webkit-transition: opacity .25s;
490 font-size: 20px;
491}
492
493#confirm-background {
494 background-color: black;
495 opacity: .5;
496}
497
498#confirm-prompt {
499 display: -webkit-box;
500 -webkit-box-pack: center;
501 -webkit-box-align: center;
502 -webkit-box-flex: 1.0;
503 text-align: center;
504}
505
506#confirm-buttons {
507 padding: 1em;
508}
509
510#confirm-prompt {
511 margin-top:1em;
512 line-height: 1.5em;
513}
514
515#confirm-panel {
516 position: relative;
517 background-color: #222;
518 border: 2px solid #aaa;
519 border-radius: 12px;
520 width: 20em;
521 padding: 1em;
522}
523
524.confirm-button {
525 padding: .5em;
526 border: 2px solid #aaa;
527 color: #aaa;
528 border-radius: 6px;
529 margin-left: .5em;
530 margin-right: .5em;
531}
532
533.confirm-button:hover{
534 border: 2px solid white;
535 color: white;
536}
537
538.confirm-button:active{
539 background-color: black;
540}
541
Paul Greyson0ad75202013-04-11 12:29:32 -0700542select {
543 margin-top: 1em;
544 -webkit-appearance: none;
545 border-radius: 0px;
546 font-size: 18px;
547 padding: .5em;
548 background-color: black;
549 color: white;
550 border: 1px solid white;
551}
552
553select:after {
554 content: 'a';
555 position: absolute;
556 right: 0px;
557 top: 0px;
558}
559