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 | |
Paul Greyson | 13f02b9 | 2013-03-28 11:29:35 -0700 | [diff] [blame] | 158 | .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 | |
Paul Greyson | 13f02b9 | 2013-03-28 11:29:35 -0700 | [diff] [blame] | 162 | .srcDPID { |
| 163 | border-left: 1px solid #AAA; |
| 164 | } |
| 165 | |
Paul Greyson | 127d7fb | 2013-03-25 23:39:20 -0700 | [diff] [blame] | 166 | |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 167 | #controllers { |
Paul Greyson | 56378ed | 2013-03-26 23:17:36 -0700 | [diff] [blame] | 168 | border-right: 1px solid #AAA; |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 169 | } |
| 170 | |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 171 | .controller { |
| 172 | padding: .25em; |
Paul Greyson | 2913af8 | 2013-03-27 14:53:17 -0700 | [diff] [blame] | 173 | padding-left: 2.5em; |
| 174 | position: relative; |
| 175 | } |
| 176 | |
Paul Greyson | 8247c3f | 2013-03-28 00:24:02 -0700 | [diff] [blame] | 177 | .black-eye { |
Paul Greyson | 2913af8 | 2013-03-27 14:53:17 -0700 | [diff] [blame] | 178 | position: absolute; |
| 179 | top: 0px; |
| 180 | left: 0px; |
| 181 | height: 100%; |
Paul Greyson | 29aa98d | 2013-03-28 00:09:31 -0700 | [diff] [blame] | 182 | width: 2.25em; |
Paul Greyson | 8247c3f | 2013-03-28 00:24:02 -0700 | [diff] [blame] | 183 | background-image: url('../assets/black-eye.svg'); |
| 184 | background-size: auto 100%; |
| 185 | background-repeat: no-repeat; |
| 186 | background-position: .25em center; |
| 187 | } |
| 188 | |
| 189 | .white-eye { |
| 190 | height: 100%; |
| 191 | width: 2.25em; |
| 192 | background-image: url('../assets/white-eye.svg'); |
Paul Greyson | 2913af8 | 2013-03-27 14:53:17 -0700 | [diff] [blame] | 193 | background-size: auto 100%; |
| 194 | background-repeat: no-repeat; |
| 195 | background-position: .25em center; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 196 | } |
| 197 | |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 198 | #logo { |
| 199 | height: 50px; |
| 200 | } |
| 201 | |
| 202 | .edge { |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 203 | stroke: black; |
| 204 | stroke-width: 1.5px; |
| 205 | } |
| 206 | |
Paul Greyson | f9edc1a | 2013-03-19 13:22:06 -0700 | [diff] [blame] | 207 | .nolabel text { |
| 208 | display: none; |
| 209 | } |
| 210 | |
| 211 | text { |
| 212 | stroke: none; |
| 213 | fill: white; |
Paul Greyson | 968d1b4 | 2013-03-23 16:58:41 -0700 | [diff] [blame] | 214 | font-size: 16px; |
Paul Greyson | f9edc1a | 2013-03-19 13:22:06 -0700 | [diff] [blame] | 215 | pointer-events: none; |
| 216 | } |
| 217 | |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 218 | path { |
Paul Greyson | de7fad5 | 2013-03-19 12:47:32 -0700 | [diff] [blame] | 219 | stroke: rgba(255, 255, 255, .25); |
Paul Greyson | b367de2 | 2013-03-23 11:09:11 -0700 | [diff] [blame] | 220 | stroke-width: 1.5px; |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 221 | } |
| 222 | |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 223 | .aggregation { |
Paul Greyson | 952ccb6 | 2013-03-18 22:22:08 -0700 | [diff] [blame] | 224 | stroke: black; |
| 225 | stroke-width: 2px; |
| 226 | } |
Paul Greyson | d1a22d9 | 2013-03-19 12:15:19 -0700 | [diff] [blame] | 227 | |
| 228 | #traceButton { |
| 229 | visibility: hidden |
| 230 | } |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 231 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 232 | .color1-selected .color1, |
| 233 | .color2-selected .color2, |
| 234 | .color3-selected .color3, |
| 235 | .color4-selected .color4, |
| 236 | .color5-selected .color5, |
| 237 | .color6-selected .color6, |
| 238 | .color7-selected .color7, |
| 239 | .color8-selected .color8, |
| 240 | .color9-selected .color9, |
| 241 | .color10-selected .color10, |
| 242 | .color11-selected .color11, |
| 243 | .color12-selected .color12 { |
| 244 | opacity: 1; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 245 | pointer-events: auto; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 246 | } |
| 247 | |
Paul Greyson | c17278a | 2013-03-23 10:17:12 -0700 | [diff] [blame] | 248 | .colorInactive { |
| 249 | opacity: 1; |
| 250 | fill: #444; |
| 251 | background-color: #444; |
| 252 | color: #222; |
| 253 | } |
| 254 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 255 | .color1 { |
Paul Greyson | 421bfcd | 2013-03-27 22:22:09 -0700 | [diff] [blame] | 256 | opacity: .15; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 257 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 258 | fill: #EC0033; |
| 259 | background-color: #EC0033; |
| 260 | } |
| 261 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 262 | .color2 { |
Paul Greyson | 421bfcd | 2013-03-27 22:22:09 -0700 | [diff] [blame] | 263 | opacity: .15; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 264 | fill: #FFBA00; |
| 265 | background-color: #FFBA00; |
| 266 | } |
| 267 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 268 | .color3 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 269 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 270 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 271 | fill: #3714B0; |
| 272 | background-color: #3714B0; |
| 273 | } |
| 274 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 275 | .color4 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 276 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 277 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 278 | fill: #B12C49; |
| 279 | background-color: #B12C49; |
| 280 | } |
| 281 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 282 | .color5 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 283 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 284 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 285 | fill: #402C84; |
| 286 | background-color: #402C84; |
| 287 | } |
| 288 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 289 | .color6 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 290 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 291 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 292 | fill: #990021; |
| 293 | background-color: #990021; |
| 294 | } |
| 295 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 296 | .color7 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 297 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 298 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 299 | fill: #990021; |
Paul Greyson | 45303ac | 2013-03-23 16:44:01 -0700 | [diff] [blame] | 300 | background-color: #990021; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 301 | } |
| 302 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 303 | .color8 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 304 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 305 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 306 | fill: #A67900; |
| 307 | background-color: #A67900; |
| 308 | } |
| 309 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 310 | .color9 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 311 | opacity: .2; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 312 | fill: #F53D65; |
| 313 | background-color: #F53D65; |
| 314 | } |
| 315 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 316 | .color10 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 317 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 318 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 319 | fill: #1F0772; |
| 320 | background-color: #1F0772; |
| 321 | } |
| 322 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 323 | .color11 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 324 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 325 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 326 | fill: #F56E8B; |
| 327 | background-color: #F56E8B; |
| 328 | } |
| 329 | |
Paul Greyson | 01a5dff | 2013-03-19 15:50:14 -0700 | [diff] [blame] | 330 | .color12 { |
Paul Greyson | c3e21a0 | 2013-03-21 13:56:05 -0700 | [diff] [blame] | 331 | opacity: .2; |
Paul Greyson | 3f890b6 | 2013-03-22 17:39:36 -0700 | [diff] [blame] | 332 | pointer-events: none; |
Paul Greyson | 3e14216 | 2013-03-19 13:56:17 -0700 | [diff] [blame] | 333 | fill: #6949D7; |
| 334 | background-color: #6949D7; |
| 335 | } |
Paul Greyson | 347fb74 | 2013-03-27 13:40:29 -0700 | [diff] [blame] | 336 | |
| 337 | |
| 338 | @-webkit-keyframes pending { |
| 339 | from { |
| 340 | opacity: 1.0; |
| 341 | } |
| 342 | to { |
| 343 | opacity: 0.5; |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | .pending { |
| 348 | -webkit-animation-name: pending; |
| 349 | -webkit-animation-duration: .5s; |
| 350 | -webkit-animation-direction: alternate; |
| 351 | -webkit-animation-timing-function: ease-in-out; |
Paul Greyson | 40c8a59 | 2013-03-27 14:10:33 -0700 | [diff] [blame] | 352 | -webkit-animation-iteration-count: 24; |
Paul Greyson | 347fb74 | 2013-03-27 13:40:29 -0700 | [diff] [blame] | 353 | } |
| 354 | |