-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
59 lines (53 loc) · 1.13 KB
/
style.css
File metadata and controls
59 lines (53 loc) · 1.13 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
.cherry-pick-button {
display: inline-flex;
align-items: center;
justify-content: center;
background: none;
border: none;
cursor: pointer;
padding: 4px;
margin-left: 8px;
border-radius: 4px;
position: relative;
vertical-align: middle;
}
.cherry-pick-button:hover {
background-color: rgba(216, 27, 96, 0.1);
}
.cherry-pick-button:hover .cherry-icon {
animation: wiggle 0.5s ease;
}
.cherry-icon {
width: 16px;
height: 16px;
transition: transform 0.2s ease;
}
/* Animation for hover effect */
@keyframes wiggle {
0% { transform: rotate(0deg); }
25% { transform: rotate(10deg); }
50% { transform: rotate(-10deg); }
75% { transform: rotate(5deg); }
100% { transform: rotate(0deg); }
}
/* Feedback animation */
.cherry-pick-feedback {
position: absolute;
background-color: #24292e;
color: white;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
top: -30px;
left: 50%;
transform: translateX(-50%);
white-space: nowrap;
animation: fade-out 2s forwards;
pointer-events: none;
}
@keyframes fade-out {
0% { opacity: 0; }
10% { opacity: 1; }
80% { opacity: 1; }
100% { opacity: 0; }
}