context menu

This commit is contained in:
overcuriousity
2025-09-14 23:42:45 +02:00
parent f02381910d
commit 2658bd148b
25 changed files with 429 additions and 4 deletions

View File

@@ -397,6 +397,35 @@ input[type="text"]:focus, select:focus {
background: rgba(42, 42, 42, 1);
}
.graph-context-menu {
position: absolute;
z-index: 1000;
background-color: #2a2a2a;
border: 1px solid #444;
box-shadow: 0 2px 5px rgba(0,0,0,0.5);
display: none;
font-family: 'Roboto Mono', monospace;
font-size: 0.9rem;
color: #c7c7c7;
}
.graph-context-menu ul {
list-style: none;
padding: 0;
margin: 0;
}
.graph-context-menu ul li {
padding: 0.75rem 1rem;
cursor: pointer;
transition: background-color 0.2s ease;
}
.graph-context-menu ul li:hover {
background-color: #3a3a3a;
color: #00ff41;
}
.graph-placeholder {
display: flex;
align-items: center;