diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css index ea4c2b23d..83ecac012 100644 --- a/apps/web/src/app/globals.css +++ b/apps/web/src/app/globals.css @@ -269,17 +269,6 @@ pre { animation: pulse-glow 2s ease-in-out infinite; } -.animate-shimmer { - background: linear-gradient( - 90deg, - rgba(255, 255, 255, 0) 0%, - rgba(255, 255, 255, 0.1) 50%, - rgba(255, 255, 255, 0) 100% - ); - background-size: 200% 100%; - animation: shimmer 2s linear infinite; -} - .animate-gradient { background-size: 200% 200%; animation: gradient-shift 8s ease infinite; @@ -557,76 +546,7 @@ pre { } /* ============================================ - Enhanced Input Styling - ============================================ */ - -.input-glow { - position: relative; -} - -.input-glow::before { - content: ""; - position: absolute; - inset: -2px; - background: linear-gradient( - 135deg, - rgba(139, 92, 246, 0.3) 0%, - rgba(34, 211, 238, 0.3) 100% - ); - border-radius: inherit; - opacity: 0; - transition: opacity var(--transition-base); - z-index: -1; - filter: blur(8px); -} - -.input-glow:focus-within::before { - opacity: 1; -} - -/* ============================================ - Topic Chip Styles - ============================================ */ - -.chip { - display: inline-flex; - align-items: center; - gap: 0.5rem; - padding: 0.625rem 1rem; - font-size: 0.875rem; - font-weight: 500; - border-radius: 0.75rem; - background: rgba(255, 255, 255, 0.03); - border: 1px solid rgba(255, 255, 255, 0.08); - color: rgba(255, 255, 255, 0.8); - transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base); - cursor: pointer; -} - -.chip:hover { - background: rgba(255, 255, 255, 0.06); - border-color: rgba(255, 255, 255, 0.15); - transform: translateY(-2px); -} - -.chip:active { - transform: translateY(0); -} - -/* ============================================ - Text Utilities - ============================================ */ - -.text-shadow-lg { - text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); -} - -.text-shadow-glow { - text-shadow: 0 0 40px rgba(139, 92, 246, 0.5); -} - -/* ============================================ - Skeleton Loading + Skeleton Loading (Used by loading states) ============================================ */ .skeleton { @@ -637,6 +557,15 @@ pre { rgba(255, 255, 255, 0.03) 100% ); background-size: 200% 100%; - animation: shimmer 1.5s ease-in-out infinite; + animation: skeleton-shimmer 1.5s ease-in-out infinite; border-radius: 0.5rem; } + +@keyframes skeleton-shimmer { + 0% { + background-position: -200% 0; + } + 100% { + background-position: 200% 0; + } +} diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index 6d86e1ff7..3fdcb554a 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -484,9 +484,9 @@ export default function HomePage() {