-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathanimations.css
More file actions
99 lines (84 loc) · 1.93 KB
/
Copy pathanimations.css
File metadata and controls
99 lines (84 loc) · 1.93 KB
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
/* Animation performance optimizations - only apply will-change when needed */
/* Reduce animations on slower devices */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* Success message styles */
.success-message {
margin: 2rem 0;
animation: slideInDown 0.5s ease-out;
}
.success-content {
background: linear-gradient(135deg, #a6da95, #94e2d5);
color: #24273a;
padding: 1rem 1.5rem;
border-radius: 12px;
text-align: center;
font-weight: 600;
box-shadow: 0 8px 25px rgba(166, 218, 149, 0.3);
}
@keyframes slideInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Additional animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Apply animations to elements */
.upload-card {
animation: fadeIn 0.8s ease-out;
}
.results-section.show {
animation: slideInUp 0.6s ease-out;
}
.summary-card {
animation: slideInUp 0.6s ease-out;
}
.summary-card:nth-child(2) {
animation-delay: 0.1s;
}
.summary-card:nth-child(3) {
animation-delay: 0.2s;
}
.table-card {
animation: slideInUp 0.6s ease-out 0.3s;
animation-fill-mode: both;
}
/* Hover effects for interactive elements */
.upload-area, .upload-btn, .summary-card {
will-change: transform;
}
/* Focus styles for accessibility */
.upload-btn:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(138, 173, 244, 0.3);
}
/* Table row animations */
.course-table tbody tr {
transition: all 0.2s ease;
}
.course-table tbody tr:hover {
transform: translateX(5px);
}