orakzai-io
V2
d57e0f9
Raw History Blame Contribute Delete
4.68 kB
:root {
--primary: #4f46e5;
--primary-hover: #4338ca;
--secondary: #3b82f6;
--secondary-hover: #2563eb;
--bg: #0f172a;
--card-bg: #1e293b;
--text: #f8fafc;
--text-muted: #94a3b8;
--border: #334155;
--success: #10b981;
--danger: #ef4444;
--warning: #f59e0b;
}
* { box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }
body { margin: 0; padding: 2rem; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; justify-content: center; }
.container { max-width: 800px; width: 100%; }
header { text-align: center; margin-bottom: 2rem; }
h1 { margin: 0 0 0.5rem 0; background: linear-gradient(to right, #60a5fa, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0; color: var(--text-muted); }
.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin-bottom: 2rem; }
.card-header { margin-bottom: 1rem; }
.card-header h2 { margin: 0; font-size: 1.25rem; }
.input-group { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
input { flex: 1; padding: 0.75rem 1rem; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 1rem; }
input:focus { outline: none; border-color: var(--primary); }
.btn { padding: 0.75rem 1.5rem; border-radius: 6px; border: none; font-weight: 600; cursor: pointer; color: white; transition: background 0.2s; font-size: 1rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { background: var(--primary); width: 100%; margin-top: 1.5rem; }
.btn-primary:not(:disabled):hover { background: var(--primary-hover); }
.btn-secondary { background: var(--secondary); }
.btn-secondary:not(:disabled):hover { background: var(--secondary-hover); }
.url-list-container h3 { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; margin: 0 0 1rem 0; font-size: 1rem; }
.badge { background: var(--border); padding: 0.25rem 0.5rem; border-radius: 12px; font-size: 0.8rem; }
.url-list { list-style: none; padding: 0; margin: 0; max-height: 200px; overflow-y: auto; }
.url-list li { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; margin-bottom: 0.5rem; font-size: 0.9rem; word-break: break-all; }
.url-list li button { background: transparent; border: none; color: var(--danger); cursor: pointer; font-weight: bold; padding: 0 0.5rem; font-size: 1.2rem; }
.url-list li button:hover { opacity: 0.8; }
.empty-list-msg, .empty-state { color: var(--text-muted); font-style: italic; text-align: center; padding: 1rem; border: none !important; background: transparent !important; }
.jobs-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.2s; }
.jobs-table tbody tr:last-child { border-bottom: none; }
.jobs-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.row-completed { background: rgba(16, 185, 129, 0.05); }
.row-completed:hover { background: rgba(16, 185, 129, 0.1) !important; }
.row-processing { background: rgba(245, 158, 11, 0.05); }
.row-processing:hover { background: rgba(245, 158, 11, 0.1) !important; }
.row-failed { background: rgba(239, 68, 68, 0.05); }
.row-failed:hover { background: rgba(239, 68, 68, 0.1) !important; }
.row-pending { background: rgba(148, 163, 184, 0.05); }
.row-pending:hover { background: rgba(148, 163, 184, 0.1) !important; }
.jobs-table td { padding: 0.75rem; vertical-align: middle; }
.jobs-table td:first-child { width: 50px; }
.jobs-table td:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jobs-table td:last-child { width: 160px; white-space: nowrap; }
.job-status { font-weight: bold; text-transform: uppercase; font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 4px; display: inline-block; }
.status-completed { color: #fff; background: rgba(16, 185, 129, 0.2); border: 1px solid var(--success); }
.status-processing { color: #fff; background: rgba(245, 158, 11, 0.2); border: 1px solid var(--warning); }
.status-failed { color: #fff; background: rgba(239, 68, 68, 0.2); border: 1px solid var(--danger); }
.status-pending { color: #fff; background: rgba(148, 163, 184, 0.2); border: 1px solid var(--text-muted); }
.btn-download { background: var(--success); color: white; display: none; }
.btn-download:hover { opacity: 0.9; }
@keyframes spin {
100% { transform: rotate(360deg); }
}
.spin-icon {
animation: spin 1s linear infinite;
}