-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathdefault.css
52 lines (43 loc) · 860 Bytes
/
default.css
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
.graph,
.graph > svg {
display: block;
}
.graph {
height: 100%;
touch-action: none;
width: 100%;
}
.graph * {
-webkit-touch-callout: none !important;
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
user-select: none !important;
}
.link {
fill: none;
stroke-width: 4px;
}
.node {
--color-stroke: var(--color-node-stroke, rgba(0, 0, 0, 0.5));
cursor: pointer;
stroke: none;
stroke-width: 2px;
transition: filter 0.25s ease, stroke 0.25s ease, stroke-dasharray 0.25s ease;
}
.node:hover:not(.focused) {
filter: brightness(80%);
stroke: var(--color-stroke);
stroke-dasharray: 4px;
}
.node.focused {
stroke: var(--color-stroke);
}
.link__label,
.node__label {
pointer-events: none;
text-anchor: middle;
}
.grabbed {
cursor: grabbing !important;
}