-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-overlay.css
More file actions
100 lines (89 loc) · 1.67 KB
/
Copy pathcontent-overlay.css
File metadata and controls
100 lines (89 loc) · 1.67 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
100
.wgi-toast-backdrop {
position: fixed;
top: 16px;
right: 16px;
z-index: 2147483647;
max-width: 420px;
min-width: 280px;
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
sans-serif;
font-size: 13px;
line-height: 1.5;
color: #1a1a1a;
pointer-events: auto;
}
.wgi-toast {
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 10px;
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.18),
0 2px 8px rgba(0, 0, 0, 0.08);
overflow: hidden;
animation: wgi-slide-in 0.28s ease-out;
}
.wgi-toast.wgi-removing {
animation: wgi-slide-out 0.22s ease-in forwards;
}
.wgi-toast-header {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 14px;
font-weight: 600;
font-size: 13px;
border-bottom: 1px solid #f0f0f0;
}
.wgi-toast-header.wgi-success {
background: #f0faf3;
color: #1a7a3a;
}
.wgi-toast-header.wgi-error {
background: #fef2f2;
color: #b91c1c;
}
.wgi-toast-body {
padding: 10px 14px;
white-space: pre-wrap;
word-break: break-all;
user-select: text;
-webkit-user-select: text;
cursor: text;
max-height: 300px;
overflow-y: auto;
font-size: 12px;
color: #333;
}
.wgi-toast-progress {
height: 3px;
background: #e0e0e0;
}
.wgi-toast-progress-bar {
height: 100%;
background: #2eae52;
transition: width linear;
}
.wgi-toast-progress-bar.wgi-error {
background: #dc3535;
}
@keyframes wgi-slide-in {
from {
opacity: 0;
transform: translateX(40px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes wgi-slide-out {
from {
opacity: 1;
transform: translateX(0);
}
to {
opacity: 0;
transform: translateX(40px);
}
}