Spaces:
Build error
Build error
File size: 4,868 Bytes
49e53ae |
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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 80 10% 88%;
--foreground: 0 0% 10%;
--card: 0 0% 100%;
--card-foreground: 0 0% 10%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 10%;
--primary: 0 0% 15%;
--primary-foreground: 0 0% 98%;
--secondary: 0 0% 96%;
--secondary-foreground: 0 0% 10%;
--muted: 0 0% 96%;
--muted-foreground: 0 0% 45%;
--accent: 0 0% 96%;
--accent-foreground: 0 0% 10%;
--destructive: 0 84% 60%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 85%;
--input: 0 0% 85%;
--ring: 0 0% 15%;
--radius: 1rem;
/* Font families */
--font-space-grotesk: 'Space Grotesk', sans-serif;
--font-dm-sans: 'DM Sans', sans-serif;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
font-family: var(--font-space-grotesk), system-ui, sans-serif;
font-feature-settings: "rlig" 1, "calt" 1;
min-height: 100vh;
}
/* Headers - Bold uppercase style like the design */
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-space-grotesk);
font-weight: 700;
letter-spacing: -0.02em;
}
/* Numbers and data - slightly different weight */
.font-data {
font-family: var(--font-space-grotesk);
font-variant-numeric: tabular-nums;
font-weight: 600;
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: hsl(var(--muted-foreground) / 0.3);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: hsl(var(--muted-foreground) / 0.5);
}
/* Coral/Salmon card - for warnings */
.card-coral {
background: linear-gradient(145deg, #ff7b7b 0%, #ff6b6b 50%, #f85555 100%);
color: white;
}
/* Teal/Mint card - for success states */
.card-teal {
background: linear-gradient(145deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
color: white;
}
/* Dark card - for main UI elements */
.card-dark {
background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #0f0f0f 100%);
color: white;
}
/* Light card - for contrast elements */
.card-light {
background: linear-gradient(145deg, #ffffff 0%, #f5f5f5 50%, #e5e5e5 100%);
color: #1a1a1a;
}
/* Sidebar styles */
.sidebar {
background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}
.sidebar-icon {
@apply p-3 rounded-xl transition-all duration-200 cursor-pointer;
}
.sidebar-icon:hover {
background: rgba(255, 255, 255, 0.1);
}
.sidebar-icon.active {
@apply bg-white text-gray-900 shadow-lg;
}
/* Card hover effects */
.card-hover {
@apply transition-all duration-300;
}
.card-hover:hover {
transform: translateY(-4px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
/* Badge styles */
.badge-success {
@apply bg-emerald-500/20 text-emerald-600 border-emerald-500/30;
}
.badge-warning {
@apply bg-amber-500/20 text-amber-600 border-amber-500/30;
}
.badge-danger {
@apply bg-red-500/20 text-red-600 border-red-500/30;
}
/* Circular progress */
.circular-progress {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
}
.circular-progress svg {
transform: rotate(-90deg);
}
.circular-progress .track {
stroke: rgba(255, 255, 255, 0.2);
}
.circular-progress .progress {
stroke: currentColor;
stroke-linecap: round;
transition: stroke-dashoffset 0.5s ease;
}
/* Animation */
@keyframes pulse-slow {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.animate-pulse-slow {
animation: pulse-slow 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
.animate-float {
animation: float 3s ease-in-out infinite;
}
/* Chart bar animation */
@keyframes grow {
from { transform: scaleY(0); }
to { transform: scaleY(1); }
}
.animate-grow {
animation: grow 0.5s ease-out forwards;
transform-origin: bottom;
}
/* Gradient text */
.gradient-text {
background: linear-gradient(135deg, #00d4a0 0%, #00b386 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Input styles */
.search-input {
@apply bg-gray-900/50 border-gray-700 text-white placeholder:text-gray-500 focus:border-gray-500 focus:ring-gray-500;
}
/* Arrow button */
.arrow-btn {
@apply p-2 rounded-full bg-black/10 hover:bg-black/20 transition-colors;
}
/* Clock/Radar chart styles */
.clock-chart {
position: relative;
}
.clock-hand {
transform-origin: center;
transition: transform 0.3s ease;
}
|