blob: 4beb712a601fbff210faeff582d2e908de1c3cf9 [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 Greyson72f18852013-03-27 15:56:11 -07009#topology.linking {
10 cursor: crosshair;
11}
12
Paul Greyson79b8d832013-04-09 09:34:46 -070013
14.state {
15 fill:none;
16 stroke:#888;
17 stroke-width:1;
18}
19
Paul Greyson72f18852013-03-27 15:56:11 -070020.nodrop {
21 cursor: not-allowed;
22}
23
Paul Greysond9872392013-03-18 12:04:15 -070024.status {
25 padding: 1em;
Paul Greysond9872392013-03-18 12:04:15 -070026}
27
Paul Greysonc3e21a02013-03-21 13:56:05 -070028
Paul Greysond9872392013-03-18 12:04:15 -070029.status:last-child {
30 border-right: none;
31}
32
33.status .static {
Paul Greysonc3e21a02013-03-21 13:56:05 -070034 color: #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070035 padding: .25em;
36}
37
38.status .dynamic {
Paul Greysonc3e21a02013-03-21 13:56:05 -070039 color: #FFF;
Paul Greysond9872392013-03-18 12:04:15 -070040 padding: .25em;
41}
42
Paul Greysonc3e21a02013-03-21 13:56:05 -070043#status.top span {
44 font-size: 24px;
45}
46
Paul Greysond9872392013-03-18 12:04:15 -070047.button {
48 padding: 1em;
49 background-color: lightgray;
50 color: black;
Paul Greyson56378ed2013-03-26 23:17:36 -070051 border: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070052}
53
Paul Greysonb367de22013-03-23 11:09:11 -070054#arrow {
55 stroke: none;
Paul Greyson45303ac2013-03-23 16:44:01 -070056 fill: rgba(255, 255, 255, .35);
Paul Greysonb367de22013-03-23 11:09:11 -070057}
58
Paul Greyson952ccb62013-03-18 22:22:08 -070059.header {
60 height: 50px;
61}
62
Paul Greyson56378ed2013-03-26 23:17:36 -070063#topology {
64 border-top: 1px solid #AAA;
65}
66
67.selectedFlow {
68 border-bottom: 1px solid #AAA;
69}
70
Paul Greyson71b550d2013-03-28 11:56:19 -070071.selectedFlow:hover {
72 background-color: #333;
73}
74
Paul Greyson56378ed2013-03-26 23:17:36 -070075.selectedFlow:last-child {
76 border-bottom: none;
77}
78
79#lastUpdated {
80 padding-bottom: 0px;
81}
82
83#controllers .header {
84 -webkit-box-pack: center;
85 border-bottom: 1px solid #AAA;
86}
87
Paul Greysond9872392013-03-18 12:04:15 -070088
89#right .header {
Paul Greyson952ccb62013-03-18 22:22:08 -070090 font-size: 12px;
91 padding-right: .25em;
92 -webkit-box-sizing: border-box;
Paul Greysond9872392013-03-18 12:04:15 -070093}
94
Paul Greysond1a22d92013-03-19 12:15:19 -070095#controllers, #selectedFlows {
Paul Greyson56378ed2013-03-26 23:17:36 -070096 border-top: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070097}
98
Paul Greysond1a22d92013-03-19 12:15:19 -070099#selectedFlows {
Paul Greyson56378ed2013-03-26 23:17:36 -0700100 border-bottom: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -0700101}
102
Paul Greyson127d7fb2013-03-25 23:39:20 -0700103.selectedFlow {
104 height: 2em;
105 color: white;
106 background-color: black;
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;
157 stroke-width: 2px;
158 stroke: rgba(255, 255, 255, .75);
159}
160
Paul Greyson29aa98d2013-03-28 00:09:31 -0700161#flowChooser {
162 pointer-events: none;
163 background-color: rgba(0, 0, 0, .25);
164}
165
166
Paul Greyson6f918402013-03-28 12:18:30 -0700167.flowId, .srcDPID, .dstDPID, .iperf, #deleteFlow, .deleteFlow {
Paul Greyson127d7fb2013-03-25 23:39:20 -0700168 display: -webkit-box;
169 -webkit-box-pack: center;
170 -webkit-box-align: center;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700171 width: 3em;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700172}
173
Paul Greyson8247c3f2013-03-28 00:24:02 -0700174
Paul Greyson29aa98d2013-03-28 00:09:31 -0700175.srcDPID, .dstDPID {
176 width: 12em;
177}
178
179
Paul Greyson6f918402013-03-28 12:18:30 -0700180.srcDPID, .dstDPID, .deleteFlow, #deleteFlow {
Paul Greyson56378ed2013-03-26 23:17:36 -0700181 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700182}
183
Paul Greyson13f02b92013-03-28 11:29:35 -0700184.srcDPID {
185 border-left: 1px solid #AAA;
186}
187
Paul Greyson127d7fb2013-03-25 23:39:20 -0700188
Paul Greysond1a22d92013-03-19 12:15:19 -0700189#controllers {
Paul Greyson56378ed2013-03-26 23:17:36 -0700190 border-right: 1px solid #AAA;
Paul Greysond1a22d92013-03-19 12:15:19 -0700191}
192
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;
217 background-position: .25em 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 Greysond1a22d92013-03-19 12:15:19 -0700248path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700249 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700250 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700251}
252
Paul Greyson952ccb62013-03-18 22:22:08 -0700253.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700254 stroke: black;
255 stroke-width: 2px;
256}
Paul Greysond1a22d92013-03-19 12:15:19 -0700257
258#traceButton {
259 visibility: hidden
260}
Paul Greyson3e142162013-03-19 13:56:17 -0700261
Paul Greyson01a5dff2013-03-19 15:50:14 -0700262.color1-selected .color1,
263.color2-selected .color2,
264.color3-selected .color3,
265.color4-selected .color4,
266.color5-selected .color5,
267.color6-selected .color6,
268.color7-selected .color7,
269.color8-selected .color8,
270.color9-selected .color9,
271.color10-selected .color10,
272.color11-selected .color11,
273.color12-selected .color12 {
274 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700275 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700276}
277
Paul Greysonc17278a2013-03-23 10:17:12 -0700278.colorInactive {
279 opacity: 1;
280 fill: #444;
281 background-color: #444;
282 color: #222;
283}
284
Paul Greyson01a5dff2013-03-19 15:50:14 -0700285.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700286 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700287 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700288 fill: #EC0033;
289 background-color: #EC0033;
290}
291
Paul Greyson01a5dff2013-03-19 15:50:14 -0700292.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700293 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700294 fill: #FFBA00;
295 background-color: #FFBA00;
296}
297
Paul Greyson01a5dff2013-03-19 15:50:14 -0700298.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700299 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700300 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700301 fill: #3714B0;
302 background-color: #3714B0;
303}
304
Paul Greyson01a5dff2013-03-19 15:50:14 -0700305.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700306 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700307 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700308 fill: #B12C49;
309 background-color: #B12C49;
310}
311
Paul Greyson01a5dff2013-03-19 15:50:14 -0700312.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700313 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700314 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700315 fill: #402C84;
316 background-color: #402C84;
317}
318
Paul Greyson01a5dff2013-03-19 15:50:14 -0700319.color6 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700320 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700321 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700322 fill: #990021;
323 background-color: #990021;
324}
325
Paul Greyson01a5dff2013-03-19 15:50:14 -0700326.color7 {
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: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700330 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700331}
332
Paul Greyson01a5dff2013-03-19 15:50:14 -0700333.color8 {
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: #A67900;
337 background-color: #A67900;
338}
339
Paul Greyson01a5dff2013-03-19 15:50:14 -0700340.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700341 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700342 fill: #F53D65;
343 background-color: #F53D65;
344}
345
Paul Greyson01a5dff2013-03-19 15:50:14 -0700346.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700347 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700348 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700349 fill: #1F0772;
350 background-color: #1F0772;
351}
352
Paul Greyson01a5dff2013-03-19 15:50:14 -0700353.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700354 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700355 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700356 fill: #F56E8B;
357 background-color: #F56E8B;
358}
359
Paul Greyson01a5dff2013-03-19 15:50:14 -0700360.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700361 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700362 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700363 fill: #6949D7;
364 background-color: #6949D7;
365}
Paul Greyson347fb742013-03-27 13:40:29 -0700366
367
368@-webkit-keyframes pending {
369 from {
370 opacity: 1.0;
371 }
372 to {
373 opacity: 0.5;
374 }
375}
376
377.pending {
378 -webkit-animation-name: pending;
379 -webkit-animation-duration: .5s;
380 -webkit-animation-direction: alternate;
381 -webkit-animation-timing-function: ease-in-out;
Paul Greysoncb5d30d2013-04-04 02:00:56 -0700382 -webkit-animation-iteration-count: 70;
Paul Greyson347fb742013-03-27 13:40:29 -0700383}
384