blob: 6a72b7e67b9845e94572b8ea3fd37c32e84d4d24 [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;
149}
150
Paul Greyson29aa98d2013-03-28 00:09:31 -0700151.srcDPID, .dstDPID {
152 width: 12em;
153}
154
155
156.flowId, .srcDPID, .dstDPID {
Paul Greyson56378ed2013-03-26 23:17:36 -0700157 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700158}
159
160
Paul Greysond1a22d92013-03-19 12:15:19 -0700161#controllers {
Paul Greyson56378ed2013-03-26 23:17:36 -0700162 border-right: 1px solid #AAA;
Paul Greysond1a22d92013-03-19 12:15:19 -0700163}
164
Paul Greyson3e142162013-03-19 13:56:17 -0700165.controller {
166 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700167 padding-left: 2.5em;
168 position: relative;
169}
170
Paul Greyson29aa98d2013-03-28 00:09:31 -0700171.eye {
Paul Greyson2913af82013-03-27 14:53:17 -0700172 position: absolute;
173 top: 0px;
174 left: 0px;
175 height: 100%;
Paul Greyson29aa98d2013-03-28 00:09:31 -0700176 width: 2.25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700177 background-image: url('../assets/eye.svg');
178 background-size: auto 100%;
179 background-repeat: no-repeat;
180 background-position: .25em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700181}
182
Paul Greyson952ccb62013-03-18 22:22:08 -0700183#logo {
184 height: 50px;
185}
186
187.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700188 stroke: black;
189 stroke-width: 1.5px;
190}
191
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700192.nolabel text {
193 display: none;
194}
195
196text {
197 stroke: none;
198 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700199 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700200 pointer-events: none;
201}
202
Paul Greysond1a22d92013-03-19 12:15:19 -0700203path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700204 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700205 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700206}
207
Paul Greyson952ccb62013-03-18 22:22:08 -0700208.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700209 stroke: black;
210 stroke-width: 2px;
211}
Paul Greysond1a22d92013-03-19 12:15:19 -0700212
213#traceButton {
214 visibility: hidden
215}
Paul Greyson3e142162013-03-19 13:56:17 -0700216
Paul Greyson01a5dff2013-03-19 15:50:14 -0700217.color1-selected .color1,
218.color2-selected .color2,
219.color3-selected .color3,
220.color4-selected .color4,
221.color5-selected .color5,
222.color6-selected .color6,
223.color7-selected .color7,
224.color8-selected .color8,
225.color9-selected .color9,
226.color10-selected .color10,
227.color11-selected .color11,
228.color12-selected .color12 {
229 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700230 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700231}
232
Paul Greysonc17278a2013-03-23 10:17:12 -0700233.colorInactive {
234 opacity: 1;
235 fill: #444;
236 background-color: #444;
237 color: #222;
238}
239
Paul Greyson01a5dff2013-03-19 15:50:14 -0700240.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700241 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700242 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700243 fill: #EC0033;
244 background-color: #EC0033;
245}
246
Paul Greyson01a5dff2013-03-19 15:50:14 -0700247.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700248 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700249 fill: #FFBA00;
250 background-color: #FFBA00;
251}
252
Paul Greyson01a5dff2013-03-19 15:50:14 -0700253.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700254 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700255 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700256 fill: #3714B0;
257 background-color: #3714B0;
258}
259
Paul Greyson01a5dff2013-03-19 15:50:14 -0700260.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700261 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700262 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700263 fill: #B12C49;
264 background-color: #B12C49;
265}
266
Paul Greyson01a5dff2013-03-19 15:50:14 -0700267.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700268 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700269 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700270 fill: #402C84;
271 background-color: #402C84;
272}
273
Paul Greyson01a5dff2013-03-19 15:50:14 -0700274.color6 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700275 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700276 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700277 fill: #990021;
278 background-color: #990021;
279}
280
Paul Greyson01a5dff2013-03-19 15:50:14 -0700281.color7 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700282 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700283 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700284 fill: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700285 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700286}
287
Paul Greyson01a5dff2013-03-19 15:50:14 -0700288.color8 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700289 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700290 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700291 fill: #A67900;
292 background-color: #A67900;
293}
294
Paul Greyson01a5dff2013-03-19 15:50:14 -0700295.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700296 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700297 fill: #F53D65;
298 background-color: #F53D65;
299}
300
Paul Greyson01a5dff2013-03-19 15:50:14 -0700301.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700302 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700303 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700304 fill: #1F0772;
305 background-color: #1F0772;
306}
307
Paul Greyson01a5dff2013-03-19 15:50:14 -0700308.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700309 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700310 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700311 fill: #F56E8B;
312 background-color: #F56E8B;
313}
314
Paul Greyson01a5dff2013-03-19 15:50:14 -0700315.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700316 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700317 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700318 fill: #6949D7;
319 background-color: #6949D7;
320}
Paul Greyson347fb742013-03-27 13:40:29 -0700321
322
323@-webkit-keyframes pending {
324 from {
325 opacity: 1.0;
326 }
327 to {
328 opacity: 0.5;
329 }
330}
331
332.pending {
333 -webkit-animation-name: pending;
334 -webkit-animation-duration: .5s;
335 -webkit-animation-direction: alternate;
336 -webkit-animation-timing-function: ease-in-out;
Paul Greyson40c8a592013-03-27 14:10:33 -0700337 -webkit-animation-iteration-count: 24;
Paul Greyson347fb742013-03-27 13:40:29 -0700338}
339