blob: 771d39379efe54bb31bedb82053029fee38ecee8 [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 Greyson72f18852013-03-27 15:56:11 -070014#topology.linking {
15 cursor: crosshair;
16}
17
Paul Greyson79b8d832013-04-09 09:34:46 -070018
19.state {
20 fill:none;
21 stroke:#888;
22 stroke-width:1;
23}
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;
153 stroke-width: 2px;
154 stroke: rgba(255, 255, 255, .75);
155}
156
Paul Greyson29aa98d2013-03-28 00:09:31 -0700157#flowChooser {
158 pointer-events: none;
159 background-color: rgba(0, 0, 0, .25);
160}
161
162
Paul Greyson6f918402013-03-28 12:18:30 -0700163.flowId, .srcDPID, .dstDPID, .iperf, #deleteFlow, .deleteFlow {
Paul Greyson127d7fb2013-03-25 23:39:20 -0700164 display: -webkit-box;
165 -webkit-box-pack: center;
166 -webkit-box-align: center;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700167 width: 3em;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700168}
169
Paul Greyson8247c3f2013-03-28 00:24:02 -0700170
Paul Greyson29aa98d2013-03-28 00:09:31 -0700171.srcDPID, .dstDPID {
172 width: 12em;
173}
174
175
Paul Greysond43f9512013-04-09 14:46:12 -0700176.srcDPID, .dstDPID, .deleteFlow, #showFlowChooser {
Paul Greyson56378ed2013-03-26 23:17:36 -0700177 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700178}
179
Paul Greyson13f02b92013-03-28 11:29:35 -0700180.srcDPID {
181 border-left: 1px solid #AAA;
182}
183
Paul Greyson127d7fb2013-03-25 23:39:20 -0700184
Paul Greyson3e142162013-03-19 13:56:17 -0700185.controller {
186 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700187 padding-left: 2.5em;
188 position: relative;
189}
190
Paul Greyson8247c3f2013-03-28 00:24:02 -0700191.black-eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700192 position: absolute;
193 top: 0px;
194 left: 0px;
195 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700196 width: 2.25em;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700197 background-image: url('../assets/black-eye.svg');
198 background-size: auto 100%;
199 background-repeat: no-repeat;
200 background-position: .25em center;
201}
202
203.white-eye {
204 height: 100%;
205 width: 2.25em;
206 background-image: url('../assets/white-eye.svg');
Paul Greyson2913af82013-03-27 14:53:17 -0700207 background-size: auto 100%;
208 background-repeat: no-repeat;
Paul Greysond43f9512013-04-09 14:46:12 -0700209 background-position: .4em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700210}
211
Paul Greyson6f918402013-03-28 12:18:30 -0700212.deleteFlow {
213 height: 100%;
214 background-image: url('../assets/delete.svg');
215 background-size: auto 150%;
216 background-repeat: no-repeat;
217 background-position: center;
218}
219
Paul Greyson952ccb62013-03-18 22:22:08 -0700220#logo {
221 height: 50px;
222}
223
224.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700225 stroke: black;
226 stroke-width: 1.5px;
227}
228
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700229.nolabel text {
230 display: none;
231}
232
233text {
234 stroke: none;
235 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700236 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700237 pointer-events: none;
238}
239
Paul Greysond1a22d92013-03-19 12:15:19 -0700240path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700241 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700242 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700243}
244
Paul Greyson952ccb62013-03-18 22:22:08 -0700245.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700246 stroke: black;
247 stroke-width: 2px;
248}
Paul Greysond1a22d92013-03-19 12:15:19 -0700249
250#traceButton {
251 visibility: hidden
252}
Paul Greyson3e142162013-03-19 13:56:17 -0700253
Paul Greyson01a5dff2013-03-19 15:50:14 -0700254.color1-selected .color1,
255.color2-selected .color2,
256.color3-selected .color3,
257.color4-selected .color4,
258.color5-selected .color5,
259.color6-selected .color6,
260.color7-selected .color7,
261.color8-selected .color8,
262.color9-selected .color9,
263.color10-selected .color10,
264.color11-selected .color11,
265.color12-selected .color12 {
266 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700267 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700268}
269
Paul Greysonc17278a2013-03-23 10:17:12 -0700270.colorInactive {
271 opacity: 1;
272 fill: #444;
273 background-color: #444;
274 color: #222;
275}
276
Paul Greyson01a5dff2013-03-19 15:50:14 -0700277.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700278 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700279 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700280 fill: #EC0033;
281 background-color: #EC0033;
282}
283
Paul Greyson01a5dff2013-03-19 15:50:14 -0700284.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700285 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700286 fill: #FFBA00;
287 background-color: #FFBA00;
288}
289
Paul Greyson01a5dff2013-03-19 15:50:14 -0700290.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700291 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700292 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700293 fill: #3714B0;
294 background-color: #3714B0;
295}
296
Paul Greyson01a5dff2013-03-19 15:50:14 -0700297.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700298 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700299 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700300 fill: #B12C49;
301 background-color: #B12C49;
302}
303
Paul Greyson01a5dff2013-03-19 15:50:14 -0700304.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700305 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700306 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700307 fill: #402C84;
308 background-color: #402C84;
309}
310
Paul Greyson01a5dff2013-03-19 15:50:14 -0700311.color6 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700312 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700313 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700314 fill: #990021;
315 background-color: #990021;
316}
317
Paul Greyson01a5dff2013-03-19 15:50:14 -0700318.color7 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700319 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700320 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700321 fill: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700322 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700323}
324
Paul Greyson01a5dff2013-03-19 15:50:14 -0700325.color8 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700326 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700327 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700328 fill: #A67900;
329 background-color: #A67900;
330}
331
Paul Greyson01a5dff2013-03-19 15:50:14 -0700332.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700333 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700334 fill: #F53D65;
335 background-color: #F53D65;
336}
337
Paul Greyson01a5dff2013-03-19 15:50:14 -0700338.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700339 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700340 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700341 fill: #1F0772;
342 background-color: #1F0772;
343}
344
Paul Greyson01a5dff2013-03-19 15:50:14 -0700345.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700346 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700347 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700348 fill: #F56E8B;
349 background-color: #F56E8B;
350}
351
Paul Greyson01a5dff2013-03-19 15:50:14 -0700352.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700353 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700354 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700355 fill: #6949D7;
356 background-color: #6949D7;
357}
Paul Greyson347fb742013-03-27 13:40:29 -0700358
359
360@-webkit-keyframes pending {
361 from {
362 opacity: 1.0;
363 }
364 to {
365 opacity: 0.5;
366 }
367}
368
369.pending {
370 -webkit-animation-name: pending;
371 -webkit-animation-duration: .5s;
372 -webkit-animation-direction: alternate;
373 -webkit-animation-timing-function: ease-in-out;
Paul Greysoncb5d30d2013-04-04 02:00:56 -0700374 -webkit-animation-iteration-count: 70;
Paul Greyson347fb742013-03-27 13:40:29 -0700375}
376