260 lines
		
	
	
		
			6.1 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			260 lines
		
	
	
		
			6.1 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
/* Hero Supervisor Admin UI - Minimal Dark Theme */
 | 
						|
 | 
						|
body {
 | 
						|
    background: #0a0a0a;
 | 
						|
    color: #e8e8e8;
 | 
						|
    font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
 | 
						|
}
 | 
						|
 | 
						|
/* Main container background */
 | 
						|
.main-content {
 | 
						|
    background: #1a1a1a !important;
 | 
						|
    border-radius: 12px;
 | 
						|
    padding: 1.5rem;
 | 
						|
    margin: 0.5rem;
 | 
						|
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
 | 
						|
}
 | 
						|
 | 
						|
/* Container backgrounds */
 | 
						|
.container-fluid {
 | 
						|
    background: #111111 !important;
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
/* Bootstrap dark theme overrides */
 | 
						|
.bg-dark { background-color: #111111 !important; }
 | 
						|
.bg-secondary { background-color: #222222 !important; }
 | 
						|
.text-muted { color: #888888 !important; }
 | 
						|
.border-secondary { border-color: #333333 !important; }
 | 
						|
 | 
						|
/* Cards - Enhanced visibility */
 | 
						|
.card {
 | 
						|
    background-color: #2a2a2a !important;
 | 
						|
    border: 1px solid #444444 !important;
 | 
						|
    transition: all 0.2s ease;
 | 
						|
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
 | 
						|
    border-radius: 8px !important;
 | 
						|
}
 | 
						|
.card:hover {
 | 
						|
    border-color: #666666 !important;
 | 
						|
    background-color: #333333 !important;
 | 
						|
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5) !important;
 | 
						|
}
 | 
						|
.card-header {
 | 
						|
    background-color: rgba(255, 255, 255, 0.05) !important;
 | 
						|
    border-bottom: 1px solid #444444 !important;
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
/* Forms - Enhanced visibility */
 | 
						|
.form-control {
 | 
						|
    background-color: #2a2a2a !important;
 | 
						|
    border: 1px solid #444444 !important;
 | 
						|
    color: #ffffff !important;
 | 
						|
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
 | 
						|
}
 | 
						|
.form-control:focus {
 | 
						|
    background-color: #333333 !important;
 | 
						|
    border-color: #666666 !important;
 | 
						|
    color: #ffffff !important;
 | 
						|
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15) !important;
 | 
						|
}
 | 
						|
.form-control::placeholder {
 | 
						|
    color: #999999 !important;
 | 
						|
}
 | 
						|
 | 
						|
/* Buttons */
 | 
						|
.btn-outline-secondary {
 | 
						|
    color: #888888 !important;
 | 
						|
    border-color: #333333 !important;
 | 
						|
}
 | 
						|
.btn-outline-secondary:hover {
 | 
						|
    background-color: #333333 !important;
 | 
						|
    border-color: #555555 !important;
 | 
						|
    color: #ffffff !important;
 | 
						|
}
 | 
						|
.btn-outline-success {
 | 
						|
    color: #4ade80 !important;
 | 
						|
    border-color: #4ade80 !important;
 | 
						|
}
 | 
						|
.btn-outline-success:hover {
 | 
						|
    background-color: #4ade80 !important;
 | 
						|
    border-color: #4ade80 !important;
 | 
						|
    color: #111111 !important;
 | 
						|
}
 | 
						|
 | 
						|
/* Status badges */
 | 
						|
.status-running { background: #1a4d3a; color: #4ade80; }
 | 
						|
.status-stopped { background: #4d1a1a; color: #f87171; }
 | 
						|
.status-starting { background: #4d3d1a; color: #fbbf24; }
 | 
						|
.status-registering { background: #1a3a4d; color: #60a5fa; }
 | 
						|
 | 
						|
/* Sidebar island - Full height */
 | 
						|
.sidebar-island {
 | 
						|
    border-radius: 12px !important;
 | 
						|
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
 | 
						|
    background: #1a1a1a !important;
 | 
						|
    min-height: calc(100vh - 1rem) !important;
 | 
						|
    max-height: calc(100vh - 1rem) !important;
 | 
						|
    overflow-y: auto !important;
 | 
						|
}
 | 
						|
 | 
						|
/* Connection indicators */
 | 
						|
.connection-indicator {
 | 
						|
    width: 8px;
 | 
						|
    height: 8px;
 | 
						|
    border-radius: 50%;
 | 
						|
    background: #4ade80;
 | 
						|
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
 | 
						|
}
 | 
						|
.connection-indicator.disconnected {
 | 
						|
    background: #f87171;
 | 
						|
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.4);
 | 
						|
}
 | 
						|
 | 
						|
/* Status dots */
 | 
						|
.connection-dot {
 | 
						|
    font-size: 10px;
 | 
						|
    width: 10px;
 | 
						|
    height: 10px;
 | 
						|
    display: inline-block;
 | 
						|
}
 | 
						|
.connection-dot.status-running { color: #22c55e; }
 | 
						|
.connection-dot.status-stopped { color: #ef4444; }
 | 
						|
.connection-dot.status-starting { color: #f59e0b; }
 | 
						|
.connection-dot.status-registering { color: #3b82f6; }
 | 
						|
 | 
						|
/* Navigation and text improvements */
 | 
						|
.navbar-nav .nav-link {
 | 
						|
    color: #e8e8e8 !important;
 | 
						|
    background-color: rgba(255, 255, 255, 0.05) !important;
 | 
						|
    border-radius: 6px;
 | 
						|
    margin: 2px 0;
 | 
						|
    transition: all 0.2s ease;
 | 
						|
}
 | 
						|
.navbar-nav .nav-link:hover {
 | 
						|
    background-color: rgba(255, 255, 255, 0.1) !important;
 | 
						|
    color: #ffffff !important;
 | 
						|
}
 | 
						|
 | 
						|
/* Animations */
 | 
						|
.ping-spinner {
 | 
						|
    animation: spin 1s linear infinite;
 | 
						|
}
 | 
						|
@keyframes spin {
 | 
						|
    from { transform: rotate(0deg); }
 | 
						|
    to { transform: rotate(360deg); }
 | 
						|
}
 | 
						|
 | 
						|
/* Icon buttons */
 | 
						|
.btn-icon {
 | 
						|
    background: none;
 | 
						|
    border: none;
 | 
						|
    font-size: 14px;
 | 
						|
    cursor: pointer;
 | 
						|
    padding: 2px 4px;
 | 
						|
    border-radius: 3px;
 | 
						|
    transition: background-color 0.2s ease;
 | 
						|
}
 | 
						|
.btn-icon:hover { background-color: rgba(255, 255, 255, 0.1); }
 | 
						|
.btn-ping:hover { background-color: rgba(59, 130, 246, 0.2); }
 | 
						|
.btn-remove:hover { background-color: rgba(239, 68, 68, 0.2); }
 | 
						|
 | 
						|
/* Tables */
 | 
						|
.table-input {
 | 
						|
    width: 100%;
 | 
						|
    padding: 8px 12px;
 | 
						|
    background: #1a1a1a;
 | 
						|
    border: 1px solid #333;
 | 
						|
    border-radius: 6px;
 | 
						|
    color: #e8e8e8;
 | 
						|
    font-size: 13px;
 | 
						|
    transition: all 0.2s ease;
 | 
						|
}
 | 
						|
.table-input:focus {
 | 
						|
    outline: none;
 | 
						|
    border-color: #007acc;
 | 
						|
    background: #222;
 | 
						|
    box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.1);
 | 
						|
}
 | 
						|
.table-input::placeholder { color: #666; }
 | 
						|
 | 
						|
/* Job form */
 | 
						|
.job-form-row {
 | 
						|
    background: #0d0d0d;
 | 
						|
    border-bottom: 2px solid #333;
 | 
						|
}
 | 
						|
.action-cell {
 | 
						|
    display: flex;
 | 
						|
    gap: 8px;
 | 
						|
    align-items: center;
 | 
						|
    min-width: 200px;
 | 
						|
}
 | 
						|
 | 
						|
/* Secrets */
 | 
						|
.secret-item {
 | 
						|
    display: flex;
 | 
						|
    align-items: center;
 | 
						|
    gap: 0.5rem;
 | 
						|
    padding: 0.5rem 0.75rem;
 | 
						|
    background: #0a0a0a;
 | 
						|
    border: 1px solid #2a2a2a;
 | 
						|
    border-radius: 4px;
 | 
						|
}
 | 
						|
.secret-value {
 | 
						|
    flex: 1;
 | 
						|
    font-family: 'SF Mono', Monaco, monospace;
 | 
						|
    font-size: 0.75rem;
 | 
						|
    color: #e8e8e8;
 | 
						|
}
 | 
						|
 | 
						|
/* Session login */
 | 
						|
.session-input {
 | 
						|
    flex: 1;
 | 
						|
    padding: 0.5rem 0.75rem;
 | 
						|
    background: #0a0a0a;
 | 
						|
    border: 1px solid #333333;
 | 
						|
    border-radius: 6px;
 | 
						|
    color: #e8e8e8;
 | 
						|
    font-size: 0.875rem;
 | 
						|
    transition: border-color 0.2s ease;
 | 
						|
}
 | 
						|
.session-input:focus {
 | 
						|
    outline: none;
 | 
						|
    border-color: #ff6b5a;
 | 
						|
}
 | 
						|
 | 
						|
/* Lock button */
 | 
						|
.lock-btn {
 | 
						|
    width: 32px;
 | 
						|
    height: 32px;
 | 
						|
    background: transparent;
 | 
						|
    border: 1px solid #333333;
 | 
						|
    border-radius: 6px;
 | 
						|
    color: #888888;
 | 
						|
    cursor: pointer;
 | 
						|
    transition: all 0.2s ease;
 | 
						|
    display: flex;
 | 
						|
    align-items: center;
 | 
						|
    justify-content: center;
 | 
						|
}
 | 
						|
.lock-btn:hover {
 | 
						|
    border-color: #555555;
 | 
						|
    color: #e8e8e8;
 | 
						|
}
 | 
						|
.lock-btn.locked {
 | 
						|
    border-color: #ff6b5a;
 | 
						|
    color: #ff6b5a;
 | 
						|
}
 | 
						|
 | 
						|
/* Responsive */
 | 
						|
@media (max-width: 768px) {
 | 
						|
    .runners-grid {
 | 
						|
        flex-direction: column;
 | 
						|
    }
 | 
						|
    .runner-card {
 | 
						|
        flex-direction: column;
 | 
						|
        align-items: flex-start;
 | 
						|
    }
 | 
						|
}
 |