Nagesh Muralidhar
Initial commit of PodCraft application
fd52f31
.node-selection-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
backdrop-filter: blur(8px);
animation: fadeIn 0.2s ease-out;
}
.node-selection-panel {
background: rgba(17, 17, 17, 0.95);
border: 1px solid rgba(99, 102, 241, 0.2);
border-radius: 16px;
padding: 2rem;
width: 90%;
max-width: 600px;
max-height: 85vh;
overflow-y: auto;
color: white;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
animation: slideUp 0.3s ease-out;
position: relative;
}
.node-selection-panel::-webkit-scrollbar {
width: 6px;
}
.node-selection-panel::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 3px;
}
.node-selection-panel::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2);
border-radius: 3px;
transition: background 0.3s ease;
}
.node-selection-panel::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.3);
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
padding-bottom: 1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.panel-header h2 {
margin: 0;
font-size: 1.75rem;
font-weight: 600;
background: linear-gradient(90deg, #fff, #999);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.close-button {
background: rgba(255, 255, 255, 0.1);
border: none;
color: rgba(255, 255, 255, 0.6);
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
border-radius: 50%;
width: 36px;
height: 36px;
}
.close-button:hover {
color: white;
background: rgba(255, 255, 255, 0.2);
transform: rotate(90deg);
}
.node-types {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.node-type-section {
display: flex;
flex-direction: column;
gap: 1rem;
}
.node-type-item {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 0.75rem 1.25rem;
background: rgba(255, 255, 255, 0.03);
border: 1px solid;
border-color: var(--node-color);
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.node-type-item::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
transform: translateX(-100%);
transition: transform 0.6s ease;
}
.node-type-item:hover::before {
transform: translateX(100%);
}
.node-type-item:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.node-icon {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
border-radius: 6px;
color: white;
font-size: 25px;
}
.node-icon::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: transform 0.6s ease;
}
.node-type-item:hover .node-icon::after {
transform: translateX(100%);
}
.node-info {
flex: 1;
}
.node-info h3 {
margin: 0;
font-size: 1.1rem;
font-weight: 600;
color: white;
margin-bottom: 0.25rem;
}
.node-info p {
margin: 0;
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.6);
line-height: 1.4;
}
.agent-list {
margin-left: 4rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
padding-top: 0.5rem;
height: 15vh;
overflow-y: auto;
max-height: 25vh;
}
.agent-list::-webkit-scrollbar {
width: 6px;
}
.agent-list::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 3px;
}
.agent-list::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2);
border-radius: 3px;
transition: background 0.3s ease;
}
.agent-list::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.3);
}
.agent-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem 1rem;
background: rgba(99, 102, 241, 0.1);
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
border: 1px solid rgba(99, 102, 241, 0.2);
}
.agent-item:hover {
transform: translateX(4px);
background: rgba(99, 102, 241, 0.15);
border-color: rgba(99, 102, 241, 0.3);
}
.agent-name {
font-size: 0.95rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.9);
display: flex;
align-items: center;
gap: 8px;
}
.agent-special-icon {
color: #4C1D95;
font-size: 0.9rem;
}
.researcher-agent {
background: rgba(76, 29, 149, 0.15);
border-color: rgba(76, 29, 149, 0.3);
position: relative;
}
.researcher-agent:hover {
background: rgba(76, 29, 149, 0.25);
border-color: rgba(76, 29, 149, 0.4);
}
.researcher-agent::after {
content: 'Special node with unique connection rules';
position: absolute;
bottom: -10px;
left: 0;
right: 0;
color: #4C1D95;
font-size: 0.65rem;
opacity: 0;
transition: all 0.3s ease;
text-align: center;
background: rgba(255, 255, 255, 0.9);
border-radius: 4px;
padding: 2px 4px;
pointer-events: none;
transform: translateY(5px);
}
.researcher-agent:hover::after {
opacity: 1;
transform: translateY(0);
}
.node-constraint {
display: flex;
align-items: center;
gap: 6px;
margin-top: 6px;
font-size: 0.7rem;
color: rgba(255, 255, 255, 0.5);
line-height: 1.2;
padding: 4px 8px;
background: rgba(0, 0, 0, 0.15);
border-radius: 4px;
}
.node-constraint svg {
flex-shrink: 0;
}
.agent-status {
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.6);
padding: 0.25rem 0.75rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 12px;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Light theme adjustments */
:root[data-theme="light"] .node-selection-panel {
background: rgba(255, 255, 255, 0.95);
border-color: rgba(0, 0, 0, 0.1);
color: black;
}
:root[data-theme="light"] .panel-header h2 {
background: linear-gradient(90deg, #333, #666);
-webkit-background-clip: text;
background-clip: text;
}
:root[data-theme="light"] .close-button {
background: rgba(0, 0, 0, 0.1);
color: rgba(0, 0, 0, 0.6);
}
:root[data-theme="light"] .close-button:hover {
color: black;
background: rgba(0, 0, 0, 0.15);
}
:root[data-theme="light"] .node-type-item {
background: rgba(0, 0, 0, 0.03);
}
:root[data-theme="light"] .node-type-item:hover {
background: rgba(var(--node-color-rgb), 0.1);
}
:root[data-theme="light"] .node-info h3 {
color: black;
}
:root[data-theme="light"] .node-info p {
color: rgba(0, 0, 0, 0.6);
}
:root[data-theme="light"] .agent-name {
color: rgba(0, 0, 0, 0.9);
}
:root[data-theme="light"] .agent-status {
color: rgba(0, 0, 0, 0.6);
background: rgba(0, 0, 0, 0.05);
}
:root[data-theme="light"] .node-constraint {
background: rgba(0, 0, 0, 0.05);
color: rgba(0, 0, 0, 0.6);
}
:root[data-theme="light"] .researcher-agent {
background: rgba(76, 29, 149, 0.1);
}
:root[data-theme="light"] .researcher-agent:hover {
background: rgba(76, 29, 149, 0.15);
}
:root[data-theme="light"] .researcher-agent::after {
background: rgba(255, 255, 255, 0.95);
color: #4C1D95;
border: 1px solid rgba(76, 29, 149, 0.2);
}
/* Node color classes for each type */
.node-color-input:hover {
background: rgba(99, 102, 241, 0.1);
}
.node-color-agent:hover {
background: rgba(16, 185, 129, 0.1);
}
.node-color-insights:hover {
background: rgba(245, 158, 11, 0.1);
}
.node-color-notify:hover {
background: rgba(239, 68, 68, 0.1);
}
.node-color-publish:hover {
background: rgba(220, 38, 38, 0.1);
}