-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
89 lines (78 loc) · 1.48 KB
/
Copy pathindex.css
File metadata and controls
89 lines (78 loc) · 1.48 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
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
font-family: 'Montserrat', sans-serif;
color-scheme: dark;
}
body {
margin: 0;
background-color: #0a0a0f;
color: #ffffff;
overflow: hidden;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #12121a;
}
::-webkit-scrollbar-thumb {
background: #2a2a3a;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #7b61ff;
}
/* Node Port Styles */
.node-port {
width: 14px;
height: 14px;
border-radius: 50%;
border: 2px solid #1a1a25;
background-color: #6b7280; /* gray-500 */
transition: all 0.2s ease;
position: absolute;
top: 50%;
transform: translateY(-50%);
cursor: crosshair;
z-index: 50;
}
.node-port:hover {
background-color: #00f5d4; /* accent-primary */
transform: translateY(-50%) scale(1.2);
box-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
}
.node-port-left {
left: -9px;
}
.node-port-right {
right: -9px;
}
/* Plus icon on hover for ports */
.node-port:hover::after {
content: '+';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 16px;
font-weight: bold;
color: #1a1a25;
line-height: 1;
pointer-events: none;
}
/* Connection Flow Animation */
@keyframes connection-flow-animation {
from {
stroke-dashoffset: 0;
}
to {
stroke-dashoffset: -20;
}
}
.connection-flow {
animation: connection-flow-animation 1s linear infinite;
}