-
Notifications
You must be signed in to change notification settings - Fork 8
/
ned.css
95 lines (87 loc) · 1.85 KB
/
ned.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/*
* sample color sheme
* #404E5C
* #4F6272
* #B7C3F3
* #DD7596
* #CF1259
*/
.Nodegroup > .NodeContainer:hover > .Background {
stroke: #B7C3F3;
stroke-width: 2px;
}
.Nodegroup > .NodeContainer.Selected > .Background {
stroke: #B7C3F3;
stroke-width: 6px;
}
.Nodegroup > .NodeContainer > .Background {
fill: #4F6272;
width: 100%;
height: 100%;
rx: 15px;
ry: 15px;
}
.Nodegroup > .NodeContainer > .Header {
cursor: move;
}
.Nodegroup > .NodeContainer > .Header > rect {
fill: #404E5C;
width: 100%;
height: 24px;
rx: 15px;
ry: 15px;
}
.Nodegroup > .NodeContainer > .Header > text {
text-anchor: middle;
alignment-baseline: middle;
fill: #B7C3F3;
}
.Nodegroup > .NodeContainer .Input > circle,
.Nodegroup > .NodeContainer .Output > circle {
fill: #404E5C;
r: 6px;
cx: 0px;
}
.Nodegroup > .NodeContainer .Input > text,
.Nodegroup > .NodeContainer .Output > text {
fill: #B7C3F3;
alignment-baseline: middle;
}
.Nodegroup > .NodeContainer .Input > text {
transform: translate(10px,0px);
text-anchor: start;
}
.Nodegroup > .NodeContainer .Output > text {
transform: translate(-10px,0px);
text-anchor: end;
}
/* hover is for when we are moving over a connecter
* while connhover is for when you can make a connection to an other node
*/
.Nodegroup > .NodeContainer > .Inputs > .Input > circle:hover,
.Nodegroup > .NodeContainer > .Outputs > .Output > circle:hover {
stroke: #B7C3F3;
stroke-width: 4px;
}
.Nodegroup > .NodeContainer > .Inputs > .Input > .ConnHover,
.Nodegroup > .NodeContainer > .Outputs > .Output > .ConnHover {
stroke: #22FF22;
stroke-width: 2px;
}
.Nodegroup > .NodeContainer > .Inputs {
x: 0%;
}
.Nodegroup > .NodeContainer > .Outputs {
x: 100%;
}
.PathGroup > .Path {
stroke-dasharray: 20,5,5,5,5,5;
stroke-width: 2px;
stroke: #B7C3F3;
fill: none;
}
.PathGroup > .Path:hover {
stroke-width: 3px;
stroke: #CF1259;
fill: none;
}