Spaces:
Running
Running
File size: 2,480 Bytes
f2ca0d6 73ab158 f2ca0d6 73ab158 f2ca0d6 73ab158 f2ca0d6 73ab158 f2ca0d6 73ab158 f2ca0d6 73ab158 f2ca0d6 | 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 | /* Custom Tailwind Configuration */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Prompt', sans-serif;
}
/* Custom Colors */
:root {
--primary-green: #A5D6A7;
--primary-dark: #4CAF50;
--bg-light: #F9FAFB;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #A5D6A7;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #4CAF50;
}
/* Smooth transitions */
.tab-content {
animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Custom button hover effects */
button {
transition: all 0.3s ease;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Card hover effects */
.bg-white {
transition: all 0.3s ease;
}
.bg-white:hover {
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
/* Tab button active state */
.tab-btn.active {
color: #4CAF50;
}
/* Progress bar animation */
.progress-bar {
animation: progressGrow 1s ease-out;
}
@keyframes progressGrow {
from {
width: 0%;
}
}
/* Chart canvas styling */
canvas {
max-width: 100%;
height: auto;
}
/* Custom notification badge */
.notification-badge {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
}
}
/* Responsive adjustments */
@media (max-width: 640px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
h2 {
font-size: 1.5rem;
}
h3 {
font-size: 1.125rem;
}
}
/* Loading animation */
.loading {
animation: spin 1s linear infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* Success checkmark animation */
.success-check {
animation: checkmark 0.5s ease-out;
}
@keyframes checkmark {
0% {
transform: scale(0) rotate(45deg);
}
50% {
transform: scale(1.2) rotate(45deg);
}
100% {
transform: scale(1) rotate(45deg);
}
} |