Spaces:
Sleeping
Sleeping
File size: 2,558 Bytes
712f4ea c132c62 712f4ea 3ce30ae 712f4ea 3ce30ae 712f4ea a45d518 c132c62 712f4ea | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | @tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
* {
box-sizing: border-box;
scrollbar-width: thin;
scrollbar-color: #1f2937 transparent;
}
*::-webkit-scrollbar {
width: 6px;
height: 6px;
}
*::-webkit-scrollbar-track {
background: transparent;
}
*::-webkit-scrollbar-thumb {
background-color: #1f2937;
border-radius: 3px;
}
*::-webkit-scrollbar-thumb:hover {
background-color: #374151;
}
html, body {
margin: 0;
padding: 0;
background-color: #0a0e1a;
color: #f9fafb;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
min-height: 100vh;
-webkit-tap-highlight-color: transparent;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overscroll-behavior-y: none;
}
button, a, input, select, textarea {
touch-action: manipulation;
}
#root {
min-height: 100vh;
display: flex;
flex-direction: column;
}
}
@layer components {
.skeleton {
background: linear-gradient(
90deg,
#1f2937 0%,
#374151 50%,
#1f2937 100%
);
background-size: 200% 100%;
animation: shimmer 1.5s infinite linear;
border-radius: 4px;
}
.glow-long {
box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}
.glow-short {
box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}
/* GPU-Accelerated Off-Screen Virtualization (Native browser rendering skip for off-screen cards) */
.signal-card-container {
content-visibility: auto;
contain-intrinsic-size: 1px 310px;
will-change: transform;
}
.card {
@apply bg-bg-card border border-border rounded-xl;
}
.btn-primary {
@apply bg-accent-blue hover:bg-blue-600 text-white font-medium px-4 py-2 rounded-lg transition-colors duration-150 text-sm;
}
.btn-ghost {
@apply bg-transparent hover:bg-bg-elevated text-text-secondary hover:text-text-primary border border-border px-4 py-2 rounded-lg transition-colors duration-150 text-sm;
}
.input-field {
@apply bg-bg-elevated border border-border text-text-primary placeholder-text-muted rounded-lg px-3 py-2 text-sm focus:outline-none focus:border-accent-blue focus:ring-1 focus:ring-accent-blue transition-colors;
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.pb-safe {
padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}
.momentum-scroll {
-webkit-overflow-scrolling: touch;
}
}
|