2025-02-07 19:08:39 -03:00
|
|
|
/* frontend/static/css/style.css - Add these styles */
|
|
|
|
|
|
|
|
.script-group {
|
|
|
|
background: white;
|
|
|
|
border-radius: 8px;
|
|
|
|
padding: 1rem;
|
|
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.script-group-header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
border-bottom: 1px solid var(--border-color);
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.script-group-header h3 {
|
|
|
|
margin: 0;
|
|
|
|
color: var(--primary-color);
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.script-list {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.script-item {
|
2025-02-07 07:35:18 -03:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2025-02-07 19:08:39 -03:00
|
|
|
align-items: start;
|
|
|
|
padding: 1rem;
|
|
|
|
background: var(--bg-color);
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.script-info {
|
|
|
|
flex: 1;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.script-info h4 {
|
|
|
|
margin: 0 0 0.5rem 0;
|
|
|
|
color: var(--secondary-color);
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.script-info p {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 0.9rem;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.script-actions {
|
2025-02-07 07:35:18 -03:00
|
|
|
display: flex;
|
2025-02-07 19:08:39 -03:00
|
|
|
gap: 0.5rem;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.config-btn {
|
|
|
|
background-color: var(--secondary-color);
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.run-btn {
|
|
|
|
background-color: #27ae60;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.run-btn:hover {
|
|
|
|
background-color: #219a52;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.config-editor {
|
|
|
|
width: 100%;
|
|
|
|
font-family: monospace;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
border-radius: 4px;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.output-area {
|
2025-02-07 07:35:18 -03:00
|
|
|
background: white;
|
|
|
|
padding: 1rem;
|
2025-02-07 19:08:39 -03:00
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
height: 200px;
|
|
|
|
overflow-y: auto;
|
|
|
|
font-family: monospace;
|
|
|
|
white-space: pre-wrap;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.no-scripts {
|
|
|
|
text-align: center;
|
|
|
|
color: #666;
|
|
|
|
padding: 2rem;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
/* Add to your existing style.css */
|
|
|
|
|
|
|
|
.modal {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
z-index: 1000;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.modal-content {
|
2025-02-07 07:35:18 -03:00
|
|
|
background: white;
|
2025-02-07 19:08:39 -03:00
|
|
|
padding: 2rem;
|
2025-02-07 07:35:18 -03:00
|
|
|
border-radius: 8px;
|
2025-02-07 19:08:39 -03:00
|
|
|
max-width: 600px;
|
|
|
|
width: 90%;
|
|
|
|
max-height: 90vh;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
margin-bottom: 1rem;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.form-group label {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group input,
|
|
|
|
.form-group select,
|
|
|
|
.form-group textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-group {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2025-02-07 07:35:18 -03:00
|
|
|
gap: 1rem;
|
2025-02-07 19:08:39 -03:00
|
|
|
margin-top: 2rem;
|
2025-02-07 07:35:18 -03:00
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.config-info {
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-configs {
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.group-config {
|
|
|
|
margin-top: 1rem;
|
2025-02-07 07:35:18 -03:00
|
|
|
padding: 1rem;
|
2025-02-07 19:08:39 -03:00
|
|
|
background: var(--bg-color);
|
2025-02-07 07:35:18 -03:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2025-02-07 19:08:39 -03:00
|
|
|
.group-config pre {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
font-size: 0.9rem;
|
2025-02-07 19:35:59 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* frontend/static/css/style.css */
|
|
|
|
|
|
|
|
.script-group-selector {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding: 1rem;
|
|
|
|
background: white;
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.script-group-selector label {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.script-group-selector select {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.5rem;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
border-radius: 4px;
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#scriptList {
|
|
|
|
display: none;
|
|
|
|
margin-top: 1rem;
|
2025-02-07 19:08:39 -03:00
|
|
|
}
|