Repository navigation
Expand file tree
/
Copy pathapp.css
More file actions
60 lines (55 loc) · 1.38 KB
/
Copy pathapp.css
File metadata and controls
60 lines (55 loc) · 1.38 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
/* Style pour la scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #1f2937;
}
::-webkit-scrollbar-thumb {
background: #4b5563;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
/* Style pour la sélection */
.card.selected {
box-shadow: 0 0 0 3px #3b82f6;
transform: translateY(-5px);
}
.fade-in {
animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
/* Style for card action buttons to appear on hover */
.card .card-actions {
opacity: 0;
transition: opacity 0.2s ease-in-out;
}
.card:hover .card-actions {
opacity: 1;
}
/* Style for favorites */
.favorite-btn .star-icon {
transition: color 0.2s, transform 0.2s;
}
.card.favorited .favorite-btn .star-icon {
color: #facc15; /* yellow-400 */
transform: scale(1.1);
}
/* Styles for Toast Notifications */
.toast {
animation: slideIn 0.3s ease-out forwards, fadeOut 0.5s ease-in forwards 2.5s;
transform: translateX(100%);
}
@keyframes slideIn {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
from { opacity: 1; }
to { opacity: 0; transform: translateX(100%); }
}