forked from Prompt-Hash-Stellar/prompt-hash
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTransactionProvider.css
More file actions
61 lines (55 loc) · 1.03 KB
/
Copy pathTransactionProvider.css
File metadata and controls
61 lines (55 loc) · 1.03 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
.notification-container {
position: fixed;
top: 10px;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
gap: 10px;
z-index: 1000;
width: 100%;
max-width: 400px;
pointer-events: none;
}
.notification {
transition:
transform 0.3s ease,
opacity 0.3s ease;
opacity: 1;
pointer-events: auto;
}
.notification.slide-in {
transform: translateY(0);
animation: slide-in 0.3s ease forwards;
}
@keyframes slide-in {
from {
transform: translateY(-20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
.notification.pending {
border-left: 4px solid #3b82f6;
border-radius: 0.5rem;
}
.notification.success {
border-left: 4px solid #10b981;
border-radius: 0.5rem;
}
.notification.error {
border-left: 4px solid #ef4444;
border-radius: 0.5rem;
}
.notification.slide-out {
transform: translateY(-20px);
opacity: 0;
}
.retry-btn:focus,
.retry-btn:focus-visible {
outline: 3px solid #3b82f6 !important;
outline-offset: 2px !important;
}