@patternfly/react-styles 5.0.0-alpha.6 → 5.0.0-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +2 -2
  3. package/css/components/Topology/topology-components.css +0 -832
  4. package/css/components/Topology/topology-components.d.ts +0 -67
  5. package/css/components/Topology/topology-components.js +0 -68
  6. package/css/components/Topology/topology-components.mjs +0 -66
  7. package/css/components/Topology/topology-controlbar.css +0 -22
  8. package/css/components/Topology/topology-controlbar.d.ts +0 -11
  9. package/css/components/Topology/topology-controlbar.js +0 -12
  10. package/css/components/Topology/topology-controlbar.mjs +0 -10
  11. package/css/components/Topology/topology-pipelines.css +0 -554
  12. package/css/components/Topology/topology-pipelines.d.ts +0 -30
  13. package/css/components/Topology/topology-pipelines.js +0 -31
  14. package/css/components/Topology/topology-pipelines.mjs +0 -29
  15. package/css/components/Topology/topology-side-bar.css +0 -73
  16. package/css/components/Topology/topology-side-bar.d.ts +0 -14
  17. package/css/components/Topology/topology-side-bar.js +0 -15
  18. package/css/components/Topology/topology-side-bar.mjs +0 -13
  19. package/css/components/Topology/topology-view.css +0 -13
  20. package/css/components/Topology/topology-view.d.ts +0 -6
  21. package/css/components/Topology/topology-view.js +0 -7
  22. package/css/components/Topology/topology-view.mjs +0 -5
  23. package/src/css/components/Topology/topology-components.css +0 -832
  24. package/src/css/components/Topology/topology-controlbar.css +0 -22
  25. package/src/css/components/Topology/topology-pipelines.css +0 -554
  26. package/src/css/components/Topology/topology-side-bar.css +0 -73
  27. package/src/css/components/Topology/topology-view.css +0 -13
@@ -1,832 +0,0 @@
1
- :root {
2
- --pf-topology-visualization-surface--BackgroundColor: transparent;
3
-
4
- --pf-topology__node--Color: #393f44;
5
-
6
- /* Create connector */
7
- /* Remove --pf-topology-create-connector-color at a breaking change */
8
- --pf-topology-create-connector-color: var(--pf-global--secondary-color--100);
9
- --pf-topology__create-connector-color--Stroke: var(--pf-topology-create-connector-color, var(--pf-global--secondary-color--100));
10
- --pf-topology__create-connector-color--Fill: var(--pf-topology-create-connector-color, var(--pf-global--secondary-color--100));
11
-
12
- /* node */
13
- --pf-topology__node__background--Fill: var(--pf-global--BackgroundColor--100);
14
- --pf-topology__node__background--Stroke: var(--pf-global--BorderColor--100);
15
- --pf-topology__node__background--StrokeWidth: var(--pf-global--BorderWidth--sm);
16
- --pf-topology__node--m-dragging--background--StrokeWidth: var(--pf-global--BorderWidth--sm);
17
-
18
- --pf-topology__node--m-hover--background--Stroke: unset;
19
- --pf-topology__node--m-hover--label__background--Stroke: unset;
20
-
21
- --pf-topology__node--m-disabled--Background--Fill: var(--pf-global--BackgroundColor--200);
22
- --pf-topology__node--m-disabled--Background--Stroke: var(--pf-global--BorderColor--100);
23
- --pf-topology__node--m-info--Background--Fill: var(--pf-global--primary-color--light-100);
24
- --pf-topology__node--m-success--Background--Fill: var(--pf-global--success-color--100);
25
- --pf-topology__node--m-warning--Background--Fill: var(--pf-global--warning-color--100);
26
- --pf-topology__node--m-danger--Background--Fill: var(--pf-global--danger-color--100);
27
- --pf-topology__node--m-selected--Background--Fill: var(--pf-global--active-color--100);
28
-
29
- --pf-topology__node--m-selected--node__background--Stroke: var(--pf-global--active-color--100);
30
- --pf-topology__node--m-info--node__background--Stroke: var(--pf-global--primary-color--light-100);
31
- --pf-topology__node--m-success--node__background--Stroke: var(--pf-global--success-color--100);
32
- --pf-topology__node--m-warning--node__background--Stroke: var(--pf-global--warning-color--100);
33
- --pf-topology__node--m-danger--node__background--Stroke: var(--pf-global--danger-color--100);
34
-
35
- /* node decorators */
36
- --pf-topology__node_decorator--Color: var(--pf-global--Color--200);
37
- --pf-topology__node__decorator__bg--Fill: var(--pf-global--BackgroundColor--light-100);
38
- --pf-topology__node__decorator__bg--Stroke: var(--pf-global--BorderColor--100);
39
- --pf-topology__node__decorator__bg--StrokeWidth: var(--pf-global--BorderWidth--sm);
40
-
41
- --pf-topology__node__decorator__status--m-info--Color: var(--pf-global--primary-color--light-100);
42
- --pf-topology__node__decorator__status--m-danger--Color: var(--pf-global--danger-color--100);
43
- --pf-topology__node__decorator__status--m-warning--Color: var(--pf-global--warning-color--100);
44
- --pf-topology__node__decorator__status--m-success--Color: var(--pf-global--success-color--100);
45
-
46
- /* node labels */
47
- --pf-topology__node__label__text--Fill: var(--pf-global--palette--black-1000);
48
- --pf-topology__node__label__text--m-secondary--Fill: var(--pf-global--Color--200);
49
-
50
- --pf-topology__node--m-selected--node__label__text--Fill: var(--pf-global--Color--light-100);
51
- --pf-topology__node--m-selected--node__label__text--m-secondary--Fill: var(--pf-global--Color--light-100);
52
- --pf-topology__node--m-selected--m-info--node__label__text--Fill: var(--pf-global--Color--light-100);
53
- --pf-topology__node--m-selected--m-danger--node__label__text--Fill: var(--pf-global--Color--light-100);
54
- --pf-topology__node--m-selected--m-warning--node__label__text--Fill: var(--pf-global--Color--light-100);
55
- --pf-topology__node--m-selected--m-success--node__label__text--Fill: var(--pf-global--Color--light-100);
56
-
57
- --pf-topology__node__label__background--Fill: var(--pf-global--BackgroundColor--100);
58
- --pf-topology__node__label__background--Stroke: var(--pf-global--BorderColor--100);
59
-
60
- --pf-topology__node--m-selected--node__label__background--Stroke: var(--pf-global--active-color--100);
61
- --pf-topology__node--m-info--node__label__background--Stroke: var(--pf-global--primary-color--light-100);
62
- --pf-topology__node--m-success--node__label__background--Stroke: var(--pf-global--success-color--100);
63
- --pf-topology__node--m-warning--node__label__background--Stroke: var(--pf-global--warning-color--100);
64
- --pf-topology__node--m-danger--node__label__background--Stroke: var(--pf-global--danger-color--100);
65
- --pf-topology__node__label__background--StrokeWidth: var(--pf-global--BorderWidth--sm);
66
- --pf-topology__node__label--m-dragging--background--StrokeWidth: var(--pf-global--BorderWidth--sm);
67
-
68
- --pf-topology__node--m-selected--node__label__background--Fill: var(--pf-global--active-color--100);
69
- --pf-topology__node--m-selected--m-info--node__label__background--Fill: var(--pf-global--primary-color--light-100);
70
- --pf-topology__node--m-selected--m-danger--node__label__background--Fill: var(--pf-global--danger-color--100);
71
- --pf-topology__node--m-selected--m-warning--node__label__background--Fill: var(--pf-global--warning-color--100);
72
- --pf-topology__node--m-selected--m-success--node__label__background--Fill: var(--pf-global--success-color--100);
73
-
74
- /* node label icon */
75
- --pf-topology__node__label__icon--Color: var(--pf-global--Color--200);
76
-
77
- --pf-topology__node__label__icon__background--Fill: var(--pf-global--palette--white);
78
- --pf-topology__node__label__icon__background--StrokeWidth: var(--pf-global--BorderWidth--sm);
79
- --pf-topology__node__label__icon__background--Stroke: var(--pf-global--BorderColor--100);
80
-
81
- --pf-topology__node--m-selected--label__icon__background--Stroke: var(--pf-global--active-color--100);
82
- --pf-topology__node--m-info--label__icon__background--Stroke: var(--pf-global--primary-color--light-100);
83
- --pf-topology__node--m-success--label__icon__background--Stroke: var(--pf-global--success-color--100);
84
- --pf-topology__node--m-warning--label__icon__background--Stroke: var(--pf-global--warning-color--100);
85
- --pf-topology__node--m-danger--label__icon__background--Stroke: var(--pf-global--danger-color--100);
86
-
87
- --pf-topology__node__label__badge__rect--StrokeWidth: var(--pf-global--BorderWidth--sm);
88
-
89
- --pf-topology__node__separator--Stroke: var(--pf-global--BorderColor--100);
90
- --pf-topology__node--m-selected--separator--Stroke: var(--pf-global--BorderColor--100);
91
-
92
- --pf-topology__node__action-icon__icon--Color: var(--pf-global--palette--black-1000);
93
- --pf-topology__node--m-selected--action-icon__icon--Color: var(--pf-global--Color--light-100);
94
-
95
- /* group */
96
- --pf-topology__group--m-selected--topology__node__action-icon__icon--Color: var(--pf-global--palette--white);
97
-
98
- --pf-topology__group__background--Fill: var(--pf-global--BackgroundColor--light-300);
99
- --pf-topology__group__background--Stroke: var(--pf-global--palette--white);
100
-
101
- --pf-topology__group--m-alt-group--topology__group__background--Fill: var(--pf-global--palette--white);
102
- --pf-topology__group--m-selected--topology__group__background--Fill: var(--pf-global--palette--blue-50);
103
-
104
- --pf-topology__group--m-selected--topology__group__background--Stroke: var(--pf-global--active-color--100);
105
- --pf-topology__group--m-hover--topology__group__background--Stroke: var(--pf-global--BackgroundColor--dark-400);
106
- --pf-topology__group--m-drop-target--topology__group__background--Fill: var(--pf-global--palette--blue-50);
107
- --pf-topology__group--m-drop-target--topology__group__background--Stroke: var(--pf-global--active-color--100);
108
- --pf-topology__group__collapsed-badge__node__label__badge__rect--Fill: var(--pf-global--palette--white);
109
- --pf-topology__group__collapsed-badge__node__label__badge__rect--Stroke: var(--pf-global--BorderColor--100);
110
- --pf-topology__group__collapsed-badge__node__label__badge__text--Fill: var(--pf-global--palette--black-800);
111
-
112
- --pf-topology__group__label__node__label__background--Fill: var(--pf-global--BackgroundColor--dark-300);
113
- --pf-topology__group__label__node__label__background--StrokeWidth: var(--pf-global--BorderWidth--sm);
114
- --pf-topology__group__label__text--Fill: var(--pf-global--palette--white);
115
- --pf-topology__group__label__node__action-icon__icon--Color: var(--pf-global--palette--white);
116
- --pf-topology__group--m-selected--group__label__node__label__background--Fill: var(--pf-global--active-color--100);
117
-
118
- /* edge */
119
- --pf-topology__edge--Stroke: var(--pf-global--secondary-color--100);
120
- --pf-topology__edge--StrokeWidth: var(--pf-global--BorderWidth--sm);
121
- --pf-topology__edge--HoverStroke: var(--pf-global--Color--100);
122
- --pf-topology__edge--ActiveStroke: var(--pf-global--active-color--100);
123
- --pf-topology__edge--ActiveStrokeWidth: 2px;
124
- --pf-topology__edge--InteractiveStroke: var(--pf-global--active-color--100);
125
-
126
- --pf-topology__edge--m-info--EdgeStroke: var(--pf-global--primary-color--light-100);
127
- --pf-topology__edge--m-success--EdgeStroke: var(--pf-global--success-color--100);
128
- --pf-topology__edge--m-warning--EdgeStroke: var(--pf-global--warning-color--100);
129
- --pf-topology__edge--m-danger--EdgeStroke: var(--pf-global--danger-color--100);
130
-
131
- --pf-topology__edge--m-selected--background--Stroke: var(--pf-global--active-color--200);
132
- --pf-topology__edge--m-hover--background--Stroke: var(--pf-global--BorderColor--100);
133
-
134
- --pf-topology__edge__tag__text--Fill: var(--pf-global--palette--white);
135
- --pf-topology__edge__tag__text--Stroke: var(--pf-global--palette--white);
136
-
137
- --pf-topology__edge__tag__background--Fill: var(--pf-global--secondary-color--100);
138
- --pf-topology__edge__tag--m-info--background--Fill: var(--pf-global--primary-color--light-100);
139
- --pf-topology__edge__tag--m-success--background--Fill: var(--pf-global--success-color--100);
140
- --pf-topology__edge__tag--m-warning--background--Fill: var(--pf-global--warning-color--100);
141
-
142
- --pf-topology__edge__tag--m-warning--text--Fill: var(--pf-global--palette--black-1000);
143
- --pf-topology__edge__tag--m-warning--text--Stroke: var(--pf-global--palette--black-1000);
144
-
145
- --pf-topology__edge__tag--m-danger--background--Fill: var(--pf-global--danger-color--100);
146
-
147
- /* connectors */
148
- --pf-topology-connector-arrow--m-alt-connector-arrow--Fill: var(--pf-global--palette--white);
149
-
150
- --pf-topology__connector-square--m-source--Fill: var(--pf-global--BackgroundColor--100);
151
-
152
- --pf-topology-default-create-connector__arrow--Fill: var(--pf-global--Color--light-200);
153
-
154
- --pf-topology-default-create-connector--m-hover--line--Stroke: var(--pf-global--Color--100);
155
- --pf-topology-default-create-connector--m-hover--arrow--Fill: var(--pf-global--Color--100);
156
- --pf-topology-default-create-connector--m-hover--arrow--Stroke: var(--pf-global--Color--100);
157
- }
158
-
159
- /* DARK THEME OVERRIDES */
160
- :root:where(.pf-theme-dark) {
161
- --pf-topology-visualization-surface--BackgroundColor: var(--pf-global--BackgroundColor--200);
162
-
163
- --pf-topology__node--Color: var(--pf-global--Color--100);
164
-
165
- /* dark create connector */
166
- --pf-topology__create-connector-color--Stroke: var(--pf-global--palette--black-300);
167
- --pf-topology__create-connector-color--Fill: var(--pf-global--palette--black-100);
168
- --pf-topology-default-create-connector__arrow--Fill: var(--pf-global--BackgroundColor--100);
169
- --pf-topology-default-create-connector--m-hover--line--Stroke: var(--pf-global--palette--black-100);
170
- --pf-topology-default-create-connector--m-hover--arrow--Fill: var(--pf-global--palette--black-100);
171
- --pf-topology-default-create-connector--m-hover--arrow--Stroke: var(--pf-global--palette--black-100);
172
-
173
- /* dark node */
174
- --pf-topology__node__background--Fill: var(--pf-global--BackgroundColor--300);
175
- --pf-topology__node__background--Stroke: var(--pf-global--palette--black-300);
176
-
177
- --pf-topology__node--m-disabled--Background--Fill: var(--pf-topology__node__background--Fill);
178
- --pf-topology__node--m-disabled--Background--Stroke: var(--pf-global--palette--black-500);
179
-
180
- --pf-topology__node--m-dragging--background--StrokeWidth: 2px;
181
-
182
- --pf-topology__node--m-hover--background--Stroke: var(--pf-global--palette--black-100);
183
- --pf-topology__node--m-hover--label__background--Stroke: var(--pf-global--palette--black-100);
184
-
185
- /* dark node labels */
186
- --pf-topology__node__label__background--Fill: var(--pf-global--BackgroundColor--300);
187
- --pf-topology__node__label__background--Stroke: var(--pf-global--BorderColor--300);
188
- --pf-topology__node__label--m-dragging--background--StrokeWidth: 2px;
189
- --pf-topology__node__label__text--Fill: var(--pf-global--Color--100);
190
-
191
- /* dark selected nodes */
192
- --pf-topology__node--m-selected--node__background--Stroke: var(--pf-global--palette--blue-300);
193
- --pf-topology__node--m-selected--node__label__background--Stroke: var(--pf-global--palette--blue-400);
194
- --pf-topology__node--m-selected--node__label__background--Fill: var(--pf-global--palette--blue-400);
195
- --pf-topology__node--m-selected--separator--Stroke: var(--pf-global--palette--blue-300);
196
-
197
- --pf-topology__node--m-selected--node__label__text--Fill: var(--pf-global--Color--100);
198
- --pf-topology__node--m-selected--m-info--node__label__text--Fill: var(--pf-global--palette--black-900);
199
- --pf-topology__node--m-selected--m-danger--node__label__text--Fill: var(--pf-global--palette--black-900);
200
- --pf-topology__node--m-selected--m-warning--node__label__text--Fill: var(--pf-global--palette--black-900);
201
- --pf-topology__node--m-selected--m-success--node__label__text--Fill: var(--pf-global--palette--black-900);
202
-
203
- --pf-topology__node__label__icon--Color: var(--pf-global--palette--black-600);
204
-
205
- --pf-topology__node__action-icon__icon--Color: var(--pf-global--Color--100);
206
-
207
- /* dark group */
208
- --pf-topology__group__background--Fill: var(--pf-global--BackgroundColor--300);
209
- --pf-topology__group__background--Stroke: var(--pf-global--palette--black-300);
210
- --pf-topology__group--m-alt-group--topology__group__background--Fill: var(--pf-global--palette--black-500);
211
- --pf-topology__group--m-alt-group--topology__group__background--Stroke: var(--pf-global--BorderColor--100);
212
- --pf-topology__group--m-selected--topology__group__background--Fill: var(--pf-global--primary-color--300);
213
- --pf-topology__group--m-selected--topology__group__background--Stroke: var(--pf-global--active-color--300);
214
- --pf-topology__group--m-hover--topology__group__background--Stroke: var(--pf-global--palette--black-100);
215
- --pf-topology__group--m-drop-target--topology__group__background--Stroke: var(--pf-global--palette--blue-300);
216
-
217
- --pf-topology__group__label__node__label__background--StrokeWidth: 2px;
218
- --pf-topology__group__label__node__label__background--Stroke: var(--pf-global--palette--black-300);
219
- --pf-topology__group--m-hover--label__node__label__background--Stroke: var(--pf-global--palette--black-100);
220
- --pf-topology__group--m-selected--label__node__label__background--Stroke: var(--pf-global--primary-color--300);
221
-
222
- --pf-topology__group--m-selected--group__label__node__label__background--Fill: var(--pf-global--primary-color--300);
223
-
224
- /* dark edge */
225
- --pf-topology__edge--HoverStroke: var(--pf-global--palette--black-300);
226
- --pf-topology__edge--m-hover--background--Stroke: var(--pf-global--palette--black-600);
227
-
228
- --pf-topology__edge--ActiveStroke: var(--pf-global--palette--blue-300);
229
- --pf-topology__edge--m-selected--background--Stroke: var(--pf-global--palette--black-600);
230
-
231
- --pf-topology__edge__tag__background--Fill: var(--pf-global--palette--black-300);
232
- --pf-topology__edge__tag__text--Fill: var(--pf-global--palette--black-900);
233
- --pf-topology__edge__tag__text--Stroke: var(--pf-global--palette--black-900);
234
-
235
- }
236
-
237
- :root:where(.pf-theme-dark) .pfext-catalog-item-icon__img--large {
238
- /* Not perfect, but gives a better result for colors than just inverting
239
- by inverts to switch b/w, then rotates to get colors approximately back */
240
- filter: brightness(1.5) invert(1) hue-rotate(180deg) saturate(4);
241
- }
242
-
243
- .pf-topology-visualization-surface {
244
- background-color: var(--pf-topology-visualization-surface--BackgroundColor);
245
- height: 100%;
246
- flex-grow: 1;
247
- flex-shrink: 1;
248
- overflow: hidden;
249
- position: relative;
250
- }
251
-
252
- .pf-topology-visualization-surface__svg {
253
- display: block;
254
- width: 100%;
255
- height: 100%;
256
- }
257
-
258
- .pf-topology-visualization-surface__svg g:focus {
259
- outline: none;
260
- }
261
-
262
- .pf-topology-context-menu__c-dropdown__menu {
263
- position: initial !important;
264
- }
265
-
266
- .pf-topology-context-sub-menu {
267
- position: relative;
268
- padding-right: var(--pf-global--spacer--lg) !important;
269
- }
270
-
271
- .pf-topology-context-sub-menu__arrow {
272
- position: absolute;
273
- right: var(--pf-global--spacer--xs);
274
- top: 50%;
275
- transform: translateY(-50%);
276
- }
277
-
278
- /* Node */
279
- .pf-topology__node {
280
- outline: none;
281
- color: var(--pf-topology__node--Color);
282
- }
283
-
284
- /* Color is defined in the svg but fill will override it */
285
- .pf-topology__node svg,
286
- .pf-topology__group svg {
287
- fill: var(--pf-topology__node--Color);
288
- }
289
-
290
- .pf-topology__node.pf-m-hover {
291
- --pf-topology__node__background--Stroke: var(--pf-topology__node--m-hover--background--Stroke);
292
- --pf-topology__node__label__background--Stroke: var(--pf-topology__node--m-hover--label__background--Stroke);
293
- }
294
-
295
- .pf-topology__node__background {
296
- fill: var(--pf-topology__node__background--Fill);
297
- stroke-width: var(--pf-topology__node__background--StrokeWidth);
298
- stroke: var(--pf-topology__node__background--Stroke);
299
- }
300
-
301
- .pf-topology__node__background.pf-m-disabled {
302
- --pf-topology__node__background--Fill: var(--pf-topology__node--m-disabled--Background--Fill);
303
- --pf-topology__node__background--Stroke: var(--pf-topology__node--m-disabled--Background--Stroke);
304
- }
305
-
306
- .pf-topology__node__background.pf-m-info {
307
- --pf-topology__node__background--Fill: var(--pf-topology__node--m-info--Background--Fill);
308
- }
309
-
310
- .pf-topology__node__background.pf-m-success {
311
- --pf-topology__node__background--Fill: var(--pf-topology__node--m-success--Background--Fill);
312
- }
313
-
314
- .pf-topology__node__background.pf-m-warning {
315
- --pf-topology__node__background--Fill: var(--pf-topology__node--m-warning--Background--Fill);
316
- }
317
-
318
- .pf-topology__node__background.pf-m-danger {
319
- --pf-topology__node__background--Fill: var(--pf-topology__node--m-danger--Background--Fill);
320
- }
321
-
322
- .pf-topology__node__background.pf-m-selected {
323
- --pf-topology__node__background--Fill: var(--pf-topology__node--m-selected--Background--Fill);
324
- }
325
-
326
- .pf-topology__node.pf-m-dragging {
327
- --pf-topology__node__background--StrokeWidth: var(--pf-topology__node--m-dragging--background--StrokeWidth);
328
- --pf-topology__node__label__background--StrokeWidth: var(--pf-topology__node__label--m-dragging--background--StrokeWidth);
329
- }
330
-
331
- .pf-topology__node.pf-m-dragging .pf-topology__node__background {
332
- cursor: grab;
333
- }
334
-
335
- .pf-topology__node.pf-m-selected .pf-topology__node__background {
336
- stroke-width: 2px;
337
- --pf-topology__node__background--Stroke: var(--pf-topology__node--m-selected--node__background--Stroke);
338
- }
339
-
340
- .pf-topology__node.pf-m-info .pf-topology__node__background {
341
- --pf-topology__node__background--Stroke: var(--pf-topology__node--m-info--node__background--Stroke);
342
- }
343
-
344
- .pf-topology__node.pf-m-success .pf-topology__node__background {
345
- --pf-topology__node__background--Stroke: var(--pf-topology__node--m-success--node__background--Stroke);
346
- }
347
-
348
- .pf-topology__node.pf-m-warning .pf-topology__node__background {
349
- --pf-topology__node__background--Stroke: var(--pf-topology__node--m-warning--node__background--Stroke);
350
- }
351
-
352
- .pf-topology__node.pf-m-danger .pf-topology__node__background {
353
- --pf-topology__node__background--Stroke: var(--pf-topology__node--m-danger--node__background--Stroke);
354
- }
355
-
356
- /* Node decorator */
357
- .pf-topology__node__decorator {
358
- --pf-topology__node--Color: var(--pf-topology__node_decorator--Color);
359
- transition: color 0.2s ease;
360
- outline: none;
361
- }
362
-
363
- .pf-topology__node__decorator svg {
364
- fill: var(--pf-topology__node_decorator--Color);
365
- }
366
-
367
- .pf-topology__node__decorator__bg {
368
- fill: var(--pf-topology__node__decorator__bg--Fill);
369
- stroke: var(--pf-topology__node__decorator__bg--Stroke);
370
- stroke-width: var(--pf-topology__node__decorator__bg--StrokeWidth);
371
- }
372
-
373
- .pf-topology__node__decorator__icon {
374
- font-size: var(--pf-global--icon--FontSize--sm);
375
- color: var(--pf-topology__node_decorator--Color);
376
- }
377
-
378
- .pf-topology__node__decorator__status {
379
- color: var(--pf-topology__node_decorator--Color);
380
- }
381
-
382
- .pf-topology__node__decorator__status .pf-m-info {
383
- --pf-topology__node_decorator--Color: var(--pf-topology__node__decorator__status--m-info--Color);
384
- }
385
- .pf-topology__node__decorator__status .pf-m-danger {
386
- --pf-topology__node_decorator--Color: var(--pf-topology__node__decorator__status--m-danger--Color);
387
- }
388
- .pf-topology__node__decorator__status .pf-m-warning {
389
- --pf-topology__node_decorator--Color: var(--pf-topology__node__decorator__status--m-warning--Color);
390
- }
391
- .pf-topology__node__decorator__status .pf-m-success {
392
- --pf-topology__node_decorator--Color: var(--pf-topology__node__decorator__status--m-success--Color);
393
- }
394
-
395
- /* Node label */
396
- .pf-topology__node__label > text {
397
- fill: var(--pf-topology__node__label__text--Fill);
398
- font-size: var(--pf-global--FontSize--sm);
399
- pointer-events: none;
400
- }
401
-
402
- .pf-topology__node__label > text.pf-m-secondary {
403
- fill: var(--pf-topology__node__label__text--m-secondary--Fill);
404
- font-size: var(--pf-global--FontSize--xs);
405
- }
406
-
407
- .pf-topology__node.pf-m-selected .pf-topology__node__label > text {
408
- --pf-topology__node__label__text--Fill: var(--pf-topology__node--m-selected--node__label__text--Fill);
409
- --pf-topology__node__label__text--m-secondary--Fill: var(--pf-topology__node--m-selected--node__label__text--m-secondary--Fill);
410
- }
411
-
412
- .pf-topology__node__label__background {
413
- fill: var(--pf-topology__node__label__background--Fill);
414
- stroke-width: var(--pf-topology__node__label__background--StrokeWidth);
415
- stroke: var(--pf-topology__node__label__background--Stroke);
416
- }
417
-
418
- .pf-topology__node.pf-m-selected {
419
- stroke-width: 2px;
420
- --pf-topology__node__label__background--Stroke: var(--pf-topology__node--m-selected--node__label__background--Stroke);
421
- --pf-topology__node__label__background--Fill: var(--pf-topology__node--m-selected--node__label__background--Fill);
422
- --pf-topology__node__separator--Stroke: var(--pf-topology__node--m-selected--separator--Stroke);
423
- --pf-topology__node__action-icon__icon--Color: var(--pf-topology__node--m-selected--action-icon__icon--Color);
424
- }
425
-
426
- .pf-topology__node.pf-m-info {
427
- --pf-topology__node__label__background--Stroke: var(--pf-topology__node--m-info--node__label__background--Stroke);
428
- }
429
-
430
- .pf-topology__node.pf-m-success {
431
- --pf-topology__node__label__background--Stroke: var(--pf-topology__node--m-success--node__label__background--Stroke);
432
- }
433
-
434
- .pf-topology__node.pf-m-warning {
435
- --pf-topology__node__label__background--Stroke: var(--pf-topology__node--m-warning--node__label__background--Stroke);
436
- }
437
-
438
- .pf-topology__node.pf-m-danger {
439
- --pf-topology__node__label__background--Stroke: var(--pf-topology__node--m-danger--node__label__background--Stroke);
440
- }
441
-
442
- .pf-topology__node.pf-m-selected.pf-m-info {
443
- --pf-topology__node__label__background--Fill: var(--pf-topology__node--m-selected--m-info--node__label__background--Fill);
444
- --pf-topology__node--m-selected--node__label__text--Fill: var(--pf-topology__node--m-selected--m-info--node__label__text--Fill);
445
- }
446
-
447
- .pf-topology__node.pf-m-selected.pf-m-danger {
448
- --pf-topology__node__label__background--Fill: var(--pf-topology__node--m-selected--m-danger--node__label__background--Fill);
449
- --pf-topology__node--m-selected--node__label__text--Fill: var(--pf-topology__node--m-selected--m-danger--node__label__text--Fill);
450
- }
451
-
452
- .pf-topology__node.pf-m-selected.pf-m-warning {
453
- --pf-topology__node__label__background--Fill: var(--pf-topology__node--m-selected--m-warning--node__label__background--Fill);
454
- --pf-topology__node--m-selected--node__label__text--Fill: var(--pf-topology__node--m-selected--m-warning--node__label__text--Fill);
455
- }
456
-
457
- .pf-topology__node.pf-m-selected.pf-m-success {
458
- --pf-topology__node__label__background--Fill: var(--pf-topology__node--m-selected--m-success--node__label__background--Fill);
459
- --pf-topology__node--m-selected--node__label__text--Fill: var(--pf-topology__node--m-selected--m-success--node__label__text--Fill);
460
- }
461
-
462
- /* Node label badge */
463
- .pf-topology__node__label__badge > rect {
464
- /* TODO Color is hard coded in the badge. */
465
- stroke-width: var(--pf-topology__node__label__badge__rect--StrokeWidth);
466
- }
467
-
468
- .pf-topology__node__label__badge > text {
469
- font-size: var(--pf-global--FontSize--xs);
470
- pointer-events: none;
471
- }
472
-
473
- .pf-topology__node__label__icon {
474
- color: var(--pf-topology__node__label__icon--Color);
475
- }
476
-
477
- .pf-topology__node__label__icon > svg {
478
- height: 100%;
479
- width: 100%;
480
- fill: currentColor;
481
- }
482
-
483
- .pf-topology__node__label__icon__background {
484
- fill: var(--pf-topology__node__label__icon__background--Fill);
485
- stroke-width: var(--pf-topology__node__label__icon__background--StrokeWidth);
486
- stroke: var(--pf-topology__node__label__icon__background--Stroke);
487
- }
488
-
489
- .pf-topology__node.pf-m-selected .pf-topology__node__label__icon__background {
490
- stroke-width: 2px;
491
- stroke: var(--pf-topology__node--m-selected--label__icon__background--Stroke);
492
- }
493
-
494
- .pf-topology__node.pf-m-info .pf-topology__node__label__icon__background {
495
- stroke: var(--pf-topology__node--m-info--label__icon__background--Stroke);
496
- }
497
-
498
- .pf-topology__node.pf-m-success .pf-topology__node__label__icon__background {
499
- stroke: var(--pf-topology__node--m-success--label__icon__background--Stroke);
500
- }
501
-
502
- .pf-topology__node.pf-m-warning .pf-topology__node__label__icon__background {
503
- stroke: var(--pf-topology__node--m-warning--label__icon__background--Stroke);
504
- }
505
-
506
- .pf-topology__node.pf-m-danger .pf-topology__node__label__icon__background {
507
- stroke: var(--pf-topology__node--m-danger--label__icon__background--Stroke);
508
- }
509
-
510
- .pf-topology__node__separator {
511
- stroke: var(--pf-topology__node__separator--Stroke);
512
- stroke-width: 1;
513
- }
514
-
515
- .pf-topology__node__action-icon {
516
- cursor: pointer;
517
- }
518
-
519
- .pf-topology__node__action-icon__background {
520
- stroke-width: 0;
521
- fill: transparent;
522
- }
523
-
524
- .pf-topology__node__action-icon__icon {
525
- color: var(--pf-topology__node__action-icon__icon--Color);
526
- }
527
-
528
- .pf-topology__node__action-icon__icon svg {
529
- fill: currentColor;
530
- }
531
-
532
- .pf-topology__group.pf-m-selected .pf-topology__node__action-icon__icon {
533
- color: var(--pf-topology__group--m-selected--topology__node__action-icon__icon--Color);
534
- }
535
-
536
- .pf-topology__group {
537
- outline: none;
538
- }
539
-
540
- /* Group background */
541
- .pf-topology__group__background {
542
- fill: var(--pf-topology__group__background--Fill);
543
- stroke: var(--pf-topology__group__background--Stroke);
544
- stroke-width: 5px;
545
- }
546
-
547
- .pf-topology__group.pf-m-alt-group .pf-topology__group__background {
548
- --pf-topology__group__background--Fill: var(--pf-topology__group--m-alt-group--topology__group__background--Fill);
549
- --pf-topology__group__background--Stroke: var(--pf-topology__group--m-alt-group--topology__group__background--Stroke);
550
- }
551
-
552
- .pf-topology__group.pf-m-selected .pf-topology__group__background {
553
- --pf-topology__group__background--Fill: var(--pf-topology__group--m-selected--topology__group__background--Fill);
554
- --pf-topology__group__background--Stroke: var(--pf-topology__group--m-selected--topology__group__background--Stroke);
555
- }
556
-
557
- .pf-topology__group.pf-m-hover .pf-topology__group__background {
558
- --pf-topology__group__background--Stroke: var(--pf-topology__group--m-hover--topology__group__background--Stroke);
559
- --pf-topology__group__label__node__label__background--Stroke: var(--pf-topology__group--m-hover--label__node__label__background--Stroke);
560
- }
561
-
562
- .pf-topology__group.pf-m-hover.pf-m-selected .pf-topology__group__background {
563
- --pf-topology__group__background--Fill: var(--pf-topology__group--m-selected--topology__group__background--Fill);
564
- --pf-topology__group__background--Stroke: var(--pf-topology__group--m-hover--topology__group__background--Stroke);
565
- --pf-topology__group__label__node__label__background--Stroke: var(--pf-topology__group--m-hover--label__node__label__background--Stroke);
566
- }
567
-
568
- .pf-topology__group.pf-m-drop-target .pf-topology__group__background {
569
- --pf-topology__group__background--Stroke: var(--pf-topology__group--m-drop-target--topology__group__background--Stroke);
570
- stroke-dasharray: 12;
571
- }
572
-
573
- /* Collapsed group badge */
574
- .pf-topology__group__collapsed-badge.pf-topology__node__label__badge > rect {
575
- fill: var(--pf-topology__group__collapsed-badge__node__label__badge__rect--Fill);
576
- stroke: var(--pf-topology__group__collapsed-badge__node__label__badge__rect--Stroke);
577
- }
578
-
579
- .pf-topology__group__collapsed-badge.pf-topology__node__label__badge > text {
580
- font-size: var(--pf-global--FontSize--xs);
581
- pointer-events: none;
582
- fill: var(--pf-topology__group__collapsed-badge__node__label__badge__text--Fill);
583
- }
584
-
585
- /* Group label */
586
- .pf-topology__group__label .pf-topology__node__label__background {
587
- fill: var(--pf-topology__group__label__node__label__background--Fill);
588
- --pf-topology__node__label__background--Stroke: var(--pf-topology__group__label__node__label__background--Stroke);
589
- --pf-topology__node__label__background--StrokeWidth: var(--pf-topology__group__label__node__label__background--StrokeWidth);
590
- }
591
-
592
- .pf-topology__group__label > text {
593
- fill: var(--pf-topology__group__label__text--Fill);
594
- font-size: var(--pf-global--FontSize--sm);
595
- pointer-events: none;
596
- }
597
-
598
- .pf-topology__group__label .pf-topology__node__action-icon__icon {
599
- color: var(--pf-topology__group__label__node__action-icon__icon--Color);
600
- }
601
-
602
- .pf-topology__group.pf-m-selected .pf-topology__group__label .pf-topology__node__label__background {
603
- fill: var(--pf-topology__group--m-selected--group__label__node__label__background--Fill);
604
- --pf-topology__group__label__node__label__background--Stroke: var(--pf-topology__group--m-selected--label__node__label__background--Stroke);
605
- }
606
-
607
- /* Edge */
608
- .pf-topology__edge {
609
- --edge--stroke-width: var(--pf-topology__edge--StrokeWidth);
610
- --edge--stroke-dasharray: 0;
611
- --edge--stroke: var(--pf-topology__edge--Stroke);
612
- --edge--fill: var(--edge--stroke);
613
- --edge--opacity: 1;
614
- --edge--cursor: pointer;
615
- --edge--hover--stroke: var(--pf-topology__edge--HoverStroke);
616
- --edge--hover--fill: var(--edge--hover--stroke);
617
- --edge--active--stroke: var(--pf-topology__edge--ActiveStroke);
618
- --edge--active--stroke-width: var(--pf-topology__edge--ActiveStrokeWidth);
619
- --edge--active--fill: var(--edge--active--stroke);
620
- --edge--drag-active--opacity: 0.4;
621
- --edge__arrow--cursor: default;
622
- --edge--interactive--stroke: var(--pf-topology__edge--InteractiveStroke);
623
- --edge--interactive--fill: var(--edge--interactive--stroke);
624
-
625
- cursor: var(--edge--cursor);
626
- stroke: var(--edge--stroke);
627
- fill: var(--edge--fill);
628
- opacity: var(--edge--opacity);
629
- }
630
-
631
- .pf-topology__edge.pf-m-info {
632
- --edge--stroke: var(--pf-topology__edge--m-info--EdgeStroke);
633
- }
634
-
635
- .pf-topology__edge.pf-m-success {
636
- --edge--stroke: var(--pf-topology__edge--m-success--EdgeStroke);
637
- }
638
- .pf-topology__edge.pf-m-warning {
639
- --edge--stroke: var(--pf-topology__edge--m-warning--EdgeStroke);
640
- }
641
-
642
- .pf-topology__edge.pf-m-danger {
643
- --edge--stroke: var(--pf-topology__edge--m-danger--EdgeStroke);
644
- }
645
-
646
- .pf-topology__edge__background {
647
- stroke-width: 10px;
648
- stroke: transparent;
649
- fill: none;
650
- }
651
- .pf-topology__edge.pf-m-selected .pf-topology__edge__background {
652
- stroke: var(--pf-topology__edge--m-selected--background--Stroke);
653
- }
654
- .pf-topology__edge.pf-m-hover .pf-topology__edge__background {
655
- stroke: var(--pf-topology__edge--m-hover--background--Stroke);
656
- }
657
-
658
- .pf-topology__edge__link {
659
- stroke-width: var(--edge--stroke-width);
660
- stroke-dasharray: var(--edge--stroke-dasharray);
661
- fill-opacity: 0;
662
- animation: pf-topology__edge__dash 0s linear infinite forwards;
663
- }
664
-
665
- .pf-topology__edge__link.pf-m-dotted {
666
- stroke-dasharray: 2;
667
- stroke-dashoffset: 2;
668
- }
669
- .pf-topology__edge__link.pf-m-dashed {
670
- stroke-dasharray: 4 2;
671
- stroke-dashoffset: 6;
672
- }
673
- .pf-topology__edge__link.pf-m-dashed-md {
674
- stroke-dasharray: 8 2;
675
- stroke-dashoffset: 10;
676
- }
677
- .pf-topology__edge__link.pf-m-dashed-lg {
678
- stroke-dasharray: 16 2;
679
- stroke-dashoffset: 18;
680
- }
681
- .pf-topology__edge__link.pf-m-dashed-xl {
682
- stroke-dasharray: 32 2;
683
- stroke-dashoffset: 34;
684
- }
685
-
686
- @keyframes pf-topology__edge__dash {
687
- to {
688
- stroke-dashoffset: 0;
689
- }
690
- }
691
-
692
- .pf-topology__edge.pf-m-selected .pf-topology__edge__link,
693
- .pf-topology__edge.pf-m-selected .pf-topology-connector-arrow {
694
- fill: var(--edge--active--fill);
695
- stroke: var(--edge--active--stroke);
696
- stroke-width: var(--edge--active--stroke-width);
697
- }
698
-
699
- .pf-topology__edge.pf-m-selected.pf-m-hover .pf-topology__edge__link,
700
- .pf-topology__edge.pf-m-selected.pf-m-hover .pf-topology-connector-arrow {
701
- fill: var(--edge--active--fill);
702
- stroke: var(--edge--active--stroke);
703
- }
704
-
705
- .pf-topology__edge.pf-m-dragging {
706
- pointer-events: none;
707
- }
708
- .pf-topology__edge.pf-m-hover .pf-topology__edge__link,
709
- .pf-topology__edge.pf-m-hover .pf-topology-connector-arrow {
710
- fill: var(--edge--hover--fill);
711
- stroke: var(--edge--hover--stroke);
712
- }
713
-
714
- .pf-topology__edge.pf-m-dragging .pf-topology__edge__link,
715
- .pf-topology__edge.pf-m-dragging .pf-topology-connector-arrow {
716
- fill: var(--edge--interactive--fill);
717
- stroke: var(--edge--interactive--stroke);
718
- }
719
-
720
- .pf-topology__edge .pf-topology-connector-arrow {
721
- cursor: var(--edge__arrow--cursor);
722
- stroke: var(--edge--stroke);
723
- }
724
-
725
- .pf-topology__edge .pf-topology-connector-arrow.pf-m-draggable {
726
- cursor: pointer;
727
- }
728
-
729
- .pf-topology__edge__tag__background {
730
- fill: var(--pf-topology__edge__tag__background--Fill);
731
- stroke-width: 0;
732
- }
733
-
734
- .pf-topology__edge__tag > text {
735
- fill: var(--pf-topology__edge__tag__text--Fill);
736
- stroke: var(--pf-topology__edge__tag__text--Stroke);
737
- stroke-width: 0.5;
738
- font-size: 10px;
739
- pointer-events: none;
740
- }
741
-
742
- .pf-topology__edge__tag.pf-m-info .pf-topology__edge__tag__background {
743
- fill: var(--pf-topology__edge__tag--m-info--background--Fill);
744
- }
745
-
746
- .pf-topology__edge__tag.pf-m-success .pf-topology__edge__tag__background {
747
- fill: var(--pf-topology__edge__tag--m-success--background--Fill);
748
- }
749
-
750
- .pf-topology__edge__tag.pf-m-warning .pf-topology__edge__tag__background {
751
- fill: var(--pf-topology__edge__tag--m-warning--background--Fill);
752
- }
753
-
754
- .pf-topology__edge__tag.pf-m-warning > text {
755
- fill: var(--pf-topology__edge__tag--m-warning--text--Fill);
756
- stroke: var(--pf-topology__edge__tag--m-warning--text--Stroke);
757
- }
758
-
759
- .pf-topology__edge__tag.pf-m-danger .pf-topology__edge__tag__background {
760
- fill: var(--pf-topology__edge__tag--m-danger--background--Fill);
761
- }
762
-
763
- /* Connectors */
764
- .pf-topology-connector-arrow {
765
- stroke-width: 1;
766
- stroke: var(--edge--stroke);
767
- }
768
-
769
- .pf-topology-connector-arrow.pf-m-alt-connector-arrow {
770
- fill: var(--pf-topology-connector-arrow--m-alt-connector-arrow--Fill);
771
- }
772
-
773
- .pf-topology__connector-cross {
774
- stroke-width: 1;
775
- stroke: var(--edge--stroke);
776
- }
777
- .pf-topology__connector-cross.pf-m-source {
778
- fill: var(--edge--stroke);
779
- }
780
-
781
- .pf-topology__connector-square, .pf-topology__connector-circle {
782
- stroke-width: 1;
783
- stroke: var(--edge--stroke);
784
- fill: var(--edge--stroke);
785
- }
786
-
787
- .pf-topology__connector-square.pf-m-source, .pf-topology__connector-circle.pf-m-source {
788
- fill: var(--pf-topology__connector-square--m-source--Fill);
789
- }
790
-
791
- .pf-topology__connector-x {
792
- stroke-width: 1;
793
- stroke: var(--edge--stroke);
794
- }
795
-
796
- .pf-topology-default-create-connector {
797
- cursor: pointer;
798
- }
799
-
800
- .pf-topology-default-create-connector__line {
801
- stroke: var(--pf-topology__create-connector-color--Stroke);
802
- stroke-width: 2px;
803
- stroke-dasharray: 3px, 3px;
804
- }
805
-
806
- .pf-topology-default-create-connector__arrow {
807
- fill: var(--pf-topology-default-create-connector__arrow--Fill);
808
- stroke: var(--pf-topology__create-connector-color--Stroke);
809
- }
810
-
811
- .pf-topology-default-create-connector.pf-m-hover .pf-topology-default-create-connector__line {
812
- stroke: var(--pf-topology-default-create-connector--m-hover--line--Stroke);
813
- }
814
-
815
- .pf-topology-default-create-connector.pf-m-hover .pf-topology-default-create-connector__arrow {
816
- fill: var(--pf-topology-default-create-connector--m-hover--arrow--Fill);
817
- stroke: var(--pf-topology-default-create-connector--m-hover--arrow--Stroke);
818
- }
819
-
820
- .pf-topology-default-create-connector__create {
821
- }
822
-
823
- .pf-topology-default-create-connector__create__bg {
824
- stroke-width: 10px;
825
- stroke: transparent;
826
- fill-opacity: 0;
827
- }
828
-
829
- .pf-topology-default-create-connector__create__cursor {
830
- fill: var(--pf-topology__create-connector-color--Fill);
831
- }
832
-