278 lines
4.1 KiB
CSS
278 lines
4.1 KiB
CSS
/* ComfyUI Queue Manager Styles */
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background-color: #1a1a1a;
|
|
color: #ffffff;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
#queue-manager-app {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 30px;
|
|
padding-bottom: 20px;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
header h1 {
|
|
color: #4CAF50;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: #666;
|
|
color: white;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
.btn-warning {
|
|
background-color: #ff9800;
|
|
color: white;
|
|
}
|
|
|
|
.btn-warning:hover {
|
|
background-color: #e68900;
|
|
}
|
|
|
|
.btn-danger {
|
|
background-color: #f44336;
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
background-color: #da190b;
|
|
}
|
|
|
|
.queue-container {
|
|
background-color: #2a2a2a;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.queue-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.queue-header h2 {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.queue-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.filters {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
background-color: #333;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
#search-input, #status-filter {
|
|
padding: 8px 12px;
|
|
border: 1px solid #555;
|
|
border-radius: 4px;
|
|
background-color: #444;
|
|
color: #ffffff;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#search-input {
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
#status-filter {
|
|
min-width: 150px;
|
|
}
|
|
|
|
.queue-items {
|
|
min-height: 400px;
|
|
}
|
|
|
|
.queue-item {
|
|
background-color: #333;
|
|
border-radius: 4px;
|
|
padding: 15px;
|
|
margin-bottom: 10px;
|
|
border-left: 4px solid #666;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.queue-item:hover {
|
|
background-color: #3a3a3a;
|
|
}
|
|
|
|
.queue-item.pending {
|
|
border-left-color: #2196F3;
|
|
}
|
|
|
|
.queue-item.running {
|
|
border-left-color: #ff9800;
|
|
}
|
|
|
|
.queue-item.completed {
|
|
border-left-color: #4CAF50;
|
|
}
|
|
|
|
.queue-item.failed {
|
|
border-left-color: #f44336;
|
|
}
|
|
|
|
.queue-item.archived {
|
|
border-left-color: #9E9E9E;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.queue-item-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.queue-item-title {
|
|
font-weight: bold;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.queue-item-status {
|
|
padding: 4px 8px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.status-pending {
|
|
background-color: #2196F3;
|
|
color: white;
|
|
}
|
|
|
|
.status-running {
|
|
background-color: #ff9800;
|
|
color: white;
|
|
}
|
|
|
|
.status-completed {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
}
|
|
|
|
.status-failed {
|
|
background-color: #f44336;
|
|
color: white;
|
|
}
|
|
|
|
.status-archived {
|
|
background-color: #9E9E9E;
|
|
color: white;
|
|
}
|
|
|
|
.queue-item-meta {
|
|
display: flex;
|
|
gap: 20px;
|
|
font-size: 12px;
|
|
color: #aaa;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.queue-item-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.queue-item-actions .btn {
|
|
font-size: 12px;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.checkbox {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 60px 20px;
|
|
color: #666;
|
|
}
|
|
|
|
.empty-state h3 {
|
|
margin-bottom: 10px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.loading {
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: #666;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.queue-header {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.filters {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.queue-item-header {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.queue-item-meta {
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
} |