SuperGradio / frontend /src /InputNode.css
hadinicknam's picture
in the middle of adding the GUI to the running blocks
2303095
.input-node {
border: 1px dashed #aaa;
border-radius: 8px;
background: #fafafa;
width: 250px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.input-node-header {
background: #f0f0f0;
padding: 10px;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
border-bottom: 1px solid #e0e0e0;
font-size: 14px;
}
.input-node-content {
padding: 15px;
}
.input-node-content p {
font-size: 12px;
color: #666;
margin-top: 0;
margin-bottom: 10px;
}
.input-node-content input {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
font-size: 12px;
margin-bottom: 10px;
}
.input-node-content button {
width: 100%;
padding: 8px;
font-size: 13px;
background-color: #28a745;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
.input-node-content button:hover {
background-color: #218838;
}
.input-node.error {
border-color: #dc3545;
}
.input-node.error .input-node-header {
background-color: #f8d7da;
color: #721c24;
border-bottom-color: #f5c6cb;
}
.node-error-message {
font-size: 12px;
color: #721c24;
background-color: #f8d7da;
padding: 8px;
border-radius: 4px;
margin-top: 10px;
text-align: center;
}