/* Hero Supervisor Admin UI - Dark Theme */ * { margin: 0; padding: 0; box-sizing: border-box; } body { background: #0a0a0a; color: #e8e8e8; font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', system-ui, sans-serif; font-size: 14px; line-height: 1.5; overflow-x: hidden; } .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; } h1 { font-size: 24px; font-weight: 600; color: #ffffff; margin-bottom: 24px; letter-spacing: -0.025em; } h2 { font-size: 18px; font-weight: 500; color: #ffffff; margin: 48px 0 20px 0; letter-spacing: -0.025em; } .runners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 48px; } .card { background: #111111; border: 1px solid #222222; border-radius: 8px; padding: 20px; transition: all 0.2s ease; } .card:hover { border-color: #333333; background: #131313; } .register-card { border: 1px dashed #333333; background: #0f0f0f; } .register-card:hover { border-color: #ff6b5a; background: #111111; } .card-title { font-size: 16px; font-weight: 500; color: #ffffff; margin: 0; } .status { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; } .status-running { background: #1a4d3a; color: #4ade80; } .status-stopped { background: #4d1a1a; color: #f87171; } .status-starting { background: #4d3d1a; color: #fbbf24; } .status-registering { background: #1a3a4d; color: #60a5fa; } .form-group { margin-bottom: 16px; } .form-control { width: 100%; padding: 12px; background: #1a1a1a; border: 1px solid #333333; border-radius: 6px; color: #e8e8e8; font-size: 14px; transition: border-color 0.2s ease; } .form-control:focus { outline: none; border-color: #ff6b5a; } .form-control::placeholder { color: #666666; } .btn { padding: 12px 20px; border: none; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .lock-btn { font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .lock-btn.locked { background: #f8f9fa; border: 1px solid #dee2e6; } .lock-btn.locked:hover { background: #e9ecef; } .lock-btn.unlocked { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; } .lock-btn.unlocked:hover { background: #c3e6cb; } .btn-primary { background: #ff6b5a; color: #000000; } .btn-primary:hover { background: #ff5a47; transform: translateY(-1px); } .btn-ghost { background: transparent; color: #999999; border: 1px solid #333333; } .btn-ghost:hover { color: #e8e8e8; border-color: #555555; } .table-container { background: #111111; border: 1px solid #222222; border-radius: 8px; overflow: hidden; } .table { width: 100%; border-collapse: collapse; } .table th { background: #0f0f0f; padding: 16px; text-align: left; font-weight: 500; color: #ffffff; border-bottom: 1px solid #222222; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; } .table td { padding: 16px; border-bottom: 1px solid #1a1a1a; color: #e8e8e8; } .table tr:hover { background: #131313; } .code { background: #0a0a0a; padding: 8px 12px; border-radius: 4px; font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; font-size: 12px; color: #a3a3a3; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .refresh-btn { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: #1a1a1a; border: 1px solid #333333; color: #999999; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; } .refresh-btn:hover { background: #222222; color: #e8e8e8; border-color: #555555; } .status-grid { display: flex; flex-direction: column; gap: 0.75rem; } .status-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; } .status-label { color: #ccc; font-size: 0.9rem; font-weight: 500; } .status-value { color: #fff; font-size: 0.8rem; background: #333; padding: 0.25rem 0.5rem; border-radius: 4px; font-family: monospace; } .status-badge { background: #4a90e2; color: #fff; padding: 0.25rem 0.5rem; border-radius: 12px; font-size: 0.8rem; font-weight: 600; min-width: 24px; text-align: center; } .secrets-overview { display: flex; flex-direction: column; gap: 1rem; } .secret-type { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem; background: #2a2a2a; border-radius: 8px; border: 1px solid #333; } .secret-label { color: #fff; font-weight: 600; font-size: 0.9rem; } .secret-count { background: #ff6b6b; color: #fff; padding: 0.25rem 0.5rem; border-radius: 12px; font-size: 0.8rem; font-weight: 600; min-width: 24px; text-align: center; } .secret-actions { display: flex; gap: 0.25rem; } .btn-sm { padding: 0.25rem 0.5rem; font-size: 0.75rem; border-radius: 4px; border: none; cursor: pointer; font-weight: 600; transition: all 0.2s ease; } .btn-success { background: #28a745; color: #fff; } .btn-success:hover { background: #218838; transform: scale(1.05); } .btn-danger { background: #dc3545; color: #fff; } .btn-danger:hover { background: #c82333; transform: scale(1.05); } .btn-block { width: 100%; } .sidebar-footer { border-top: 1px solid #333; padding: 1.5rem; background: #0f0f0f; margin-top: auto; } .docs-section h5 { color: #4a90e2; margin: 0 0 1rem 0; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .docs-links { display: flex; flex-direction: column; gap: 0.5rem; } .doc-link { color: #ccc; text-decoration: none; font-size: 0.85rem; padding: 0.5rem 0.75rem; border-radius: 6px; background: #2a2a2a; border: 1px solid #333; transition: all 0.3s ease; display: flex; align-items: center; gap: 0.5rem; } .doc-link:hover { background: #333; color: #4a90e2; transform: translateX(4px); border-color: #4a90e2; } /* App container with flexbox layout */ .app-container { display: flex; min-height: 100vh; background: #0a0a0a; padding: 1.5rem; gap: 1.5rem; } /* Sidebar as island card */ .sidebar { width: 320px; min-width: 320px; background: #1a1a1a; border: 1px solid #333; border-radius: 12px; overflow-y: auto; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); display: flex; flex-direction: column; padding: 2rem 1.5rem; height: fit-content; max-height: calc(100vh - 3rem); } /* Server info section styling */ .server-info { margin-bottom: 2rem; } .server-header { margin-bottom: 1rem; } .supervisor-title { color: #fff; font-size: 1.2rem; font-weight: 600; margin: 0; letter-spacing: -0.025em; } .server-url { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0; } .connection-indicator { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px rgba(74, 222, 128, 0.4); } .connection-indicator.connected { 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); } .url-text { color: #ccc; font-size: 0.85rem; font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; } /* Secrets section styling */ .secrets-section { margin: 2rem 0; } .secrets-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; } .secrets-title { color: #fff; font-size: 1rem; font-weight: 500; } .lock-btn { background: none; border: 1px solid #444; border-radius: 6px; padding: 0.25rem 0.5rem; cursor: pointer; transition: all 0.2s ease; } .lock-btn.locked { border-color: #ff6b6b; } .lock-btn.unlocked { border-color: #4ade80; } .lock-btn:hover { background: rgba(255, 255, 255, 0.05); } .lock-icon { font-size: 0.9rem; } .unlock-input-row { margin-bottom: 1rem; } .unlock-input { flex: 1; background: #2a2a2a; border: 1px solid #444; color: #fff; padding: 0.5rem 0.75rem; border-radius: 4px; font-size: 0.85rem; transition: border-color 0.2s ease; } .unlock-input:focus { outline: none; border-color: #4a90e2; } .unlock-input::placeholder { color: #666; } .unlock-btn { background: #4a90e2; border: none; color: #fff; padding: 0.5rem; border-radius: 4px; font-size: 0.85rem; cursor: pointer; transition: background-color 0.2s ease; display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; } .unlock-btn:hover { background: #357abd; } .lock-btn { background: #ff6b5a; border: none; color: #fff; padding: 0.5rem; border-radius: 4px; font-size: 0.85rem; cursor: pointer; transition: background-color 0.2s ease; display: flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; } .lock-btn:hover { background: #e55a4a; } .secrets-content { margin-top: 1rem; } .secret-group { margin-bottom: 1.5rem; } .secret-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; } .secret-title { color: #ccc; font-size: 0.85rem; font-weight: 500; } .secret-controls { display: flex; gap: 0.25rem; } .btn-icon { background: none; border: 1px solid #444; color: #ccc; width: 24px; height: 24px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; cursor: pointer; transition: all 0.2s ease; } .btn-add:hover { border-color: #4a90e2; color: #4a90e2; } .btn-remove:hover { border-color: #ff6b6b; color: #ff6b6b; } .secret-list { display: flex; flex-direction: column; gap: 0.5rem; } .secret-item { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid #333; } .secret-item:last-child { border-bottom: none; } .secret-item:hover { background: rgba(255, 255, 255, 0.02); } .secret-value { color: #fff; font-size: 0.85rem; font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; flex: 1; margin-right: 0.5rem; word-break: break-all; } .secret-add-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0; } .secret-add-input { flex: 1; background: #2a2a2a; border: 1px solid #444; color: #fff; padding: 0.5rem 0.75rem; border-radius: 4px; font-size: 0.85rem; transition: border-color 0.2s ease; } .secret-add-input:focus { outline: none; border-color: #4a90e2; } .secret-add-input::placeholder { color: #666; } .secret-inputs { display: flex; flex-direction: column; gap: 0.5rem; } .secret-input-row { display: flex; gap: 0.5rem; align-items: center; } .secret-input { flex: 1; background: #2a2a2a; border: 1px solid #444; color: #fff; padding: 0.5rem 0.75rem; border-radius: 4px; font-size: 0.85rem; transition: border-color 0.2s ease; } .secret-input:focus { outline: none; border-color: #4a90e2; } .secret-input::placeholder { color: #666; } .secret-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; } .secret-item { display: flex; gap: 0.5rem; align-items: center; } .secret-value { flex: 1; background: #2a2a2a; border: 1px solid #444; color: #fff; padding: 0.5rem 0.75rem; border-radius: 4px; font-size: 0.85rem; font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; } /* Save section styling */ .save-section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #2a2a2a; } .save-changes-btn { width: 100%; background: #4a90e2; border: none; color: #fff; padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: background-color 0.2s ease; } .save-changes-btn:hover { background: #357abd; } .save-changes-btn:disabled { background: #333; color: #666; cursor: not-allowed; } .main-content { flex: 1; padding: 2rem; overflow-y: auto; background: #111111; border: 1px solid #222222; border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); } /* Remove header styles since header is removed */ /* Remove sidebar toggle styles since toggle is removed */ /* Container styles for new layout */ .runners-grid, .jobs-section { padding: 0; } /* Table input styling for job form row */ .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; margin: 0; } .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; font-size: 12px; } /* Job form row styling */ .job-form-row { background: #0d0d0d; border-bottom: 2px solid #333; } .job-form-row td { padding: 12px 8px; vertical-align: middle; } /* Form row for runner registration */ .form-row { display: flex; gap: 8px; align-items: center; } .form-control-inline { flex: 1; margin-right: 8px; } /* Action cell styling for jobs table */ .action-cell { display: flex; gap: 8px; align-items: center; min-width: 200px; } .secret-input { width: 120px; flex-shrink: 0; } /* Status badge styling */ .status-badge { background: #333; color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: 500; text-transform: uppercase; } /* Runner card redesign */ .runner-card { position: relative; } .card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; } .runner-actions-top { display: flex; align-items: center; gap: 4px; } .status-icon { font-size: 12px; margin-right: 4px; } .status-icon.status-running { color: #4ade80; } .status-icon.status-stopped { color: #ef4444; } .status-icon.status-starting { color: #f59e0b; } .status-icon.status-registering { color: #3b82f6; } /* New UI improvements */ .runner-title-section { flex: 1; } .runner-title-with-dot { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; } .connection-dot { font-size: 10px; line-height: 1; display: inline-block; width: 10px; height: 10px; text-align: center; } .connection-dot.status-running { color: #22c55e; } .connection-dot.status-stopped { color: #ef4444; } .connection-dot.status-starting { color: #f59e0b; } .connection-dot.status-registering { color: #3b82f6; } .queue-info { color: #888; font-size: 11px; margin-left: 18px; /* Align with title after dot */ display: block; } .card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; } .ping-section { margin-top: 16px; padding-top: 12px; border-top: 1px solid #222; } .ping-section .input-group { display: flex; } .ping-section .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; font-size: 12px; padding: 6px 8px; } .ping-section .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; font-size: 12px; padding: 6px 12px; white-space: nowrap; } .trash-icon { width: 14px; height: 14px; stroke: currentColor; } .btn-remove { padding: 4px 8px; display: flex; align-items: center; justify-content: center; } .input-group-sm .form-control { font-size: 12px; padding: 6px 8px; } .input-group-sm .btn { font-size: 12px; padding: 6px 12px; } .runner-chart { margin: 12px 0; padding: 12px; background: #0a0a0a; border-radius: 6px; border: 1px solid #222; } .ping-status { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; font-size: 12px; min-height: 32px; } .ping-waiting { background: #1a3a4d; color: #60a5fa; border: 1px solid #3b82f6; } .ping-success { background: #1a4d3a; color: #4ade80; border: 1px solid #22c55e; } .ping-error { background: #4d1a1a; color: #f87171; border: 1px solid #ef4444; } .ping-spinner { animation: spin 1s linear infinite; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .ping-icon { flex-shrink: 0; } .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); } .btn-stop:hover { background-color: rgba(245, 158, 11, 0.2); } .btn-delete:hover { background-color: rgba(239, 68, 68, 0.2); } /* Runner info styling */ .runner-info { margin: 8px 0; padding: 4px 0; } .queue-info { font-size: 9px; color: #666; word-break: break-all; font-family: monospace; } /* Runner chart placeholder */ .runner-chart { margin-top: 8px; padding: 8px 0; border-top: 1px solid #333; } .chart-placeholder { font-size: 10px; color: #888; text-align: center; padding: 12px 4px; background: #0a0a0a; border-radius: 4px; border: 1px dashed #333; } /* Responsive design for sidebar */ @media (max-width: 768px) { .app-container { flex-direction: column; padding: 1rem; gap: 1rem; } .sidebar { width: 100%; min-width: auto; max-height: 50vh; height: auto; } .main-content { padding: 1.5rem; } }