|
50 | 50 | 0% { transform: rotate(0deg); } |
51 | 51 | 100% { transform: rotate(360deg); } |
52 | 52 | } |
| 53 | + |
| 54 | +/* Extracted Animations to prevent layout thrashing */ |
| 55 | + |
| 56 | +.animate-spin-slow { animation: spin 4s linear infinite; } |
| 57 | +@keyframes flash { |
| 58 | + 0% { background-color: rgba(34, 211, 238, 0.2); } |
| 59 | + 100% { background-color: transparent; } |
| 60 | +} |
| 61 | +.animate-flash { animation: flash 1s ease-out; } |
| 62 | + |
| 63 | +@keyframes marquee { |
| 64 | + 0% { transform: translateX(0); } |
| 65 | + 100% { transform: translateX(-100%); } |
| 66 | +} |
| 67 | +.animate-marquee { |
| 68 | + animation: marquee 30s linear infinite; |
| 69 | +} |
| 70 | + |
| 71 | +@keyframes scan-synthesizer { |
| 72 | + 0% { transform: translateY(-100%); opacity: 0; } |
| 73 | + 50% { opacity: 1; } |
| 74 | + 100% { transform: translateY(1000%); opacity: 0; } |
| 75 | +} |
| 76 | + |
| 77 | +@keyframes scan-evolution { |
| 78 | + 0% { top: 0%; } |
| 79 | + 100% { top: 100%; } |
| 80 | +} |
| 81 | +.scan-line { |
| 82 | + width: 100%; |
| 83 | + height: 2px; |
| 84 | + background: rgba(168, 85, 247, 0.3); |
| 85 | + opacity: 0.5; |
| 86 | + animation: scan-evolution 4s linear infinite; |
| 87 | + position: fixed; |
| 88 | + top: 0; |
| 89 | + pointer-events: none; |
| 90 | + z-index: 50; |
| 91 | +} |
| 92 | +.glass-panel { |
| 93 | + background: rgba(13, 20, 31, 0.7); |
| 94 | + backdrop-filter: blur(12px); |
| 95 | + border: 1px solid rgba(59, 130, 246, 0.15); |
| 96 | + box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); |
| 97 | +} |
| 98 | +.glass-panel-active { |
| 99 | + border: 1px solid rgba(168, 85, 247, 0.4); |
| 100 | + box-shadow: 0 0 20px rgba(168, 85, 247, 0.15); |
| 101 | +} |
| 102 | +.text-glow { |
| 103 | + text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); |
| 104 | +} |
| 105 | + |
| 106 | +/* Scrollbar */ |
| 107 | +::-webkit-scrollbar { width: 8px; } |
| 108 | +::-webkit-scrollbar-track { background: #0f172a; } |
| 109 | +::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; } |
| 110 | +::-webkit-scrollbar-thumb:hover { background: #475569; } |
0 commit comments