blob: fbdc1feba2f848bfadd2424f78dcfb60e171be38 [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
98.selectedFlow.selected {
99 color: black;
100 background-color:#AAA;
101}
102
Paul Greyson421bfcd2013-03-27 22:22:09 -0700103.highlight circle {
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700104 stroke: rgba(255, 255, 255, .5);
105 stroke-width: 2px;
106}
107
Paul Greyson421bfcd2013-03-27 22:22:09 -0700108#linkVector {
109 fill: none;
110 stroke-width: 1px;
111 stroke: rgba(255, 255, 255, .75);
112 pointer-events: none;
113}
114
Paul Greyson4e6dc3a2013-03-27 11:37:14 -0700115path {
116 pointer-events: none;
117}
118
Paul Greyson127d7fb2013-03-25 23:39:20 -0700119path.flow {
120 fill: none;
Paul Greyson421bfcd2013-03-27 22:22:09 -0700121 stroke-width: 5px;
Paul Greysonacb59412013-03-25 23:48:06 -0700122 stroke: rgba(255, 255, 255, .35);
Paul Greyson127d7fb2013-03-25 23:39:20 -0700123}
124
125#selectedFlowsHeader {
Paul Greyson56378ed2013-03-26 23:17:36 -0700126 border-top: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700127}
128
129.flowIndex, .flowId, .srcDPID, .dstDPID, .iperf {
130 display: -webkit-box;
131 -webkit-box-pack: center;
132 -webkit-box-align: center;
133}
134
135.flowIndex, .flowId, .srcDPID, .dstDPID {
Paul Greyson56378ed2013-03-26 23:17:36 -0700136 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700137}
138
139
Paul Greysond1a22d92013-03-19 12:15:19 -0700140#controllers {
Paul Greyson56378ed2013-03-26 23:17:36 -0700141 border-right: 1px solid #AAA;
Paul Greysond1a22d92013-03-19 12:15:19 -0700142}
143
Paul Greyson3e142162013-03-19 13:56:17 -0700144.controller {
145 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700146 padding-left: 2.5em;
147 position: relative;
148}
149
150.controllerEye {
151 position: absolute;
152 top: 0px;
153 left: 0px;
154 height: 100%;
155 width: 2em;
156 background-image: url('../assets/eye.svg');
157 background-size: auto 100%;
158 background-repeat: no-repeat;
159 background-position: .25em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700160}
161
Paul Greyson952ccb62013-03-18 22:22:08 -0700162#logo {
163 height: 50px;
164}
165
166.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700167 stroke: black;
168 stroke-width: 1.5px;
169}
170
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700171.nolabel text {
172 display: none;
173}
174
175text {
176 stroke: none;
177 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700178 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700179 pointer-events: none;
180}
181
Paul Greysond1a22d92013-03-19 12:15:19 -0700182path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700183 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700184 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700185}
186
Paul Greyson952ccb62013-03-18 22:22:08 -0700187.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700188 stroke: black;
189 stroke-width: 2px;
190}
Paul Greysond1a22d92013-03-19 12:15:19 -0700191
192#traceButton {
193 visibility: hidden
194}
Paul Greyson3e142162013-03-19 13:56:17 -0700195
Paul Greyson01a5dff2013-03-19 15:50:14 -0700196.color1-selected .color1,
197.color2-selected .color2,
198.color3-selected .color3,
199.color4-selected .color4,
200.color5-selected .color5,
201.color6-selected .color6,
202.color7-selected .color7,
203.color8-selected .color8,
204.color9-selected .color9,
205.color10-selected .color10,
206.color11-selected .color11,
207.color12-selected .color12 {
208 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700209 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700210}
211
Paul Greysonc17278a2013-03-23 10:17:12 -0700212.colorInactive {
213 opacity: 1;
214 fill: #444;
215 background-color: #444;
216 color: #222;
217}
218
Paul Greyson01a5dff2013-03-19 15:50:14 -0700219.color1 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700220 opacity: .15;
Paul Greyson3f890b62013-03-22 17:39:36 -0700221 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700222 fill: #EC0033;
223 background-color: #EC0033;
224}
225
Paul Greyson01a5dff2013-03-19 15:50:14 -0700226.color2 {
Paul Greyson421bfcd2013-03-27 22:22:09 -0700227 opacity: .15;
Paul Greyson3e142162013-03-19 13:56:17 -0700228 fill: #FFBA00;
229 background-color: #FFBA00;
230}
231
Paul Greyson01a5dff2013-03-19 15:50:14 -0700232.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700233 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700234 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700235 fill: #3714B0;
236 background-color: #3714B0;
237}
238
Paul Greyson01a5dff2013-03-19 15:50:14 -0700239.color4 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700240 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700241 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700242 fill: #B12C49;
243 background-color: #B12C49;
244}
245
Paul Greyson01a5dff2013-03-19 15:50:14 -0700246.color5 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700247 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700248 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700249 fill: #402C84;
250 background-color: #402C84;
251}
252
Paul Greyson01a5dff2013-03-19 15:50:14 -0700253.color6 {
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: #990021;
257 background-color: #990021;
258}
259
Paul Greyson01a5dff2013-03-19 15:50:14 -0700260.color7 {
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: #990021;
Paul Greyson45303ac2013-03-23 16:44:01 -0700264 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700265}
266
Paul Greyson01a5dff2013-03-19 15:50:14 -0700267.color8 {
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: #A67900;
271 background-color: #A67900;
272}
273
Paul Greyson01a5dff2013-03-19 15:50:14 -0700274.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700275 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700276 fill: #F53D65;
277 background-color: #F53D65;
278}
279
Paul Greyson01a5dff2013-03-19 15:50:14 -0700280.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700281 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700282 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700283 fill: #1F0772;
284 background-color: #1F0772;
285}
286
Paul Greyson01a5dff2013-03-19 15:50:14 -0700287.color11 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700288 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700289 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700290 fill: #F56E8B;
291 background-color: #F56E8B;
292}
293
Paul Greyson01a5dff2013-03-19 15:50:14 -0700294.color12 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700295 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700296 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700297 fill: #6949D7;
298 background-color: #6949D7;
299}
Paul Greyson347fb742013-03-27 13:40:29 -0700300
301
302@-webkit-keyframes pending {
303 from {
304 opacity: 1.0;
305 }
306 to {
307 opacity: 0.5;
308 }
309}
310
311.pending {
312 -webkit-animation-name: pending;
313 -webkit-animation-duration: .5s;
314 -webkit-animation-direction: alternate;
315 -webkit-animation-timing-function: ease-in-out;
Paul Greyson40c8a592013-03-27 14:10:33 -0700316 -webkit-animation-iteration-count: 24;
Paul Greyson347fb742013-03-27 13:40:29 -0700317}
318