blob: 843fa4a0bb5c70b4c20c5f5d40809f380110bb5f [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 {
73 background-color: #333;
74}
75
Paul Greyson56378ed2013-03-26 23:17:36 -070076.selectedFlow:last-child {
77 border-bottom: none;
78}
79
80#lastUpdated {
81 padding-bottom: 0px;
82}
83
Paul Greysond9872392013-03-18 12:04:15 -070084#right .header {
Paul Greyson952ccb62013-03-18 22:22:08 -070085 font-size: 12px;
86 padding-right: .25em;
87 -webkit-box-sizing: border-box;
Paul Greysond9872392013-03-18 12:04:15 -070088}
89
Paul Greysond1a22d92013-03-19 12:15:19 -070090#selectedFlows {
Paul Greysond20d22e2013-04-09 14:34:53 -070091 border-top: 1px solid #AAA;
Paul Greyson56378ed2013-03-26 23:17:36 -070092 border-bottom: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070093}
94
Paul Greyson127d7fb2013-03-25 23:39:20 -070095.selectedFlow {
96 height: 2em;
97 color: white;
98 background-color: black;
99}
100
Paul Greysond20d22e2013-04-09 14:34:53 -0700101.header, #controllers {
102 border-bottom: 1px solid #AAA;;
103}
104
Paul Greyson29aa98d2013-03-28 00:09:31 -0700105#flowChooser .selectedFlow {
106 background-color: rgba(255, 255, 255, .75);
107 color: black;
108}
109
110#flowChooser .flowId {
111 padding-left: 2em;
112}
113
114
Paul Greyson127d7fb2013-03-25 23:39:20 -0700115.selectedFlow.selected {
116 color: black;
117 background-color:#AAA;
118}
119
Paul Greyson421bfcd2013-03-27 22:22:09 -0700120.highlight circle {
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700121 stroke: rgba(255, 255, 255, .5);
122 stroke-width: 2px;
123}
124
Paul Greyson421bfcd2013-03-27 22:22:09 -0700125#linkVector {
126 fill: none;
127 stroke-width: 1px;
128 stroke: rgba(255, 255, 255, .75);
129 pointer-events: none;
130}
131
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700132path {
133 pointer-events: none;
134}
135
Paul Greyson127d7fb2013-03-25 23:39:20 -0700136path.flow {
137 fill: none;
Paul Greyson421bfcd2013-03-27 22:22:09 -0700138 stroke-width: 5px;
Paul Greysonacb59412013-03-25 23:48:06 -0700139 stroke: rgba(255, 255, 255, .35);
Paul Greyson127d7fb2013-03-25 23:39:20 -0700140}
141
Paul Greyson71b550d2013-03-28 11:56:19 -0700142path.flow.highlight {
143 stroke-width: 6px;
144 stroke: rgba(255, 255, 255, .75);
145}
146
Paul Greyson127d7fb2013-03-25 23:39:20 -0700147#selectedFlowsHeader {
Paul Greyson56378ed2013-03-26 23:17:36 -0700148 border-top: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700149}
150
Paul Greyson95db7a12013-04-04 14:57:58 -0700151path.iperfdata {
152 fill: none;
Paul Greysonbbd708b2013-04-09 22:37:31 -0700153 stroke-width: 1px;
154 stroke: #ccc;
155}
156
157.iperf {
158 background-color: #222;
159}
160
161#selectedFlowsHeader .iperf {
162 background-color: black;
Paul Greyson95db7a12013-04-04 14:57:58 -0700163}
164
Paul Greyson29aa98d2013-03-28 00:09:31 -0700165#flowChooser {
166 pointer-events: none;
167 background-color: rgba(0, 0, 0, .25);
168}
169
170
Paul Greyson6f918402013-03-28 12:18:30 -0700171.flowId, .srcDPID, .dstDPID, .iperf, #deleteFlow, .deleteFlow {
Paul Greyson127d7fb2013-03-25 23:39:20 -0700172 display: -webkit-box;
173 -webkit-box-pack: center;
174 -webkit-box-align: center;
Paul Greyson45aceb22013-04-09 22:17:03 -0700175 width: 4em;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700176}
177
Paul Greyson8247c3f2013-03-28 00:24:02 -0700178
Paul Greyson29aa98d2013-03-28 00:09:31 -0700179.srcDPID, .dstDPID {
180 width: 12em;
181}
182
183
Paul Greysond43f9512013-04-09 14:46:12 -0700184.srcDPID, .dstDPID, .deleteFlow, #showFlowChooser {
Paul Greyson56378ed2013-03-26 23:17:36 -0700185 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700186}
187
Paul Greyson13f02b92013-03-28 11:29:35 -0700188.srcDPID {
189 border-left: 1px solid #AAA;
190}
191
Paul Greyson127d7fb2013-03-25 23:39:20 -0700192
Paul Greyson3e142162013-03-19 13:56:17 -0700193.controller {
194 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700195 padding-left: 2.5em;
196 position: relative;
197}
198
Paul Greyson8247c3f2013-03-28 00:24:02 -0700199.black-eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700200 position: absolute;
201 top: 0px;
202 left: 0px;
203 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700204 width: 2.25em;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700205 background-image: url('../assets/black-eye.svg');
206 background-size: auto 100%;
207 background-repeat: no-repeat;
208 background-position: .25em center;
209}
210
211.white-eye {
212 height: 100%;
213 width: 2.25em;
214 background-image: url('../assets/white-eye.svg');
Paul Greyson2913af82013-03-27 14:53:17 -0700215 background-size: auto 100%;
216 background-repeat: no-repeat;
Paul Greysond43f9512013-04-09 14:46:12 -0700217 background-position: .4em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700218}
219
Paul Greyson6f918402013-03-28 12:18:30 -0700220.deleteFlow {
221 height: 100%;
222 background-image: url('../assets/delete.svg');
223 background-size: auto 150%;
224 background-repeat: no-repeat;
225 background-position: center;
226}
227
Paul Greyson952ccb62013-03-18 22:22:08 -0700228#logo {
229 height: 50px;
230}
231
232.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700233 stroke: black;
234 stroke-width: 1.5px;
235}
236
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700237.nolabel text {
238 display: none;
239}
240
241text {
242 stroke: none;
243 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700244 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700245 pointer-events: none;
246}
247
Paul Greyson45aceb22013-04-09 22:17:03 -0700248text.label {
249 fill: #888;
250}
251
Paul Greysond1a22d92013-03-19 12:15:19 -0700252path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700253 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700254 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700255}
256
Paul Greyson952ccb62013-03-18 22:22:08 -0700257.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700258 stroke: black;
259 stroke-width: 2px;
260}
Paul Greysond1a22d92013-03-19 12:15:19 -0700261
262#traceButton {
263 visibility: hidden
264}
Paul Greyson3e142162013-03-19 13:56:17 -0700265
Paul Greyson01a5dff2013-03-19 15:50:14 -0700266.color1-selected .color1,
267.color2-selected .color2,
268.color3-selected .color3,
269.color4-selected .color4,
270.color5-selected .color5,
271.color6-selected .color6,
272.color7-selected .color7,
273.color8-selected .color8,
274.color9-selected .color9,
275.color10-selected .color10,
276.color11-selected .color11,
277.color12-selected .color12 {
278 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700279 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700280}
281
Paul Greysonc17278a2013-03-23 10:17:12 -0700282.colorInactive {
283 opacity: 1;
284 fill: #444;
285 background-color: #444;
286 color: #222;
287}
288
Paul Greyson01a5dff2013-03-19 15:50:14 -0700289.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700290 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700291 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700292 fill: #EC0033;
293 background-color: #EC0033;
294}
295
Paul Greyson01a5dff2013-03-19 15:50:14 -0700296.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700297 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700298 fill: #FFBA00;
299 background-color: #FFBA00;
300}
301
Paul Greyson01a5dff2013-03-19 15:50:14 -0700302.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700303 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700304 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700305 fill: #3714B0;
306 background-color: #3714B0;
307}
308
Paul Greyson01a5dff2013-03-19 15:50:14 -0700309.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700310 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700311 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700312 fill: #B12C49;
313 background-color: #B12C49;
314}
315
Paul Greyson01a5dff2013-03-19 15:50:14 -0700316.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700317 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700318 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700319 fill: #402C84;
320 background-color: #402C84;
321}
322
Paul Greyson01a5dff2013-03-19 15:50:14 -0700323.color6 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700324 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700325 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700326 fill: #990021;
327 background-color: #990021;
328}
329
Paul Greyson01a5dff2013-03-19 15:50:14 -0700330.color7 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700331 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700332 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700333 fill: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700334 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700335}
336
Paul Greyson01a5dff2013-03-19 15:50:14 -0700337.color8 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700338 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700339 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700340 fill: #A67900;
341 background-color: #A67900;
342}
343
Paul Greyson01a5dff2013-03-19 15:50:14 -0700344.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700345 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700346 fill: #F53D65;
347 background-color: #F53D65;
348}
349
Paul Greyson01a5dff2013-03-19 15:50:14 -0700350.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700351 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700352 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700353 fill: #1F0772;
354 background-color: #1F0772;
355}
356
Paul Greyson01a5dff2013-03-19 15:50:14 -0700357.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700358 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700359 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700360 fill: #F56E8B;
361 background-color: #F56E8B;
362}
363
Paul Greyson01a5dff2013-03-19 15:50:14 -0700364.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700365 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700366 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700367 fill: #6949D7;
368 background-color: #6949D7;
369}
Paul Greyson347fb742013-03-27 13:40:29 -0700370
371
372@-webkit-keyframes pending {
373 from {
374 opacity: 1.0;
375 }
376 to {
377 opacity: 0.5;
378 }
379}
380
381.pending {
382 -webkit-animation-name: pending;
383 -webkit-animation-duration: .5s;
384 -webkit-animation-direction: alternate;
385 -webkit-animation-timing-function: ease-in-out;
Paul Greysoncb5d30d2013-04-04 02:00:56 -0700386 -webkit-animation-iteration-count: 70;
Paul Greyson347fb742013-03-27 13:40:29 -0700387}
388