blob: f94ab698b3642be9da6cf20275c9240d3b76d8c9 [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 Greyson127d7fb2013-03-25 23:39:20 -0700204
Paul Greyson3e142162013-03-19 13:56:17 -0700205.controller {
206 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700207 padding-left: 2.5em;
208 position: relative;
Paul Greysone6266b92013-04-09 23:15:27 -0700209 border: 1px solid #444;
210 color: white;
211 position: relative;
Paul Greyson2913af82013-03-27 14:53:17 -0700212}
213
Paul Greysone6266b92013-04-09 23:15:27 -0700214.controller:hover {
215 border: 1px solid white;
216}
217
218.action, .controller {
219 font-size: 20px;
220}
221
222
Paul Greyson8247c3f2013-03-28 00:24:02 -0700223.black-eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700224 position: absolute;
225 top: 0px;
226 left: 0px;
227 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700228 width: 2.25em;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700229 background-image: url('../assets/black-eye.svg');
230 background-size: auto 100%;
231 background-repeat: no-repeat;
232 background-position: .25em center;
233}
234
235.white-eye {
236 height: 100%;
237 width: 2.25em;
238 background-image: url('../assets/white-eye.svg');
Paul Greyson2913af82013-03-27 14:53:17 -0700239 background-size: auto 100%;
240 background-repeat: no-repeat;
Paul Greysond43f9512013-04-09 14:46:12 -0700241 background-position: .4em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700242}
243
Paul Greyson6f918402013-03-28 12:18:30 -0700244.deleteFlow {
245 height: 100%;
246 background-image: url('../assets/delete.svg');
247 background-size: auto 150%;
248 background-repeat: no-repeat;
249 background-position: center;
250}
251
Paul Greyson952ccb62013-03-18 22:22:08 -0700252#logo {
253 height: 50px;
254}
255
256.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700257 stroke: black;
258 stroke-width: 1.5px;
259}
260
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700261.nolabel text {
262 display: none;
263}
264
265text {
266 stroke: none;
267 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700268 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700269 pointer-events: none;
270}
271
Paul Greyson45aceb22013-04-09 22:17:03 -0700272text.label {
273 fill: #888;
274}
275
Paul Greysond1a22d92013-03-19 12:15:19 -0700276path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700277 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700278 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700279}
280
Paul Greyson952ccb62013-03-18 22:22:08 -0700281.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700282 stroke: black;
283 stroke-width: 2px;
284}
Paul Greysond1a22d92013-03-19 12:15:19 -0700285
286#traceButton {
287 visibility: hidden
288}
Paul Greyson3e142162013-03-19 13:56:17 -0700289
Paul Greyson01a5dff2013-03-19 15:50:14 -0700290.color1-selected .color1,
291.color2-selected .color2,
292.color3-selected .color3,
293.color4-selected .color4,
294.color5-selected .color5,
295.color6-selected .color6,
296.color7-selected .color7,
297.color8-selected .color8,
298.color9-selected .color9,
299.color10-selected .color10,
300.color11-selected .color11,
301.color12-selected .color12 {
302 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700303 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700304}
305
Paul Greysonc17278a2013-03-23 10:17:12 -0700306.colorInactive {
307 opacity: 1;
308 fill: #444;
309 background-color: #444;
310 color: #222;
311}
312
Paul Greyson01a5dff2013-03-19 15:50:14 -0700313.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700314 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700315 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700316 fill: #EC0033;
317 background-color: #EC0033;
318}
319
Paul Greyson01a5dff2013-03-19 15:50:14 -0700320.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700321 opacity: .15;
Paul Greysone6266b92013-04-09 23:15:27 -0700322 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700323 fill: #FFBA00;
324 background-color: #FFBA00;
325}
326
Paul Greyson01a5dff2013-03-19 15:50:14 -0700327.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700328 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700329 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700330 fill: #3714B0;
331 background-color: #3714B0;
332}
333
Paul Greyson01a5dff2013-03-19 15:50:14 -0700334.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700335 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700336 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700337 fill: #B12C49;
338 background-color: #B12C49;
339}
340
Paul Greyson01a5dff2013-03-19 15:50:14 -0700341.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700342 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700343 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700344 fill: #402C84;
345 background-color: #402C84;
346}
347
Paul Greyson01a5dff2013-03-19 15:50:14 -0700348.color6 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700349 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700350 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700351 fill: #990021;
352 background-color: #990021;
353}
354
Paul Greyson01a5dff2013-03-19 15:50:14 -0700355.color7 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700356 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700357 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700358 fill: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700359 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700360}
361
Paul Greyson01a5dff2013-03-19 15:50:14 -0700362.color8 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700363 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700364 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700365 fill: #A67900;
366 background-color: #A67900;
367}
368
Paul Greyson01a5dff2013-03-19 15:50:14 -0700369.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700370 opacity: .2;
Paul Greysone6266b92013-04-09 23:15:27 -0700371 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700372 fill: #F53D65;
373 background-color: #F53D65;
374}
375
Paul Greyson01a5dff2013-03-19 15:50:14 -0700376.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700377 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700378 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700379 fill: #1F0772;
380 background-color: #1F0772;
381}
382
Paul Greyson01a5dff2013-03-19 15:50:14 -0700383.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700384 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700385 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700386 fill: #F56E8B;
387 background-color: #F56E8B;
388}
389
Paul Greyson01a5dff2013-03-19 15:50:14 -0700390.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700391 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700392 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700393 fill: #6949D7;
394 background-color: #6949D7;
395}
Paul Greyson347fb742013-03-27 13:40:29 -0700396
Paul Greysone6266b92013-04-09 23:15:27 -0700397.action {
398 margin: .25em;
399 padding: .25em;
400 padding-left: 1em;
401 padding-right: 1em;
402 border: 1px solid #AAA;
403 background-color: #444;
404 display: -webkit-box;
405 -webkit-box-pack: center;
406 -webkit-box-align: center;
407 color: white;
408}
409
410.action:hover {
411 border: 1px solid #FFF;
412}
413
414.action:active {
415 background-color: #222;
416}
417
Paul Greyson347fb742013-03-27 13:40:29 -0700418
419@-webkit-keyframes pending {
420 from {
421 opacity: 1.0;
422 }
423 to {
424 opacity: 0.5;
425 }
426}
427
428.pending {
429 -webkit-animation-name: pending;
430 -webkit-animation-duration: .5s;
431 -webkit-animation-direction: alternate;
432 -webkit-animation-timing-function: ease-in-out;
Paul Greysoncb5d30d2013-04-04 02:00:56 -0700433 -webkit-animation-iteration-count: 70;
Paul Greyson347fb742013-03-27 13:40:29 -0700434}
435