Spaces:
Running
Running
File size: 2,631 Bytes
41eab66 5189274 41eab66 5189274 41eab66 5189274 41eab66 5189274 41eab66 5189274 41eab66 5189274 41eab66 | 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 | /* Custom dark mode styles and animations */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Custom scrollbars */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #1f2937;
}
::-webkit-scrollbar-thumb {
background: #f97316;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #ea580c;
}
/* Animation for score changes */
@keyframes pulseScore {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
.score-pulse {
animation: pulseScore 0.5s ease-in-out;
}
/* Gradient backgrounds for cards */
.card-gradient {
background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}
/* Hover effects */
.tab-btn {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tab-btn.active {
box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}
/* Chart container styles */
.chart-container {
position: relative;
height: 300px;
}
/* Mobile optimizations */
@media (max-width: 768px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
h1 {
font-size: 2rem;
}
.tab-btn {
padding: 0.75rem 1rem;
font-size: 0.875rem;
}
}
/* Loading states */
.loading-skeleton {
background: linear-gradient(90deg, #1f2937 25%, #374151 50%, #1f2937 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* Tooltip styles */
.tooltip {
position: relative;
}
.tooltip:hover::after {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background: #374151;
color: #f9fafb;
padding: 0.5rem;
border-radius: 0.375rem;
font-size: 0.75rem;
white-space: nowrap;
z-index: 10;
}
/* Status indicators */
.status-good { color: #10b981; }
.status-warning { color: #f59e0b; }
.status-danger { color: #ef4444; }
/* Custom form elements */
input[type="range"] {
-webkit-appearance: none;
appearance: none;
background: #374151;
height: 6px;
border-radius: 3px;
outline: none;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: #f97316;
cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: #f97316;
cursor: pointer;
border: none;
} |