Paul Greyson | 740bdaf | 2013-03-18 16:10:48 -0700 | [diff] [blame] | 1 | |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 2 | body { |
| 3 | background-color: black; |
| 4 | color: white; |
| 5 | font-family: Helvetica; |
| 6 | margin: 0px; |
| 7 | } |
| 8 | |
Paul Greyson | 72f1885 | 2013-03-27 15:56:11 -0700 | [diff] [blame] | 9 | #topology.linking { |
| 10 | cursor: crosshair; |
| 11 | } |
| 12 | |
| 13 | .nodrop { |
| 14 | cursor: not-allowed; |
| 15 | } |
| 16 | |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 17 | .status { |
| 18 | padding: 1em; |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 19 | } |
| 20 | |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 21 | |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 22 | .status:last-child { |
| 23 | border-right: none; |
| 24 | } |
| 25 | |
| 26 | .status .static { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 27 | color: #AAA; |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 28 | padding: .25em; |
| 29 | } |
| 30 | |
| 31 | .status .dynamic { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 32 | color: #FFF; |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 33 | padding: .25em; |
| 34 | } |
| 35 | |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 36 | #status.top span { |
| 37 | font-size: 24px; |
| 38 | } |
| 39 | |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 40 | .button { |
| 41 | padding: 1em; |
| 42 | background-color: lightgray; |
| 43 | color: black; |
Paul Greyson | 56378ed | 2013-03-26 23:17:36 -0700 | [diff] [blame] | 44 | border: 1px solid #AAA; |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 45 | } |
| 46 | |
Paul Greyson | b367de2 | 2013-03-23 11:09:11 -0700 | [diff] [blame] | 47 | #arrow { |
| 48 | stroke: none; |
Paul Greyson | 45303ac | 2013-03-23 16:44:01 -0700 | [diff] [blame] | 49 | fill: rgba(255, 255, 255, .35); |
Paul Greyson | b367de2 | 2013-03-23 11:09:11 -0700 | [diff] [blame] | 50 | } |
| 51 | |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 52 | .header { |
| 53 | height: 50px; |
| 54 | } |
| 55 | |
Paul Greyson | 56378ed | 2013-03-26 23:17:36 -0700 | [diff] [blame] | 56 | #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 Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 77 | |
| 78 | #right .header { |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 79 | font-size: 12px; |
| 80 | padding-right: .25em; |
| 81 | -webkit-box-sizing: border-box; |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 82 | } |
| 83 | |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 84 | #controllers, #selectedFlows { |
Paul Greyson | 56378ed | 2013-03-26 23:17:36 -0700 | [diff] [blame] | 85 | border-top: 1px solid #AAA; |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 86 | } |
| 87 | |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 88 | #selectedFlows { |
Paul Greyson | 56378ed | 2013-03-26 23:17:36 -0700 | [diff] [blame] | 89 | border-bottom: 1px solid #AAA; |
Paul Greyson | d987239 | 2013-03-18 12:04:15 -0700 | [diff] [blame] | 90 | } |
| 91 | |
Paul Greyson | 127d7fb | 2013-03-25 23:39:20 -0700 | [diff] [blame] | 92 | .selectedFlow { |
| 93 | height: 2em; |
| 94 | color: white; |
| 95 | background-color: black; |
| 96 | } |
| 97 | |
Paul Greyson | 29aa98d | 2013-03-28 00:09:31 -0700 | [diff] [blame] | 98 | #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 Greyson | 127d7fb | 2013-03-25 23:39:20 -0700 | [diff] [blame] | 108 | .selectedFlow.selected { |
| 109 | color: black; |
| 110 | background-color:#AAA; |
| 111 | } |
| 112 | |
Paul Greyson | 421bfcd | 2013-03-27 22:22:09 -0700 | [diff] [blame] | 113 | .highlight circle { |
Paul Greyson | 4e6dc3a | 2013-03-27 11:37:14 -0700 | [diff] [blame] | 114 | stroke: rgba(255, 255, 255, .5); |
| 115 | stroke-width: 2px; |
| 116 | } |
| 117 | |
Paul Greyson | 421bfcd | 2013-03-27 22:22:09 -0700 | [diff] [blame] | 118 | #linkVector { |
| 119 | fill: none; |
| 120 | stroke-width: 1px; |
| 121 | stroke: rgba(255, 255, 255, .75); |
| 122 | pointer-events: none; |
| 123 | } |
| 124 | |
Paul Greyson | 4e6dc3a | 2013-03-27 11:37:14 -0700 | [diff] [blame] | 125 | path { |
| 126 | pointer-events: none; |
| 127 | } |
| 128 | |
Paul Greyson | 127d7fb | 2013-03-25 23:39:20 -0700 | [diff] [blame] | 129 | path.flow { |
| 130 | fill: none; |
Paul Greyson | 421bfcd | 2013-03-27 22:22:09 -0700 | [diff] [blame] | 131 | stroke-width: 5px; |
Paul Greyson | acb5941 | 2013-03-25 23:48:06 -0700 | [diff] [blame] | 132 | stroke: rgba(255, 255, 255, .35); |
Paul Greyson | 127d7fb | 2013-03-25 23:39:20 -0700 | [diff] [blame] | 133 | } |
| 134 | |
| 135 | #selectedFlowsHeader { |
Paul Greyson | 56378ed | 2013-03-26 23:17:36 -0700 | [diff] [blame] | 136 | border-top: 1px solid #AAA; |
Paul Greyson | 127d7fb | 2013-03-25 23:39:20 -0700 | [diff] [blame] | 137 | } |
| 138 | |
Paul Greyson | 29aa98d | 2013-03-28 00:09:31 -0700 | [diff] [blame] | 139 | #flowChooser { |
| 140 | pointer-events: none; |
| 141 | background-color: rgba(0, 0, 0, .25); |
| 142 | } |
| 143 | |
| 144 | |
| 145 | .flowId, .srcDPID, .dstDPID, .iperf { |
Paul Greyson | 127d7fb | 2013-03-25 23:39:20 -0700 | [diff] [blame] | 146 | display: -webkit-box; |
| 147 | -webkit-box-pack: center; |
| 148 | -webkit-box-align: center; |
Paul Greyson | 8247c3f | 2013-03-28 00:24:02 -0700 | [diff] [blame] | 149 | width: 3em; |
Paul Greyson | 127d7fb | 2013-03-25 23:39:20 -0700 | [diff] [blame] | 150 | } |
| 151 | |
Paul Greyson | 8247c3f | 2013-03-28 00:24:02 -0700 | [diff] [blame] | 152 | |
Paul Greyson | 29aa98d | 2013-03-28 00:09:31 -0700 | [diff] [blame] | 153 | .srcDPID, .dstDPID { |
| 154 | width: 12em; |
| 155 | } |
| 156 | |
| 157 | |
| 158 | .flowId, .srcDPID, .dstDPID { |
Paul Greyson | 56378ed | 2013-03-26 23:17:36 -0700 | [diff] [blame] | 159 | border-right: 1px solid #AAA; |
Paul Greyson | 127d7fb | 2013-03-25 23:39:20 -0700 | [diff] [blame] | 160 | } |
| 161 | |
| 162 | |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 163 | #controllers { |
Paul Greyson | 56378ed | 2013-03-26 23:17:36 -0700 | [diff] [blame] | 164 | border-right: 1px solid #AAA; |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 165 | } |
| 166 | |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 167 | .controller { |
| 168 | padding: .25em; |
Paul Greyson | 2913af8 | 2013-03-27 14:53:17 -0700 | [diff] [blame] | 169 | padding-left: 2.5em; |
| 170 | position: relative; |
| 171 | } |
| 172 | |
Paul Greyson | 8247c3f | 2013-03-28 00:24:02 -0700 | [diff] [blame] | 173 | .black-eye { |
Paul Greyson | 2913af8 | 2013-03-27 14:53:17 -0700 | [diff] [blame] | 174 | position: absolute; |
| 175 | top: 0px; |
| 176 | left: 0px; |
| 177 | height: 100%; |
Paul Greyson | 29aa98d | 2013-03-28 00:09:31 -0700 | [diff] [blame] | 178 | width: 2.25em; |
Paul Greyson | 8247c3f | 2013-03-28 00:24:02 -0700 | [diff] [blame] | 179 | 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 Greyson | 2913af8 | 2013-03-27 14:53:17 -0700 | [diff] [blame] | 189 | background-size: auto 100%; |
| 190 | background-repeat: no-repeat; |
| 191 | background-position: .25em center; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 192 | } |
| 193 | |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 194 | #logo { |
| 195 | height: 50px; |
| 196 | } |
| 197 | |
| 198 | .edge { |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 199 | stroke: black; |
| 200 | stroke-width: 1.5px; |
| 201 | } |
| 202 | |
Paul Greyson | f9edc1a | 2013-03-19 13:22:06 -0700 | [diff] [blame] | 203 | .nolabel text { |
| 204 | display: none; |
| 205 | } |
| 206 | |
| 207 | text { |
| 208 | stroke: none; |
| 209 | fill: white; |
Paul Greyson | 968d1b4 | 2013-03-23 16:58:41 -0700 | [diff] [blame] | 210 | font-size: 16px; |
Paul Greyson | f9edc1a | 2013-03-19 13:22:06 -0700 | [diff] [blame] | 211 | pointer-events: none; |
| 212 | } |
| 213 | |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 214 | path { |
Paul Greyson | de7fad5 | 2013-03-19 12:47:32 -0700 | [diff] [blame] | 215 | stroke: rgba(255, 255, 255, .25); |
Paul Greyson | b367de2 | 2013-03-23 11:09:11 -0700 | [diff] [blame] | 216 | stroke-width: 1.5px; |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 217 | } |
| 218 | |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 219 | .aggregation { |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 220 | stroke: black; |
| 221 | stroke-width: 2px; |
| 222 | } |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 223 | |
| 224 | #traceButton { |
| 225 | visibility: hidden |
| 226 | } |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 227 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 228 | .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 Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 241 | pointer-events: auto; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 242 | } |
| 243 | |
Paul Greyson | c17278a | 2013-03-23 10:17:12 -0700 | [diff] [blame] | 244 | .colorInactive { |
| 245 | opacity: 1; |
| 246 | fill: #444; |
| 247 | background-color: #444; |
| 248 | color: #222; |
| 249 | } |
| 250 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 251 | .color1 { |
Paul Greyson | 421bfcd | 2013-03-27 22:22:09 -0700 | [diff] [blame] | 252 | opacity: .15; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 253 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 254 | fill: #EC0033; |
| 255 | background-color: #EC0033; |
| 256 | } |
| 257 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 258 | .color2 { |
Paul Greyson | 421bfcd | 2013-03-27 22:22:09 -0700 | [diff] [blame] | 259 | opacity: .15; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 260 | fill: #FFBA00; |
| 261 | background-color: #FFBA00; |
| 262 | } |
| 263 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 264 | .color3 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 265 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 266 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 267 | fill: #3714B0; |
| 268 | background-color: #3714B0; |
| 269 | } |
| 270 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 271 | .color4 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 272 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 273 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 274 | fill: #B12C49; |
| 275 | background-color: #B12C49; |
| 276 | } |
| 277 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 278 | .color5 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 279 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 280 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 281 | fill: #402C84; |
| 282 | background-color: #402C84; |
| 283 | } |
| 284 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 285 | .color6 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 286 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 287 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 288 | fill: #990021; |
| 289 | background-color: #990021; |
| 290 | } |
| 291 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 292 | .color7 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 293 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 294 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 295 | fill: #990021; |
Paul Greyson | 45303ac | 2013-03-23 16:44:01 -0700 | [diff] [blame] | 296 | background-color: #990021; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 297 | } |
| 298 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 299 | .color8 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 300 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 301 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 302 | fill: #A67900; |
| 303 | background-color: #A67900; |
| 304 | } |
| 305 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 306 | .color9 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 307 | opacity: .2; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 308 | fill: #F53D65; |
| 309 | background-color: #F53D65; |
| 310 | } |
| 311 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 312 | .color10 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 313 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 314 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 315 | fill: #1F0772; |
| 316 | background-color: #1F0772; |
| 317 | } |
| 318 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 319 | .color11 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 320 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 321 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 322 | fill: #F56E8B; |
| 323 | background-color: #F56E8B; |
| 324 | } |
| 325 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 326 | .color12 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 327 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 328 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 329 | fill: #6949D7; |
| 330 | background-color: #6949D7; |
| 331 | } |
Paul Greyson | 347fb74 | 2013-03-27 13:40:29 -0700 | [diff] [blame] | 332 | |
| 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 Greyson | 40c8a59 | 2013-03-27 14:10:33 -0700 | [diff] [blame] | 348 | -webkit-animation-iteration-count: 24; |
Paul Greyson | 347fb74 | 2013-03-27 13:40:29 -0700 | [diff] [blame] | 349 | } |
| 350 | |