forked from openshift/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
KnativeService.scss
63 lines (56 loc) · 1.41 KB
/
KnativeService.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
@import '../../../../../topology/src/components/topology-utils';
.odc-knative-service {
outline: none;
cursor: pointer;
.odc-m-drag-active & {
pointer-events: none;
}
&__bg {
fill: $group-node-fill-color;
fill-opacity: $group-node-fill-opacity;
stroke: $group-node-stroke-color;
stroke-width: $group-node-stroke-width;
stroke-dasharray: $group-node-stroke-dasharray;
}
&.is-function &__bg {
fill: var(--pf-global--palette--purple-50);
}
&.is-filtered &__bg {
stroke: $filtered-stroke-color;
stroke-width: $group-node-filtered-stroke-width;
stroke-dasharray: none;
}
&.is-selected &__bg {
fill: $selected-fill-color;
stroke: $selected-stroke-color;
stroke-width: $group-node-selected-stroke-width;
stroke-dasharray: $group-node-stroke-dasharray;
}
&.is-highlight &__bg {
fill: $group-node-fill-color;
stroke: $interactive-stroke-color;
stroke-dasharray: $group-node-stroke-dasharray;
}
&.is-dropTarget &__bg {
fill: $interactive-fill-color;
stroke: $interactive-stroke-color;
stroke-dasharray: $group-node-stroke-dasharray;
}
}
.odc-m-drag-active,
.odc-m-filter-active {
.odc-knative-service {
opacity: $de-emphasize-opacity;
&.is-dragging,
&.is-highlight {
opacity: 1;
}
}
}
.odc-m-filter-active:not(.odc-m-drag-active) {
.odc-knative-service {
&.is-filtered {
opacity: 1;
}
}
}