blob: 768c506e78596d5c0df8b4fcdd60390df939e924 [file] [log] [blame]
Simon Hunt58894c82016-05-24 15:09:02 -07001/*
2 * Copyright 2016-present 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 (theme) -- CSS file
19 */
20
21/* --- Base SVG Layer --- */
22
Simon Huntf44d7262016-06-14 14:46:56 -070023#ov-topo svg {
Simon Hunta9761342016-06-10 18:02:53 -070024 background-color: #f4f4f4;
Simon Hunt58894c82016-05-24 15:09:02 -070025}
26
27/* --- "No Devices" Layer --- */
28
Simon Huntf44d7262016-06-14 14:46:56 -070029#ov-topo svg .noDevsBird {
Simon Hunta9761342016-06-10 18:02:53 -070030 fill: #db7773;
Simon Hunt58894c82016-05-24 15:09:02 -070031}
32
Simon Huntf44d7262016-06-14 14:46:56 -070033#ov-topo svg #topo-noDevsLayer text {
Simon Hunta9761342016-06-10 18:02:53 -070034 fill: #7e9aa8;
Simon Hunt58894c82016-05-24 15:09:02 -070035}
36
37/* --- Topo Map --- */
38
Simon Huntf44d7262016-06-14 14:46:56 -070039#ov-topo svg #topo-map {
Simon Hunta9761342016-06-10 18:02:53 -070040 stroke-width: 2px;
41 stroke: #f4f4f4;
42 fill: #e5e5e6;
Simon Hunt58894c82016-05-24 15:09:02 -070043}
44
45/* --- general topo-panel styling --- */
46
Simon Hunt8f907cc2016-06-15 18:04:01 -070047.topo-p svg {
48 background: #c0242b;
49}
50
Simon Huntf44d7262016-06-14 14:46:56 -070051.topo-p svg .glyph {
Simon Hunt8f907cc2016-06-15 18:04:01 -070052 fill: #ffffff;
Simon Hunt58894c82016-05-24 15:09:02 -070053}
54
Simon Huntf44d7262016-06-14 14:46:56 -070055.topo-p hr {
Simon Hunt8f907cc2016-06-15 18:04:01 -070056 background-color: #cccccc;
Simon Hunt58894c82016-05-24 15:09:02 -070057}
Simon Hunt58894c82016-05-24 15:09:02 -070058
Simon Hunt8f907cc2016-06-15 18:04:01 -070059#topo-p-detail svg {
60 background: none;
61}
62
63#topo-p-detail .header svg .glyph {
64 fill: #c0242b;
65}
66
Simon Huntc217cb92016-08-30 16:17:51 -070067#toolbar-topo-tbar .tbar-row.right {
68 color: #aaa;
69}
Simon Hunt8f907cc2016-06-15 18:04:01 -070070
Simon Hunt58894c82016-05-24 15:09:02 -070071/* --- Topo Instance Panel --- */
72
73#topo-p-instance svg rect {
Simon Hunta9761342016-06-10 18:02:53 -070074 stroke-width: 0;
Simon Hunta9761342016-06-10 18:02:53 -070075 fill: #fbfbfb;
Simon Hunt58894c82016-05-24 15:09:02 -070076}
77
Simon Huntf44d7262016-06-14 14:46:56 -070078/* body of an instance */
79#topo-p-instance .online svg rect {
80 opacity: 1;
81 fill: #fbfbfb;
82}
Simon Hunt58894c82016-05-24 15:09:02 -070083
84#topo-p-instance svg .glyph {
Simon Hunta9761342016-06-10 18:02:53 -070085 fill: #fff;
Simon Hunt58894c82016-05-24 15:09:02 -070086}
87#topo-p-instance .online svg .glyph {
Simon Hunta9761342016-06-10 18:02:53 -070088 fill: #fff;
Simon Hunt58894c82016-05-24 15:09:02 -070089}
Simon Huntbb0f2672017-03-28 18:52:59 -070090.dark #topo-p-instance .online svg .glyph.overlay {
91 fill: #fff;
92}
Simon Hunt58894c82016-05-24 15:09:02 -070093
94
Simon Hunta9761342016-06-10 18:02:53 -070095/* offline */
Simon Hunt58894c82016-05-24 15:09:02 -070096#topo-p-instance svg .badgeIcon {
Simon Hunt58894c82016-05-24 15:09:02 -070097 opacity: 0.4;
Simon Hunta9761342016-06-10 18:02:53 -070098 fill: #939598;
Simon Hunt58894c82016-05-24 15:09:02 -070099}
100
Simon Hunta9761342016-06-10 18:02:53 -0700101/* online */
Simon Hunt58894c82016-05-24 15:09:02 -0700102#topo-p-instance .online svg .badgeIcon {
103 opacity: 1.0;
Simon Hunta9761342016-06-10 18:02:53 -0700104 fill: #939598;
Simon Hunt58894c82016-05-24 15:09:02 -0700105}
Simon Huntf44d7262016-06-14 14:46:56 -0700106#topo-p-instance .online svg .badgeIcon.bird {
Simon Hunta9761342016-06-10 18:02:53 -0700107 fill: #ffffff;
108}
109
110#topo-p-instance svg .readyBadge {
111 visibility: hidden;
112}
113#topo-p-instance .ready svg .readyBadge {
114 visibility: visible;
Simon Hunt58894c82016-05-24 15:09:02 -0700115}
116
117#topo-p-instance svg text {
Simon Hunta9761342016-06-10 18:02:53 -0700118 text-anchor: left;
119 opacity: 0.5;
Simon Hunta9761342016-06-10 18:02:53 -0700120 fill: #3c3a3a;
Simon Hunt58894c82016-05-24 15:09:02 -0700121}
Simon Huntf44d7262016-06-14 14:46:56 -0700122
123#topo-p-instance .online svg text {
124 opacity: 1.0;
Simon Hunta9761342016-06-10 18:02:53 -0700125 fill: #3c3a3a;
Simon Hunt58894c82016-05-24 15:09:02 -0700126}
127
128#topo-p-instance .onosInst.mastership {
129 opacity: 0.3;
130}
131#topo-p-instance .onosInst.mastership.affinity {
132 opacity: 1.0;
133}
Simon Huntf44d7262016-06-14 14:46:56 -0700134#topo-p-instance .onosInst.mastership.affinity svg rect {
Simon Hunt58894c82016-05-24 15:09:02 -0700135 filter: url(#blue-glow);
136}
Simon Hunta9761342016-06-10 18:02:53 -0700137
Simon Huntf44d7262016-06-14 14:46:56 -0700138.firefox #topo-p-instance .onosInst.mastership.affinity svg rect {
Simon Hunt58894c82016-05-24 15:09:02 -0700139 filter: url("data:image/svg+xml;utf8, <svg xmlns = \'http://www.w3.org/2000/svg\'><filter x=\"-50%\" y=\"-50%\" width=\"200%\" height=\"200%\" id=\"blue-glow\"><feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0 0 0 1 0 \"></feColorMatrix><feGaussianBlur stdDeviation=\"3\" result=\"coloredBlur\"></feGaussianBlur><feMerge><feMergeNode in=\"coloredBlur\"></feMergeNode><feMergeNode in=\"SourceGraphic\"></feMergeNode></feMerge></filter></svg>#blue-glow");
140}
Simon Hunt58894c82016-05-24 15:09:02 -0700141
142/* --- Topo Nodes --- */
143
144#ov-topo svg .suppressed {
145 opacity: 0.5 !important;
146}
147
148#ov-topo svg .suppressedmax {
149 opacity: 0.2 !important;
150}
151
Simon Hunt58894c82016-05-24 15:09:02 -0700152/* Device Nodes */
153
Simon Huntf44d7262016-06-14 14:46:56 -0700154/* note: device without the 'online' class is offline */
Simon Hunt58894c82016-05-24 15:09:02 -0700155#ov-topo svg .node.device rect {
Simon Huntf44d7262016-06-14 14:46:56 -0700156 /* TODO: theme */
157 fill: #f0f0f0;
Simon Hunt58894c82016-05-24 15:09:02 -0700158}
Simon Hunt58894c82016-05-24 15:09:02 -0700159#ov-topo svg .node.device text {
Simon Huntf44d7262016-06-14 14:46:56 -0700160 /*TODO: theme*/
Simon Hunt58894c82016-05-24 15:09:02 -0700161 fill: #bbb;
Simon Hunt58894c82016-05-24 15:09:02 -0700162}
Simon Huntf44d7262016-06-14 14:46:56 -0700163#ov-topo svg .node.device use {
164 /*TODO: theme*/
Simon Hunte9062fc2016-12-22 11:40:06 -0800165 fill: #eee;
Simon Hunt58894c82016-05-24 15:09:02 -0700166}
Simon Huntf44d7262016-06-14 14:46:56 -0700167
168
169#ov-topo svg .node.device.online rect {
170 fill: #ffffff;
Simon Hunt58894c82016-05-24 15:09:02 -0700171}
Simon Huntf44d7262016-06-14 14:46:56 -0700172#ov-topo svg .node.device.online text {
173 fill: #3c3a3a;
Simon Hunt58894c82016-05-24 15:09:02 -0700174}
Simon Huntf44d7262016-06-14 14:46:56 -0700175#ov-topo svg .node.device.online use {
Simon Hunte9062fc2016-12-22 11:40:06 -0800176 fill: #fff;
Simon Hunt58894c82016-05-24 15:09:02 -0700177}
Simon Huntf44d7262016-06-14 14:46:56 -0700178
179
180#ov-topo svg .node.device.selected rect {
Simon Hunt4766dfb2016-06-14 17:16:22 -0700181 stroke-width: 2.0;
182 stroke: #009fdb;
Simon Hunt58894c82016-05-24 15:09:02 -0700183}
184
185/* Badges */
Simon Huntf44d7262016-06-14 14:46:56 -0700186/* (... works for bothand dark themes...) */
Simon Hunt58894c82016-05-24 15:09:02 -0700187#ov-topo svg .node .badge circle {
188 stroke: #aaa;
189}
190
191#ov-topo svg .node .badge.badgeInfo circle {
192 fill: #99d;
193}
194
195#ov-topo svg .node .badge.badgeWarn circle {
196 fill: #da2;
197}
198
199#ov-topo svg .node .badge.badgeError circle {
200 fill: #e44;
201}
202
203#ov-topo svg .node .badge use {
204 fill: white !important;
205}
206
207#ov-topo svg .node .badge.badgeInfo use {
208 fill: #448;
209}
210
211#ov-topo svg .node .badge text {
212 fill: white !important;
213}
214
215#ov-topo svg .node .badge.badgeInfo text {
216 fill: #448;
217}
218
219/* Host Nodes */
220
221#ov-topo svg .node.host {
222}
223
224#ov-topo svg .node.host text {
225 stroke: none;
226 font: 9pt sans-serif;
Simon Hunt58894c82016-05-24 15:09:02 -0700227 fill: #846;
228}
Simon Hunt58894c82016-05-24 15:09:02 -0700229
Simon Hunt4766dfb2016-06-14 17:16:22 -0700230#ov-topo svg .node.host circle {
Simon Huntf44d7262016-06-14 14:46:56 -0700231 stroke: #a3a596;
232 fill: #e0dfd6;
Simon Hunt58894c82016-05-24 15:09:02 -0700233}
Simon Hunta5487ad2016-06-16 13:10:41 -0700234#ov-topo svg .node.host.selected .hostIcon > circle {
Simon Hunt4766dfb2016-06-14 17:16:22 -0700235 stroke-width: 2.0;
236 stroke: #009fdb;
237}
Simon Hunt58894c82016-05-24 15:09:02 -0700238
Simon Hunt4766dfb2016-06-14 17:16:22 -0700239#ov-topo svg .node.host use {
240 fill: #3c3a3a;
Simon Hunt58894c82016-05-24 15:09:02 -0700241}
Simon Hunt58894c82016-05-24 15:09:02 -0700242
243/* --- Topo Links --- */
244
245#ov-topo svg .link {
246 opacity: .9;
247}
248
249#ov-topo svg .link.selected,
250#ov-topo svg .link.enhanced {
Simon Hunt4766dfb2016-06-14 17:16:22 -0700251 stroke-width: 3.5;
252 stroke: #009fdb;
Simon Hunt58894c82016-05-24 15:09:02 -0700253}
Simon Hunt58894c82016-05-24 15:09:02 -0700254
255#ov-topo svg .link.inactive {
256 opacity: .5;
257 stroke-dasharray: 8 4;
258}
Simon Hunt58894c82016-05-24 15:09:02 -0700259#ov-topo svg .link.not-permitted {
260 stroke: rgb(255,0,0);
261 stroke-width: 5.0;
262 stroke-dasharray: 8 4;
263}
264
265#ov-topo svg .link.secondary {
266 stroke-width: 3px;
Simon Hunt58894c82016-05-24 15:09:02 -0700267 stroke: rgba(0,153,51,0.5);
268}
Simon Hunt58894c82016-05-24 15:09:02 -0700269
270/* Port traffic color visualization for Kbps, Mbps, and Gbps */
271
Simon Huntf44d7262016-06-14 14:46:56 -0700272#ov-topo svg .link.secondary.port-traffic-Kbps {
Simon Hunt58894c82016-05-24 15:09:02 -0700273 stroke: rgb(0,153,51);
274 stroke-width: 5.0;
275}
Simon Hunt58894c82016-05-24 15:09:02 -0700276
Simon Huntf44d7262016-06-14 14:46:56 -0700277#ov-topo svg .link.secondary.port-traffic-Mbps {
Simon Hunt58894c82016-05-24 15:09:02 -0700278 stroke: rgb(128,145,27);
279 stroke-width: 6.5;
280}
Simon Hunt58894c82016-05-24 15:09:02 -0700281
Simon Huntf44d7262016-06-14 14:46:56 -0700282#ov-topo svg .link.secondary.port-traffic-Gbps {
Simon Hunt58894c82016-05-24 15:09:02 -0700283 stroke: rgb(255, 137, 3);
284 stroke-width: 8.0;
285}
Simon Hunt58894c82016-05-24 15:09:02 -0700286
Simon Huntf44d7262016-06-14 14:46:56 -0700287#ov-topo svg .link.secondary.port-traffic-Gbps-choked {
Simon Hunt58894c82016-05-24 15:09:02 -0700288 stroke: rgb(183, 30, 21);
289 stroke-width: 8.0;
290}
Simon Hunt58894c82016-05-24 15:09:02 -0700291
292
293
294#ov-topo svg .link.animated {
295 stroke-dasharray: 8 5;
296 animation: ants 5s infinite linear;
Simon Hunt4766dfb2016-06-14 17:16:22 -0700297 /* below line could be added via Javascript, based on path, if we cared
298 * enough about the direction of ant-flow
299 */
Simon Hunt58894c82016-05-24 15:09:02 -0700300 /*animation-direction: reverse;*/
301}
302@keyframes ants {
303 from {
304 stroke-dashoffset: 0;
305 }
306 to {
307 stroke-dashoffset: 400;
308 }
309}
310
311#ov-topo svg .link.primary {
312 stroke-width: 4px;
Simon Hunt58894c82016-05-24 15:09:02 -0700313 stroke: #ffA300;
314}
Simon Hunt58894c82016-05-24 15:09:02 -0700315
316#ov-topo svg .link.secondary.optical {
317 stroke-width: 4px;
Simon Hunt58894c82016-05-24 15:09:02 -0700318 stroke: rgba(128,64,255,0.5);
319}
Simon Hunt58894c82016-05-24 15:09:02 -0700320
321#ov-topo svg .link.primary.optical {
322 stroke-width: 6px;
Simon Hunt58894c82016-05-24 15:09:02 -0700323 stroke: #74f;
324}
Simon Hunt58894c82016-05-24 15:09:02 -0700325
326/* Link Labels */
327#ov-topo svg .linkLabel rect {
328 stroke: none;
Simon Hunt4766dfb2016-06-14 17:16:22 -0700329 fill: #ffffff;
Simon Hunt58894c82016-05-24 15:09:02 -0700330}
Simon Hunt58894c82016-05-24 15:09:02 -0700331
Simon Huntf44d7262016-06-14 14:46:56 -0700332#ov-topo svg .linkLabel text {
Simon Hunt58894c82016-05-24 15:09:02 -0700333 fill: #444;
334}
Simon Hunt58894c82016-05-24 15:09:02 -0700335
336/* Port Labels */
337
338#ov-topo svg .portLabel rect {
Simon Hunt4766dfb2016-06-14 17:16:22 -0700339 stroke: #a3a596;
340 fill: #ffffff;
Simon Hunt58894c82016-05-24 15:09:02 -0700341}
Simon Hunt58894c82016-05-24 15:09:02 -0700342
Simon Huntf44d7262016-06-14 14:46:56 -0700343#ov-topo svg .portLabel text {
Simon Hunt58894c82016-05-24 15:09:02 -0700344 fill: #444;
345}
Simon Hunt58894c82016-05-24 15:09:02 -0700346
347/* Number of Links Labels */
348
349
Simon Huntf44d7262016-06-14 14:46:56 -0700350#ov-topo text.numLinkText {
Simon Hunt58894c82016-05-24 15:09:02 -0700351 fill: #444;
352}
Simon Hunt58894c82016-05-24 15:09:02 -0700353
354/* ------------------------------------------------- */
355/* Sprite Layer */
356
Simon Huntf44d7262016-06-14 14:46:56 -0700357#ov-topo svg #topo-sprites .gold1 use {
Simon Hunt58894c82016-05-24 15:09:02 -0700358 stroke: #fda;
359 fill: none;
360}
Simon Huntf44d7262016-06-14 14:46:56 -0700361#ov-topo svg #topo-sprites .gold1 text {
Simon Hunt58894c82016-05-24 15:09:02 -0700362 fill: #eda;
363}
Simon Hunt58894c82016-05-24 15:09:02 -0700364
Simon Huntf44d7262016-06-14 14:46:56 -0700365#ov-topo svg #topo-sprites .blue1 use {
Simon Hunt58894c82016-05-24 15:09:02 -0700366 stroke: #bbd;
367 fill: none;
368}
Simon Huntf44d7262016-06-14 14:46:56 -0700369#ov-topo svg #topo-sprites .blue1 text {
Simon Hunt58894c82016-05-24 15:09:02 -0700370 fill: #cce;
371}
Simon Hunt58894c82016-05-24 15:09:02 -0700372
Simon Huntf44d7262016-06-14 14:46:56 -0700373#ov-topo svg #topo-sprites .gray1 use {
Simon Hunt58894c82016-05-24 15:09:02 -0700374 stroke: #ccc;
375 fill: none;
376}
Simon Huntf44d7262016-06-14 14:46:56 -0700377#ov-topo svg #topo-sprites .gray1 text {
Simon Hunt58894c82016-05-24 15:09:02 -0700378 fill: #ddd;
379}
Simon Hunt58894c82016-05-24 15:09:02 -0700380
381/* fills */
Simon Huntf44d7262016-06-14 14:46:56 -0700382#ov-topo svg #topo-sprites use.fill-gray2 {
Simon Hunt58894c82016-05-24 15:09:02 -0700383 fill: #eee;
384}
Simon Hunt58894c82016-05-24 15:09:02 -0700385
Simon Huntf44d7262016-06-14 14:46:56 -0700386#ov-topo svg #topo-sprites use.fill-blue2 {
Simon Hunt58894c82016-05-24 15:09:02 -0700387 fill: #bce;
388}
Simon Huntbb0f2672017-03-28 18:52:59 -0700389
390
391/* ==================================================================== */
392/* From here are the DARK theme styles - mirroring the above styles */
393/* ==================================================================== */
394
395/* --- Base SVG Layer --- */
396
397.dark #ov-topo svg {
398 background-color: #152439;
399}
400
401
402/* --- "No Devices" Layer --- */
403
404.dark #ov-topo svg .noDevsBird {
405 fill: #8f4848;
406}
407
408.dark #ov-topo svg #topo-noDevsLayer text {
409 fill: #445461;
410}
411
412/* --- Topo Map --- */
413
414.dark #ov-topo svg #topo-map {
415 stroke-width: 2px;
416 stroke: #37404d;
417 fill: #212c3a;
418}
419
420/* --- general topo-panel styling --- */
421
422.dark .topo-p {
423 background-color: #2f313c;
424 color: #c2c2b7;
425}
426.dark .topo-p svg {
427 background: #8e1e24;
428}
429
430.dark .topo-p svg .glyph {
431 fill: #c2c2b7;
432}
433
434.dark .topo-p hr {
435 background-color: #616876;
436}
437
438.dark .topo-p div.actionBtn svg use.glyph {
439 fill: #5a7f96;
440}
441
442.dark #topo-p-detail .header svg .glyph {
443 fill: #91292f;
444}
445
446.dark #toolbar-topo-tbar .tbar-row.right {
447 color: #666;
448}
449
450/* --- Topo Instance Panel --- */
451
452.dark #topo-p-instance {
453 background-color: #2f313c;
454 color: #c2c2b7;
455 border: 1px solid #364144;
456
457}
458
459.dark #topo-p-instance svg rect {
460 stroke-width: 0;
461 fill: #525660;
462}
463
464/* body of an instance */
465.dark #topo-p-instance .online svg rect {
466 opacity: 1;
467 fill: #838992;
468}
469
470.dark #topo-p-instance svg .glyph {
471 fill: #ddd;
472}
473.dark #topo-p-instance .online svg .glyph {
474 fill: #fff;
475}
476.dark #topo-p-instance .online svg .glyph.overlay {
477 fill: #c7c7c7;
478}
479
480/* offline */
481.dark #topo-p-instance svg .badgeIcon {
482 opacity: 0.4;
483 fill: #939598;
484}
485
486/* online */
487.dark #topo-p-instance .online svg .badgeIcon {
488 opacity: 1.0;
489 fill: #939598;
490}
491.dark #topo-p-instance .online svg .badgeIcon.bird {
492 fill: #ffffff;
493}
494
495.dark #topo-p-instance svg text {
496 text-anchor: left;
497 opacity: 0.5;
498 fill: #aaa;
499}
500
501.dark #topo-p-instance .online svg text {
502 opacity: 1.0;
503 fill: #fff;
504}
505
506.dark #topo-p-instance .onosInst.mastership {
507 opacity: 0.3;
508}
509.dark #topo-p-instance .onosInst.mastership.affinity {
510 opacity: 1.0;
511}
512.dark #topo-p-instance .onosInst.mastership.affinity svg rect {
513 filter: url(#blue-glow);
514}
515
516.dark.firefox #topo-p-instance .onosInst.mastership.affinity svg rect {
517 filter: url("data:image/svg+xml;utf8, <svg xmlns = \'http://www.w3.org/2000/svg\'><filter x=\"-50%\" y=\"-50%\" width=\"200%\" height=\"200%\" id=\"blue-glow\"><feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.7 0 0 0 1 0 \"></feColorMatrix><feGaussianBlur stdDeviation=\"3\" result=\"coloredBlur\"></feGaussianBlur><feMerge><feMergeNode in=\"coloredBlur\"></feMergeNode><feMergeNode in=\"SourceGraphic\"></feMergeNode></feMerge></filter></svg>#blue-glow");
518}
519
520/* --- Topo Nodes --- */
521
522/* Device Nodes */
523
524/* note: device without the 'online' class is offline */
525.dark #ov-topo svg .node.device rect {
526 fill: #707070;
527}
528.dark #ov-topo svg .node.device text {
529 fill: #444;
530}
531.dark #ov-topo svg .node.device use {
532 fill: #eee;
533}
534
535.dark #ov-topo svg .node.device.online rect {
536 fill: #525660;
537}
538.dark #ov-topo svg .node.device.online text {
539 fill: #fff;
540}
541.dark #ov-topo svg .node.device.online use {
542 fill: #fff;
543}
544
545.dark #ov-topo svg .node.device.selected rect {
546 stroke-width: 2.0;
547 stroke: #009fdb;
548}
549
550
551/* Host Nodes */
552
553.dark #ov-topo svg .node.host {
554}
555
556.dark #ov-topo svg .node.host text {
557 stroke: none;
558 font: 9pt sans-serif;
559 fill: #ad5781;
560}
561
562.dark #ov-topo svg .node.host circle {
563 stroke: #a3a596;
564 fill: #8f8272;
565}
566.dark #ov-topo svg .node.host.selected .hostIcon > circle {
567 stroke-width: 2.0;
568 stroke: #009fdb;
569}
570
571.dark #ov-topo svg .node.host use {
572 fill: #000;
573}
574
575/* --- Topo Links --- */
576.dark #ov-topo svg .link.not-permitted {
577 stroke: rgb(255, 60, 60);
578}
579
580/* Port traffic color visualization for Kbps, Mbps, and Gbps */
581/* .. values good for both light and dark themes */
582
583/* Primary, Secondary (optical too) colors good for both themes */
584
585/* Link Labels */
586.dark #ov-topo svg .linkLabel rect {
587 fill: #555;
588}
589
590.dark #ov-topo svg .linkLabel text {
591 fill: #eee;
592}
593
594/* Port Labels */
595
596.dark #ov-topo svg .portLabel rect {
597 fill: #222;
598}
599
600.dark #ov-topo svg .portLabel text {
601 fill: #eee;
602}
603
604/* Number of Links Labels */
605
606.dark #ov-topo text.numLinkText {
607 fill: #eee;
608}
609
610
611/* Sprite Layer */
612
613.dark #ov-topo svg #topo-sprites .gold1 use {
614 stroke: #541;
615}
616.dark #ov-topo svg #topo-sprites .gold1 text {
617 fill: #543;
618}
619
620.dark #ov-topo svg #topo-sprites .blue1 use {
621 stroke: #445;
622}
623.dark #ov-topo svg #topo-sprites .blue1 text {
624 fill: #446;
625}
626
627.dark #ov-topo svg #topo-sprites .gray1 use {
628 stroke: #333;
629}
630.dark #ov-topo svg #topo-sprites .gray1 text {
631 fill: #444;
632}
633
634/* fills */
635.dark #ov-topo svg #topo-sprites use.fill-gray2 {
636 fill: #444;
637}
638
639.dark #ov-topo svg #topo-sprites use.fill-blue2 {
640 fill: #447;
641}