blob: 5f3d1148e367407eb0b241f561678460c94f2d1a [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 Greyson4e6dc3a2013-03-27 11:37:14 -0700103circle.highlight {
104 stroke: rgba(255, 255, 255, .5);
105 stroke-width: 2px;
106}
107
108path {
109 pointer-events: none;
110}
111
Paul Greyson127d7fb2013-03-25 23:39:20 -0700112path.flow {
113 fill: none;
Paul Greyson56378ed2013-03-26 23:17:36 -0700114 stroke-width: 3px;
Paul Greysonacb59412013-03-25 23:48:06 -0700115 stroke: rgba(255, 255, 255, .35);
Paul Greyson127d7fb2013-03-25 23:39:20 -0700116}
117
118#selectedFlowsHeader {
Paul Greyson56378ed2013-03-26 23:17:36 -0700119 border-top: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700120}
121
122.flowIndex, .flowId, .srcDPID, .dstDPID, .iperf {
123 display: -webkit-box;
124 -webkit-box-pack: center;
125 -webkit-box-align: center;
126}
127
128.flowIndex, .flowId, .srcDPID, .dstDPID {
Paul Greyson56378ed2013-03-26 23:17:36 -0700129 border-right: 1px solid #AAA;
Paul Greyson127d7fb2013-03-25 23:39:20 -0700130}
131
132
Paul Greysond1a22d92013-03-19 12:15:19 -0700133#controllers {
Paul Greyson56378ed2013-03-26 23:17:36 -0700134 border-right: 1px solid #AAA;
Paul Greysond1a22d92013-03-19 12:15:19 -0700135}
136
Paul Greyson3e142162013-03-19 13:56:17 -0700137.controller {
138 padding: .25em;
Paul Greyson2913af82013-03-27 14:53:17 -0700139 padding-left: 2.5em;
140 position: relative;
141}
142
143.controllerEye {
144 position: absolute;
145 top: 0px;
146 left: 0px;
147 height: 100%;
148 width: 2em;
149 background-image: url('../assets/eye.svg');
150 background-size: auto 100%;
151 background-repeat: no-repeat;
152 background-position: .25em center;
Paul Greyson3e142162013-03-19 13:56:17 -0700153}
154
Paul Greyson952ccb62013-03-18 22:22:08 -0700155#logo {
156 height: 50px;
157}
158
159.edge {
Paul Greyson952ccb62013-03-18 22:22:08 -0700160 stroke: black;
161 stroke-width: 1.5px;
162}
163
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700164.nolabel text {
165 display: none;
166}
167
168text {
169 stroke: none;
170 fill: white;
Paul Greyson968d1b42013-03-23 16:58:41 -0700171 font-size: 16px;
Paul Greysonf9edc1a2013-03-19 13:22:06 -0700172 pointer-events: none;
173}
174
Paul Greysond1a22d92013-03-19 12:15:19 -0700175path {
Paul Greysonde7fad52013-03-19 12:47:32 -0700176 stroke: rgba(255, 255, 255, .25);
Paul Greysonb367de22013-03-23 11:09:11 -0700177 stroke-width: 1.5px;
Paul Greysond1a22d92013-03-19 12:15:19 -0700178}
179
Paul Greyson952ccb62013-03-18 22:22:08 -0700180.aggregation {
Paul Greyson952ccb62013-03-18 22:22:08 -0700181 stroke: black;
182 stroke-width: 2px;
183}
Paul Greysond1a22d92013-03-19 12:15:19 -0700184
185#traceButton {
186 visibility: hidden
187}
Paul Greyson3e142162013-03-19 13:56:17 -0700188
Paul Greyson01a5dff2013-03-19 15:50:14 -0700189.color1-selected .color1,
190.color2-selected .color2,
191.color3-selected .color3,
192.color4-selected .color4,
193.color5-selected .color5,
194.color6-selected .color6,
195.color7-selected .color7,
196.color8-selected .color8,
197.color9-selected .color9,
198.color10-selected .color10,
199.color11-selected .color11,
200.color12-selected .color12 {
201 opacity: 1;
Paul Greyson3f890b62013-03-22 17:39:36 -0700202 pointer-events: auto;
Paul Greyson3e142162013-03-19 13:56:17 -0700203}
204
Paul Greysonc17278a2013-03-23 10:17:12 -0700205.colorInactive {
206 opacity: 1;
207 fill: #444;
208 background-color: #444;
209 color: #222;
210}
211
Paul Greyson01a5dff2013-03-19 15:50:14 -0700212.color1 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700213 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700214 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700215 fill: #EC0033;
216 background-color: #EC0033;
217}
218
Paul Greyson01a5dff2013-03-19 15:50:14 -0700219.color2 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700220 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700221 fill: #FFBA00;
222 background-color: #FFBA00;
223}
224
Paul Greyson01a5dff2013-03-19 15:50:14 -0700225.color3 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700226 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700227 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700228 fill: #3714B0;
229 background-color: #3714B0;
230}
231
Paul Greyson01a5dff2013-03-19 15:50:14 -0700232.color4 {
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: #B12C49;
236 background-color: #B12C49;
237}
238
Paul Greyson01a5dff2013-03-19 15:50:14 -0700239.color5 {
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: #402C84;
243 background-color: #402C84;
244}
245
Paul Greyson01a5dff2013-03-19 15:50:14 -0700246.color6 {
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: #990021;
250 background-color: #990021;
251}
252
Paul Greyson01a5dff2013-03-19 15:50:14 -0700253.color7 {
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;
Paul Greyson45303ac2013-03-23 16:44:01 -0700257 background-color: #990021;
Paul Greyson3e142162013-03-19 13:56:17 -0700258}
259
Paul Greyson01a5dff2013-03-19 15:50:14 -0700260.color8 {
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: #A67900;
264 background-color: #A67900;
265}
266
Paul Greyson01a5dff2013-03-19 15:50:14 -0700267.color9 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700268 opacity: .2;
Paul Greyson3e142162013-03-19 13:56:17 -0700269 fill: #F53D65;
270 background-color: #F53D65;
271}
272
Paul Greyson01a5dff2013-03-19 15:50:14 -0700273.color10 {
Paul Greysonc3e21a02013-03-21 13:56:05 -0700274 opacity: .2;
Paul Greyson3f890b62013-03-22 17:39:36 -0700275 pointer-events: none;
Paul Greyson3e142162013-03-19 13:56:17 -0700276 fill: #1F0772;
277 background-color: #1F0772;
278}
279
Paul Greyson01a5dff2013-03-19 15:50:14 -0700280.color11 {
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: #F56E8B;
284 background-color: #F56E8B;
285}
286
Paul Greyson01a5dff2013-03-19 15:50:14 -0700287.color12 {
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: #6949D7;
291 background-color: #6949D7;
292}
Paul Greyson347fb742013-03-27 13:40:29 -0700293
294
295@-webkit-keyframes pending {
296 from {
297 opacity: 1.0;
298 }
299 to {
300 opacity: 0.5;
301 }
302}
303
304.pending {
305 -webkit-animation-name: pending;
306 -webkit-animation-duration: .5s;
307 -webkit-animation-direction: alternate;
308 -webkit-animation-timing-function: ease-in-out;
Paul Greyson40c8a592013-03-27 14:10:33 -0700309 -webkit-animation-iteration-count: 24;
Paul Greyson347fb742013-03-27 13:40:29 -0700310}
311