blob: 5f8f8d50cb4ed9aaf31de233faffe38b4dd1d5e7 [file] [log] [blame]
Simon Hunt58894c82016-05-24 15:09:02 -07001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2016-present Open Networking Foundation
Simon Hunt58894c82016-05-24 15:09:02 -07003 *
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 {
Simon Hunta58d8942017-08-11 12:51:14 -070048 background: none;
Simon Hunt8f907cc2016-06-15 18:04:01 -070049}
50
Simon Huntf44d7262016-06-14 14:46:56 -070051.topo-p svg .glyph {
Simon Hunta58d8942017-08-11 12:51:14 -070052 fill: #c0242b;
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
Simon Hunt21281fd2017-03-30 22:28:28 -0700270/* Port traffic color visualization:
Simon Hunt58894c82016-05-24 15:09:02 -0700271
Simon Hunt21281fd2017-03-30 22:28:28 -0700272 For bits per second we will use:
273 - green for Kbps,
274 - yellow for Mbps,
275 - orange for Gbps, and
276 - red for > 10 Gbps
277
278 For packets per second we will use:
279 - green for > 0
280 - yellow for > ?
281 - orange for > ??
282 - red for > ???
283*/
284
285#ov-topo svg .link.secondary.port-traffic-green {
Simon Hunt58894c82016-05-24 15:09:02 -0700286 stroke: rgb(0,153,51);
287 stroke-width: 5.0;
288}
Simon Hunt58894c82016-05-24 15:09:02 -0700289
Simon Hunt21281fd2017-03-30 22:28:28 -0700290#ov-topo svg .link.secondary.port-traffic-yellow {
Simon Hunt58894c82016-05-24 15:09:02 -0700291 stroke: rgb(128,145,27);
292 stroke-width: 6.5;
293}
Simon Hunt58894c82016-05-24 15:09:02 -0700294
Simon Hunt21281fd2017-03-30 22:28:28 -0700295#ov-topo svg .link.secondary.port-traffic-orange {
Simon Hunt58894c82016-05-24 15:09:02 -0700296 stroke: rgb(255, 137, 3);
297 stroke-width: 8.0;
298}
Simon Hunt58894c82016-05-24 15:09:02 -0700299
Simon Hunt21281fd2017-03-30 22:28:28 -0700300#ov-topo svg .link.secondary.port-traffic-red {
Simon Hunt58894c82016-05-24 15:09:02 -0700301 stroke: rgb(183, 30, 21);
302 stroke-width: 8.0;
303}
Simon Hunt58894c82016-05-24 15:09:02 -0700304
305
306
307#ov-topo svg .link.animated {
308 stroke-dasharray: 8 5;
309 animation: ants 5s infinite linear;
Simon Hunt4766dfb2016-06-14 17:16:22 -0700310 /* below line could be added via Javascript, based on path, if we cared
311 * enough about the direction of ant-flow
312 */
Simon Hunt58894c82016-05-24 15:09:02 -0700313 /*animation-direction: reverse;*/
314}
315@keyframes ants {
316 from {
317 stroke-dashoffset: 0;
318 }
319 to {
320 stroke-dashoffset: 400;
321 }
322}
323
324#ov-topo svg .link.primary {
325 stroke-width: 4px;
Simon Hunt58894c82016-05-24 15:09:02 -0700326 stroke: #ffA300;
327}
Simon Hunt58894c82016-05-24 15:09:02 -0700328
329#ov-topo svg .link.secondary.optical {
330 stroke-width: 4px;
Simon Hunt58894c82016-05-24 15:09:02 -0700331 stroke: rgba(128,64,255,0.5);
332}
Simon Hunt58894c82016-05-24 15:09:02 -0700333
334#ov-topo svg .link.primary.optical {
335 stroke-width: 6px;
Simon Hunt58894c82016-05-24 15:09:02 -0700336 stroke: #74f;
337}
Simon Hunt58894c82016-05-24 15:09:02 -0700338
339/* Link Labels */
340#ov-topo svg .linkLabel rect {
341 stroke: none;
Simon Hunt4766dfb2016-06-14 17:16:22 -0700342 fill: #ffffff;
Simon Hunt58894c82016-05-24 15:09:02 -0700343}
Simon Hunt58894c82016-05-24 15:09:02 -0700344
Simon Huntf44d7262016-06-14 14:46:56 -0700345#ov-topo svg .linkLabel text {
Simon Hunt58894c82016-05-24 15:09:02 -0700346 fill: #444;
347}
Simon Hunt58894c82016-05-24 15:09:02 -0700348
349/* Port Labels */
350
351#ov-topo svg .portLabel rect {
Simon Hunt4766dfb2016-06-14 17:16:22 -0700352 stroke: #a3a596;
353 fill: #ffffff;
Simon Hunt58894c82016-05-24 15:09:02 -0700354}
Simon Hunt58894c82016-05-24 15:09:02 -0700355
Simon Huntf44d7262016-06-14 14:46:56 -0700356#ov-topo svg .portLabel text {
Simon Hunt58894c82016-05-24 15:09:02 -0700357 fill: #444;
358}
Simon Hunt58894c82016-05-24 15:09:02 -0700359
360/* Number of Links Labels */
361
362
Simon Huntf44d7262016-06-14 14:46:56 -0700363#ov-topo text.numLinkText {
Simon Hunt58894c82016-05-24 15:09:02 -0700364 fill: #444;
365}
Simon Hunt58894c82016-05-24 15:09:02 -0700366
367/* ------------------------------------------------- */
368/* Sprite Layer */
369
Simon Huntf44d7262016-06-14 14:46:56 -0700370#ov-topo svg #topo-sprites .gold1 use {
Simon Hunt58894c82016-05-24 15:09:02 -0700371 stroke: #fda;
372 fill: none;
373}
Simon Huntf44d7262016-06-14 14:46:56 -0700374#ov-topo svg #topo-sprites .gold1 text {
Simon Hunt58894c82016-05-24 15:09:02 -0700375 fill: #eda;
376}
Simon Hunt58894c82016-05-24 15:09:02 -0700377
Simon Huntf44d7262016-06-14 14:46:56 -0700378#ov-topo svg #topo-sprites .blue1 use {
Simon Hunt58894c82016-05-24 15:09:02 -0700379 stroke: #bbd;
380 fill: none;
381}
Simon Huntf44d7262016-06-14 14:46:56 -0700382#ov-topo svg #topo-sprites .blue1 text {
Simon Hunt58894c82016-05-24 15:09:02 -0700383 fill: #cce;
384}
Simon Hunt58894c82016-05-24 15:09:02 -0700385
Simon Huntf44d7262016-06-14 14:46:56 -0700386#ov-topo svg #topo-sprites .gray1 use {
Simon Hunt58894c82016-05-24 15:09:02 -0700387 stroke: #ccc;
388 fill: none;
389}
Simon Huntf44d7262016-06-14 14:46:56 -0700390#ov-topo svg #topo-sprites .gray1 text {
Simon Hunt58894c82016-05-24 15:09:02 -0700391 fill: #ddd;
392}
Simon Hunt58894c82016-05-24 15:09:02 -0700393
394/* fills */
Simon Huntf44d7262016-06-14 14:46:56 -0700395#ov-topo svg #topo-sprites use.fill-gray2 {
Simon Hunt58894c82016-05-24 15:09:02 -0700396 fill: #eee;
397}
Simon Hunt58894c82016-05-24 15:09:02 -0700398
Simon Huntf44d7262016-06-14 14:46:56 -0700399#ov-topo svg #topo-sprites use.fill-blue2 {
Simon Hunt58894c82016-05-24 15:09:02 -0700400 fill: #bce;
401}
Simon Huntbb0f2672017-03-28 18:52:59 -0700402
403
404/* ==================================================================== */
405/* From here are the DARK theme styles - mirroring the above styles */
406/* ==================================================================== */
407
408/* --- Base SVG Layer --- */
409
410.dark #ov-topo svg {
411 background-color: #152439;
412}
413
414
415/* --- "No Devices" Layer --- */
416
417.dark #ov-topo svg .noDevsBird {
418 fill: #8f4848;
419}
420
421.dark #ov-topo svg #topo-noDevsLayer text {
422 fill: #445461;
423}
424
425/* --- Topo Map --- */
426
427.dark #ov-topo svg #topo-map {
428 stroke-width: 2px;
429 stroke: #37404d;
430 fill: #212c3a;
431}
432
433/* --- general topo-panel styling --- */
434
435.dark .topo-p {
436 background-color: #2f313c;
437 color: #c2c2b7;
438}
439.dark .topo-p svg {
440 background: #8e1e24;
441}
442
443.dark .topo-p svg .glyph {
444 fill: #c2c2b7;
445}
446
447.dark .topo-p hr {
448 background-color: #616876;
449}
450
451.dark .topo-p div.actionBtn svg use.glyph {
452 fill: #5a7f96;
453}
454
455.dark #topo-p-detail .header svg .glyph {
456 fill: #91292f;
457}
458
459.dark #toolbar-topo-tbar .tbar-row.right {
460 color: #666;
461}
462
463/* --- Topo Instance Panel --- */
464
465.dark #topo-p-instance {
466 background-color: #2f313c;
467 color: #c2c2b7;
468 border: 1px solid #364144;
469
470}
471
472.dark #topo-p-instance svg rect {
473 stroke-width: 0;
474 fill: #525660;
475}
476
477/* body of an instance */
478.dark #topo-p-instance .online svg rect {
479 opacity: 1;
480 fill: #838992;
481}
482
483.dark #topo-p-instance svg .glyph {
484 fill: #ddd;
485}
486.dark #topo-p-instance .online svg .glyph {
487 fill: #fff;
488}
489.dark #topo-p-instance .online svg .glyph.overlay {
490 fill: #c7c7c7;
491}
492
493/* offline */
494.dark #topo-p-instance svg .badgeIcon {
495 opacity: 0.4;
496 fill: #939598;
497}
498
499/* online */
500.dark #topo-p-instance .online svg .badgeIcon {
501 opacity: 1.0;
502 fill: #939598;
503}
504.dark #topo-p-instance .online svg .badgeIcon.bird {
505 fill: #ffffff;
506}
507
508.dark #topo-p-instance svg text {
509 text-anchor: left;
510 opacity: 0.5;
511 fill: #aaa;
512}
513
514.dark #topo-p-instance .online svg text {
515 opacity: 1.0;
516 fill: #fff;
517}
518
519.dark #topo-p-instance .onosInst.mastership {
520 opacity: 0.3;
521}
522.dark #topo-p-instance .onosInst.mastership.affinity {
523 opacity: 1.0;
524}
525.dark #topo-p-instance .onosInst.mastership.affinity svg rect {
526 filter: url(#blue-glow);
527}
528
529.dark.firefox #topo-p-instance .onosInst.mastership.affinity svg rect {
530 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");
531}
532
533/* --- Topo Nodes --- */
534
535/* Device Nodes */
536
537/* note: device without the 'online' class is offline */
538.dark #ov-topo svg .node.device rect {
539 fill: #707070;
540}
541.dark #ov-topo svg .node.device text {
542 fill: #444;
543}
544.dark #ov-topo svg .node.device use {
545 fill: #eee;
546}
547
548.dark #ov-topo svg .node.device.online rect {
549 fill: #525660;
550}
551.dark #ov-topo svg .node.device.online text {
552 fill: #fff;
553}
554.dark #ov-topo svg .node.device.online use {
555 fill: #fff;
556}
557
558.dark #ov-topo svg .node.device.selected rect {
559 stroke-width: 2.0;
560 stroke: #009fdb;
561}
562
563
564/* Host Nodes */
565
566.dark #ov-topo svg .node.host {
567}
568
569.dark #ov-topo svg .node.host text {
570 stroke: none;
571 font: 9pt sans-serif;
572 fill: #ad5781;
573}
574
575.dark #ov-topo svg .node.host circle {
576 stroke: #a3a596;
577 fill: #8f8272;
578}
579.dark #ov-topo svg .node.host.selected .hostIcon > circle {
580 stroke-width: 2.0;
581 stroke: #009fdb;
582}
583
584.dark #ov-topo svg .node.host use {
585 fill: #000;
586}
587
588/* --- Topo Links --- */
589.dark #ov-topo svg .link.not-permitted {
590 stroke: rgb(255, 60, 60);
591}
592
593/* Port traffic color visualization for Kbps, Mbps, and Gbps */
594/* .. values good for both light and dark themes */
595
596/* Primary, Secondary (optical too) colors good for both themes */
597
598/* Link Labels */
599.dark #ov-topo svg .linkLabel rect {
600 fill: #555;
601}
602
603.dark #ov-topo svg .linkLabel text {
604 fill: #eee;
605}
606
607/* Port Labels */
608
609.dark #ov-topo svg .portLabel rect {
610 fill: #222;
611}
612
613.dark #ov-topo svg .portLabel text {
614 fill: #eee;
615}
616
617/* Number of Links Labels */
618
619.dark #ov-topo text.numLinkText {
620 fill: #eee;
621}
622
623
624/* Sprite Layer */
625
626.dark #ov-topo svg #topo-sprites .gold1 use {
627 stroke: #541;
628}
629.dark #ov-topo svg #topo-sprites .gold1 text {
630 fill: #543;
631}
632
633.dark #ov-topo svg #topo-sprites .blue1 use {
634 stroke: #445;
635}
636.dark #ov-topo svg #topo-sprites .blue1 text {
637 fill: #446;
638}
639
640.dark #ov-topo svg #topo-sprites .gray1 use {
641 stroke: #333;
642}
643.dark #ov-topo svg #topo-sprites .gray1 text {
644 fill: #444;
645}
646
647/* fills */
648.dark #ov-topo svg #topo-sprites use.fill-gray2 {
649 fill: #444;
650}
651
652.dark #ov-topo svg #topo-sprites use.fill-blue2 {
653 fill: #447;
654}