Spaces:
Running
Running
Download frontend/src/styles/index.css from SeventhSenseAI/face-recognition: direct link, hf CLI and curl.
- Browser
- Download file 3.59 kB
-
https://huggingface.co/spaces/SeventhSenseAI/face-recognition/resolve/main/frontend/src/styles/index.css
- Command line
-
hf download hf://spaces/SeventhSenseAI/face-recognition/frontend/src/styles/index.css
-
curl -L -o index.css https://huggingface.co/spaces/SeventhSenseAI/face-recognition/resolve/main/frontend/src/styles/index.css
3.59 kB
| @tailwind base; | |
| @tailwind components; | |
| @tailwind utilities; | |
| :root { | |
| --gradient-1: #E53935; | |
| --gradient-2: #FFC107; | |
| --gradient-3: #FF9800; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background: #0a0a0f; | |
| color: #ffffff; | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| } | |
| h1, h2, h3, h4, h5, h6 { | |
| font-family: 'Space Grotesk', sans-serif; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #1e1e2e; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #E53935; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #EF5350; | |
| } | |
| /* Glassmorphism */ | |
| .glass { | |
| background: rgba(30, 30, 46, 0.6); | |
| backdrop-filter: blur(20px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .glass-card { | |
| background: linear-gradient( | |
| 135deg, | |
| rgba(255, 255, 255, 0.05) 0%, | |
| rgba(255, 255, 255, 0.02) 100% | |
| ); | |
| backdrop-filter: blur(20px); | |
| border: 1px solid rgba(255, 255, 255, 0.08); | |
| border-radius: 24px; | |
| } | |
| /* Gradient text */ | |
| .gradient-text { | |
| background: linear-gradient(135deg, #E53935 0%, #FFC107 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| /* Gradient border */ | |
| .gradient-border { | |
| position: relative; | |
| background: #0a0a0f; | |
| border-radius: 24px; | |
| } | |
| .gradient-border::before { | |
| content: ''; | |
| position: absolute; | |
| inset: 0; | |
| border-radius: 24px; | |
| padding: 2px; | |
| background: linear-gradient(135deg, #E53935, #FFC107, #FF9800); | |
| -webkit-mask: | |
| linear-gradient(#fff 0 0) content-box, | |
| linear-gradient(#fff 0 0); | |
| -webkit-mask-composite: xor; | |
| mask-composite: exclude; | |
| } | |
| /* Animated background - clean dark */ | |
| .bg-animated { | |
| background: #0a0a0f; | |
| } | |
| /* Pulse ring animation */ | |
| @keyframes ping-slow { | |
| 75%, 100% { | |
| transform: scale(1.5); | |
| opacity: 0; | |
| } | |
| } | |
| .animate-ping-slow { | |
| animation: ping-slow 2s cubic-bezier(0, 0, 0.2, 1) infinite; | |
| } | |
| /* Shimmer effect */ | |
| .shimmer { | |
| background: linear-gradient( | |
| 90deg, | |
| rgba(255, 255, 255, 0) 0%, | |
| rgba(255, 255, 255, 0.05) 50%, | |
| rgba(255, 255, 255, 0) 100% | |
| ); | |
| background-size: 200% 100%; | |
| animation: shimmer 2s infinite; | |
| } | |
| @keyframes shimmer { | |
| 0% { background-position: 200% 0; } | |
| 100% { background-position: -200% 0; } | |
| } | |
| /* Upload zone styles */ | |
| .upload-zone { | |
| transition: all 0.3s ease; | |
| } | |
| .upload-zone:hover { | |
| border-color: rgba(229, 57, 53, 0.5); | |
| background: rgba(229, 57, 53, 0.05); | |
| } | |
| .upload-zone.active { | |
| border-color: #E53935; | |
| background: rgba(229, 57, 53, 0.1); | |
| box-shadow: 0 0 40px rgba(229, 57, 53, 0.2); | |
| } | |
| /* Result card animations */ | |
| .result-enter { | |
| animation: resultEnter 0.5s ease-out forwards; | |
| } | |
| @keyframes resultEnter { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px) scale(0.95); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0) scale(1); | |
| } | |
| } | |
| /* Similarity meter */ | |
| .similarity-meter { | |
| position: relative; | |
| height: 8px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 4px; | |
| overflow: hidden; | |
| } | |
| .similarity-fill { | |
| height: 100%; | |
| border-radius: 4px; | |
| transition: width 1s ease-out; | |
| } | |
| /* Match status indicator */ | |
| .match-indicator { | |
| animation: pulse 2s ease-in-out infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); } | |
| 50% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); } | |
| } | |
| .no-match-indicator { | |
| animation: pulse-red 2s ease-in-out infinite; | |
| } | |
| @keyframes pulse-red { | |
| 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); } | |
| 50% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); } | |
| } |