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