blob: 1d656b092e02c772dba10dd8c258c5d12807c282 [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
13.nodrop {
14 cursor: not-allowed;
15}
16
Paul Greysond9872392013-03-18 12:04:15 -070017.status {
18 padding: 1em;
Paul Greysond9872392013-03-18 12:04:15 -070019}
20
Paul Greysonc3e21a02013-03-21 13:56:05 -070021
Paul Greysond9872392013-03-18 12:04:15 -070022.status:last-child {
23 border-right: none;
24}
25
26.status .static {
Paul Greysonc3e21a02013-03-21 13:56:05 -070027 color: #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070028 padding: .25em;
29}
30
31.status .dynamic {
Paul Greysonc3e21a02013-03-21 13:56:05 -070032 color: #FFF;
Paul Greysond9872392013-03-18 12:04:15 -070033 padding: .25em;
34}
35
Paul Greysonc3e21a02013-03-21 13:56:05 -070036#status.top span {
37 font-size: 24px;
38}
39
Paul Greysond9872392013-03-18 12:04:15 -070040.button {
41 padding: 1em;
42 background-color: lightgray;
43 color: black;
Paul Greyson56378ed2013-03-26 23:17:36 -070044 border: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070045}
46
Paul Greysonb367de22013-03-23 11:09:11 -070047#arrow {
48 stroke: none;
Paul Greyson45303ac2013-03-23 16:44:01 -070049 fill: rgba(255, 255, 255, .35);
Paul Greysonb367de22013-03-23 11:09:11 -070050}
51
Paul Greyson952ccb62013-03-18 22:22:08 -070052.header {
53 height: 50px;
54}
55
Paul Greyson56378ed2013-03-26 23:17:36 -070056#topology {
57 border-top: 1px solid #AAA;
58}
59
60.selectedFlow {
61 border-bottom: 1px solid #AAA;
62}
63
Paul Greyson71b550d2013-03-28 11:56:19 -070064.selectedFlow:hover {
65 background-color: #333;
66}
67
Paul Greyson56378ed2013-03-26 23:17:36 -070068.selectedFlow:last-child {
69 border-bottom: none;
70}
71
72#lastUpdated {
73 padding-bottom: 0px;
74}
75
76#controllers .header {
77 -webkit-box-pack: center;
78 border-bottom: 1px solid #AAA;
79}
80
Paul Greysond9872392013-03-18 12:04:15 -070081
82#right .header {
Paul Greyson952ccb62013-03-18 22:22:08 -070083 font-size: 12px;
84 padding-right: .25em;
85 -webkit-box-sizing: border-box;
Paul Greysond9872392013-03-18 12:04:15 -070086}
87
Paul Greysond1a22d92013-03-19 12:15:19 -070088#controllers, #selectedFlows {
Paul Greyson56378ed2013-03-26 23:17:36 -070089 border-top: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070090}
91
Paul Greysond1a22d92013-03-19 12:15:19 -070092#selectedFlows {
Paul Greyson56378ed2013-03-26 23:17:36 -070093 border-bottom: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070094}
95
Paul Greyson127d7fb2013-03-25 23:39:20 -070096.selectedFlow {
97 height: 2em;
98 color: white;
99 background-color: black;
100}
101
Paul Greyson29aa98d2013-03-28 00:09:31 -0700102#flowChooser .selectedFlow {
103 background-color: rgba(255, 255, 255, .75);
104 color: black;
105}
106
107#flowChooser .flowId {
108 padding-left: 2em;
109}
110
111
Paul Greyson127d7fb2013-03-25 23:39:20 -0700112.selectedFlow.selected {
113 color: black;
114 background-color:#AAA;
115}
116
Paul Greyson421bfcd2013-03-27 22:22:09 -0700117.highlight circle {
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700118 stroke: rgba(255, 255, 255, .5);
119 stroke-width: 2px;
120}
121
Paul Greyson421bfcd2013-03-27 22:22:09 -0700122#linkVector {
123 fill: none;
124 stroke-width: 1px;
125 stroke: rgba(255, 255, 255, .75);
126 pointer-events: none;
127}
128
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700129path {
130 pointer-events: none;
131}
132
Paul Greyson127d7fb2013-03-25 23:39:20 -0700133path.flow {
134 fill: none;
Paul Greyson421bfcd2013-03-27 22:22:09 -0700135 stroke-width: 5px;
Paul Greysonacb59412013-03-25 23:48:06 -0700136 stroke: rgba(255, 255, 255, .35);
Paul Greyson127d7fb2013-03-25 23:39:20 -0700137}
138
Paul Greyson71b550d2013-03-28 11:56:19 -0700139path.flow.highlight {
140 stroke-width: 6px;
141 stroke: rgba(255, 255, 255, .75);
142}
143
Paul Greyson127d7fb2013-03-25 23:39:20 -0700144#selectedFlowsHeader {
Paul Greyson56378ed2013-03-26 23:17:36 -0700145 border-top: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700146}
147
Paul Greyson95db7a12013-04-04 14:57:58 -0700148path.iperfdata {
149 fill: none;
150 stroke-width: 2px;
151 stroke: rgba(255, 255, 255, .75);
152}
153
Paul Greyson29aa98d2013-03-28 00:09:31 -0700154#flowChooser {
155 pointer-events: none;
156 background-color: rgba(0, 0, 0, .25);
157}
158
159
Paul Greyson6f918402013-03-28 12:18:30 -0700160.flowId, .srcDPID, .dstDPID, .iperf, #deleteFlow, .deleteFlow {
Paul Greyson127d7fb2013-03-25 23:39:20 -0700161 display: -webkit-box;
162 -webkit-box-pack: center;
163 -webkit-box-align: center;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700164 width: 3em;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700165}
166
Paul Greyson8247c3f2013-03-28 00:24:02 -0700167
Paul Greyson29aa98d2013-03-28 00:09:31 -0700168.srcDPID, .dstDPID {
169 width: 12em;
170}
171
172
Paul Greyson6f918402013-03-28 12:18:30 -0700173.srcDPID, .dstDPID, .deleteFlow, #deleteFlow {
Paul Greyson56378ed2013-03-26 23:17:36 -0700174 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700175}
176
Paul Greyson13f02b92013-03-28 11:29:35 -0700177.srcDPID {
178 border-left: 1px solid #AAA;
179}
180
Paul Greyson127d7fb2013-03-25 23:39:20 -0700181
Paul Greysond1a22d92013-03-19 12:15:19 -0700182#controllers {
Paul Greyson56378ed2013-03-26 23:17:36 -0700183 border-right: 1px solid #AAA;
Paul Greysond1a22d92013-03-19 12:15:19 -0700184}
185
Paul Greyson3e142162013-03-19 13:56:17 -0700186.controller {
187 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700188 padding-left: 2.5em;
189 position: relative;
190}
191
Paul Greyson8247c3f2013-03-28 00:24:02 -0700192.black-eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700193 position: absolute;
194 top: 0px;
195 left: 0px;
196 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700197 width: 2.25em;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700198 background-image: url('../assets/black-eye.svg');
199 background-size: auto 100%;
200 background-repeat: no-repeat;
201 background-position: .25em center;
202}
203
204.white-eye {
205 height: 100%;
206 width: 2.25em;
207 background-image: url('../assets/white-eye.svg');
Paul Greyson2913af82013-03-27 14:53:17 -0700208 background-size: auto 100%;
209 background-repeat: no-repeat;
210 background-position: .25em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700211}
212
Paul Greyson6f918402013-03-28 12:18:30 -0700213.deleteFlow {
214 height: 100%;
215 background-image: url('../assets/delete.svg');
216 background-size: auto 150%;
217 background-repeat: no-repeat;
218 background-position: center;
219}
220
Paul Greyson952ccb62013-03-18 22:22:08 -0700221#logo {
222 height: 50px;
223}
224
225.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700226 stroke: black;
227 stroke-width: 1.5px;
228}
229
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700230.nolabel text {
231 display: none;
232}
233
234text {
235 stroke: none;
236 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700237 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700238 pointer-events: none;
239}
240
Paul Greysond1a22d92013-03-19 12:15:19 -0700241path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700242 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700243 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700244}
245
Paul Greyson952ccb62013-03-18 22:22:08 -0700246.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700247 stroke: black;
248 stroke-width: 2px;
249}
Paul Greysond1a22d92013-03-19 12:15:19 -0700250
251#traceButton {
252 visibility: hidden
253}
Paul Greyson3e142162013-03-19 13:56:17 -0700254
Paul Greyson01a5dff2013-03-19 15:50:14 -0700255.color1-selected .color1,
256.color2-selected .color2,
257.color3-selected .color3,
258.color4-selected .color4,
259.color5-selected .color5,
260.color6-selected .color6,
261.color7-selected .color7,
262.color8-selected .color8,
263.color9-selected .color9,
264.color10-selected .color10,
265.color11-selected .color11,
266.color12-selected .color12 {
267 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700268 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700269}
270
Paul Greysonc17278a2013-03-23 10:17:12 -0700271.colorInactive {
272 opacity: 1;
273 fill: #444;
274 background-color: #444;
275 color: #222;
276}
277
Paul Greyson01a5dff2013-03-19 15:50:14 -0700278.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700279 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700280 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700281 fill: #EC0033;
282 background-color: #EC0033;
283}
284
Paul Greyson01a5dff2013-03-19 15:50:14 -0700285.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700286 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700287 fill: #FFBA00;
288 background-color: #FFBA00;
289}
290
Paul Greyson01a5dff2013-03-19 15:50:14 -0700291.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700292 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700293 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700294 fill: #3714B0;
295 background-color: #3714B0;
296}
297
Paul Greyson01a5dff2013-03-19 15:50:14 -0700298.color4 {
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: #B12C49;
302 background-color: #B12C49;
303}
304
Paul Greyson01a5dff2013-03-19 15:50:14 -0700305.color5 {
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: #402C84;
309 background-color: #402C84;
310}
311
Paul Greyson01a5dff2013-03-19 15:50:14 -0700312.color6 {
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: #990021;
316 background-color: #990021;
317}
318
Paul Greyson01a5dff2013-03-19 15:50:14 -0700319.color7 {
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;
Paul Greyson45303ac2013-03-23 16:44:01 -0700323 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700324}
325
Paul Greyson01a5dff2013-03-19 15:50:14 -0700326.color8 {
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: #A67900;
330 background-color: #A67900;
331}
332
Paul Greyson01a5dff2013-03-19 15:50:14 -0700333.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700334 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700335 fill: #F53D65;
336 background-color: #F53D65;
337}
338
Paul Greyson01a5dff2013-03-19 15:50:14 -0700339.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700340 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700341 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700342 fill: #1F0772;
343 background-color: #1F0772;
344}
345
Paul Greyson01a5dff2013-03-19 15:50:14 -0700346.color11 {
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: #F56E8B;
350 background-color: #F56E8B;
351}
352
Paul Greyson01a5dff2013-03-19 15:50:14 -0700353.color12 {
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: #6949D7;
357 background-color: #6949D7;
358}
Paul Greyson347fb742013-03-27 13:40:29 -0700359
360
361@-webkit-keyframes pending {
362 from {
363 opacity: 1.0;
364 }
365 to {
366 opacity: 0.5;
367 }
368}
369
370.pending {
371 -webkit-animation-name: pending;
372 -webkit-animation-duration: .5s;
373 -webkit-animation-direction: alternate;
374 -webkit-animation-timing-function: ease-in-out;
Paul Greysoncb5d30d2013-04-04 02:00:56 -0700375 -webkit-animation-iteration-count: 70;
Paul Greyson347fb742013-03-27 13:40:29 -0700376}
377