Spaces:
Configuration error

aimindmap / src /components /MindMap.css
Foundups
Initial commit: AI Mind Map application
420bd16
Raw History Blame Contribute Delete
1.93 kB
.mindmap-wrapper {
background: #1a1a1a;
padding: 20px;
border-radius: 8px;
margin-top: 20px;
overflow-x: auto;
position: relative;
}
.node-edit-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #2c3e50;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
z-index: 1000;
min-width: 300px;
}
.node-edit-modal textarea {
width: 100%;
min-height: 100px;
background: #34495e;
color: #ecf0f1;
border: 1px solid #3498db;
border-radius: 4px;
padding: 8px;
margin-bottom: 12px;
font-size: 14px;
resize: vertical;
}
.node-edit-modal .edit-buttons {
display: flex;
justify-content: flex-end;
gap: 8px;
}
.node-edit-modal button {
background: #3498db;
color: white;
border: none;
padding: 8px 16px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.2s;
}
.node-edit-modal button:hover {
background: #2980b9;
}
.node-edit-modal button:last-child {
background: #e74c3c;
}
.node-edit-modal button:last-child:hover {
background: #c0392b;
}
.react-flow__node {
transition: all 0.2s ease;
}
.react-flow__node:hover {
box-shadow: 0 0 0 2px #3498db;
}
.react-flow__edge {
transition: stroke 0.2s ease;
}
.react-flow__edge:hover {
stroke: #3498db !important;
stroke-width: 3px !important;
}
.react-flow__edge-path {
stroke: #95a5a6;
stroke-width: 2px;
}
.react-flow__controls {
background: #2c3e50;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
padding: 4px;
}
.react-flow__controls button {
background: #34495e;
border: none;
color: #ecf0f1;
margin: 2px;
}
.react-flow__controls button:hover {
background: #3498db;
}
.react-flow__minimap {
background: #2c3e50;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.react-flow__attribution {
background: transparent;
color: #95a5a6;
}