Simon Hunt | ef31fb2 | 2014-12-19 13:16:44 -0800 | [diff] [blame] | 1 | /* |
Simon Hunt | 8ead3a2 | 2015-01-06 11:00:15 -0800 | [diff] [blame] | 2 | * Copyright 2014,2015 Open Networking Laboratory |
Simon Hunt | ef31fb2 | 2014-12-19 13:16:44 -0800 | [diff] [blame] | 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 | ef31fb2 | 2014-12-19 13:16:44 -0800 | [diff] [blame] | 19 | */ |
| 20 | |
Simon Hunt | 7c8ab8d | 2015-02-03 15:05:15 -0800 | [diff] [blame] | 21 | /* --- Base SVG Layer --- */ |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 22 | |
Simon Hunt | 5ee36e0 | 2015-01-15 10:33:20 -0800 | [diff] [blame] | 23 | .light #ov-topo svg { |
Simon Hunt | 426bd86 | 2015-01-14 16:48:41 -0800 | [diff] [blame] | 24 | background-color: #fff; |
Simon Hunt | 6cc5369 | 2015-01-07 11:33:45 -0800 | [diff] [blame] | 25 | } |
Simon Hunt | 5ee36e0 | 2015-01-15 10:33:20 -0800 | [diff] [blame] | 26 | .dark #ov-topo svg { |
| 27 | background-color: #2b2b2b; |
| 28 | } |
Simon Hunt | 426bd86 | 2015-01-14 16:48:41 -0800 | [diff] [blame] | 29 | |
Simon Hunt | 7c8ab8d | 2015-02-03 15:05:15 -0800 | [diff] [blame] | 30 | |
| 31 | /* --- "No Devices" Layer --- */ |
| 32 | |
| 33 | #ov-topo svg #topo-noDevsLayer { |
| 34 | visibility: hidden; |
| 35 | } |
| 36 | |
| 37 | .light #ov-topo svg .noDevsBird { |
| 38 | fill: #ecd; |
| 39 | } |
| 40 | .dark #ov-topo svg .noDevsBird { |
| 41 | fill: #683434; |
| 42 | } |
| 43 | |
| 44 | #ov-topo svg #topo-noDevsLayer text { |
| 45 | font-size: 60pt; |
| 46 | font-style: italic; |
| 47 | } |
| 48 | .light #ov-topo svg #topo-noDevsLayer text { |
| 49 | fill: #dde; |
| 50 | } |
| 51 | .dark #ov-topo svg #topo-noDevsLayer text { |
| 52 | fill: #3b3b4f; |
| 53 | } |
| 54 | |
| 55 | |
| 56 | /* --- Topo Map --- */ |
| 57 | |
Simon Hunt | 426bd86 | 2015-01-14 16:48:41 -0800 | [diff] [blame] | 58 | #ov-topo svg #topo-map { |
| 59 | stroke-width: 2px; |
Simon Hunt | 426bd86 | 2015-01-14 16:48:41 -0800 | [diff] [blame] | 60 | fill: transparent; |
Simon Hunt | 5ee36e0 | 2015-01-15 10:33:20 -0800 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | .light #ov-topo svg #topo-map { |
Simon Hunt | 445e815 | 2015-02-06 13:00:12 -0800 | [diff] [blame] | 64 | stroke: #eee; |
Simon Hunt | 5ee36e0 | 2015-01-15 10:33:20 -0800 | [diff] [blame] | 65 | } |
| 66 | .dark #ov-topo svg #topo-map { |
| 67 | stroke: #444; |
| 68 | } |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 69 | |
| 70 | |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 71 | /* --- Topo Summary Panel --- */ |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 72 | |
| 73 | #topo-p-summary { |
| 74 | /* Base css from panel.css */ |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 75 | } |
| 76 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 77 | /* --- Topo Detail Panel --- */ |
| 78 | |
| 79 | #topo-p-detail { |
| 80 | /* Base css from panel.css */ |
| 81 | top: 320px; |
| 82 | } |
| 83 | |
| 84 | /* --- general topo-panel styling --- */ |
| 85 | |
| 86 | .topo-p svg { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 87 | display: inline-block; |
| 88 | width: 42px; |
| 89 | height: 42px; |
| 90 | } |
| 91 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 92 | .light .topo-p svg .glyph { |
| 93 | fill: #222; |
| 94 | } |
| 95 | |
| 96 | .dark .topo-p svg .glyph.overlay { |
| 97 | fill: #222; |
| 98 | } |
| 99 | |
| 100 | .dark .topo-p svg .glyph { |
| 101 | fill: #ddd; |
| 102 | } |
| 103 | .light .topo-p svg .glyph.overlay { |
| 104 | fill: #fff; |
| 105 | } |
| 106 | |
| 107 | |
| 108 | .topo-p h2 { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 109 | position: absolute; |
| 110 | margin: 0 4px; |
| 111 | top: 20px; |
| 112 | left: 50px; |
| 113 | } |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 114 | .light .topo-p h2 { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 115 | color: black; |
| 116 | } |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 117 | .dark .topo-p h2 { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 118 | color: #ddd; |
| 119 | } |
| 120 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 121 | .topo-p h3 { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 122 | margin: 0 4px; |
| 123 | top: 20px; |
| 124 | left: 50px; |
| 125 | } |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 126 | .light .topo-p h3 { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 127 | color: black; |
| 128 | } |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 129 | .dark .topo-p h3 { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 130 | color: #ddd; |
| 131 | } |
| 132 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 133 | .topo-p p, table { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 134 | margin: 4px 4px; |
| 135 | } |
| 136 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 137 | .topo-p td.label { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 138 | font-style: italic; |
| 139 | padding-right: 12px; |
| 140 | /* works for both light and dark themes ... */ |
| 141 | color: #777; |
| 142 | } |
| 143 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 144 | .topo-p td.value { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 145 | } |
| 146 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 147 | .topo-p hr { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 148 | height: 1px; |
| 149 | border: 0; |
| 150 | } |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 151 | .light .topo-p hr { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 152 | background-color: #ccc; |
| 153 | color: #ccc; |
| 154 | } |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 155 | .dark .topo-p hr { |
Simon Hunt | 626d210 | 2015-01-29 11:54:50 -0800 | [diff] [blame] | 156 | background-color: #888; |
| 157 | color: #888; |
| 158 | } |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 159 | |
| 160 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 161 | .topo-p .actionBtn { |
| 162 | margin: 6px 12px; |
| 163 | padding: 2px 6px; |
| 164 | font-size: 9pt; |
| 165 | cursor: pointer; |
| 166 | width: 200px; |
| 167 | text-align: center; |
| 168 | border-radius: 4px; |
| 169 | } |
| 170 | .light .topo-p .actionBtn { |
| 171 | border: 2px solid #ddd; |
| 172 | color: #eee; |
| 173 | background: #888; |
| 174 | } |
| 175 | .dark .topo-p .actionBtn { |
| 176 | border: 2px solid #222; |
| 177 | color: #888; |
| 178 | background: #444; |
| 179 | } |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 180 | |
Simon Hunt | 08f841d0 | 2015-02-10 14:39:20 -0800 | [diff] [blame] | 181 | .light .topo-p .actionBtn:hover { |
| 182 | color: #eee; |
| 183 | background: #444; |
| 184 | } |
| 185 | .dark .topo-p .actionBtn:hover { |
| 186 | color: #eee; |
| 187 | background: #666; |
| 188 | } |
| 189 | |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 190 | |
| 191 | |
| 192 | /* --- Topo Instance Panel --- */ |
| 193 | |
| 194 | #topo-p-instance { |
| 195 | height: 100px; |
| 196 | } |
| 197 | |
| 198 | #topo-p-instance div.onosInst { |
| 199 | display: inline-block; |
| 200 | width: 170px; |
| 201 | height: 85px; |
| 202 | cursor: pointer; |
| 203 | } |
| 204 | |
| 205 | #topo-p-instance svg rect { |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 206 | stroke-width: 3.5; |
| 207 | } |
| 208 | #topo-p-instance .online svg rect { |
| 209 | opacity: 1; |
Simon Hunt | a57d681 | 2015-02-02 18:34:04 -0800 | [diff] [blame] | 210 | } |
| 211 | .light #topo-p-instance svg rect { |
| 212 | fill: #ccc; |
| 213 | stroke: #aaa; |
| 214 | } |
| 215 | .light #topo-p-instance .online svg rect { |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 216 | fill: #9cf; |
| 217 | stroke: #555; |
| 218 | } |
Simon Hunt | a57d681 | 2015-02-02 18:34:04 -0800 | [diff] [blame] | 219 | .dark #topo-p-instance svg rect { |
| 220 | fill: #666; |
| 221 | stroke: #222; |
| 222 | } |
| 223 | .dark #topo-p-instance .online svg rect { |
| 224 | fill: #9cf; |
| 225 | stroke: #999; |
| 226 | } |
| 227 | |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 228 | |
| 229 | #topo-p-instance svg .glyph { |
| 230 | fill: #888; |
| 231 | fill-rule: evenodd; |
| 232 | } |
| 233 | #topo-p-instance .online svg .glyph { |
| 234 | fill: #000; |
| 235 | } |
| 236 | |
| 237 | #topo-p-instance svg .badgeIcon { |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 238 | fill-rule: evenodd; |
Simon Hunt | a57d681 | 2015-02-02 18:34:04 -0800 | [diff] [blame] | 239 | opacity: 0.4; |
| 240 | } |
| 241 | .light #topo-p-instance svg .badgeIcon { |
| 242 | fill: #777; |
| 243 | } |
| 244 | .dark #topo-p-instance svg .badgeIcon { |
| 245 | fill: #555; |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 246 | } |
| 247 | |
| 248 | #topo-p-instance .online svg .badgeIcon { |
Simon Hunt | a57d681 | 2015-02-02 18:34:04 -0800 | [diff] [blame] | 249 | opacity: 1.0; |
| 250 | } |
| 251 | .light #topo-p-instance .online svg .badgeIcon { |
| 252 | fill: #fff; |
| 253 | } |
| 254 | .dark #topo-p-instance .online svg .badgeIcon { |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 255 | fill: #fff; |
| 256 | } |
| 257 | |
| 258 | #topo-p-instance svg text { |
| 259 | text-anchor: middle; |
Simon Hunt | a57d681 | 2015-02-02 18:34:04 -0800 | [diff] [blame] | 260 | opacity: 0.3; |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 261 | } |
| 262 | #topo-p-instance .online svg text { |
Simon Hunt | a57d681 | 2015-02-02 18:34:04 -0800 | [diff] [blame] | 263 | opacity: 1.0; |
| 264 | } |
| 265 | .light #topo-p-instance svg text { |
| 266 | fill: #444; |
| 267 | } |
| 268 | .light #topo-p-instance .online svg text { |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 269 | fill: #eee; |
| 270 | } |
Simon Hunt | a57d681 | 2015-02-02 18:34:04 -0800 | [diff] [blame] | 271 | .dark #topo-p-instance svg text { |
| 272 | fill: #aaa; |
| 273 | } |
| 274 | .dark #topo-p-instance .online svg text { |
| 275 | fill: #ccc; |
| 276 | } |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 277 | |
| 278 | #topo-p-instance svg text.instTitle { |
| 279 | font-size: 11pt; |
| 280 | font-weight: bold; |
| 281 | } |
| 282 | #topo-p-instance svg text.instLabel { |
| 283 | font-size: 9pt; |
| 284 | font-style: italic; |
| 285 | } |
| 286 | |
| 287 | #topo-p-instance .onosInst.mastership { |
| 288 | opacity: 0.3; |
| 289 | } |
| 290 | #topo-p-instance .onosInst.mastership.affinity { |
| 291 | opacity: 1.0; |
| 292 | } |
Simon Hunt | 0ee2868 | 2015-02-12 20:48:11 -0800 | [diff] [blame] | 293 | .light #topo-p-instance .onosInst.mastership.affinity svg rect { |
| 294 | filter: url(#blue-glow); |
| 295 | } |
| 296 | .dark #topo-p-instance .onosInst.mastership.affinity svg rect { |
| 297 | filter: url(#yellow-glow); |
Simon Hunt | 4b66859 | 2015-01-29 17:33:53 -0800 | [diff] [blame] | 298 | } |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 299 | |
| 300 | |
| 301 | /* --- Topo Nodes --- */ |
| 302 | |
Simon Hunt | a142dd2 | 2015-02-12 22:07:51 -0800 | [diff] [blame] | 303 | #ov-topo svg .suppressed { |
| 304 | opacity: 0.2 !important; |
| 305 | } |
| 306 | |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 307 | #ov-topo svg .node { |
| 308 | cursor: pointer; |
| 309 | } |
| 310 | |
Simon Hunt | 0ee2868 | 2015-02-12 20:48:11 -0800 | [diff] [blame] | 311 | .light #ov-topo svg .node.selected rect, |
| 312 | .light #ov-topo svg .node.selected circle { |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 313 | fill: #f90; |
Simon Hunt | 0ee2868 | 2015-02-12 20:48:11 -0800 | [diff] [blame] | 314 | filter: url(#blue-glow); |
| 315 | } |
| 316 | .dark #ov-topo svg .node.selected rect, |
| 317 | .dark #ov-topo svg .node.selected circle { |
| 318 | fill: #f90; |
| 319 | filter: url(#yellow-glow); |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 320 | } |
| 321 | |
| 322 | #ov-topo svg .node text { |
| 323 | pointer-events: none; |
| 324 | } |
| 325 | |
| 326 | /* Device Nodes */ |
| 327 | |
| 328 | #ov-topo svg .node.device { |
| 329 | } |
| 330 | |
| 331 | #ov-topo svg .node.device rect { |
| 332 | stroke-width: 1.5; |
| 333 | } |
| 334 | |
| 335 | #ov-topo svg .node.device.fixed rect { |
| 336 | stroke-width: 1.5; |
Simon Hunt | 78c10bf | 2015-02-03 21:18:20 -0800 | [diff] [blame] | 337 | } |
| 338 | .light #ov-topo svg .node.device.fixed rect { |
| 339 | stroke: #aaa; |
| 340 | } |
| 341 | .dark #ov-topo svg .node.device.fixed rect { |
Simon Hunt | 1c36711 | 2015-02-05 18:02:46 -0800 | [diff] [blame] | 342 | stroke: #999; |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 343 | } |
| 344 | |
| 345 | /* note: device is offline without the 'online' class */ |
Simon Hunt | 1c36711 | 2015-02-05 18:02:46 -0800 | [diff] [blame] | 346 | .light #ov-topo svg .node.device { |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 347 | fill: #777; |
| 348 | } |
Simon Hunt | 1c36711 | 2015-02-05 18:02:46 -0800 | [diff] [blame] | 349 | .dark #ov-topo svg .node.device { |
| 350 | fill: #555; |
| 351 | } |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 352 | |
Simon Hunt | 1c36711 | 2015-02-05 18:02:46 -0800 | [diff] [blame] | 353 | .light #ov-topo svg .node.device rect { |
| 354 | stroke: #666; |
| 355 | } |
| 356 | .light #ov-topo svg .node.device rect { |
| 357 | stroke: #999; |
| 358 | } |
| 359 | |
| 360 | .light #ov-topo svg .node.device.online { |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 361 | fill: #6e7fa3; |
| 362 | } |
Simon Hunt | 1c36711 | 2015-02-05 18:02:46 -0800 | [diff] [blame] | 363 | .dark #ov-topo svg .node.device.online { |
| 364 | fill: #4E5C7F; |
| 365 | } |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 366 | |
| 367 | /* note: device is offline without the 'online' class */ |
| 368 | #ov-topo svg .node.device text { |
| 369 | fill: #bbb; |
| 370 | font: 10pt sans-serif; |
| 371 | } |
| 372 | |
| 373 | #ov-topo svg .node.device.online text { |
| 374 | fill: white; |
| 375 | } |
| 376 | |
| 377 | #ov-topo svg .node.device .svgIcon rect { |
| 378 | fill: #aaa; |
| 379 | } |
| 380 | #ov-topo svg .node.device .svgIcon use { |
| 381 | fill: #777; |
| 382 | } |
| 383 | #ov-topo svg .node.device.selected .svgIcon rect { |
| 384 | fill: #f90; |
| 385 | } |
| 386 | #ov-topo svg .node.device.online .svgIcon rect { |
| 387 | fill: #ccc; |
| 388 | } |
| 389 | #ov-topo svg .node.device.online .svgIcon use { |
| 390 | fill: #000; |
| 391 | } |
| 392 | #ov-topo svg .node.device.online.selected .svgIcon rect { |
| 393 | fill: #f90; |
| 394 | } |
| 395 | |
| 396 | |
| 397 | /* Host Nodes */ |
| 398 | |
| 399 | #ov-topo svg .node.host { |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 400 | } |
| 401 | |
| 402 | #ov-topo svg .node.host text { |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 403 | stroke: none; |
| 404 | font: 9pt sans-serif; |
| 405 | } |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 406 | .light #ov-topo svg .node.host text { |
| 407 | fill: #846; |
| 408 | } |
| 409 | .dark #ov-topo svg .node.host text { |
| 410 | fill: #BB809D; |
| 411 | } |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 412 | |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 413 | .light svg .node.host circle { |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 414 | stroke: #000; |
| 415 | fill: #edb; |
| 416 | } |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 417 | .dark svg .node.host circle { |
| 418 | stroke: #eee; |
| 419 | fill: #B2A180; |
| 420 | } |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 421 | |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 422 | .light svg .node.host .svgIcon { |
| 423 | fill: #444; |
| 424 | } |
| 425 | .dark svg .node.host .svgIcon { |
| 426 | fill: #222; |
| 427 | } |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 428 | |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 429 | /* --- Topo Links --- */ |
Simon Hunt | ac4c6f7 | 2015-02-03 19:50:53 -0800 | [diff] [blame] | 430 | |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 431 | #ov-topo svg .link { |
| 432 | opacity: .9; |
| 433 | } |
| 434 | |
Simon Hunt | d526412 | 2015-02-25 10:17:43 -0800 | [diff] [blame] | 435 | .light #ov-topo svg .link.enhanced { |
| 436 | filter: url(#blue-glow); |
| 437 | } |
| 438 | .dark #ov-topo svg .link.enhanced { |
| 439 | filter: url(#yellow-glow); |
| 440 | } |
| 441 | |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 442 | #ov-topo svg .link.inactive { |
| 443 | opacity: .5; |
| 444 | stroke-dasharray: 8 4; |
| 445 | } |
| 446 | |
| 447 | #ov-topo svg .link.secondary { |
| 448 | stroke-width: 3px; |
| 449 | } |
| 450 | .light #ov-topo svg .link.secondary { |
| 451 | stroke: rgba(0,153,51,0.5); |
| 452 | } |
| 453 | .dark #ov-topo svg .link.secondary { |
| 454 | stroke: rgba(121,231,158,0.5); |
| 455 | } |
| 456 | |
| 457 | #ov-topo svg .link.primary { |
| 458 | stroke-width: 4px; |
| 459 | } |
| 460 | .light #ov-topo svg .link.primary { |
| 461 | stroke: #ffA300; |
| 462 | } |
| 463 | .dark #ov-topo svg .link.primary { |
| 464 | stroke: #D58E0F; |
| 465 | } |
| 466 | |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 467 | #ov-topo svg .link.secondary.optical { |
| 468 | stroke-width: 4px; |
| 469 | } |
| 470 | .light #ov-topo svg .link.secondary.optical { |
| 471 | stroke: rgba(128,64,255,0.5); |
| 472 | } |
| 473 | .dark #ov-topo svg .link.secondary.optical { |
| 474 | stroke: rgba(164,139,215,0.5); |
| 475 | } |
| 476 | |
| 477 | #ov-topo svg .link.primary.optical { |
| 478 | stroke-width: 6px; |
| 479 | } |
| 480 | .light #ov-topo svg .link.primary.optical { |
| 481 | stroke: #74f; |
| 482 | } |
| 483 | .dark #ov-topo svg .link.primary.optical { |
| 484 | stroke: #7352CD; |
| 485 | } |
| 486 | |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 487 | #ov-topo svg .linkLabel rect { |
| 488 | stroke: none; |
| 489 | } |
| 490 | .light #ov-topo svg .linkLabel rect { |
| 491 | fill: #eee; |
| 492 | } |
| 493 | .dark #ov-topo svg .linkLabel rect { |
Simon Hunt | 8eb4d3a | 2015-02-23 18:23:29 -0800 | [diff] [blame] | 494 | fill: #555; |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 495 | } |
| 496 | |
| 497 | #ov-topo svg .linkLabel text { |
| 498 | text-anchor: middle; |
| 499 | stroke-width: 0.1; |
| 500 | font-size: 9pt; |
| 501 | } |
| 502 | .light #ov-topo svg .linkLabel text { |
Simon Hunt | 8eb4d3a | 2015-02-23 18:23:29 -0800 | [diff] [blame] | 503 | fill: #444; |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 504 | } |
| 505 | .dark #ov-topo svg .linkLabel text { |
Simon Hunt | 8eb4d3a | 2015-02-23 18:23:29 -0800 | [diff] [blame] | 506 | fill: #eee; |
Simon Hunt | 1894d79 | 2015-02-04 17:09:20 -0800 | [diff] [blame] | 507 | } |
Simon Hunt | eb0fa05 | 2015-02-17 19:20:28 -0800 | [diff] [blame] | 508 | |
| 509 | |
| 510 | /* radio buttons injected into masthead */ |
| 511 | |
| 512 | #topo-radio-group span.radio { |
| 513 | font-size: 10pt; |
| 514 | margin: 4px 2px; |
| 515 | padding: 1px 6px; |
| 516 | -moz-border-radius: 3px; |
| 517 | border-radius: 3px; |
| 518 | cursor: pointer; |
| 519 | } |
| 520 | |
| 521 | .light #topo-radio-group span.radio { |
| 522 | border: 1px dotted #222; |
| 523 | color: #eee; |
| 524 | } |
| 525 | .dark #topo-radio-group span.radio { |
| 526 | border: 1px dotted #bbb; |
| 527 | color: #888; |
| 528 | } |
| 529 | |
| 530 | #topo-radio-group span.radio.active { |
| 531 | padding: 1px 6px; |
| 532 | } |
| 533 | |
| 534 | .light #topo-radio-group span.radio.active { |
| 535 | background-color: #bbb; |
| 536 | border: 1px solid #eee; |
| 537 | color: #666; |
| 538 | |
| 539 | } |
| 540 | .dark #topo-radio-group span.radio.active { |
| 541 | background-color: #222; |
| 542 | border: 1px solid #eee; |
| 543 | color: #78a; |
| 544 | } |