blob: d88814e8c2a2aeebccafcbaac422776a65f2adf3 [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 Greyson29aa98d2013-03-28 00:09:31 -0700148#flowChooser {
149 pointer-events: none;
150 background-color: rgba(0, 0, 0, .25);
151}
152
153
Paul Greyson6f918402013-03-28 12:18:30 -0700154.flowId, .srcDPID, .dstDPID, .iperf, #deleteFlow, .deleteFlow {
Paul Greyson127d7fb2013-03-25 23:39:20 -0700155 display: -webkit-box;
156 -webkit-box-pack: center;
157 -webkit-box-align: center;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700158 width: 3em;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700159}
160
Paul Greyson8247c3f2013-03-28 00:24:02 -0700161
Paul Greyson29aa98d2013-03-28 00:09:31 -0700162.srcDPID, .dstDPID {
163 width: 12em;
164}
165
166
Paul Greyson6f918402013-03-28 12:18:30 -0700167.srcDPID, .dstDPID, .deleteFlow, #deleteFlow {
Paul Greyson56378ed2013-03-26 23:17:36 -0700168 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700169}
170
Paul Greyson13f02b92013-03-28 11:29:35 -0700171.srcDPID {
172 border-left: 1px solid #AAA;
173}
174
Paul Greyson127d7fb2013-03-25 23:39:20 -0700175
Paul Greysond1a22d92013-03-19 12:15:19 -0700176#controllers {
Paul Greyson56378ed2013-03-26 23:17:36 -0700177 border-right: 1px solid #AAA;
Paul Greysond1a22d92013-03-19 12:15:19 -0700178}
179
Paul Greyson3e142162013-03-19 13:56:17 -0700180.controller {
181 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700182 padding-left: 2.5em;
183 position: relative;
184}
185
Paul Greyson8247c3f2013-03-28 00:24:02 -0700186.black-eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700187 position: absolute;
188 top: 0px;
189 left: 0px;
190 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700191 width: 2.25em;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700192 background-image: url('../assets/black-eye.svg');
193 background-size: auto 100%;
194 background-repeat: no-repeat;
195 background-position: .25em center;
196}
197
198.white-eye {
199 height: 100%;
200 width: 2.25em;
201 background-image: url('../assets/white-eye.svg');
Paul Greyson2913af82013-03-27 14:53:17 -0700202 background-size: auto 100%;
203 background-repeat: no-repeat;
204 background-position: .25em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700205}
206
Paul Greyson6f918402013-03-28 12:18:30 -0700207.deleteFlow {
208 height: 100%;
209 background-image: url('../assets/delete.svg');
210 background-size: auto 150%;
211 background-repeat: no-repeat;
212 background-position: center;
213}
214
Paul Greyson952ccb62013-03-18 22:22:08 -0700215#logo {
216 height: 50px;
217}
218
219.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700220 stroke: black;
221 stroke-width: 1.5px;
222}
223
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700224.nolabel text {
225 display: none;
226}
227
228text {
229 stroke: none;
230 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700231 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700232 pointer-events: none;
233}
234
Paul Greysond1a22d92013-03-19 12:15:19 -0700235path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700236 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700237 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700238}
239
Paul Greyson952ccb62013-03-18 22:22:08 -0700240.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700241 stroke: black;
242 stroke-width: 2px;
243}
Paul Greysond1a22d92013-03-19 12:15:19 -0700244
245#traceButton {
246 visibility: hidden
247}
Paul Greyson3e142162013-03-19 13:56:17 -0700248
Paul Greyson01a5dff2013-03-19 15:50:14 -0700249.color1-selected .color1,
250.color2-selected .color2,
251.color3-selected .color3,
252.color4-selected .color4,
253.color5-selected .color5,
254.color6-selected .color6,
255.color7-selected .color7,
256.color8-selected .color8,
257.color9-selected .color9,
258.color10-selected .color10,
259.color11-selected .color11,
260.color12-selected .color12 {
261 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700262 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700263}
264
Paul Greysonc17278a2013-03-23 10:17:12 -0700265.colorInactive {
266 opacity: 1;
267 fill: #444;
268 background-color: #444;
269 color: #222;
270}
271
Paul Greyson01a5dff2013-03-19 15:50:14 -0700272.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700273 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700274 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700275 fill: #EC0033;
276 background-color: #EC0033;
277}
278
Paul Greyson01a5dff2013-03-19 15:50:14 -0700279.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700280 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700281 fill: #FFBA00;
282 background-color: #FFBA00;
283}
284
Paul Greyson01a5dff2013-03-19 15:50:14 -0700285.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700286 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700287 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700288 fill: #3714B0;
289 background-color: #3714B0;
290}
291
Paul Greyson01a5dff2013-03-19 15:50:14 -0700292.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700293 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700294 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700295 fill: #B12C49;
296 background-color: #B12C49;
297}
298
Paul Greyson01a5dff2013-03-19 15:50:14 -0700299.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700300 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700301 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700302 fill: #402C84;
303 background-color: #402C84;
304}
305
Paul Greyson01a5dff2013-03-19 15:50:14 -0700306.color6 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700307 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700308 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700309 fill: #990021;
310 background-color: #990021;
311}
312
Paul Greyson01a5dff2013-03-19 15:50:14 -0700313.color7 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700314 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700315 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700316 fill: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700317 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700318}
319
Paul Greyson01a5dff2013-03-19 15:50:14 -0700320.color8 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700321 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700322 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700323 fill: #A67900;
324 background-color: #A67900;
325}
326
Paul Greyson01a5dff2013-03-19 15:50:14 -0700327.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700328 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700329 fill: #F53D65;
330 background-color: #F53D65;
331}
332
Paul Greyson01a5dff2013-03-19 15:50:14 -0700333.color10 {
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: #1F0772;
337 background-color: #1F0772;
338}
339
Paul Greyson01a5dff2013-03-19 15:50:14 -0700340.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700341 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700342 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700343 fill: #F56E8B;
344 background-color: #F56E8B;
345}
346
Paul Greyson01a5dff2013-03-19 15:50:14 -0700347.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700348 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700349 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700350 fill: #6949D7;
351 background-color: #6949D7;
352}
Paul Greyson347fb742013-03-27 13:40:29 -0700353
354
355@-webkit-keyframes pending {
356 from {
357 opacity: 1.0;
358 }
359 to {
360 opacity: 0.5;
361 }
362}
363
364.pending {
365 -webkit-animation-name: pending;
366 -webkit-animation-duration: .5s;
367 -webkit-animation-direction: alternate;
368 -webkit-animation-timing-function: ease-in-out;
Paul Greyson40c8a592013-03-27 14:10:33 -0700369 -webkit-animation-iteration-count: 24;
Paul Greyson347fb742013-03-27 13:40:29 -0700370}
371