blob: 3be7bdde20d5bb35d7513798bd7fe16937111d07 [file] [log] [blame]
Sean Condonf4f54a12018-10-10 23:25:46 +01001/*
2 * Copyright 2018-present Open Networking Foundation
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/* --- Topo Instance Panel --- */
17
18#topo-p-instance svg rect {
19 stroke-width: 0;
20 fill: #fbfbfb;
21}
22
23/* body of an instance */
24#topo-p-instance .online svg rect {
25 opacity: 1;
26 fill: #fbfbfb;
27}
28
29#topo-p-instance svg .glyph {
30 fill: #fff;
31}
32#topo-p-instance .online svg .glyph {
33 fill: #fff;
34}
35.dark #topo-p-instance .online svg .glyph.overlay {
36 fill: #fff;
Sean Condonaa4366d2018-11-02 14:29:01 +000037}
38
39/* offline */
40#topo-p-instance svg .badgeIcon {
41 opacity: 0.4;
42 fill: #939598;
43}
44
45/* online */
46#topo-p-instance .online svg .badgeIcon {
47 opacity: 1.0;
48 fill: #939598;
49}
50#topo-p-instance .online svg .badgeIcon.bird {
51 fill: #ffffff;
52}
53
54#topo-p-instance svg .readyBadge {
55 visibility: hidden;
56}
57#topo-p-instance .ready svg .readyBadge {
58 visibility: visible;
59}
60
61#topo-p-instance svg text {
62 text-anchor: start;
63 opacity: 0.5;
64 fill: #3c3a3a;
65}
66
67#topo-p-instance .online svg text {
68 opacity: 1.0;
69 fill: #3c3a3a;
70}
71
72#topo-p-instance .onosInst.mastership {
73 opacity: 0.3;
74}
75#topo-p-instance .onosInst.mastership.affinity {
76 opacity: 1.0;
77}
78#topo-p-instance .onosInst.mastership.affinity svg rect {
79 filter: url(#blue-glow);
80}
81
82.firefox #topo-p-instance .onosInst.mastership.affinity svg rect {
83 filter: url(#blue-glow);
84}
85
86.dark #topo-p-instance {
87 background-color: #2f313c;
88 color: #c2c2b7;
89 border: 1px solid #364144;
90
91}
92
93.dark #topo-p-instance svg rect {
94 stroke-width: 0;
95 fill: #525660;
96}
97
98/* body of an instance */
99.dark #topo-p-instance .online svg rect {
100 opacity: 1;
101 fill: #838992;
102}
103
104.dark #topo-p-instance svg .glyph {
105 fill: #ddd;
106}
107.dark #topo-p-instance .online svg .glyph {
108 fill: #fff;
109}
110.dark #topo-p-instance .online svg .glyph.overlay {
111 fill: #c7c7c7;
112}
113
114/* offline */
115.dark #topo-p-instance svg .badgeIcon {
116 opacity: 0.4;
117 fill: #939598;
118}
119
120/* online */
121.dark #topo-p-instance .online svg .badgeIcon {
122 opacity: 1.0;
123 fill: #939598;
124}
125.dark #topo-p-instance .online svg .badgeIcon.bird {
126 fill: #ffffff;
127}
128
129.dark #topo-p-instance svg text {
130 text-anchor: start;
131 opacity: 0.5;
132 fill: #aaa;
133}
134
135.dark #topo-p-instance .online svg text {
136 opacity: 1.0;
137 fill: #fff;
138}
139
140.dark #topo-p-instance .onosInst.mastership {
141 opacity: 0.3;
142}
143.dark #topo-p-instance .onosInst.mastership.affinity {
144 opacity: 1.0;
145}
146.dark #topo-p-instance .onosInst.mastership.affinity svg rect {
147 filter: url(#blue-glow);
148}
149
150.dark.firefox #topo-p-instance .onosInst.mastership.affinity svg rect {
151 filter: url(#blue-glow);
Sean Condonf4f54a12018-10-10 23:25:46 +0100152}