Spaces:
Running
Running
File size: 2,839 Bytes
47a81c7 |
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 |
/* Animations */
/* Spinner Animation */
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.spinner {
animation: spin 1s linear infinite;
}
/* Fade In Animation */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
/* Slide Up Animation */
@keyframes slideUp {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.slide-up {
animation: slideUp 0.5s ease-out;
}
/* Pulse Animation */
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.pulse {
animation: pulse 2s infinite;
}
/* Scale Animation */
@keyframes scale {
from { transform: scale(0.95); }
to { transform: scale(1); }
}
.scale {
animation: scale 0.3s ease-out;
}
/* Button Hover Effects */
.analyze-btn:not(:disabled):hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
}
.analyze-btn:not(:disabled):active {
transform: translateY(0);
}
/* Card Hover Effects */
.feature-card:hover .feature-icon {
transform: scale(1.1);
background-color: rgba(37, 99, 235, 0.15);
}
/* File Upload Animation */
.upload-area.dragover {
transform: scale(1.02);
}
/* Tab Button Animation */
.tab-btn {
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.tab-btn:hover:not(.active) {
transform: translateY(-2px);
}
.tab-btn.active {
transform: translateY(-3px);
}
/* Results Container Animation */
.results-container {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.results-container:hover {
box-shadow: var(--shadow-lg);
}
/* Section Transitions */
.section-title,
.feature-card,
.about-content p {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease, transform 0.5s ease;
}
/* These will be activated by JavaScript when elements come into view */
.appear {
opacity: 1;
transform: translateY(0);
}
/* Hero Section Animation */
.hero {
background-size: 200% 200%;
animation: gradientAnimation 15s ease infinite;
}
@keyframes gradientAnimation {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Logo Animation */
.logo i {
transition: transform 0.3s ease;
}
.logo:hover i {
transform: rotate(15deg);
}
/* Action Buttons Animation */
.action-btn {
transition: all 0.2s ease;
}
.action-btn:hover {
transform: translateY(-2px);
}
.action-btn:active {
transform: translateY(0);
}
/* File Selected Animation */
.file-selected {
border-color: var(--success-color) !important;
background-color: rgba(16, 185, 129, 0.05) !important;
}
.file-selected i {
color: var(--success-color);
} |