Simon Hunt | 195cb38 | 2014-11-03 17:50:51 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Open Networking Laboratory |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | /* |
| 18 | ONOS GUI -- Topology view -- CSS file |
| 19 | |
| 20 | @author Simon Hunt |
| 21 | */ |
| 22 | |
Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 23 | #topo svg #topo-bg { |
Simon Hunt | 142d003 | 2014-11-04 20:13:09 -0800 | [diff] [blame] | 24 | opacity: 0.5; |
| 25 | } |
| 26 | |
Paul Greyson | 6cb8ca0 | 2014-11-12 18:09:02 -0800 | [diff] [blame] | 27 | #topo #map { |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 28 | stroke-width: 2px; |
Thomas Vachuska | cd2920c | 2014-11-19 14:49:55 -0800 | [diff] [blame] | 29 | stroke: #eee; |
Paul Greyson | 6cb8ca0 | 2014-11-12 18:09:02 -0800 | [diff] [blame] | 30 | fill: transparent; |
| 31 | } |
| 32 | |
Simon Hunt | c72967b | 2014-11-20 09:21:42 -0800 | [diff] [blame] | 33 | /* TODO: move glyphs into framework */ |
Simon Hunt | ac9e24f | 2014-11-12 10:12:21 -0800 | [diff] [blame] | 34 | |
Simon Hunt | c72967b | 2014-11-20 09:21:42 -0800 | [diff] [blame] | 35 | #topo svg .glyphIcon { |
| 36 | fill: black; |
| 37 | stroke: none; |
| 38 | fill-rule: evenodd; |
| 39 | } |
| 40 | #topo svg .glyphIcon rect { |
| 41 | fill: #ddd; |
Simon Hunt | 7fa116d | 2014-11-17 14:16:55 -0800 | [diff] [blame] | 42 | stroke: none; |
| 43 | } |
| 44 | |
Simon Hunt | b82f690 | 2014-11-22 11:53:15 -0800 | [diff] [blame] | 45 | |
Simon Hunt | 233747b | 2014-12-04 12:01:58 -0800 | [diff] [blame] | 46 | #topo svg .noDevsLayer { |
| 47 | visibility: hidden; |
| 48 | } |
| 49 | |
| 50 | #topo svg .noDevsLayer text { |
| 51 | font-size: 60pt; |
| 52 | font-style: italic; |
| 53 | fill: #dde; |
| 54 | } |
| 55 | |
| 56 | #topo svg .noDevsBird { |
| 57 | fill: #ecd; |
| 58 | } |
| 59 | |
Simon Hunt | 1a9eff9 | 2014-11-07 11:06:34 -0800 | [diff] [blame] | 60 | /* NODES */ |
| 61 | |
Simon Hunt | ac9e24f | 2014-11-12 10:12:21 -0800 | [diff] [blame] | 62 | #topo svg .node { |
Simon Hunt | 99c1384 | 2014-11-06 18:23:12 -0800 | [diff] [blame] | 63 | cursor: pointer; |
| 64 | } |
| 65 | |
Simon Hunt | ac9e24f | 2014-11-12 10:12:21 -0800 | [diff] [blame] | 66 | #topo svg .node.selected rect, |
| 67 | #topo svg .node.selected circle { |
Simon Hunt | 8dde232 | 2014-11-21 11:42:10 -0800 | [diff] [blame] | 68 | fill: #f90; |
Simon Hunt | ac9e24f | 2014-11-12 10:12:21 -0800 | [diff] [blame] | 69 | filter: url(#blue-glow); |
| 70 | } |
| 71 | |
Simon Hunt | ac9e24f | 2014-11-12 10:12:21 -0800 | [diff] [blame] | 72 | #topo svg .node text { |
| 73 | pointer-events: none; |
| 74 | } |
| 75 | |
| 76 | /* Device Nodes */ |
| 77 | |
| 78 | #topo svg .node.device { |
| 79 | } |
| 80 | |
Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 81 | #topo svg .node.device rect { |
Simon Hunt | 38ab880 | 2014-11-28 13:49:08 -0800 | [diff] [blame] | 82 | stroke-width: 1.5; |
Simon Hunt | 1a9eff9 | 2014-11-07 11:06:34 -0800 | [diff] [blame] | 83 | } |
| 84 | |
Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 85 | #topo svg .node.device.fixed rect { |
Simon Hunt | 99c1384 | 2014-11-06 18:23:12 -0800 | [diff] [blame] | 86 | stroke-width: 1.5; |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 87 | stroke: #ccc; |
Simon Hunt | 99c1384 | 2014-11-06 18:23:12 -0800 | [diff] [blame] | 88 | } |
| 89 | |
Simon Hunt | bb282f5 | 2014-11-10 11:08:19 -0800 | [diff] [blame] | 90 | /* note: device is offline without the 'online' class */ |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 91 | #topo svg .node.device { |
| 92 | fill: #777; |
| 93 | } |
| 94 | |
Simon Hunt | 8dde232 | 2014-11-21 11:42:10 -0800 | [diff] [blame] | 95 | #topo svg .node.device.online { |
Simon Hunt | b0ecfa5 | 2014-11-23 21:05:12 -0800 | [diff] [blame] | 96 | fill: #6e7fa3; |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 97 | } |
| 98 | |
Simon Hunt | bb282f5 | 2014-11-10 11:08:19 -0800 | [diff] [blame] | 99 | /* note: device is offline without the 'online' class */ |
Simon Hunt | 7cd48f3 | 2014-11-09 23:42:50 -0800 | [diff] [blame] | 100 | #topo svg .node.device text { |
Simon Hunt | b0ecfa5 | 2014-11-23 21:05:12 -0800 | [diff] [blame] | 101 | fill: #bbb; |
Simon Hunt | 99c1384 | 2014-11-06 18:23:12 -0800 | [diff] [blame] | 102 | font: 10pt sans-serif; |
Simon Hunt | 99c1384 | 2014-11-06 18:23:12 -0800 | [diff] [blame] | 103 | } |
| 104 | |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 105 | #topo svg .node.device.online text { |
| 106 | fill: white; |
| 107 | } |
| 108 | |
Simon Hunt | 8dde232 | 2014-11-21 11:42:10 -0800 | [diff] [blame] | 109 | #topo svg .node.device .glyphIcon rect { |
| 110 | fill: #aaa; |
| 111 | } |
| 112 | #topo svg .node.device .glyphIcon use { |
| 113 | fill: #777; |
| 114 | } |
| 115 | #topo svg .node.device.selected .glyphIcon rect { |
| 116 | fill: #f90; |
| 117 | } |
| 118 | #topo svg .node.device.online .glyphIcon rect { |
Simon Hunt | b0ecfa5 | 2014-11-23 21:05:12 -0800 | [diff] [blame] | 119 | fill: #ccc; |
Simon Hunt | 8dde232 | 2014-11-21 11:42:10 -0800 | [diff] [blame] | 120 | } |
| 121 | #topo svg .node.device.online .glyphIcon use { |
| 122 | fill: #000; |
| 123 | } |
| 124 | #topo svg .node.device.online.selected .glyphIcon rect { |
| 125 | fill: #f90; |
| 126 | } |
| 127 | |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 128 | |
Simon Hunt | ac9e24f | 2014-11-12 10:12:21 -0800 | [diff] [blame] | 129 | /* Host Nodes */ |
| 130 | |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 131 | #topo svg .node.host { |
| 132 | stroke: #000; |
| 133 | } |
| 134 | |
Simon Hunt | 7cd48f3 | 2014-11-09 23:42:50 -0800 | [diff] [blame] | 135 | #topo svg .node.host text { |
| 136 | fill: #846; |
Simon Hunt | 7fa116d | 2014-11-17 14:16:55 -0800 | [diff] [blame] | 137 | stroke: none; |
Simon Hunt | 7cd48f3 | 2014-11-09 23:42:50 -0800 | [diff] [blame] | 138 | font: 9pt sans-serif; |
Simon Hunt | 7cd48f3 | 2014-11-09 23:42:50 -0800 | [diff] [blame] | 139 | } |
| 140 | |
Simon Hunt | 7fa116d | 2014-11-17 14:16:55 -0800 | [diff] [blame] | 141 | svg .node.host circle { |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 142 | stroke: #000; |
Simon Hunt | 8dde232 | 2014-11-21 11:42:10 -0800 | [diff] [blame] | 143 | fill: #edb; |
Simon Hunt | 7fa116d | 2014-11-17 14:16:55 -0800 | [diff] [blame] | 144 | } |
| 145 | |
Simon Hunt | 1a9eff9 | 2014-11-07 11:06:34 -0800 | [diff] [blame] | 146 | /* LINKS */ |
| 147 | |
Simon Hunt | 56d5185 | 2014-11-09 13:03:35 -0800 | [diff] [blame] | 148 | #topo svg .link { |
Thomas Vachuska | 9edca30 | 2014-11-22 17:06:42 -0800 | [diff] [blame] | 149 | opacity: .9; |
Simon Hunt | 1a9eff9 | 2014-11-07 11:06:34 -0800 | [diff] [blame] | 150 | } |
| 151 | |
Thomas Vachuska | e4cebaf | 2014-11-15 18:49:34 -0800 | [diff] [blame] | 152 | #topo svg .link.inactive { |
Thomas Vachuska | 9edca30 | 2014-11-22 17:06:42 -0800 | [diff] [blame] | 153 | opacity: .5; |
Thomas Vachuska | e4cebaf | 2014-11-15 18:49:34 -0800 | [diff] [blame] | 154 | stroke-dasharray: 8 4; |
| 155 | } |
| 156 | |
Simon Hunt | a255a2c | 2014-11-13 22:29:35 -0800 | [diff] [blame] | 157 | #topo svg .link.secondary { |
Thomas Vachuska | a3148a7 | 2014-11-19 21:38:35 -0800 | [diff] [blame] | 158 | stroke: rgba(0,153,51,0.5); |
Thomas Vachuska | cd2920c | 2014-11-19 14:49:55 -0800 | [diff] [blame] | 159 | stroke-width: 3px; |
Simon Hunt | a255a2c | 2014-11-13 22:29:35 -0800 | [diff] [blame] | 160 | } |
Thomas Vachuska | 5fedb7a | 2014-11-20 00:55:08 -0800 | [diff] [blame] | 161 | #topo svg .link.primary { |
| 162 | stroke: #ffA300; |
| 163 | stroke-width: 4px; |
| 164 | } |
Simon Hunt | a255a2c | 2014-11-13 22:29:35 -0800 | [diff] [blame] | 165 | #topo svg .link.animated { |
Thomas Vachuska | a3148a7 | 2014-11-19 21:38:35 -0800 | [diff] [blame] | 166 | stroke: #ffA300; |
Simon Hunt | a255a2c | 2014-11-13 22:29:35 -0800 | [diff] [blame] | 167 | } |
| 168 | |
Simon Hunt | a255a2c | 2014-11-13 22:29:35 -0800 | [diff] [blame] | 169 | #topo svg .link.secondary.optical { |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 170 | stroke: rgba(128,64,255,0.5); |
Simon Hunt | a255a2c | 2014-11-13 22:29:35 -0800 | [diff] [blame] | 171 | stroke-width: 4px; |
| 172 | } |
Thomas Vachuska | 5fedb7a | 2014-11-20 00:55:08 -0800 | [diff] [blame] | 173 | #topo svg .link.primary.optical { |
| 174 | stroke: #74f; |
| 175 | stroke-width: 6px; |
| 176 | } |
Simon Hunt | a255a2c | 2014-11-13 22:29:35 -0800 | [diff] [blame] | 177 | #topo svg .link.animated.optical { |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 178 | stroke: #74f; |
Simon Hunt | a255a2c | 2014-11-13 22:29:35 -0800 | [diff] [blame] | 179 | stroke-width: 10px; |
Simon Hunt | a255a2c | 2014-11-13 22:29:35 -0800 | [diff] [blame] | 180 | } |
Thomas Vachuska | 4830d39 | 2014-11-09 17:09:56 -0800 | [diff] [blame] | 181 | |
Simon Hunt | e2575b6 | 2014-11-18 15:25:53 -0800 | [diff] [blame] | 182 | #topo svg .linkLabel rect { |
Thomas Vachuska | 20322ff | 2014-11-19 16:22:25 -0800 | [diff] [blame] | 183 | fill: #eee; |
| 184 | stroke: none; |
Simon Hunt | e2575b6 | 2014-11-18 15:25:53 -0800 | [diff] [blame] | 185 | } |
| 186 | #topo svg .linkLabel text { |
| 187 | text-anchor: middle; |
Thomas Vachuska | 20322ff | 2014-11-19 16:22:25 -0800 | [diff] [blame] | 188 | stroke: #777; |
Simon Hunt | 38ab880 | 2014-11-28 13:49:08 -0800 | [diff] [blame] | 189 | stroke-width: 0.1; |
Thomas Vachuska | 20322ff | 2014-11-19 16:22:25 -0800 | [diff] [blame] | 190 | font-size: 9pt; |
Simon Hunt | e2575b6 | 2014-11-18 15:25:53 -0800 | [diff] [blame] | 191 | } |
Simon Hunt | 61d0404 | 2014-11-11 17:27:16 -0800 | [diff] [blame] | 192 | |
Thomas Vachuska | 47635c6 | 2014-11-22 01:21:36 -0800 | [diff] [blame] | 193 | /* Fly-in summary pane */ |
| 194 | |
| 195 | #topo-summary { |
| 196 | /* gets base CSS from .fpanel in floatPanel.css */ |
| 197 | top: 64px; |
| 198 | } |
| 199 | |
| 200 | #topo-summary svg { |
| 201 | display: inline-block; |
| 202 | width: 42px; |
| 203 | height: 42px; |
| 204 | } |
| 205 | |
| 206 | #topo-summary svg .glyphIcon { |
| 207 | fill: black; |
| 208 | stroke: none; |
| 209 | fill-rule: evenodd; |
| 210 | } |
| 211 | |
| 212 | #topo-summary h2 { |
| 213 | position: absolute; |
Simon Hunt | 38ab880 | 2014-11-28 13:49:08 -0800 | [diff] [blame] | 214 | margin: 0 4px; |
Thomas Vachuska | 47635c6 | 2014-11-22 01:21:36 -0800 | [diff] [blame] | 215 | top: 20px; |
| 216 | left: 50px; |
| 217 | color: black; |
| 218 | } |
| 219 | |
| 220 | #topo-summary h3 { |
Simon Hunt | 38ab880 | 2014-11-28 13:49:08 -0800 | [diff] [blame] | 221 | margin: 0 4px; |
Thomas Vachuska | 47635c6 | 2014-11-22 01:21:36 -0800 | [diff] [blame] | 222 | top: 20px; |
| 223 | left: 50px; |
| 224 | color: black; |
| 225 | } |
| 226 | |
| 227 | #topo-summary p, table { |
| 228 | margin: 4px 4px; |
| 229 | } |
| 230 | |
| 231 | #topo-summary td.label { |
| 232 | font-style: italic; |
| 233 | color: #777; |
| 234 | padding-right: 12px; |
| 235 | } |
| 236 | |
| 237 | #topo-summary td.value { |
| 238 | } |
| 239 | |
| 240 | #topo-summary hr { |
| 241 | height: 1px; |
| 242 | color: #ccc; |
| 243 | background-color: #ccc; |
| 244 | border: 0; |
| 245 | } |
| 246 | |
Simon Hunt | ac9e24f | 2014-11-12 10:12:21 -0800 | [diff] [blame] | 247 | /* Fly-in details pane */ |
Simon Hunt | 61d0404 | 2014-11-11 17:27:16 -0800 | [diff] [blame] | 248 | |
| 249 | #topo-detail { |
Thomas Vachuska | 47635c6 | 2014-11-22 01:21:36 -0800 | [diff] [blame] | 250 | /* gets base CSS from .fpanel in floatPanel.css */ |
| 251 | top: 320px; |
| 252 | |
Simon Hunt | 61d0404 | 2014-11-11 17:27:16 -0800 | [diff] [blame] | 253 | } |
| 254 | |
Simon Hunt | a6a9fe7 | 2014-11-20 11:17:12 -0800 | [diff] [blame] | 255 | #topo-detail svg { |
| 256 | display: inline-block; |
| 257 | width: 42px; |
| 258 | height: 42px; |
Simon Hunt | 61d0404 | 2014-11-11 17:27:16 -0800 | [diff] [blame] | 259 | } |
| 260 | |
Simon Hunt | a6a9fe7 | 2014-11-20 11:17:12 -0800 | [diff] [blame] | 261 | #topo-detail svg .glyphIcon { |
| 262 | fill: black; |
| 263 | stroke: none; |
| 264 | fill-rule: evenodd; |
| 265 | } |
| 266 | |
| 267 | #topo-detail h2 { |
| 268 | position: absolute; |
Simon Hunt | 38ab880 | 2014-11-28 13:49:08 -0800 | [diff] [blame] | 269 | margin: 0 4px; |
Simon Hunt | a3dd957 | 2014-11-20 15:22:41 -0800 | [diff] [blame] | 270 | top: 20px; |
| 271 | left: 50px; |
| 272 | color: black; |
| 273 | } |
| 274 | |
| 275 | #topo-detail h3 { |
Simon Hunt | 38ab880 | 2014-11-28 13:49:08 -0800 | [diff] [blame] | 276 | margin: 0 4px; |
Simon Hunt | a6a9fe7 | 2014-11-20 11:17:12 -0800 | [diff] [blame] | 277 | top: 20px; |
| 278 | left: 50px; |
| 279 | color: black; |
Simon Hunt | 61d0404 | 2014-11-11 17:27:16 -0800 | [diff] [blame] | 280 | } |
| 281 | |
| 282 | #topo-detail p, table { |
| 283 | margin: 4px 4px; |
| 284 | } |
| 285 | |
| 286 | #topo-detail td.label { |
| 287 | font-style: italic; |
| 288 | color: #777; |
| 289 | padding-right: 12px; |
| 290 | } |
| 291 | |
| 292 | #topo-detail td.value { |
Simon Hunt | 61d0404 | 2014-11-11 17:27:16 -0800 | [diff] [blame] | 293 | } |
| 294 | |
Simon Hunt | b53e068 | 2014-11-12 13:32:01 -0800 | [diff] [blame] | 295 | |
Simon Hunt | d72bc70 | 2014-11-13 18:38:04 -0800 | [diff] [blame] | 296 | #topo-detail .actionBtn { |
| 297 | margin: 6px 12px; |
| 298 | padding: 2px 6px; |
| 299 | font-size: 9pt; |
| 300 | cursor: pointer; |
Thomas Vachuska | 9edca30 | 2014-11-22 17:06:42 -0800 | [diff] [blame] | 301 | width: 200px; |
Simon Hunt | d72bc70 | 2014-11-13 18:38:04 -0800 | [diff] [blame] | 302 | text-align: center; |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 303 | |
| 304 | /* theme specific... */ |
Thomas Vachuska | 4731f12 | 2014-11-20 04:56:19 -0800 | [diff] [blame] | 305 | border: 2px solid #ddd; |
| 306 | border-radius: 4px; |
| 307 | color: #eee; |
| 308 | background: #888; |
Simon Hunt | d72bc70 | 2014-11-13 18:38:04 -0800 | [diff] [blame] | 309 | } |
| 310 | |
| 311 | #topo-detail .actionBtn:hover { |
Thomas Vachuska | 8954329 | 2014-11-19 11:28:33 -0800 | [diff] [blame] | 312 | /* theme specific... */ |
Thomas Vachuska | 4731f12 | 2014-11-20 04:56:19 -0800 | [diff] [blame] | 313 | border: 2px solid #ddd; |
| 314 | color: #eee; |
| 315 | background: #444; |
Simon Hunt | d72bc70 | 2014-11-13 18:38:04 -0800 | [diff] [blame] | 316 | } |
| 317 | |
Simon Hunt | b53e068 | 2014-11-12 13:32:01 -0800 | [diff] [blame] | 318 | |
Simon Hunt | 61d0404 | 2014-11-11 17:27:16 -0800 | [diff] [blame] | 319 | #topo-detail hr { |
| 320 | height: 1px; |
| 321 | color: #ccc; |
| 322 | background-color: #ccc; |
| 323 | border: 0; |
| 324 | } |
| 325 | |
Simon Hunt | a5e8914 | 2014-11-14 07:00:33 -0800 | [diff] [blame] | 326 | /* ONOS instance stuff */ |
| 327 | |
| 328 | #topo-oibox { |
Simon Hunt | b82f690 | 2014-11-22 11:53:15 -0800 | [diff] [blame] | 329 | height: 100px; |
Simon Hunt | a5e8914 | 2014-11-14 07:00:33 -0800 | [diff] [blame] | 330 | } |
| 331 | |
Simon Hunt | b82f690 | 2014-11-22 11:53:15 -0800 | [diff] [blame] | 332 | #topo-oibox div.onosInst { |
| 333 | display: inline-block; |
Simon Hunt | 7b403bc | 2014-11-22 19:01:00 -0800 | [diff] [blame] | 334 | width: 170px; |
| 335 | height: 85px; |
| 336 | cursor: pointer; |
Simon Hunt | b82f690 | 2014-11-22 11:53:15 -0800 | [diff] [blame] | 337 | } |
| 338 | |
| 339 | #topo-oibox svg rect { |
| 340 | fill: #ccc; |
| 341 | stroke: #aaa; |
| 342 | stroke-width: 3.5; |
| 343 | } |
| 344 | #topo-oibox .online svg rect { |
| 345 | opacity: 1; |
| 346 | fill: #9cf; |
Simon Hunt | 925dfc0 | 2014-11-29 12:11:51 -0800 | [diff] [blame] | 347 | stroke: #555; |
Simon Hunt | b82f690 | 2014-11-22 11:53:15 -0800 | [diff] [blame] | 348 | } |
| 349 | |
| 350 | #topo-oibox svg .glyphIcon { |
| 351 | fill: #888; |
| 352 | fill-rule: evenodd; |
| 353 | } |
| 354 | #topo-oibox .online svg .glyphIcon { |
| 355 | fill: #000; |
| 356 | } |
| 357 | |
| 358 | #topo-oibox svg .badgeIcon { |
Simon Hunt | 925dfc0 | 2014-11-29 12:11:51 -0800 | [diff] [blame] | 359 | fill: #777; |
Simon Hunt | b82f690 | 2014-11-22 11:53:15 -0800 | [diff] [blame] | 360 | fill-rule: evenodd; |
| 361 | } |
| 362 | |
| 363 | #topo-oibox .online svg .badgeIcon { |
| 364 | fill: #fff; |
| 365 | } |
| 366 | |
Simon Hunt | 7b403bc | 2014-11-22 19:01:00 -0800 | [diff] [blame] | 367 | #topo-oibox svg text { |
| 368 | text-anchor: middle; |
Simon Hunt | 925dfc0 | 2014-11-29 12:11:51 -0800 | [diff] [blame] | 369 | fill: #777; |
Simon Hunt | 7b403bc | 2014-11-22 19:01:00 -0800 | [diff] [blame] | 370 | } |
| 371 | #topo-oibox .online svg text { |
Thomas Vachuska | e02e11c | 2014-11-24 16:13:52 -0800 | [diff] [blame] | 372 | fill: #eee; |
Simon Hunt | 7b403bc | 2014-11-22 19:01:00 -0800 | [diff] [blame] | 373 | } |
| 374 | |
| 375 | #topo-oibox svg text.instTitle { |
| 376 | font-size: 11pt; |
| 377 | font-weight: bold; |
| 378 | } |
| 379 | #topo-oibox svg text.instLabel { |
| 380 | font-size: 9pt; |
| 381 | font-style: italic; |
| 382 | } |
Simon Hunt | b82f690 | 2014-11-22 11:53:15 -0800 | [diff] [blame] | 383 | |
| 384 | #topo-oibox .onosInst.mastership { |
| 385 | opacity: 0.3; |
| 386 | } |
| 387 | #topo-oibox .onosInst.mastership.affinity { |
| 388 | opacity: 1.0; |
| 389 | } |
| 390 | #topo-oibox .onosInst.mastership.affinity svg rect { |
| 391 | filter: url(#blue-glow); |
| 392 | } |
| 393 | |
Simon Hunt | 9462e8c | 2014-11-14 17:28:09 -0800 | [diff] [blame] | 394 | |
| 395 | #topo svg .suppressed { |
Simon Hunt | a5e8914 | 2014-11-14 07:00:33 -0800 | [diff] [blame] | 396 | opacity: 0.2; |
| 397 | } |
| 398 | |
Simon Hunt | a6a9fe7 | 2014-11-20 11:17:12 -0800 | [diff] [blame] | 399 | /* Death Mask (starts hidden) */ |
Simon Hunt | 0c6d419 | 2014-11-12 12:07:10 -0800 | [diff] [blame] | 400 | |
| 401 | #topo-mask { |
| 402 | display: none; |
| 403 | position: absolute; |
| 404 | top: 0; |
| 405 | left: 0; |
| 406 | width: 10000px; |
| 407 | height: 8000px; |
| 408 | z-index: 5000; |
| 409 | background-color: rgba(0,0,0,0.75); |
| 410 | padding: 60px; |
| 411 | } |
| 412 | |
| 413 | #topo-mask p { |
| 414 | margin: 8px 20px; |
| 415 | color: #ddd; |
| 416 | font-size: 14pt; |
| 417 | font-style: italic; |
| 418 | } |
| 419 | |