|
1 | 1 | @tailwind base; |
2 | 2 | @tailwind components; |
3 | 3 | @tailwind utilities; |
| 4 | + |
| 5 | +/* Glassmorphism and Modern Styles */ |
| 6 | +@layer base { |
| 7 | + body { |
| 8 | + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| 9 | + min-height: 100vh; |
| 10 | + font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif; |
| 11 | + } |
| 12 | +} |
| 13 | + |
| 14 | +@layer components { |
| 15 | + /* Glass card effects */ |
| 16 | + .glass-card { |
| 17 | + background: rgba(255, 255, 255, 0.1); |
| 18 | + backdrop-filter: blur(20px); |
| 19 | + border: 1px solid rgba(255, 255, 255, 0.2); |
| 20 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); |
| 21 | + transition: all 0.3s ease; |
| 22 | + } |
| 23 | + |
| 24 | + .glass-card:hover { |
| 25 | + background: rgba(255, 255, 255, 0.15); |
| 26 | + transform: translateY(-2px); |
| 27 | + box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); |
| 28 | + } |
| 29 | + |
| 30 | + /* Glass button styles */ |
| 31 | + .glass-button { |
| 32 | + background: rgba(255, 255, 255, 0.2); |
| 33 | + backdrop-filter: blur(10px); |
| 34 | + border: 1px solid rgba(255, 255, 255, 0.3); |
| 35 | + transition: all 0.3s ease; |
| 36 | + } |
| 37 | + |
| 38 | + .glass-button:hover { |
| 39 | + background: rgba(255, 255, 255, 0.3); |
| 40 | + transform: translateY(-1px); |
| 41 | + box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); |
| 42 | + } |
| 43 | + |
| 44 | + /* Modern scrollbar */ |
| 45 | + .custom-scrollbar::-webkit-scrollbar { |
| 46 | + width: 6px; |
| 47 | + } |
| 48 | + |
| 49 | + .custom-scrollbar::-webkit-scrollbar-track { |
| 50 | + background: rgba(255, 255, 255, 0.1); |
| 51 | + border-radius: 10px; |
| 52 | + } |
| 53 | + |
| 54 | + .custom-scrollbar::-webkit-scrollbar-thumb { |
| 55 | + background: rgba(255, 255, 255, 0.3); |
| 56 | + border-radius: 10px; |
| 57 | + } |
| 58 | + |
| 59 | + .custom-scrollbar::-webkit-scrollbar-thumb:hover { |
| 60 | + background: rgba(255, 255, 255, 0.5); |
| 61 | + } |
| 62 | + |
| 63 | + /* Floating elements */ |
| 64 | + .floating { |
| 65 | + animation: float 6s ease-in-out infinite; |
| 66 | + } |
| 67 | + |
| 68 | + @keyframes float { |
| 69 | + 0%, |
| 70 | + 100% { |
| 71 | + transform: translateY(0px); |
| 72 | + } |
| 73 | + 50% { |
| 74 | + transform: translateY(-10px); |
| 75 | + } |
| 76 | + } |
| 77 | + |
| 78 | + /* Glow effects */ |
| 79 | + .glow-green { |
| 80 | + box-shadow: 0 0 20px rgba(34, 197, 94, 0.4); |
| 81 | + } |
| 82 | + |
| 83 | + .glow-red { |
| 84 | + box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); |
| 85 | + } |
| 86 | + |
| 87 | + .glow-blue { |
| 88 | + box-shadow: 0 0 20px rgba(59, 130, 246, 0.4); |
| 89 | + } |
| 90 | + |
| 91 | + /* Status indicators */ |
| 92 | + .status-indicator { |
| 93 | + position: relative; |
| 94 | + overflow: hidden; |
| 95 | + } |
| 96 | + |
| 97 | + .status-indicator::before { |
| 98 | + content: ""; |
| 99 | + position: absolute; |
| 100 | + top: 0; |
| 101 | + left: -100%; |
| 102 | + width: 100%; |
| 103 | + height: 100%; |
| 104 | + background: linear-gradient( |
| 105 | + 90deg, |
| 106 | + transparent, |
| 107 | + rgba(255, 255, 255, 0.2), |
| 108 | + transparent |
| 109 | + ); |
| 110 | + transition: left 0.5s; |
| 111 | + } |
| 112 | + |
| 113 | + .status-indicator:hover::before { |
| 114 | + left: 100%; |
| 115 | + } |
| 116 | +} |
0 commit comments