blob: bbbea31ed9b3531f6d73a9e5d7d140b486d8518f [file] [log] [blame]
Simon Huntef31fb22014-12-19 13:16:44 -08001/*
Simon Hunt8ead3a22015-01-06 11:00:15 -08002 * Copyright 2014,2015 Open Networking Laboratory
Simon Huntef31fb22014-12-19 13:16:44 -08003 *
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 Huntef31fb22014-12-19 13:16:44 -080019 */
20
Simon Hunt7c8ab8d2015-02-03 15:05:15 -080021/* --- Base SVG Layer --- */
Simon Hunt626d2102015-01-29 11:54:50 -080022
Simon Huntd552ee92015-04-02 17:06:35 -070023#ov-topo svg {
24 /* prevents the little cut/copy/paste square that would appear on iPad */
25 -webkit-user-select: none;
26}
Simon Hunt5ee36e02015-01-15 10:33:20 -080027.light #ov-topo svg {
Simon Hunt426bd862015-01-14 16:48:41 -080028 background-color: #fff;
Simon Hunt6cc53692015-01-07 11:33:45 -080029}
Simon Hunt5ee36e02015-01-15 10:33:20 -080030.dark #ov-topo svg {
31 background-color: #2b2b2b;
32}
Simon Hunt426bd862015-01-14 16:48:41 -080033
Simon Hunt7c8ab8d2015-02-03 15:05:15 -080034
35/* --- "No Devices" Layer --- */
36
37#ov-topo svg #topo-noDevsLayer {
38 visibility: hidden;
39}
40
41.light #ov-topo svg .noDevsBird {
42 fill: #ecd;
43}
44.dark #ov-topo svg .noDevsBird {
45 fill: #683434;
46}
47
48#ov-topo svg #topo-noDevsLayer text {
49 font-size: 60pt;
50 font-style: italic;
51}
52.light #ov-topo svg #topo-noDevsLayer text {
53 fill: #dde;
54}
55.dark #ov-topo svg #topo-noDevsLayer text {
56 fill: #3b3b4f;
57}
58
59
60/* --- Topo Map --- */
61
Simon Hunt426bd862015-01-14 16:48:41 -080062#ov-topo svg #topo-map {
63 stroke-width: 2px;
Simon Hunt426bd862015-01-14 16:48:41 -080064 fill: transparent;
Simon Hunt5ee36e02015-01-15 10:33:20 -080065}
66
67.light #ov-topo svg #topo-map {
Simon Hunt2362b072015-06-11 20:08:22 -070068 stroke: #ddd;
Simon Hunt5ee36e02015-01-15 10:33:20 -080069}
70.dark #ov-topo svg #topo-map {
71 stroke: #444;
72}
Simon Hunt626d2102015-01-29 11:54:50 -080073
74
Simon Hunt4b668592015-01-29 17:33:53 -080075/* --- Topo Summary Panel --- */
Simon Hunt626d2102015-01-29 11:54:50 -080076
77#topo-p-summary {
78 /* Base css from panel.css */
Simon Hunt626d2102015-01-29 11:54:50 -080079}
80
Simon Hunt08f841d02015-02-10 14:39:20 -080081/* --- Topo Detail Panel --- */
82
83#topo-p-detail {
84 /* Base css from panel.css */
Simon Hunt7b41c4a2015-06-10 10:42:01 -070085 top: 320px;
Simon Hunt08f841d02015-02-10 14:39:20 -080086}
Bri Prebilic Coled8745462015-06-01 16:08:57 -070087html[data-platform='iPad'] #topo-p-detail {
Simon Hunt7b41c4a2015-06-10 10:42:01 -070088 top: 336px;
Bri Prebilic Coled8745462015-06-01 16:08:57 -070089}
Simon Hunt08f841d02015-02-10 14:39:20 -080090
Bri Prebilic Colef5e48b12015-04-21 14:52:36 -070091#topo-p-detail .actionBtns .actionBtn {
92 display: inline-block;
93}
94#topo-p-detail .actionBtns .actionBtn svg {
95 width: 30px;
96 height: 30px;
97}
98
Simon Hunt08f841d02015-02-10 14:39:20 -080099/* --- general topo-panel styling --- */
100
Bri Prebilic Cole8d3de3d2015-05-15 16:02:59 -0700101.topo-p div.header div.icon {
102 vertical-align: middle;
103 display: inline-block;
104}
Bri Prebilic Cole684bcb72015-05-11 12:00:24 -0700105.topo-p div.body {
106 overflow-y: scroll;
107}
108
Bri Prebilic Cole0a6ffb62015-06-04 09:32:12 -0700109.topo-p div.body::-webkit-scrollbar {
110 display: none;
111}
112
Simon Hunt08f841d02015-02-10 14:39:20 -0800113.topo-p svg {
Simon Hunt626d2102015-01-29 11:54:50 -0800114 display: inline-block;
115 width: 42px;
116 height: 42px;
117}
118
Simon Hunt08f841d02015-02-10 14:39:20 -0800119.light .topo-p svg .glyph {
120 fill: #222;
121}
122
123.dark .topo-p svg .glyph.overlay {
124 fill: #222;
125}
126
127.dark .topo-p svg .glyph {
128 fill: #ddd;
129}
130.light .topo-p svg .glyph.overlay {
131 fill: #fff;
132}
133
134
135.topo-p h2 {
Bri Prebilic Cole684bcb72015-05-11 12:00:24 -0700136 padding: 0 4px;
137 margin: 0;
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -0700138 word-wrap: break-word;
Bri Prebilic Cole8d3de3d2015-05-15 16:02:59 -0700139 display: inline-block;
140 width: 210px;
141 vertical-align: middle;
Simon Hunt626d2102015-01-29 11:54:50 -0800142}
Simon Hunt08f841d02015-02-10 14:39:20 -0800143.light .topo-p h2 {
Simon Hunt626d2102015-01-29 11:54:50 -0800144 color: black;
145}
Simon Hunt08f841d02015-02-10 14:39:20 -0800146.dark .topo-p h2 {
Simon Hunt626d2102015-01-29 11:54:50 -0800147 color: #ddd;
148}
149
Simon Hunt08f841d02015-02-10 14:39:20 -0800150.topo-p h3 {
Bri Prebilic Cole684bcb72015-05-11 12:00:24 -0700151 padding: 0 4px;
152 margin: 0;
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -0700153 word-wrap: break-word;
Simon Hunt626d2102015-01-29 11:54:50 -0800154 top: 20px;
155 left: 50px;
156}
Simon Hunt08f841d02015-02-10 14:39:20 -0800157.light .topo-p h3 {
Simon Hunt626d2102015-01-29 11:54:50 -0800158 color: black;
159}
Simon Hunt08f841d02015-02-10 14:39:20 -0800160.dark .topo-p h3 {
Simon Hunt626d2102015-01-29 11:54:50 -0800161 color: #ddd;
162}
163
Simon Hunt08f841d02015-02-10 14:39:20 -0800164.topo-p p, table {
Bri Prebilic Cole684bcb72015-05-11 12:00:24 -0700165 padding: 4px;
166 margin: 0;
Simon Hunt626d2102015-01-29 11:54:50 -0800167}
168
Bri Prebilic Cole684bcb72015-05-11 12:00:24 -0700169.topo-p td {
Bri Prebilic Coleb3a6afe2015-06-24 14:10:41 -0700170 word-wrap: break-word;
Bri Prebilic Cole684bcb72015-05-11 12:00:24 -0700171}
Simon Hunt08f841d02015-02-10 14:39:20 -0800172.topo-p td.label {
Simon Hunt626d2102015-01-29 11:54:50 -0800173 font-style: italic;
174 padding-right: 12px;
175 /* works for both light and dark themes ... */
176 color: #777;
177}
Simon Hunt08f841d02015-02-10 14:39:20 -0800178.topo-p td.value {
Simon Hunt626d2102015-01-29 11:54:50 -0800179}
180
Simon Hunt08f841d02015-02-10 14:39:20 -0800181.topo-p hr {
Simon Hunt626d2102015-01-29 11:54:50 -0800182 height: 1px;
183 border: 0;
184}
Simon Hunt08f841d02015-02-10 14:39:20 -0800185.light .topo-p hr {
Simon Hunt626d2102015-01-29 11:54:50 -0800186 background-color: #ccc;
187 color: #ccc;
188}
Simon Hunt08f841d02015-02-10 14:39:20 -0800189.dark .topo-p hr {
Simon Hunt626d2102015-01-29 11:54:50 -0800190 background-color: #888;
191 color: #888;
192}
Simon Hunt4b668592015-01-29 17:33:53 -0800193
Simon Hunt4b668592015-01-29 17:33:53 -0800194/* --- Topo Instance Panel --- */
195
196#topo-p-instance {
197 height: 100px;
198}
199
200#topo-p-instance div.onosInst {
201 display: inline-block;
202 width: 170px;
203 height: 85px;
204 cursor: pointer;
205}
206
207#topo-p-instance svg rect {
Simon Hunt4b668592015-01-29 17:33:53 -0800208 stroke-width: 3.5;
209}
210#topo-p-instance .online svg rect {
211 opacity: 1;
Simon Hunta57d6812015-02-02 18:34:04 -0800212}
213.light #topo-p-instance svg rect {
214 fill: #ccc;
215 stroke: #aaa;
216}
217.light #topo-p-instance .online svg rect {
Simon Hunt4b668592015-01-29 17:33:53 -0800218 fill: #9cf;
219 stroke: #555;
220}
Simon Hunta57d6812015-02-02 18:34:04 -0800221.dark #topo-p-instance svg rect {
222 fill: #666;
223 stroke: #222;
224}
225.dark #topo-p-instance .online svg rect {
226 fill: #9cf;
227 stroke: #999;
228}
229
Simon Hunt4b668592015-01-29 17:33:53 -0800230
231#topo-p-instance svg .glyph {
232 fill: #888;
233 fill-rule: evenodd;
234}
235#topo-p-instance .online svg .glyph {
236 fill: #000;
237}
238
239#topo-p-instance svg .badgeIcon {
Simon Hunt4b668592015-01-29 17:33:53 -0800240 fill-rule: evenodd;
Simon Hunta57d6812015-02-02 18:34:04 -0800241 opacity: 0.4;
242}
243.light #topo-p-instance svg .badgeIcon {
244 fill: #777;
245}
246.dark #topo-p-instance svg .badgeIcon {
247 fill: #555;
Simon Hunt4b668592015-01-29 17:33:53 -0800248}
249
250#topo-p-instance .online svg .badgeIcon {
Simon Hunta57d6812015-02-02 18:34:04 -0800251 opacity: 1.0;
252}
253.light #topo-p-instance .online svg .badgeIcon {
254 fill: #fff;
255}
256.dark #topo-p-instance .online svg .badgeIcon {
Simon Hunt4b668592015-01-29 17:33:53 -0800257 fill: #fff;
258}
259
260#topo-p-instance svg text {
261 text-anchor: middle;
Simon Hunta57d6812015-02-02 18:34:04 -0800262 opacity: 0.3;
Simon Hunt4b668592015-01-29 17:33:53 -0800263}
264#topo-p-instance .online svg text {
Simon Hunta57d6812015-02-02 18:34:04 -0800265 opacity: 1.0;
266}
267.light #topo-p-instance svg text {
268 fill: #444;
269}
270.light #topo-p-instance .online svg text {
Simon Hunt4b668592015-01-29 17:33:53 -0800271 fill: #eee;
272}
Simon Hunta57d6812015-02-02 18:34:04 -0800273.dark #topo-p-instance svg text {
274 fill: #aaa;
275}
276.dark #topo-p-instance .online svg text {
277 fill: #ccc;
278}
Simon Hunt4b668592015-01-29 17:33:53 -0800279
280#topo-p-instance svg text.instTitle {
281 font-size: 11pt;
282 font-weight: bold;
283}
284#topo-p-instance svg text.instLabel {
285 font-size: 9pt;
286 font-style: italic;
287}
288
289#topo-p-instance .onosInst.mastership {
290 opacity: 0.3;
291}
292#topo-p-instance .onosInst.mastership.affinity {
293 opacity: 1.0;
294}
Simon Hunt0ee28682015-02-12 20:48:11 -0800295.light #topo-p-instance .onosInst.mastership.affinity svg rect {
296 filter: url(#blue-glow);
297}
298.dark #topo-p-instance .onosInst.mastership.affinity svg rect {
299 filter: url(#yellow-glow);
Simon Hunt4b668592015-01-29 17:33:53 -0800300}
Simon Huntac4c6f72015-02-03 19:50:53 -0800301
302
303/* --- Topo Nodes --- */
304
Simon Hunta142dd22015-02-12 22:07:51 -0800305#ov-topo svg .suppressed {
306 opacity: 0.2 !important;
307}
308
Simon Huntac4c6f72015-02-03 19:50:53 -0800309#ov-topo svg .node {
310 cursor: pointer;
311}
312
Simon Hunt0ee28682015-02-12 20:48:11 -0800313.light #ov-topo svg .node.selected rect,
314.light #ov-topo svg .node.selected circle {
Simon Huntac4c6f72015-02-03 19:50:53 -0800315 fill: #f90;
Simon Hunt0ee28682015-02-12 20:48:11 -0800316 filter: url(#blue-glow);
317}
318.dark #ov-topo svg .node.selected rect,
319.dark #ov-topo svg .node.selected circle {
320 fill: #f90;
321 filter: url(#yellow-glow);
Simon Huntac4c6f72015-02-03 19:50:53 -0800322}
323
324#ov-topo svg .node text {
325 pointer-events: none;
326}
327
328/* Device Nodes */
329
330#ov-topo svg .node.device {
331}
332
333#ov-topo svg .node.device rect {
334 stroke-width: 1.5;
335}
336
337#ov-topo svg .node.device.fixed rect {
338 stroke-width: 1.5;
Simon Hunt78c10bf2015-02-03 21:18:20 -0800339}
340.light #ov-topo svg .node.device.fixed rect {
341 stroke: #aaa;
342}
343.dark #ov-topo svg .node.device.fixed rect {
Simon Hunt1c367112015-02-05 18:02:46 -0800344 stroke: #999;
Simon Huntac4c6f72015-02-03 19:50:53 -0800345}
346
347/* note: device is offline without the 'online' class */
Simon Hunt1c367112015-02-05 18:02:46 -0800348.light #ov-topo svg .node.device {
Simon Huntac4c6f72015-02-03 19:50:53 -0800349 fill: #777;
350}
Simon Hunt1c367112015-02-05 18:02:46 -0800351.dark #ov-topo svg .node.device {
352 fill: #555;
353}
Simon Huntac4c6f72015-02-03 19:50:53 -0800354
Simon Hunt1c367112015-02-05 18:02:46 -0800355.light #ov-topo svg .node.device rect {
356 stroke: #666;
357}
358.light #ov-topo svg .node.device rect {
359 stroke: #999;
360}
361
362.light #ov-topo svg .node.device.online {
Simon Huntac4c6f72015-02-03 19:50:53 -0800363 fill: #6e7fa3;
364}
Simon Hunt1c367112015-02-05 18:02:46 -0800365.dark #ov-topo svg .node.device.online {
366 fill: #4E5C7F;
367}
Simon Huntac4c6f72015-02-03 19:50:53 -0800368
369/* note: device is offline without the 'online' class */
370#ov-topo svg .node.device text {
371 fill: #bbb;
372 font: 10pt sans-serif;
373}
374
375#ov-topo svg .node.device.online text {
376 fill: white;
377}
378
379#ov-topo svg .node.device .svgIcon rect {
380 fill: #aaa;
381}
382#ov-topo svg .node.device .svgIcon use {
383 fill: #777;
384}
385#ov-topo svg .node.device.selected .svgIcon rect {
386 fill: #f90;
387}
388#ov-topo svg .node.device.online .svgIcon rect {
389 fill: #ccc;
390}
391#ov-topo svg .node.device.online .svgIcon use {
392 fill: #000;
393}
394#ov-topo svg .node.device.online.selected .svgIcon rect {
395 fill: #f90;
396}
397
398
399/* Host Nodes */
400
401#ov-topo svg .node.host {
Simon Huntac4c6f72015-02-03 19:50:53 -0800402}
403
404#ov-topo svg .node.host text {
Simon Huntac4c6f72015-02-03 19:50:53 -0800405 stroke: none;
406 font: 9pt sans-serif;
407}
Simon Hunt1894d792015-02-04 17:09:20 -0800408.light #ov-topo svg .node.host text {
409 fill: #846;
410}
411.dark #ov-topo svg .node.host text {
412 fill: #BB809D;
413}
Simon Huntac4c6f72015-02-03 19:50:53 -0800414
Simon Hunt1894d792015-02-04 17:09:20 -0800415.light svg .node.host circle {
Simon Huntac4c6f72015-02-03 19:50:53 -0800416 stroke: #000;
417 fill: #edb;
418}
Simon Hunt1894d792015-02-04 17:09:20 -0800419.dark svg .node.host circle {
420 stroke: #eee;
421 fill: #B2A180;
422}
Simon Huntac4c6f72015-02-03 19:50:53 -0800423
Simon Hunt1894d792015-02-04 17:09:20 -0800424.light svg .node.host .svgIcon {
425 fill: #444;
426}
427.dark svg .node.host .svgIcon {
428 fill: #222;
429}
Simon Huntac4c6f72015-02-03 19:50:53 -0800430
Simon Hunt1894d792015-02-04 17:09:20 -0800431/* --- Topo Links --- */
Simon Huntac4c6f72015-02-03 19:50:53 -0800432
Simon Hunt1894d792015-02-04 17:09:20 -0800433#ov-topo svg .link {
434 opacity: .9;
435}
436
Simon Hunt0c6b2d32015-03-26 17:46:29 -0700437#ov-topo svg .link.selected,
438#ov-topo svg .link.enhanced {
439 stroke-width: 4.5px;
440}
441.light #ov-topo svg .link.selected,
Simon Huntd5264122015-02-25 10:17:43 -0800442.light #ov-topo svg .link.enhanced {
443 filter: url(#blue-glow);
444}
Simon Hunt0c6b2d32015-03-26 17:46:29 -0700445.dark #ov-topo svg .link.selected,
Simon Huntd5264122015-02-25 10:17:43 -0800446.dark #ov-topo svg .link.enhanced {
447 filter: url(#yellow-glow);
448}
449
Simon Hunt1894d792015-02-04 17:09:20 -0800450#ov-topo svg .link.inactive {
451 opacity: .5;
452 stroke-dasharray: 8 4;
453}
454
455#ov-topo svg .link.secondary {
456 stroke-width: 3px;
457}
458.light #ov-topo svg .link.secondary {
459 stroke: rgba(0,153,51,0.5);
460}
461.dark #ov-topo svg .link.secondary {
462 stroke: rgba(121,231,158,0.5);
463}
464
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -0700465/* Port traffic color visualization for Kbps, Mbps, and Gbps */
Simon Hunt96641372015-06-02 15:53:25 -0700466
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -0700467.light #ov-topo svg .link.secondary.port-traffic-Kbps {
Simon Hunt96641372015-06-02 15:53:25 -0700468 stroke: rgb(0,153,51);
469 stroke-width: 5.0;
470}
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -0700471.dark #ov-topo svg .link.secondary.port-traffic-Kbps {
Simon Hunt96641372015-06-02 15:53:25 -0700472 stroke: rgb(98, 153, 118);
473 stroke-width: 5.0;
474}
475
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -0700476.light #ov-topo svg .link.secondary.port-traffic-Mbps {
Simon Hunt96641372015-06-02 15:53:25 -0700477 stroke: rgb(128,145,27);
478 stroke-width: 6.5;
479}
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -0700480.dark #ov-topo svg .link.secondary.port-traffic-Mbps {
Simon Hunt96641372015-06-02 15:53:25 -0700481 stroke: rgb(91, 109, 54);
482 stroke-width: 6.5;
483}
484
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -0700485.light #ov-topo svg .link.secondary.port-traffic-Gbps {
Simon Hunt96641372015-06-02 15:53:25 -0700486 stroke: rgb(255, 137, 3);
487 stroke-width: 8.0;
488}
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -0700489.dark #ov-topo svg .link.secondary.port-traffic-Gbps {
Simon Hunt96641372015-06-02 15:53:25 -0700490 stroke: rgb(174, 119, 55);
491 stroke-width: 8.0;
492}
493
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -0700494.light #ov-topo svg .link.secondary.port-traffic-Gbps-choked {
Simon Hunt96641372015-06-02 15:53:25 -0700495 stroke: rgb(183, 30, 21);
496 stroke-width: 8.0;
497}
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -0700498.dark #ov-topo svg .link.secondary.port-traffic-Gbps-choked {
Simon Hunt96641372015-06-02 15:53:25 -0700499 stroke: rgb(127, 40, 39);
500 stroke-width: 8.0;
501}
502
503
Simon Hunt1894d792015-02-04 17:09:20 -0800504#ov-topo svg .link.primary {
505 stroke-width: 4px;
506}
507.light #ov-topo svg .link.primary {
508 stroke: #ffA300;
509}
510.dark #ov-topo svg .link.primary {
511 stroke: #D58E0F;
512}
513
Simon Hunt1894d792015-02-04 17:09:20 -0800514#ov-topo svg .link.secondary.optical {
515 stroke-width: 4px;
516}
517.light #ov-topo svg .link.secondary.optical {
518 stroke: rgba(128,64,255,0.5);
519}
520.dark #ov-topo svg .link.secondary.optical {
521 stroke: rgba(164,139,215,0.5);
522}
523
524#ov-topo svg .link.primary.optical {
525 stroke-width: 6px;
526}
527.light #ov-topo svg .link.primary.optical {
528 stroke: #74f;
529}
530.dark #ov-topo svg .link.primary.optical {
531 stroke: #7352CD;
532}
533
Simon Hunt1a5301e2015-02-25 15:31:25 -0800534/* Link Labels */
535
Simon Hunt1894d792015-02-04 17:09:20 -0800536#ov-topo svg .linkLabel rect {
537 stroke: none;
538}
539.light #ov-topo svg .linkLabel rect {
540 fill: #eee;
541}
542.dark #ov-topo svg .linkLabel rect {
Simon Hunt8eb4d3a2015-02-23 18:23:29 -0800543 fill: #555;
Simon Hunt1894d792015-02-04 17:09:20 -0800544}
545
546#ov-topo svg .linkLabel text {
547 text-anchor: middle;
548 stroke-width: 0.1;
549 font-size: 9pt;
550}
551.light #ov-topo svg .linkLabel text {
Simon Hunt8eb4d3a2015-02-23 18:23:29 -0800552 fill: #444;
Simon Hunt1894d792015-02-04 17:09:20 -0800553}
554.dark #ov-topo svg .linkLabel text {
Simon Hunt8eb4d3a2015-02-23 18:23:29 -0800555 fill: #eee;
Simon Hunt1894d792015-02-04 17:09:20 -0800556}
Simon Hunteb0fa052015-02-17 19:20:28 -0800557
Simon Hunt1a5301e2015-02-25 15:31:25 -0800558/* Port Labels */
559
560#ov-topo svg .portLabel rect {
561 stroke: none;
562}
563.light #ov-topo svg .portLabel rect {
564 fill: #eee;
565}
566.dark #ov-topo svg .portLabel rect {
Simon Hunt969b3c92015-02-25 18:11:31 -0800567 fill: #222;
Simon Hunt1a5301e2015-02-25 15:31:25 -0800568}
569
570#ov-topo svg .portLabel text {
571 text-anchor: middle;
572 stroke-width: 0.1;
Simon Hunt969b3c92015-02-25 18:11:31 -0800573 font-size: 11pt;
Simon Hunt1a5301e2015-02-25 15:31:25 -0800574}
575.light #ov-topo svg .portLabel text {
576 fill: #444;
577}
578.dark #ov-topo svg .portLabel text {
579 fill: #eee;
580}
581
Bri Prebilic Cole80401762015-07-16 11:36:18 -0700582/* Number of Links Labels */
583#ov-topo line.numLinkHash {
584 stroke-width: 3;
585}
586
587#ov-topo text.numLinkText {
588 font-size: 15pt;
589}
590
591#ov-topo text.numLinkText {
592 text-anchor: middle;
593}
594
595.light #ov-topo text.numLinkText {
596 fill: #444;
597}
598.dark #ov-topo text.numLinkText {
599 fill: #eee;
600}
601
Simon Huntabf66d92015-04-15 12:57:31 -0700602/* ------------------------------------------------- */
Simon Hunt2052e5d2015-04-13 17:40:44 -0700603/* Sprite Layer */
604
Simon Huntabf66d92015-04-15 12:57:31 -0700605#ov-topo svg #topo-sprites use {
Simon Huntb2c4cc82015-04-15 17:16:28 -0700606 stroke-width: 2;
Simon Huntabf66d92015-04-15 12:57:31 -0700607}
Simon Hunt2052e5d2015-04-13 17:40:44 -0700608#ov-topo svg #topo-sprites text {
609 text-anchor: middle;
Simon Huntb2c4cc82015-04-15 17:16:28 -0700610 font-size: 20pt;
Simon Hunt2052e5d2015-04-13 17:40:44 -0700611 font-style: italic;
612}
613
Simon Huntabf66d92015-04-15 12:57:31 -0700614.light #ov-topo svg #topo-sprites .gold1 use {
Simon Hunt017a7c32015-04-15 19:23:27 -0700615 stroke: #fda;
Simon Hunt2052e5d2015-04-13 17:40:44 -0700616 fill: none;
617}
Simon Huntabf66d92015-04-15 12:57:31 -0700618.dark #ov-topo svg #topo-sprites .gold1 use {
Simon Hunt2052e5d2015-04-13 17:40:44 -0700619 stroke: #541;
620 fill: none;
621}
Simon Huntabf66d92015-04-15 12:57:31 -0700622.light #ov-topo svg #topo-sprites .gold1 text {
Simon Hunt2052e5d2015-04-13 17:40:44 -0700623 fill: #eda;
624}
Simon Huntabf66d92015-04-15 12:57:31 -0700625.dark #ov-topo svg #topo-sprites .gold1 text {
Simon Hunt2052e5d2015-04-13 17:40:44 -0700626 fill: #543;
627}
628
Simon Huntabf66d92015-04-15 12:57:31 -0700629.light #ov-topo svg #topo-sprites .blue1 use {
Simon Hunt2052e5d2015-04-13 17:40:44 -0700630 stroke: #bbd;
Simon Hunt2052e5d2015-04-13 17:40:44 -0700631 fill: none;
632}
Simon Huntabf66d92015-04-15 12:57:31 -0700633.dark #ov-topo svg #topo-sprites .blue1 use {
Simon Hunt2052e5d2015-04-13 17:40:44 -0700634 stroke: #445;
Simon Hunt2052e5d2015-04-13 17:40:44 -0700635 fill: none;
636}
Simon Huntabf66d92015-04-15 12:57:31 -0700637.light #ov-topo svg #topo-sprites .blue1 text {
Simon Hunt2052e5d2015-04-13 17:40:44 -0700638 fill: #cce;
639}
Simon Huntabf66d92015-04-15 12:57:31 -0700640.dark #ov-topo svg #topo-sprites .blue1 text {
Simon Hunt2052e5d2015-04-13 17:40:44 -0700641 fill: #446;
642}
Simon Huntabf66d92015-04-15 12:57:31 -0700643
644.light #ov-topo svg #topo-sprites .gray1 use {
Simon Huntb2c4cc82015-04-15 17:16:28 -0700645 stroke: #ccc;
Simon Huntabf66d92015-04-15 12:57:31 -0700646 fill: none;
647}
648.dark #ov-topo svg #topo-sprites .gray1 use {
649 stroke: #333;
650 fill: none;
651}
652.light #ov-topo svg #topo-sprites .gray1 text {
Simon Huntb2c4cc82015-04-15 17:16:28 -0700653 fill: #ddd;
Simon Huntabf66d92015-04-15 12:57:31 -0700654}
655.dark #ov-topo svg #topo-sprites .gray1 text {
656 fill: #444;
657}
658
Simon Hunt7f62f7c2015-05-11 17:38:02 -0700659/* fills */
660.light #ov-topo svg #topo-sprites use.fill-gray2 {
661 fill: #eee;
662}
663.dark #ov-topo svg #topo-sprites use.fill-gray2 {
664 fill: #444;
665}
666
667.light #ov-topo svg #topo-sprites use.fill-blue2 {
668 fill: #bce;
669}
670.dark #ov-topo svg #topo-sprites use.fill-blue2 {
671 fill: #447;
672}
673