-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (92 loc) · 1.85 KB
/
Copy pathstyle.css
File metadata and controls
122 lines (92 loc) · 1.85 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
:root {
--min-node-width: 200px;
}
html,
body {
margin: 0;
padding: 0;
overflow: hidden;
background-color: #272727;
font-family: sans-serif;
background-image: linear-gradient(to right, #363636 1px, transparent 1px), linear-gradient(to bottom, #363636 1px, transparent 1px);
background-size: 20px 20px;
}
canvas {
z-index: 500;
}
.node {
user-select: none;
position: absolute;
background-color: #111111BB;
color: white;
border-radius: 16px;
display: flex;
flex-direction: column;
min-width: var(--min-node-width);
width: max-content;
min-height: 100px;
}
.nodeBody {
padding: 16px;
display: flex;
flex-direction: column;
gap: 1em;
}
.node:hover {
border: #FFFFFF 1px solid;
}
.nodeTitle {
background-color: #000000AA;
border-top-left-radius: 16px;
border-top-right-radius: 16px;
padding: 16px;
text-align: center;
font-weight: bolder;
font-size: large;
}
.nodeTextField>* {
min-width: var(--min-node-width);
}
.socketBody {
display: flex;
flex-direction: row;
gap: 1em;
justify-content: flex-end;
align-items: center;
}
.socketBody.input {
flex-direction: row-reverse;
}
.socket {
width: 12px;
height: 12px;
border: 2px solid white;
border-radius: 50%;
}
.socket:hover {
background-color: white;
}
.contextMenu {
position: absolute;
flex-direction: column;
min-width: 100px;
text-align: center;
background-color: #000000AA;
border: 1px solid #FFFFFF;
border-radius: 8px;
padding: 4px;
gap: 0.5em;
}
.contextMenuItem {
cursor: pointer;
border-radius: 8px;
padding: 8px;
border: 1px solid #FFFFFF;
background-color: #000000AA;
color: white;
display: block;
}
.contextMenuItem:hover {
background-color: white;
color: black;
}