/* video2robot web - minimal styles */ /* Custom scrollbar */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: #aaa; } /* Project list item */ .project-item { cursor: pointer; transition: background-color 0.1s; } .project-item:hover { background-color: #f9fafb; } .project-item.selected { background-color: #f3f4f6; } /* Status badges */ .badge { display: inline-flex; align-items: center; padding: 0.125rem 0.5rem; font-size: 0.75rem; border-radius: 9999px; } .badge-success { background-color: #dcfce7; color: #166534; } .badge-pending { background-color: #f3f4f6; color: #6b7280; } .badge-running { background-color: #dbeafe; color: #1e40af; } .badge-error { background-color: #fee2e2; color: #991b1b; } /* Progress bar */ .progress-bar { height: 6px; background-color: #e5e7eb; border-radius: 3px; overflow: hidden; } .progress-bar-fill { height: 100%; background-color: #3b82f6; transition: width 0.3s ease; } .progress-bar-fill.animate-pulse { animation: progress-pulse 1.5s ease-in-out infinite; } @keyframes progress-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } } /* Task item */ .task-item { padding: 0.75rem; border: 1px solid #e5e7eb; border-radius: 0.375rem; margin-bottom: 0.5rem; } .task-item:last-child { margin-bottom: 0; } /* Loading spinner */ .spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #e5e7eb; border-top-color: #374151; border-radius: 50%; animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Truncate text */ .truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } /* Line clamp for prompt */ .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }