blob: e9bb1d7f699aa4bbe1f7b7112d8979fbd3246738 [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
154.flowId, .srcDPID, .dstDPID, .iperf {
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 Greyson13f02b92013-03-28 11:29:35 -0700167.srcDPID, .dstDPID {
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 Greyson952ccb62013-03-18 22:22:08 -0700207#logo {
208 height: 50px;
209}
210
211.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700212 stroke: black;
213 stroke-width: 1.5px;
214}
215
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700216.nolabel text {
217 display: none;
218}
219
220text {
221 stroke: none;
222 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700223 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700224 pointer-events: none;
225}
226
Paul Greysond1a22d92013-03-19 12:15:19 -0700227path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700228 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700229 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700230}
231
Paul Greyson952ccb62013-03-18 22:22:08 -0700232.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700233 stroke: black;
234 stroke-width: 2px;
235}
Paul Greysond1a22d92013-03-19 12:15:19 -0700236
237#traceButton {
238 visibility: hidden
239}
Paul Greyson3e142162013-03-19 13:56:17 -0700240
Paul Greyson01a5dff2013-03-19 15:50:14 -0700241.color1-selected .color1,
242.color2-selected .color2,
243.color3-selected .color3,
244.color4-selected .color4,
245.color5-selected .color5,
246.color6-selected .color6,
247.color7-selected .color7,
248.color8-selected .color8,
249.color9-selected .color9,
250.color10-selected .color10,
251.color11-selected .color11,
252.color12-selected .color12 {
253 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700254 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700255}
256
Paul Greysonc17278a2013-03-23 10:17:12 -0700257.colorInactive {
258 opacity: 1;
259 fill: #444;
260 background-color: #444;
261 color: #222;
262}
263
Paul Greyson01a5dff2013-03-19 15:50:14 -0700264.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700265 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700266 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700267 fill: #EC0033;
268 background-color: #EC0033;
269}
270
Paul Greyson01a5dff2013-03-19 15:50:14 -0700271.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700272 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700273 fill: #FFBA00;
274 background-color: #FFBA00;
275}
276
Paul Greyson01a5dff2013-03-19 15:50:14 -0700277.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700278 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700279 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700280 fill: #3714B0;
281 background-color: #3714B0;
282}
283
Paul Greyson01a5dff2013-03-19 15:50:14 -0700284.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700285 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700286 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700287 fill: #B12C49;
288 background-color: #B12C49;
289}
290
Paul Greyson01a5dff2013-03-19 15:50:14 -0700291.color5 {
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: #402C84;
295 background-color: #402C84;
296}
297
Paul Greyson01a5dff2013-03-19 15:50:14 -0700298.color6 {
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: #990021;
302 background-color: #990021;
303}
304
Paul Greyson01a5dff2013-03-19 15:50:14 -0700305.color7 {
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: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700309 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700310}
311
Paul Greyson01a5dff2013-03-19 15:50:14 -0700312.color8 {
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: #A67900;
316 background-color: #A67900;
317}
318
Paul Greyson01a5dff2013-03-19 15:50:14 -0700319.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700320 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700321 fill: #F53D65;
322 background-color: #F53D65;
323}
324
Paul Greyson01a5dff2013-03-19 15:50:14 -0700325.color10 {
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: #1F0772;
329 background-color: #1F0772;
330}
331
Paul Greyson01a5dff2013-03-19 15:50:14 -0700332.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700333 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700334 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700335 fill: #F56E8B;
336 background-color: #F56E8B;
337}
338
Paul Greyson01a5dff2013-03-19 15:50:14 -0700339.color12 {
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: #6949D7;
343 background-color: #6949D7;
344}
Paul Greyson347fb742013-03-27 13:40:29 -0700345
346
347@-webkit-keyframes pending {
348 from {
349 opacity: 1.0;
350 }
351 to {
352 opacity: 0.5;
353 }
354}
355
356.pending {
357 -webkit-animation-name: pending;
358 -webkit-animation-duration: .5s;
359 -webkit-animation-direction: alternate;
360 -webkit-animation-timing-function: ease-in-out;
Paul Greyson40c8a592013-03-27 14:10:33 -0700361 -webkit-animation-iteration-count: 24;
Paul Greyson347fb742013-03-27 13:40:29 -0700362}
363