blob: f6086a3bfd251677ce665bdea04a19d834df9631 [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 Greyson29aa98d2013-03-28 00:09:31 -0700109#flowChooser .selectedFlow {
110 background-color: rgba(255, 255, 255, .75);
111 color: black;
112}
113
114#flowChooser .flowId {
115 padding-left: 2em;
116}
117
118
Paul Greyson127d7fb2013-03-25 23:39:20 -0700119.selectedFlow.selected {
120 color: black;
121 background-color:#AAA;
122}
123
Paul Greyson421bfcd2013-03-27 22:22:09 -0700124.highlight circle {
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700125 stroke: rgba(255, 255, 255, .5);
126 stroke-width: 2px;
127}
128
Paul Greyson421bfcd2013-03-27 22:22:09 -0700129#linkVector {
130 fill: none;
131 stroke-width: 1px;
132 stroke: rgba(255, 255, 255, .75);
133 pointer-events: none;
134}
135
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700136path {
137 pointer-events: none;
138}
139
Paul Greyson127d7fb2013-03-25 23:39:20 -0700140path.flow {
141 fill: none;
Paul Greyson421bfcd2013-03-27 22:22:09 -0700142 stroke-width: 5px;
Paul Greysonacb59412013-03-25 23:48:06 -0700143 stroke: rgba(255, 255, 255, .35);
Paul Greyson127d7fb2013-03-25 23:39:20 -0700144}
145
Paul Greyson71b550d2013-03-28 11:56:19 -0700146path.flow.highlight {
147 stroke-width: 6px;
148 stroke: rgba(255, 255, 255, .75);
149}
150
Paul Greyson127d7fb2013-03-25 23:39:20 -0700151#selectedFlowsHeader {
Paul Greyson56378ed2013-03-26 23:17:36 -0700152 border-top: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700153}
154
Paul Greyson95db7a12013-04-04 14:57:58 -0700155path.iperfdata {
156 fill: none;
Paul Greysonbbd708b2013-04-09 22:37:31 -0700157 stroke-width: 1px;
158 stroke: #ccc;
159}
160
161.iperf {
162 background-color: #222;
163}
164
165#selectedFlowsHeader .iperf {
166 background-color: black;
Paul Greyson95db7a12013-04-04 14:57:58 -0700167}
168
Paul Greyson29aa98d2013-03-28 00:09:31 -0700169#flowChooser {
170 pointer-events: none;
171 background-color: rgba(0, 0, 0, .25);
172}
173
174
Paul Greyson6f918402013-03-28 12:18:30 -0700175.flowId, .srcDPID, .dstDPID, .iperf, #deleteFlow, .deleteFlow {
Paul Greyson127d7fb2013-03-25 23:39:20 -0700176 display: -webkit-box;
177 -webkit-box-pack: center;
178 -webkit-box-align: center;
Paul Greyson45aceb22013-04-09 22:17:03 -0700179 width: 4em;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700180}
181
Paul Greyson8247c3f2013-03-28 00:24:02 -0700182
Paul Greyson29aa98d2013-03-28 00:09:31 -0700183.srcDPID, .dstDPID {
184 width: 12em;
185}
186
187
Paul Greysond43f9512013-04-09 14:46:12 -0700188.srcDPID, .dstDPID, .deleteFlow, #showFlowChooser {
Paul Greyson56378ed2013-03-26 23:17:36 -0700189 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700190}
191
Paul Greysonaf750bf2013-04-09 23:26:37 -0700192#showFlowChooser:hover, .deleteFlow:hover {
193 background-color: #444;
194}
195
196#showFlowChooser:active, .deleteFlow:active {
197 background-color: black;
198}
199
Paul Greyson13f02b92013-03-28 11:29:35 -0700200.srcDPID {
201 border-left: 1px solid #AAA;
202}
203
Paul Greyson3e142162013-03-19 13:56:17 -0700204.controller {
205 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700206 padding-left: 2.5em;
207 position: relative;
Paul Greysone6266b92013-04-09 23:15:27 -0700208 border: 1px solid #444;
209 color: white;
210 position: relative;
Paul Greyson2913af82013-03-27 14:53:17 -0700211}
212
Paul Greysone6266b92013-04-09 23:15:27 -0700213.controller:hover {
214 border: 1px solid white;
215}
216
217.action, .controller {
Paul Greyson15e5da22013-04-10 00:16:27 -0700218 font-size: 18px;
Paul Greysone6266b92013-04-09 23:15:27 -0700219}
220
221
Paul Greyson8247c3f2013-03-28 00:24:02 -0700222.black-eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700223 position: absolute;
224 top: 0px;
225 left: 0px;
226 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700227 width: 2.25em;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700228 background-image: url('../assets/black-eye.svg');
229 background-size: auto 100%;
230 background-repeat: no-repeat;
231 background-position: .25em center;
232}
233
234.white-eye {
235 height: 100%;
236 width: 2.25em;
237 background-image: url('../assets/white-eye.svg');
Paul Greyson2913af82013-03-27 14:53:17 -0700238 background-size: auto 100%;
239 background-repeat: no-repeat;
Paul Greysond43f9512013-04-09 14:46:12 -0700240 background-position: .4em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700241}
242
Paul Greyson6f918402013-03-28 12:18:30 -0700243.deleteFlow {
244 height: 100%;
245 background-image: url('../assets/delete.svg');
246 background-size: auto 150%;
247 background-repeat: no-repeat;
248 background-position: center;
249}
250
Paul Greyson952ccb62013-03-18 22:22:08 -0700251#logo {
252 height: 50px;
253}
254
255.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700256 stroke: black;
257 stroke-width: 1.5px;
258}
259
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700260.nolabel text {
261 display: none;
262}
263
264text {
265 stroke: none;
266 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700267 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700268 pointer-events: none;
269}
270
Paul Greyson45aceb22013-04-09 22:17:03 -0700271text.label {
272 fill: #888;
273}
274
Paul Greysond1a22d92013-03-19 12:15:19 -0700275path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700276 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700277 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700278}
279
Paul Greyson952ccb62013-03-18 22:22:08 -0700280.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700281 stroke: black;
282 stroke-width: 2px;
283}
Paul Greysond1a22d92013-03-19 12:15:19 -0700284
285#traceButton {
286 visibility: hidden
287}
Paul Greyson3e142162013-03-19 13:56:17 -0700288
Paul Greyson01a5dff2013-03-19 15:50:14 -0700289.color1-selected .color1,
290.color2-selected .color2,
291.color3-selected .color3,
292.color4-selected .color4,
293.color5-selected .color5,
294.color6-selected .color6,
295.color7-selected .color7,
296.color8-selected .color8,
297.color9-selected .color9,
298.color10-selected .color10,
299.color11-selected .color11,
300.color12-selected .color12 {
301 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700302 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700303}
304
Paul Greysonc17278a2013-03-23 10:17:12 -0700305.colorInactive {
306 opacity: 1;
307 fill: #444;
308 background-color: #444;
309 color: #222;
310}
311
Paul Greyson01a5dff2013-03-19 15:50:14 -0700312.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700313 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700314 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700315 fill: #EC0033;
316 background-color: #EC0033;
317}
318
Paul Greyson01a5dff2013-03-19 15:50:14 -0700319.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700320 opacity: .15;
Paul Greysone6266b92013-04-09 23:15:27 -0700321 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700322 fill: #FFBA00;
323 background-color: #FFBA00;
324}
325
Paul Greyson01a5dff2013-03-19 15:50:14 -0700326.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700327 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700328 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700329 fill: #3714B0;
330 background-color: #3714B0;
331}
332
Paul Greyson01a5dff2013-03-19 15:50:14 -0700333.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700334 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700335 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700336 fill: #B12C49;
337 background-color: #B12C49;
338}
339
Paul Greyson01a5dff2013-03-19 15:50:14 -0700340.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700341 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700342 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700343 fill: #402C84;
344 background-color: #402C84;
345}
346
Paul Greyson01a5dff2013-03-19 15:50:14 -0700347.color6 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700348 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700349 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700350 fill: #990021;
351 background-color: #990021;
352}
353
Paul Greyson01a5dff2013-03-19 15:50:14 -0700354.color7 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700355 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700356 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700357 fill: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700358 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700359}
360
Paul Greyson01a5dff2013-03-19 15:50:14 -0700361.color8 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700362 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700363 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700364 fill: #A67900;
365 background-color: #A67900;
366}
367
Paul Greyson01a5dff2013-03-19 15:50:14 -0700368.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700369 opacity: .2;
Paul Greysone6266b92013-04-09 23:15:27 -0700370 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700371 fill: #F53D65;
372 background-color: #F53D65;
373}
374
Paul Greyson01a5dff2013-03-19 15:50:14 -0700375.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700376 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700377 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700378 fill: #1F0772;
379 background-color: #1F0772;
380}
381
Paul Greyson01a5dff2013-03-19 15:50:14 -0700382.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700383 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700384 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700385 fill: #F56E8B;
386 background-color: #F56E8B;
387}
388
Paul Greyson01a5dff2013-03-19 15:50:14 -0700389.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700390 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700391 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700392 fill: #6949D7;
393 background-color: #6949D7;
394}
Paul Greyson347fb742013-03-27 13:40:29 -0700395
Paul Greysone6266b92013-04-09 23:15:27 -0700396.action {
397 margin: .25em;
398 padding: .25em;
399 padding-left: 1em;
400 padding-right: 1em;
401 border: 1px solid #AAA;
402 background-color: #444;
403 display: -webkit-box;
404 -webkit-box-pack: center;
405 -webkit-box-align: center;
406 color: white;
407}
408
409.action:hover {
410 border: 1px solid #FFF;
411}
412
413.action:active {
414 background-color: #222;
415}
416
Paul Greyson347fb742013-03-27 13:40:29 -0700417
418@-webkit-keyframes pending {
419 from {
420 opacity: 1.0;
421 }
422 to {
423 opacity: 0.5;
424 }
425}
426
427.pending {
428 -webkit-animation-name: pending;
429 -webkit-animation-duration: .5s;
430 -webkit-animation-direction: alternate;
431 -webkit-animation-timing-function: ease-in-out;
Paul Greysoncb5d30d2013-04-04 02:00:56 -0700432 -webkit-animation-iteration-count: 70;
Paul Greyson347fb742013-03-27 13:40:29 -0700433}
434
Paul Greyson15e5da22013-04-10 00:16:27 -0700435.core path {
436 stroke-width: 1px;
437 stroke: black;
438}
439