blob: aebf68b458f78e83d581306d0f3a3d1b13e049f3 [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
64.selectedFlow:last-child {
65 border-bottom: none;
66}
67
68#lastUpdated {
69 padding-bottom: 0px;
70}
71
72#controllers .header {
73 -webkit-box-pack: center;
74 border-bottom: 1px solid #AAA;
75}
76
Paul Greysond9872392013-03-18 12:04:15 -070077
78#right .header {
Paul Greyson952ccb62013-03-18 22:22:08 -070079 font-size: 12px;
80 padding-right: .25em;
81 -webkit-box-sizing: border-box;
Paul Greysond9872392013-03-18 12:04:15 -070082}
83
Paul Greysond1a22d92013-03-19 12:15:19 -070084#controllers, #selectedFlows {
Paul Greyson56378ed2013-03-26 23:17:36 -070085 border-top: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070086}
87
Paul Greysond1a22d92013-03-19 12:15:19 -070088#selectedFlows {
Paul Greyson56378ed2013-03-26 23:17:36 -070089 border-bottom: 1px solid #AAA;
Paul Greysond9872392013-03-18 12:04:15 -070090}
91
Paul Greyson127d7fb2013-03-25 23:39:20 -070092.selectedFlow {
93 height: 2em;
94 color: white;
95 background-color: black;
96}
97
Paul Greyson29aa98d2013-03-28 00:09:31 -070098#flowChooser .selectedFlow {
99 background-color: rgba(255, 255, 255, .75);
100 color: black;
101}
102
103#flowChooser .flowId {
104 padding-left: 2em;
105}
106
107
Paul Greyson127d7fb2013-03-25 23:39:20 -0700108.selectedFlow.selected {
109 color: black;
110 background-color:#AAA;
111}
112
Paul Greyson421bfcd2013-03-27 22:22:09 -0700113.highlight circle {
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700114 stroke: rgba(255, 255, 255, .5);
115 stroke-width: 2px;
116}
117
Paul Greyson421bfcd2013-03-27 22:22:09 -0700118#linkVector {
119 fill: none;
120 stroke-width: 1px;
121 stroke: rgba(255, 255, 255, .75);
122 pointer-events: none;
123}
124
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700125path {
126 pointer-events: none;
127}
128
Paul Greyson127d7fb2013-03-25 23:39:20 -0700129path.flow {
130 fill: none;
Paul Greyson421bfcd2013-03-27 22:22:09 -0700131 stroke-width: 5px;
Paul Greysonacb59412013-03-25 23:48:06 -0700132 stroke: rgba(255, 255, 255, .35);
Paul Greyson127d7fb2013-03-25 23:39:20 -0700133}
134
135#selectedFlowsHeader {
Paul Greyson56378ed2013-03-26 23:17:36 -0700136 border-top: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700137}
138
Paul Greyson29aa98d2013-03-28 00:09:31 -0700139#flowChooser {
140 pointer-events: none;
141 background-color: rgba(0, 0, 0, .25);
142}
143
144
145.flowId, .srcDPID, .dstDPID, .iperf {
Paul Greyson127d7fb2013-03-25 23:39:20 -0700146 display: -webkit-box;
147 -webkit-box-pack: center;
148 -webkit-box-align: center;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700149 width: 3em;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700150}
151
Paul Greyson8247c3f2013-03-28 00:24:02 -0700152
Paul Greyson29aa98d2013-03-28 00:09:31 -0700153.srcDPID, .dstDPID {
154 width: 12em;
155}
156
157
158.flowId, .srcDPID, .dstDPID {
Paul Greyson56378ed2013-03-26 23:17:36 -0700159 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700160}
161
162
Paul Greysond1a22d92013-03-19 12:15:19 -0700163#controllers {
Paul Greyson56378ed2013-03-26 23:17:36 -0700164 border-right: 1px solid #AAA;
Paul Greysond1a22d92013-03-19 12:15:19 -0700165}
166
Paul Greyson3e142162013-03-19 13:56:17 -0700167.controller {
168 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700169 padding-left: 2.5em;
170 position: relative;
171}
172
Paul Greyson8247c3f2013-03-28 00:24:02 -0700173.black-eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700174 position: absolute;
175 top: 0px;
176 left: 0px;
177 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700178 width: 2.25em;
Paul Greyson8247c3f2013-03-28 00:24:02 -0700179 background-image: url('../assets/black-eye.svg');
180 background-size: auto 100%;
181 background-repeat: no-repeat;
182 background-position: .25em center;
183}
184
185.white-eye {
186 height: 100%;
187 width: 2.25em;
188 background-image: url('../assets/white-eye.svg');
Paul Greyson2913af82013-03-27 14:53:17 -0700189 background-size: auto 100%;
190 background-repeat: no-repeat;
191 background-position: .25em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700192}
193
Paul Greyson952ccb62013-03-18 22:22:08 -0700194#logo {
195 height: 50px;
196}
197
198.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700199 stroke: black;
200 stroke-width: 1.5px;
201}
202
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700203.nolabel text {
204 display: none;
205}
206
207text {
208 stroke: none;
209 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700210 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700211 pointer-events: none;
212}
213
Paul Greysond1a22d92013-03-19 12:15:19 -0700214path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700215 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700216 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700217}
218
Paul Greyson952ccb62013-03-18 22:22:08 -0700219.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700220 stroke: black;
221 stroke-width: 2px;
222}
Paul Greysond1a22d92013-03-19 12:15:19 -0700223
224#traceButton {
225 visibility: hidden
226}
Paul Greyson3e142162013-03-19 13:56:17 -0700227
Paul Greyson01a5dff2013-03-19 15:50:14 -0700228.color1-selected .color1,
229.color2-selected .color2,
230.color3-selected .color3,
231.color4-selected .color4,
232.color5-selected .color5,
233.color6-selected .color6,
234.color7-selected .color7,
235.color8-selected .color8,
236.color9-selected .color9,
237.color10-selected .color10,
238.color11-selected .color11,
239.color12-selected .color12 {
240 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700241 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700242}
243
Paul Greysonc17278a2013-03-23 10:17:12 -0700244.colorInactive {
245 opacity: 1;
246 fill: #444;
247 background-color: #444;
248 color: #222;
249}
250
Paul Greyson01a5dff2013-03-19 15:50:14 -0700251.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700252 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700253 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700254 fill: #EC0033;
255 background-color: #EC0033;
256}
257
Paul Greyson01a5dff2013-03-19 15:50:14 -0700258.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700259 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700260 fill: #FFBA00;
261 background-color: #FFBA00;
262}
263
Paul Greyson01a5dff2013-03-19 15:50:14 -0700264.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700265 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700266 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700267 fill: #3714B0;
268 background-color: #3714B0;
269}
270
Paul Greyson01a5dff2013-03-19 15:50:14 -0700271.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700272 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700273 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700274 fill: #B12C49;
275 background-color: #B12C49;
276}
277
Paul Greyson01a5dff2013-03-19 15:50:14 -0700278.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700279 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700280 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700281 fill: #402C84;
282 background-color: #402C84;
283}
284
Paul Greyson01a5dff2013-03-19 15:50:14 -0700285.color6 {
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: #990021;
289 background-color: #990021;
290}
291
Paul Greyson01a5dff2013-03-19 15:50:14 -0700292.color7 {
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: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700296 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700297}
298
Paul Greyson01a5dff2013-03-19 15:50:14 -0700299.color8 {
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: #A67900;
303 background-color: #A67900;
304}
305
Paul Greyson01a5dff2013-03-19 15:50:14 -0700306.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700307 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700308 fill: #F53D65;
309 background-color: #F53D65;
310}
311
Paul Greyson01a5dff2013-03-19 15:50:14 -0700312.color10 {
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: #1F0772;
316 background-color: #1F0772;
317}
318
Paul Greyson01a5dff2013-03-19 15:50:14 -0700319.color11 {
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: #F56E8B;
323 background-color: #F56E8B;
324}
325
Paul Greyson01a5dff2013-03-19 15:50:14 -0700326.color12 {
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: #6949D7;
330 background-color: #6949D7;
331}
Paul Greyson347fb742013-03-27 13:40:29 -0700332
333
334@-webkit-keyframes pending {
335 from {
336 opacity: 1.0;
337 }
338 to {
339 opacity: 0.5;
340 }
341}
342
343.pending {
344 -webkit-animation-name: pending;
345 -webkit-animation-duration: .5s;
346 -webkit-animation-direction: alternate;
347 -webkit-animation-timing-function: ease-in-out;
Paul Greyson40c8a592013-03-27 14:10:33 -0700348 -webkit-animation-iteration-count: 24;
Paul Greyson347fb742013-03-27 13:40:29 -0700349}
350