vetra-toast 1.0.2 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animations/index.d.ts +0 -1
- package/dist/components/ToastIcon.d.ts +0 -1
- package/dist/components/ToastItem.d.ts +24 -22
- package/dist/components/ToastProgress.d.ts +0 -1
- package/dist/components/Toaster.d.ts +0 -1
- package/dist/core/index.d.ts +0 -1
- package/dist/core/store.d.ts +2 -23
- package/dist/core/timer.d.ts +0 -1
- package/dist/core/toast-api.d.ts +0 -1
- package/dist/core-BikVsncn.js +1 -0
- package/dist/core-DWP-MMiI.cjs +1 -0
- package/dist/core.cjs +1 -9
- package/dist/core.js +1 -1
- package/dist/hooks/use-mounted.d.ts +0 -1
- package/dist/hooks/use-swipe.d.ts +0 -1
- package/dist/hooks/use-system-theme.d.ts +0 -1
- package/dist/hooks/use-toasts.d.ts +0 -1
- package/dist/index.cjs +1 -1057
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -1043
- package/dist/styles.css +1 -1419
- package/dist/types/index.d.ts +0 -1
- package/dist/utils/dom.d.ts +0 -1
- package/dist/utils/feedback.d.ts +0 -1
- package/dist/utils/id.d.ts +0 -1
- package/dist/utils/merge.d.ts +0 -1
- package/package.json +1 -1
- package/dist/animations/index.d.ts.map +0 -1
- package/dist/components/ToastIcon.d.ts.map +0 -1
- package/dist/components/ToastItem.d.ts.map +0 -1
- package/dist/components/ToastProgress.d.ts.map +0 -1
- package/dist/components/Toaster.d.ts.map +0 -1
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/store.d.ts.map +0 -1
- package/dist/core/timer.d.ts.map +0 -1
- package/dist/core/toast-api.d.ts.map +0 -1
- package/dist/core-CqZy4LyN.cjs +0 -893
- package/dist/core-CqZy4LyN.cjs.map +0 -1
- package/dist/core-KMoYj72S.js +0 -804
- package/dist/core-KMoYj72S.js.map +0 -1
- package/dist/hooks/use-mounted.d.ts.map +0 -1
- package/dist/hooks/use-swipe.d.ts.map +0 -1
- package/dist/hooks/use-system-theme.d.ts.map +0 -1
- package/dist/hooks/use-toasts.d.ts.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/dom.d.ts.map +0 -1
- package/dist/utils/feedback.d.ts.map +0 -1
- package/dist/utils/id.d.ts.map +0 -1
- package/dist/utils/merge.d.ts.map +0 -1
package/dist/styles.css
CHANGED
|
@@ -1,1419 +1 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Vetra Toast — Premium Glassmorphism Notification Design System
|
|
3
|
-
Zero external CSS dependencies. Independently importable via:
|
|
4
|
-
import "vetra-toast/styles.css";
|
|
5
|
-
========================================================================== */
|
|
6
|
-
|
|
7
|
-
:root {
|
|
8
|
-
--vt-font-family:
|
|
9
|
-
"Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue",
|
|
10
|
-
Arial, sans-serif;
|
|
11
|
-
--vt-width: 376px;
|
|
12
|
-
--vt-radius: 18px;
|
|
13
|
-
--vt-gap: 12px;
|
|
14
|
-
--vt-offset: 20px;
|
|
15
|
-
--vt-z-index-root: 9999;
|
|
16
|
-
--vt-blur: 22px;
|
|
17
|
-
--vt-saturate: 185%;
|
|
18
|
-
--vt-enter-duration: 340ms;
|
|
19
|
-
--vt-exit-duration: 240ms;
|
|
20
|
-
--vt-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
|
|
21
|
-
--vt-ease-exit: cubic-bezier(0.4, 0, 1, 1);
|
|
22
|
-
|
|
23
|
-
/* Semantic accents */
|
|
24
|
-
--vt-success: #34d399;
|
|
25
|
-
--vt-error: #fb7185;
|
|
26
|
-
--vt-warning: #fbbf24;
|
|
27
|
-
--vt-info: #38bdf8;
|
|
28
|
-
--vt-loading: #a78bfa;
|
|
29
|
-
--vt-default: #94a3b8;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Dark Glass Theme (Signature) */
|
|
33
|
-
[data-vt-toaster][data-vt-theme="dark"] {
|
|
34
|
-
--vt-bg: rgba(14, 18, 30, 0.72);
|
|
35
|
-
--vt-bg-solid: #111625;
|
|
36
|
-
--vt-bg-sheen: linear-gradient(
|
|
37
|
-
140deg,
|
|
38
|
-
rgba(255, 255, 255, 0.14) 0%,
|
|
39
|
-
rgba(255, 255, 255, 0.04) 38%,
|
|
40
|
-
rgba(255, 255, 255, 0.01) 100%
|
|
41
|
-
);
|
|
42
|
-
--vt-border: rgba(255, 255, 255, 0.13);
|
|
43
|
-
--vt-border-hover: rgba(255, 255, 255, 0.22);
|
|
44
|
-
--vt-specular: rgba(255, 255, 255, 0.18);
|
|
45
|
-
--vt-text: #f8fafc;
|
|
46
|
-
--vt-text-muted: rgba(226, 232, 240, 0.78);
|
|
47
|
-
--vt-shadow:
|
|
48
|
-
0 24px 48px -18px rgba(2, 6, 23, 0.68), 0 10px 24px -10px rgba(2, 6, 23, 0.45),
|
|
49
|
-
0 1px 0 0 var(--vt-specular) inset;
|
|
50
|
-
--vt-close-bg: rgba(255, 255, 255, 0.06);
|
|
51
|
-
--vt-close-bg-hover: rgba(255, 255, 255, 0.14);
|
|
52
|
-
--vt-close-color: rgba(226, 232, 240, 0.76);
|
|
53
|
-
--vt-close-color-hover: #ffffff;
|
|
54
|
-
--vt-btn-primary-bg: rgba(255, 255, 255, 0.92);
|
|
55
|
-
--vt-btn-primary-text: #0f172a;
|
|
56
|
-
--vt-btn-primary-bg-hover: #ffffff;
|
|
57
|
-
--vt-btn-secondary-bg: rgba(255, 255, 255, 0.08);
|
|
58
|
-
--vt-btn-secondary-text: #e2e8f0;
|
|
59
|
-
--vt-btn-secondary-bg-hover: rgba(255, 255, 255, 0.15);
|
|
60
|
-
--vt-progress-track: rgba(255, 255, 255, 0.09);
|
|
61
|
-
--vt-focus-ring: rgba(56, 189, 248, 0.75);
|
|
62
|
-
--vt-count-bg: rgba(255, 255, 255, 0.12);
|
|
63
|
-
--vt-count-text: #f1f5f9;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/* Light Glass Theme (Crystalline Frost) */
|
|
67
|
-
[data-vt-toaster][data-vt-theme="light"] {
|
|
68
|
-
--vt-bg: rgba(255, 255, 255, 0.76);
|
|
69
|
-
--vt-bg-solid: #ffffff;
|
|
70
|
-
--vt-bg-sheen: linear-gradient(
|
|
71
|
-
140deg,
|
|
72
|
-
rgba(255, 255, 255, 0.75) 0%,
|
|
73
|
-
rgba(241, 245, 249, 0.35) 45%,
|
|
74
|
-
rgba(255, 255, 255, 0.08) 100%
|
|
75
|
-
);
|
|
76
|
-
--vt-border: rgba(15, 23, 42, 0.1);
|
|
77
|
-
--vt-border-hover: rgba(15, 23, 42, 0.18);
|
|
78
|
-
--vt-specular: rgba(255, 255, 255, 0.95);
|
|
79
|
-
--vt-text: #0f172a;
|
|
80
|
-
--vt-text-muted: #475569;
|
|
81
|
-
--vt-shadow:
|
|
82
|
-
0 22px 44px -16px rgba(15, 23, 42, 0.18), 0 6px 16px -4px rgba(15, 23, 42, 0.08),
|
|
83
|
-
0 1px 0 0 var(--vt-specular) inset;
|
|
84
|
-
--vt-close-bg: rgba(15, 23, 42, 0.05);
|
|
85
|
-
--vt-close-bg-hover: rgba(15, 23, 42, 0.11);
|
|
86
|
-
--vt-close-color: #475569;
|
|
87
|
-
--vt-close-color-hover: #0f172a;
|
|
88
|
-
--vt-btn-primary-bg: #0f172a;
|
|
89
|
-
--vt-btn-primary-text: #ffffff;
|
|
90
|
-
--vt-btn-primary-bg-hover: #1e293b;
|
|
91
|
-
--vt-btn-secondary-bg: rgba(15, 23, 42, 0.06);
|
|
92
|
-
--vt-btn-secondary-text: #1e293b;
|
|
93
|
-
--vt-btn-secondary-bg-hover: rgba(15, 23, 42, 0.12);
|
|
94
|
-
--vt-progress-track: rgba(15, 23, 42, 0.08);
|
|
95
|
-
--vt-focus-ring: rgba(14, 116, 144, 0.65);
|
|
96
|
-
--vt-count-bg: rgba(15, 23, 42, 0.08);
|
|
97
|
-
--vt-count-text: #0f172a;
|
|
98
|
-
--vt-success: #059669;
|
|
99
|
-
--vt-error: #e11d48;
|
|
100
|
-
--vt-warning: #d97706;
|
|
101
|
-
--vt-info: #0284c7;
|
|
102
|
-
--vt-loading: #6366f1;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/* ==========================================================================
|
|
106
|
-
Viewport Regions (6 positions)
|
|
107
|
-
========================================================================== */
|
|
108
|
-
|
|
109
|
-
.vt-toaster {
|
|
110
|
-
position: fixed;
|
|
111
|
-
z-index: var(--vt-z-index-root);
|
|
112
|
-
pointer-events: none;
|
|
113
|
-
box-sizing: border-box;
|
|
114
|
-
width: min(var(--vt-width), calc(100vw - 24px));
|
|
115
|
-
font-family: var(--vt-font-family);
|
|
116
|
-
-webkit-font-smoothing: antialiased;
|
|
117
|
-
-moz-osx-font-smoothing: grayscale;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.vt-toaster *,
|
|
121
|
-
.vt-toaster *::before,
|
|
122
|
-
.vt-toaster *::after {
|
|
123
|
-
box-sizing: border-box;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.vt-toaster[data-vt-position="top-left"] {
|
|
127
|
-
top: var(--vt-offset);
|
|
128
|
-
left: var(--vt-offset);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.vt-toaster[data-vt-position="top-center"] {
|
|
132
|
-
top: var(--vt-offset);
|
|
133
|
-
left: 50%;
|
|
134
|
-
transform: translateX(-50%);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.vt-toaster[data-vt-position="top-right"] {
|
|
138
|
-
top: var(--vt-offset);
|
|
139
|
-
right: var(--vt-offset);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.vt-toaster[data-vt-position="bottom-left"] {
|
|
143
|
-
bottom: var(--vt-offset);
|
|
144
|
-
left: var(--vt-offset);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.vt-toaster[data-vt-position="bottom-center"] {
|
|
148
|
-
bottom: var(--vt-offset);
|
|
149
|
-
left: 50%;
|
|
150
|
-
transform: translateX(-50%);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.vt-toaster[data-vt-position="bottom-right"] {
|
|
154
|
-
bottom: var(--vt-offset);
|
|
155
|
-
right: var(--vt-offset);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
/* List & Stacking Layout */
|
|
159
|
-
.vt-list {
|
|
160
|
-
display: flex;
|
|
161
|
-
flex-direction: column;
|
|
162
|
-
gap: var(--vt-gap);
|
|
163
|
-
margin: 0;
|
|
164
|
-
padding: 0;
|
|
165
|
-
list-style: none;
|
|
166
|
-
pointer-events: none;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.vt-toaster[data-vt-position^="bottom"] .vt-list {
|
|
170
|
-
flex-direction: column-reverse;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.vt-toast-slot {
|
|
174
|
-
position: relative;
|
|
175
|
-
z-index: var(--vt-z-index, 1);
|
|
176
|
-
pointer-events: auto;
|
|
177
|
-
width: 100%;
|
|
178
|
-
transition:
|
|
179
|
-
transform 260ms var(--vt-ease-spring),
|
|
180
|
-
opacity 220ms ease;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
/* Compact stacked depth mode when expand={false} and not hovered/focused */
|
|
184
|
-
.vt-toaster[data-vt-expanded="false"] .vt-list {
|
|
185
|
-
gap: 0;
|
|
186
|
-
position: relative;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.vt-toaster[data-vt-expanded="false"] .vt-toast-slot {
|
|
190
|
-
transition:
|
|
191
|
-
transform 280ms var(--vt-ease-spring),
|
|
192
|
-
opacity 240ms ease;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.vt-toaster[data-vt-expanded="false"] .vt-toast-slot:not([data-vt-front="true"]) {
|
|
196
|
-
position: absolute;
|
|
197
|
-
inset-inline: 0;
|
|
198
|
-
transform: translateY(calc(var(--vt-index, 0) * 10px)) scale(calc(1 - var(--vt-index, 0) * 0.045));
|
|
199
|
-
opacity: calc(1 - var(--vt-index, 0) * 0.22);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.vt-toaster[data-vt-expanded="false"][data-vt-position^="bottom"]
|
|
203
|
-
.vt-toast-slot:not([data-vt-front="true"]) {
|
|
204
|
-
bottom: 0;
|
|
205
|
-
transform: translateY(calc(var(--vt-index, 0) * -10px))
|
|
206
|
-
scale(calc(1 - var(--vt-index, 0) * 0.045));
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.vt-toaster[data-vt-expanded="false"][data-vt-position^="top"]
|
|
210
|
-
.vt-toast-slot:not([data-vt-front="true"]) {
|
|
211
|
-
top: 0;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
/* ==========================================================================
|
|
215
|
-
Glassmorphism Toast Card
|
|
216
|
-
========================================================================== */
|
|
217
|
-
|
|
218
|
-
.vt-toast {
|
|
219
|
-
--vt-accent: var(--vt-default);
|
|
220
|
-
position: relative;
|
|
221
|
-
overflow: hidden;
|
|
222
|
-
width: 100%;
|
|
223
|
-
border-radius: var(--vt-radius);
|
|
224
|
-
background-color: var(--vt-bg);
|
|
225
|
-
background-image: var(--vt-bg-sheen);
|
|
226
|
-
-webkit-backdrop-filter: blur(var(--vt-blur)) saturate(var(--vt-saturate));
|
|
227
|
-
backdrop-filter: blur(var(--vt-blur)) saturate(var(--vt-saturate));
|
|
228
|
-
border: 1px solid var(--vt-border);
|
|
229
|
-
box-shadow: var(--vt-shadow);
|
|
230
|
-
color: var(--vt-text);
|
|
231
|
-
padding: 14px 15px;
|
|
232
|
-
outline: none;
|
|
233
|
-
touch-action: pan-y;
|
|
234
|
-
user-select: none;
|
|
235
|
-
transform: translate3d(var(--vt-swipe-x, 0px), var(--vt-swipe-y, 0px), 0);
|
|
236
|
-
opacity: var(--vt-swipe-opacity, 1);
|
|
237
|
-
transition:
|
|
238
|
-
border-color 180ms ease,
|
|
239
|
-
box-shadow 220ms ease,
|
|
240
|
-
transform 220ms var(--vt-ease-spring),
|
|
241
|
-
opacity 180ms ease;
|
|
242
|
-
animation: vt-enter var(--vt-enter-duration) var(--vt-ease-spring) both;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
/* Ambient semantic corner aura */
|
|
246
|
-
.vt-toast::before {
|
|
247
|
-
content: "";
|
|
248
|
-
position: absolute;
|
|
249
|
-
inset: 0;
|
|
250
|
-
pointer-events: none;
|
|
251
|
-
background: radial-gradient(
|
|
252
|
-
220px circle at 18px 18px,
|
|
253
|
-
color-mix(in srgb, var(--vt-accent) 18%, transparent) 0%,
|
|
254
|
-
transparent 70%
|
|
255
|
-
);
|
|
256
|
-
opacity: 0.9;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/* Prismatic top hairline highlight */
|
|
260
|
-
.vt-toast::after {
|
|
261
|
-
content: "";
|
|
262
|
-
position: absolute;
|
|
263
|
-
top: 0;
|
|
264
|
-
left: 16px;
|
|
265
|
-
right: 16px;
|
|
266
|
-
height: 1px;
|
|
267
|
-
pointer-events: none;
|
|
268
|
-
background: linear-gradient(
|
|
269
|
-
90deg,
|
|
270
|
-
transparent 0%,
|
|
271
|
-
color-mix(in srgb, var(--vt-accent) 45%, var(--vt-specular)) 30%,
|
|
272
|
-
var(--vt-specular) 50%,
|
|
273
|
-
transparent 100%
|
|
274
|
-
);
|
|
275
|
-
opacity: 0.7;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.vt-toast:hover {
|
|
279
|
-
border-color: var(--vt-border-hover);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.vt-toast:focus-visible {
|
|
283
|
-
border-color: var(--vt-focus-ring);
|
|
284
|
-
box-shadow:
|
|
285
|
-
var(--vt-shadow),
|
|
286
|
-
0 0 0 3px color-mix(in srgb, var(--vt-focus-ring) 35%, transparent);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.vt-toast.vt-toast-swiping {
|
|
290
|
-
transition: none;
|
|
291
|
-
cursor: grabbing;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/* Semantic Variant Accents */
|
|
295
|
-
.vt-toast[data-vt-variant="success"] {
|
|
296
|
-
--vt-accent: var(--vt-success);
|
|
297
|
-
}
|
|
298
|
-
.vt-toast[data-vt-variant="error"] {
|
|
299
|
-
--vt-accent: var(--vt-error);
|
|
300
|
-
}
|
|
301
|
-
.vt-toast[data-vt-variant="warning"] {
|
|
302
|
-
--vt-accent: var(--vt-warning);
|
|
303
|
-
}
|
|
304
|
-
.vt-toast[data-vt-variant="info"] {
|
|
305
|
-
--vt-accent: var(--vt-info);
|
|
306
|
-
}
|
|
307
|
-
.vt-toast[data-vt-variant="loading"] {
|
|
308
|
-
--vt-accent: var(--vt-loading);
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
/* Optional Rich Colors Glass Tint */
|
|
312
|
-
.vt-toast-rich[data-vt-variant="success"],
|
|
313
|
-
.vt-toast-rich[data-vt-variant="error"],
|
|
314
|
-
.vt-toast-rich[data-vt-variant="warning"],
|
|
315
|
-
.vt-toast-rich[data-vt-variant="info"],
|
|
316
|
-
.vt-toast-rich[data-vt-variant="loading"] {
|
|
317
|
-
border-color: color-mix(in srgb, var(--vt-accent) 36%, var(--vt-border));
|
|
318
|
-
background-color: color-mix(in srgb, var(--vt-accent) 13%, var(--vt-bg));
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/* ==========================================================================
|
|
322
|
-
Glass Intensity, Radius, Density & Glow Presets
|
|
323
|
-
========================================================================== */
|
|
324
|
-
|
|
325
|
-
.vt-toast[data-vt-glass="subtle"] {
|
|
326
|
-
--vt-blur: 14px;
|
|
327
|
-
--vt-saturate: 150%;
|
|
328
|
-
background-color: color-mix(in srgb, var(--vt-bg) 72%, transparent);
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.vt-toast[data-vt-glass="crystal"] {
|
|
332
|
-
--vt-blur: 30px;
|
|
333
|
-
--vt-saturate: 215%;
|
|
334
|
-
border-color: color-mix(in srgb, var(--vt-specular) 42%, var(--vt-border));
|
|
335
|
-
box-shadow:
|
|
336
|
-
var(--vt-shadow),
|
|
337
|
-
0 0 0 1px color-mix(in srgb, var(--vt-specular) 18%, transparent) inset;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.vt-toast[data-vt-glass="solid"] {
|
|
341
|
-
background-color: var(--vt-bg-solid);
|
|
342
|
-
background-image: none;
|
|
343
|
-
-webkit-backdrop-filter: none;
|
|
344
|
-
backdrop-filter: none;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.vt-toast[data-vt-radius="sm"] {
|
|
348
|
-
border-radius: 10px;
|
|
349
|
-
}
|
|
350
|
-
.vt-toast[data-vt-radius="md"] {
|
|
351
|
-
border-radius: 14px;
|
|
352
|
-
}
|
|
353
|
-
.vt-toast[data-vt-radius="lg"] {
|
|
354
|
-
border-radius: var(--vt-radius);
|
|
355
|
-
}
|
|
356
|
-
.vt-toast[data-vt-radius="pill"] {
|
|
357
|
-
border-radius: 28px;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.vt-toast[data-vt-size="compact"] {
|
|
361
|
-
padding: 10px 12px;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.vt-toast[data-vt-size="comfortable"] {
|
|
365
|
-
padding: 18px 19px;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
.vt-toast[data-vt-glow="false"]::before {
|
|
369
|
-
opacity: 0;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.vt-toast.vt-toast-floating-close {
|
|
373
|
-
overflow: visible;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/* Directional Entrance & Exit Keyframes */
|
|
377
|
-
.vt-toast[data-vt-position="top-left"] {
|
|
378
|
-
--vt-enter-x: -24px;
|
|
379
|
-
--vt-enter-y: -8px;
|
|
380
|
-
}
|
|
381
|
-
.vt-toast[data-vt-position="top-center"] {
|
|
382
|
-
--vt-enter-x: 0px;
|
|
383
|
-
--vt-enter-y: -18px;
|
|
384
|
-
}
|
|
385
|
-
.vt-toast[data-vt-position="top-right"] {
|
|
386
|
-
--vt-enter-x: 24px;
|
|
387
|
-
--vt-enter-y: -8px;
|
|
388
|
-
}
|
|
389
|
-
.vt-toast[data-vt-position="bottom-left"] {
|
|
390
|
-
--vt-enter-x: -24px;
|
|
391
|
-
--vt-enter-y: 8px;
|
|
392
|
-
}
|
|
393
|
-
.vt-toast[data-vt-position="bottom-center"] {
|
|
394
|
-
--vt-enter-x: 0px;
|
|
395
|
-
--vt-enter-y: 18px;
|
|
396
|
-
}
|
|
397
|
-
.vt-toast[data-vt-position="bottom-right"] {
|
|
398
|
-
--vt-enter-x: 24px;
|
|
399
|
-
--vt-enter-y: 8px;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
/* Animation Presets */
|
|
403
|
-
.vt-toast[data-vt-animation="slide"] {
|
|
404
|
-
animation: vt-enter-slide 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
.vt-toast[data-vt-animation="fade"] {
|
|
408
|
-
animation: vt-enter-fade 220ms ease-out both;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.vt-toast[data-vt-animation="zoom"] {
|
|
412
|
-
animation: vt-enter-zoom 300ms var(--vt-ease-spring) both;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.vt-toast[data-vt-animation="bounce"] {
|
|
416
|
-
animation: vt-enter-bounce 460ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.vt-toast[data-vt-animation="none"] {
|
|
420
|
-
animation: none;
|
|
421
|
-
transition: none;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
.vt-toast[data-vt-status="exiting"] {
|
|
425
|
-
pointer-events: none;
|
|
426
|
-
animation: vt-exit var(--vt-exit-duration) var(--vt-ease-exit) forwards;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.vt-toast[data-vt-animation="slide"][data-vt-status="exiting"] {
|
|
430
|
-
animation: vt-exit-slide var(--vt-exit-duration) var(--vt-ease-exit) forwards;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
.vt-toast[data-vt-animation="fade"][data-vt-status="exiting"] {
|
|
434
|
-
animation: vt-exit-fade 180ms ease-in forwards;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
.vt-toast[data-vt-animation="zoom"][data-vt-status="exiting"] {
|
|
438
|
-
animation: vt-exit-zoom var(--vt-exit-duration) var(--vt-ease-exit) forwards;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
.vt-toast[data-vt-animation="none"][data-vt-status="exiting"] {
|
|
442
|
-
animation: none;
|
|
443
|
-
opacity: 0;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
@keyframes vt-enter {
|
|
447
|
-
0% {
|
|
448
|
-
opacity: 0;
|
|
449
|
-
transform: translate3d(var(--vt-enter-x, 16px), var(--vt-enter-y, 0px), 0) scale(0.95);
|
|
450
|
-
}
|
|
451
|
-
100% {
|
|
452
|
-
opacity: 1;
|
|
453
|
-
transform: translate3d(0, 0, 0) scale(1);
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
@keyframes vt-exit {
|
|
458
|
-
0% {
|
|
459
|
-
opacity: var(--vt-swipe-opacity, 1);
|
|
460
|
-
transform: translate3d(var(--vt-swipe-x, 0px), var(--vt-swipe-y, 0px), 0) scale(1);
|
|
461
|
-
}
|
|
462
|
-
100% {
|
|
463
|
-
opacity: 0;
|
|
464
|
-
transform: translate3d(var(--vt-enter-x, 18px), var(--vt-enter-y, 0px), 0) scale(0.94);
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
@keyframes vt-enter-slide {
|
|
469
|
-
0% {
|
|
470
|
-
opacity: 0;
|
|
471
|
-
transform: translate3d(
|
|
472
|
-
calc(var(--vt-enter-x, 24px) * 1.6),
|
|
473
|
-
calc(var(--vt-enter-y, 0px) * 1.4),
|
|
474
|
-
0
|
|
475
|
-
);
|
|
476
|
-
}
|
|
477
|
-
100% {
|
|
478
|
-
opacity: 1;
|
|
479
|
-
transform: translate3d(0, 0, 0);
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
@keyframes vt-exit-slide {
|
|
484
|
-
0% {
|
|
485
|
-
opacity: var(--vt-swipe-opacity, 1);
|
|
486
|
-
transform: translate3d(var(--vt-swipe-x, 0px), var(--vt-swipe-y, 0px), 0);
|
|
487
|
-
}
|
|
488
|
-
100% {
|
|
489
|
-
opacity: 0;
|
|
490
|
-
transform: translate3d(
|
|
491
|
-
calc(var(--vt-enter-x, 24px) * 1.8),
|
|
492
|
-
calc(var(--vt-enter-y, 0px) * 1.4),
|
|
493
|
-
0
|
|
494
|
-
);
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
@keyframes vt-enter-fade {
|
|
499
|
-
from {
|
|
500
|
-
opacity: 0;
|
|
501
|
-
}
|
|
502
|
-
to {
|
|
503
|
-
opacity: 1;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
@keyframes vt-exit-fade {
|
|
508
|
-
from {
|
|
509
|
-
opacity: var(--vt-swipe-opacity, 1);
|
|
510
|
-
}
|
|
511
|
-
to {
|
|
512
|
-
opacity: 0;
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
@keyframes vt-enter-zoom {
|
|
517
|
-
0% {
|
|
518
|
-
opacity: 0;
|
|
519
|
-
transform: scale(0.84);
|
|
520
|
-
}
|
|
521
|
-
100% {
|
|
522
|
-
opacity: 1;
|
|
523
|
-
transform: scale(1);
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
@keyframes vt-exit-zoom {
|
|
528
|
-
0% {
|
|
529
|
-
opacity: var(--vt-swipe-opacity, 1);
|
|
530
|
-
transform: translate3d(var(--vt-swipe-x, 0px), var(--vt-swipe-y, 0px), 0) scale(1);
|
|
531
|
-
}
|
|
532
|
-
100% {
|
|
533
|
-
opacity: 0;
|
|
534
|
-
transform: scale(0.82);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
@keyframes vt-enter-bounce {
|
|
539
|
-
0% {
|
|
540
|
-
opacity: 0;
|
|
541
|
-
transform: translate3d(var(--vt-enter-x, 20px), var(--vt-enter-y, 0px), 0) scale(0.88);
|
|
542
|
-
}
|
|
543
|
-
60% {
|
|
544
|
-
opacity: 1;
|
|
545
|
-
transform: translate3d(0, 0, 0) scale(1.035);
|
|
546
|
-
}
|
|
547
|
-
100% {
|
|
548
|
-
opacity: 1;
|
|
549
|
-
transform: translate3d(0, 0, 0) scale(1);
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/* ==========================================================================
|
|
554
|
-
Card Layout, Typography, Icons & Actions
|
|
555
|
-
========================================================================== */
|
|
556
|
-
|
|
557
|
-
.vt-body {
|
|
558
|
-
position: relative;
|
|
559
|
-
z-index: 1;
|
|
560
|
-
display: flex;
|
|
561
|
-
align-items: flex-start;
|
|
562
|
-
gap: 12px;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
.vt-custom-content {
|
|
566
|
-
position: relative;
|
|
567
|
-
z-index: 1;
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
.vt-icon-badge {
|
|
571
|
-
position: relative;
|
|
572
|
-
flex: 0 0 auto;
|
|
573
|
-
display: inline-flex;
|
|
574
|
-
align-items: center;
|
|
575
|
-
justify-content: center;
|
|
576
|
-
width: 34px;
|
|
577
|
-
height: 34px;
|
|
578
|
-
margin-top: 0;
|
|
579
|
-
border-radius: 11px;
|
|
580
|
-
color: var(--vt-accent);
|
|
581
|
-
background: linear-gradient(
|
|
582
|
-
145deg,
|
|
583
|
-
color-mix(in srgb, var(--vt-accent) 26%, rgba(255, 255, 255, 0.14)) 0%,
|
|
584
|
-
color-mix(in srgb, var(--vt-accent) 10%, transparent) 100%
|
|
585
|
-
);
|
|
586
|
-
border: 1px solid color-mix(in srgb, var(--vt-accent) 34%, rgba(255, 255, 255, 0.12));
|
|
587
|
-
box-shadow:
|
|
588
|
-
0 0 22px -4px color-mix(in srgb, var(--vt-accent) 52%, transparent),
|
|
589
|
-
0 1px 0 0 rgba(255, 255, 255, 0.24) inset;
|
|
590
|
-
overflow: visible;
|
|
591
|
-
animation: vt-badge-pop 520ms var(--vt-ease-spring) both;
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
.vt-icon-inner {
|
|
595
|
-
position: relative;
|
|
596
|
-
z-index: 2;
|
|
597
|
-
display: inline-flex;
|
|
598
|
-
align-items: center;
|
|
599
|
-
justify-content: center;
|
|
600
|
-
width: 22px;
|
|
601
|
-
height: 22px;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
/* Expanding sonar ring pulse on icon entrance */
|
|
605
|
-
.vt-icon-pulse {
|
|
606
|
-
position: absolute;
|
|
607
|
-
inset: -1px;
|
|
608
|
-
border-radius: inherit;
|
|
609
|
-
border: 1.5px solid color-mix(in srgb, var(--vt-accent) 72%, #ffffff);
|
|
610
|
-
pointer-events: none;
|
|
611
|
-
opacity: 0;
|
|
612
|
-
animation: vt-sonar-ring 780ms cubic-bezier(0.16, 1, 0.3, 1) 70ms both;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
.vt-icon-badge[data-vt-variant="loading"] .vt-icon-pulse {
|
|
616
|
-
animation: vt-sonar-breathe 2.2s ease-in-out infinite;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
.vt-svg {
|
|
620
|
-
width: 21px;
|
|
621
|
-
height: 21px;
|
|
622
|
-
display: block;
|
|
623
|
-
overflow: visible;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
/* --- Success Icon Choreography --- */
|
|
627
|
-
.vt-success-fill {
|
|
628
|
-
opacity: 0;
|
|
629
|
-
transform-origin: 12px 12px;
|
|
630
|
-
animation: vt-fill-bloom 460ms var(--vt-ease-spring) 80ms both;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
.vt-success-ring {
|
|
634
|
-
stroke-dasharray: 100;
|
|
635
|
-
stroke-dashoffset: 100;
|
|
636
|
-
transform-origin: 12px 12px;
|
|
637
|
-
transform: rotate(-90deg);
|
|
638
|
-
animation: vt-stroke-draw 520ms cubic-bezier(0.32, 0.95, 0.45, 1) 60ms both;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.vt-success-check {
|
|
642
|
-
stroke-dasharray: 100;
|
|
643
|
-
stroke-dashoffset: 100;
|
|
644
|
-
transform-origin: 12px 12px;
|
|
645
|
-
animation:
|
|
646
|
-
vt-stroke-draw 420ms cubic-bezier(0.22, 1, 0.36, 1) 210ms both,
|
|
647
|
-
vt-check-bounce 420ms var(--vt-ease-spring) 340ms both;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.vt-spark {
|
|
651
|
-
opacity: 0;
|
|
652
|
-
transform-origin: 12px 12px;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
.vt-spark-1 {
|
|
656
|
-
animation: vt-spark-burst-1 620ms cubic-bezier(0.16, 1, 0.3, 1) 300ms both;
|
|
657
|
-
}
|
|
658
|
-
.vt-spark-2 {
|
|
659
|
-
animation: vt-spark-burst-2 640ms cubic-bezier(0.16, 1, 0.3, 1) 330ms both;
|
|
660
|
-
}
|
|
661
|
-
.vt-spark-3 {
|
|
662
|
-
animation: vt-spark-burst-3 620ms cubic-bezier(0.16, 1, 0.3, 1) 360ms both;
|
|
663
|
-
}
|
|
664
|
-
.vt-spark-4 {
|
|
665
|
-
animation: vt-spark-burst-4 640ms cubic-bezier(0.16, 1, 0.3, 1) 390ms both;
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
/* --- Error Icon Choreography --- */
|
|
669
|
-
.vt-svg-error {
|
|
670
|
-
transform-origin: 12px 12px;
|
|
671
|
-
animation: vt-error-shake 480ms cubic-bezier(0.36, 0.07, 0.19, 0.97) 290ms both;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
.vt-error-fill {
|
|
675
|
-
opacity: 0;
|
|
676
|
-
transform-origin: 12px 12px;
|
|
677
|
-
animation: vt-fill-bloom 420ms var(--vt-ease-spring) 70ms both;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
.vt-error-frame {
|
|
681
|
-
stroke-dasharray: 100;
|
|
682
|
-
stroke-dashoffset: 100;
|
|
683
|
-
animation: vt-stroke-draw 460ms cubic-bezier(0.25, 1, 0.5, 1) 40ms both;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
.vt-error-line-1 {
|
|
687
|
-
stroke-dasharray: 100;
|
|
688
|
-
stroke-dashoffset: 100;
|
|
689
|
-
animation: vt-stroke-draw 260ms cubic-bezier(0.22, 1, 0.36, 1) 170ms both;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
.vt-error-line-2 {
|
|
693
|
-
stroke-dasharray: 100;
|
|
694
|
-
stroke-dashoffset: 100;
|
|
695
|
-
animation: vt-stroke-draw 260ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
/* --- Warning Icon Choreography --- */
|
|
699
|
-
.vt-svg-warning {
|
|
700
|
-
transform-origin: 12px 13px;
|
|
701
|
-
animation: vt-warning-wobble 620ms var(--vt-ease-spring) 220ms both;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
.vt-warning-fill {
|
|
705
|
-
opacity: 0;
|
|
706
|
-
transform-origin: 12px 13px;
|
|
707
|
-
animation: vt-fill-bloom 440ms var(--vt-ease-spring) 90ms both;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
.vt-warning-frame {
|
|
711
|
-
stroke-dasharray: 100;
|
|
712
|
-
stroke-dashoffset: 100;
|
|
713
|
-
animation: vt-stroke-draw 520ms cubic-bezier(0.22, 1, 0.36, 1) 50ms both;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
.vt-warning-stem {
|
|
717
|
-
stroke-dasharray: 100;
|
|
718
|
-
stroke-dashoffset: 100;
|
|
719
|
-
animation: vt-stroke-draw 300ms var(--vt-ease-spring) 230ms both;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
.vt-warning-dot {
|
|
723
|
-
transform-origin: 12px 16.1px;
|
|
724
|
-
animation: vt-dot-pop 380ms var(--vt-ease-spring) 340ms both;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
/* --- Info Icon Choreography --- */
|
|
728
|
-
.vt-info-fill {
|
|
729
|
-
opacity: 0;
|
|
730
|
-
transform-origin: 12px 12px;
|
|
731
|
-
animation: vt-fill-bloom 440ms var(--vt-ease-spring) 70ms both;
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
.vt-info-ring {
|
|
735
|
-
stroke-dasharray: 100;
|
|
736
|
-
stroke-dashoffset: 100;
|
|
737
|
-
transform-origin: 12px 12px;
|
|
738
|
-
transform: rotate(-90deg);
|
|
739
|
-
animation: vt-stroke-draw 480ms cubic-bezier(0.22, 1, 0.36, 1) 50ms both;
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
.vt-info-glint {
|
|
743
|
-
opacity: 0;
|
|
744
|
-
transform-origin: 12px 12px;
|
|
745
|
-
animation: vt-info-orbit 1100ms cubic-bezier(0.4, 0, 0.2, 1) 280ms both;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
.vt-info-dot {
|
|
749
|
-
transform-origin: 12px 8.25px;
|
|
750
|
-
animation: vt-dot-pop 380ms var(--vt-ease-spring) 220ms both;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
.vt-info-stem {
|
|
754
|
-
stroke-dasharray: 100;
|
|
755
|
-
stroke-dashoffset: 100;
|
|
756
|
-
animation: vt-stroke-draw 340ms var(--vt-ease-spring) 260ms both;
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
/* --- Loading Gyroscope Orbital Choreography --- */
|
|
760
|
-
.vt-loader-outer {
|
|
761
|
-
transform-origin: 12px 12px;
|
|
762
|
-
animation:
|
|
763
|
-
vt-spin 1.15s linear infinite,
|
|
764
|
-
vt-orbit-dash 1.65s ease-in-out infinite;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
.vt-loader-inner {
|
|
768
|
-
transform-origin: 12px 12px;
|
|
769
|
-
animation: vt-spin-reverse 0.9s linear infinite;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
.vt-loader-core {
|
|
773
|
-
transform-origin: 12px 12px;
|
|
774
|
-
animation: vt-core-breathe 1.4s ease-in-out infinite;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
/* --- Icon Keyframes --- */
|
|
778
|
-
@keyframes vt-badge-pop {
|
|
779
|
-
0% {
|
|
780
|
-
opacity: 0;
|
|
781
|
-
transform: scale(0.62) rotate(-8deg);
|
|
782
|
-
}
|
|
783
|
-
65% {
|
|
784
|
-
opacity: 1;
|
|
785
|
-
transform: scale(1.07) rotate(1.5deg);
|
|
786
|
-
}
|
|
787
|
-
100% {
|
|
788
|
-
opacity: 1;
|
|
789
|
-
transform: scale(1) rotate(0deg);
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
@keyframes vt-sonar-ring {
|
|
794
|
-
0% {
|
|
795
|
-
opacity: 0.7;
|
|
796
|
-
transform: scale(0.88);
|
|
797
|
-
}
|
|
798
|
-
100% {
|
|
799
|
-
opacity: 0;
|
|
800
|
-
transform: scale(1.52);
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
@keyframes vt-sonar-breathe {
|
|
805
|
-
0%,
|
|
806
|
-
100% {
|
|
807
|
-
opacity: 0.15;
|
|
808
|
-
transform: scale(0.98);
|
|
809
|
-
}
|
|
810
|
-
50% {
|
|
811
|
-
opacity: 0.45;
|
|
812
|
-
transform: scale(1.14);
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
@keyframes vt-stroke-draw {
|
|
817
|
-
to {
|
|
818
|
-
stroke-dashoffset: 0;
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
@keyframes vt-fill-bloom {
|
|
823
|
-
0% {
|
|
824
|
-
opacity: 0;
|
|
825
|
-
transform: scale(0.65);
|
|
826
|
-
}
|
|
827
|
-
100% {
|
|
828
|
-
opacity: 0.15;
|
|
829
|
-
transform: scale(1);
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
@keyframes vt-check-bounce {
|
|
834
|
-
0% {
|
|
835
|
-
transform: scale(1);
|
|
836
|
-
}
|
|
837
|
-
45% {
|
|
838
|
-
transform: scale(1.12);
|
|
839
|
-
}
|
|
840
|
-
100% {
|
|
841
|
-
transform: scale(1);
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
@keyframes vt-spark-burst-1 {
|
|
846
|
-
0% {
|
|
847
|
-
opacity: 0;
|
|
848
|
-
transform: translate(3px, 3px) scale(0.2);
|
|
849
|
-
}
|
|
850
|
-
35% {
|
|
851
|
-
opacity: 0.95;
|
|
852
|
-
transform: translate(-1.5px, -1.5px) scale(1.1);
|
|
853
|
-
}
|
|
854
|
-
100% {
|
|
855
|
-
opacity: 0;
|
|
856
|
-
transform: translate(-3.5px, -3.5px) scale(0.3);
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
@keyframes vt-spark-burst-2 {
|
|
861
|
-
0% {
|
|
862
|
-
opacity: 0;
|
|
863
|
-
transform: translate(-3px, 3px) scale(0.2);
|
|
864
|
-
}
|
|
865
|
-
35% {
|
|
866
|
-
opacity: 0.95;
|
|
867
|
-
transform: translate(1.5px, -1.5px) scale(1.1);
|
|
868
|
-
}
|
|
869
|
-
100% {
|
|
870
|
-
opacity: 0;
|
|
871
|
-
transform: translate(3.5px, -3.5px) scale(0.3);
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
@keyframes vt-spark-burst-3 {
|
|
876
|
-
0% {
|
|
877
|
-
opacity: 0;
|
|
878
|
-
transform: translate(-3px, -3px) scale(0.2);
|
|
879
|
-
}
|
|
880
|
-
35% {
|
|
881
|
-
opacity: 0.9;
|
|
882
|
-
transform: translate(1.5px, 1.5px) scale(1.05);
|
|
883
|
-
}
|
|
884
|
-
100% {
|
|
885
|
-
opacity: 0;
|
|
886
|
-
transform: translate(3.2px, 3.2px) scale(0.3);
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
@keyframes vt-spark-burst-4 {
|
|
891
|
-
0% {
|
|
892
|
-
opacity: 0;
|
|
893
|
-
transform: translate(3px, -3px) scale(0.2);
|
|
894
|
-
}
|
|
895
|
-
35% {
|
|
896
|
-
opacity: 0.9;
|
|
897
|
-
transform: translate(-1.5px, 1.5px) scale(1.05);
|
|
898
|
-
}
|
|
899
|
-
100% {
|
|
900
|
-
opacity: 0;
|
|
901
|
-
transform: translate(-3.2px, 3.2px) scale(0.3);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
@keyframes vt-error-shake {
|
|
906
|
-
0%,
|
|
907
|
-
100% {
|
|
908
|
-
transform: translateX(0);
|
|
909
|
-
}
|
|
910
|
-
20% {
|
|
911
|
-
transform: translateX(-2.2px) rotate(-3deg);
|
|
912
|
-
}
|
|
913
|
-
45% {
|
|
914
|
-
transform: translateX(2px) rotate(2.5deg);
|
|
915
|
-
}
|
|
916
|
-
70% {
|
|
917
|
-
transform: translateX(-1.1px) rotate(-1.2deg);
|
|
918
|
-
}
|
|
919
|
-
88% {
|
|
920
|
-
transform: translateX(0.6px) rotate(0.5deg);
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
@keyframes vt-warning-wobble {
|
|
925
|
-
0%,
|
|
926
|
-
100% {
|
|
927
|
-
transform: rotate(0deg) scale(1);
|
|
928
|
-
}
|
|
929
|
-
25% {
|
|
930
|
-
transform: rotate(-6deg) scale(1.05);
|
|
931
|
-
}
|
|
932
|
-
55% {
|
|
933
|
-
transform: rotate(4.5deg) scale(1.02);
|
|
934
|
-
}
|
|
935
|
-
80% {
|
|
936
|
-
transform: rotate(-2deg) scale(1);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
@keyframes vt-dot-pop {
|
|
941
|
-
0% {
|
|
942
|
-
opacity: 0;
|
|
943
|
-
transform: scale(0);
|
|
944
|
-
}
|
|
945
|
-
65% {
|
|
946
|
-
opacity: 1;
|
|
947
|
-
transform: scale(1.3);
|
|
948
|
-
}
|
|
949
|
-
100% {
|
|
950
|
-
opacity: 1;
|
|
951
|
-
transform: scale(1);
|
|
952
|
-
}
|
|
953
|
-
}
|
|
954
|
-
|
|
955
|
-
@keyframes vt-info-orbit {
|
|
956
|
-
0% {
|
|
957
|
-
opacity: 0;
|
|
958
|
-
transform: rotate(-90deg);
|
|
959
|
-
}
|
|
960
|
-
20% {
|
|
961
|
-
opacity: 0.85;
|
|
962
|
-
}
|
|
963
|
-
80% {
|
|
964
|
-
opacity: 0.6;
|
|
965
|
-
}
|
|
966
|
-
100% {
|
|
967
|
-
opacity: 0;
|
|
968
|
-
transform: rotate(270deg);
|
|
969
|
-
}
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
@keyframes vt-spin {
|
|
973
|
-
to {
|
|
974
|
-
transform: rotate(360deg);
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
@keyframes vt-spin-reverse {
|
|
979
|
-
to {
|
|
980
|
-
transform: rotate(-360deg);
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
@keyframes vt-orbit-dash {
|
|
985
|
-
0% {
|
|
986
|
-
stroke-dasharray: 18 82;
|
|
987
|
-
stroke-dashoffset: 0;
|
|
988
|
-
}
|
|
989
|
-
50% {
|
|
990
|
-
stroke-dasharray: 64 36;
|
|
991
|
-
stroke-dashoffset: -18;
|
|
992
|
-
}
|
|
993
|
-
100% {
|
|
994
|
-
stroke-dasharray: 18 82;
|
|
995
|
-
stroke-dashoffset: -100;
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
@keyframes vt-core-breathe {
|
|
1000
|
-
0%,
|
|
1001
|
-
100% {
|
|
1002
|
-
opacity: 0.55;
|
|
1003
|
-
transform: scale(0.78);
|
|
1004
|
-
}
|
|
1005
|
-
50% {
|
|
1006
|
-
opacity: 1;
|
|
1007
|
-
transform: scale(1.18);
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
.vt-content {
|
|
1012
|
-
flex: 1 1 auto;
|
|
1013
|
-
min-width: 0;
|
|
1014
|
-
display: flex;
|
|
1015
|
-
flex-direction: column;
|
|
1016
|
-
gap: 3px;
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
.vt-header {
|
|
1020
|
-
display: flex;
|
|
1021
|
-
align-items: center;
|
|
1022
|
-
gap: 8px;
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
.vt-title {
|
|
1026
|
-
font-size: 0.895rem;
|
|
1027
|
-
font-weight: 600;
|
|
1028
|
-
line-height: 1.38;
|
|
1029
|
-
letter-spacing: -0.011em;
|
|
1030
|
-
color: var(--vt-text);
|
|
1031
|
-
word-break: break-word;
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
.vt-count-badge {
|
|
1035
|
-
flex: 0 0 auto;
|
|
1036
|
-
display: inline-flex;
|
|
1037
|
-
align-items: center;
|
|
1038
|
-
justify-content: center;
|
|
1039
|
-
padding: 1px 6px;
|
|
1040
|
-
border-radius: 999px;
|
|
1041
|
-
font-size: 0.72rem;
|
|
1042
|
-
font-weight: 600;
|
|
1043
|
-
line-height: 1.4;
|
|
1044
|
-
background: var(--vt-count-bg);
|
|
1045
|
-
color: var(--vt-count-text);
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
|
-
.vt-description {
|
|
1049
|
-
font-size: 0.815rem;
|
|
1050
|
-
line-height: 1.45;
|
|
1051
|
-
color: var(--vt-text-muted);
|
|
1052
|
-
word-break: break-word;
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
.vt-toast[data-vt-size="compact"] .vt-title {
|
|
1056
|
-
font-size: 0.835rem;
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
.vt-toast[data-vt-size="compact"] .vt-description {
|
|
1060
|
-
font-size: 0.765rem;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
.vt-toast[data-vt-size="compact"] .vt-icon-badge {
|
|
1064
|
-
width: 28px;
|
|
1065
|
-
height: 28px;
|
|
1066
|
-
border-radius: 9px;
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
.vt-toast[data-vt-size="comfortable"] .vt-title {
|
|
1070
|
-
font-size: 0.96rem;
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
.vt-toast[data-vt-size="comfortable"] .vt-description {
|
|
1074
|
-
font-size: 0.86rem;
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
.vt-actions {
|
|
1078
|
-
display: flex;
|
|
1079
|
-
flex-wrap: wrap;
|
|
1080
|
-
align-items: center;
|
|
1081
|
-
gap: 8px;
|
|
1082
|
-
margin-top: 8px;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
.vt-btn {
|
|
1086
|
-
appearance: none;
|
|
1087
|
-
border: none;
|
|
1088
|
-
border-radius: 9px;
|
|
1089
|
-
padding: 5px 11px;
|
|
1090
|
-
font-family: inherit;
|
|
1091
|
-
font-size: 0.78rem;
|
|
1092
|
-
font-weight: 600;
|
|
1093
|
-
line-height: 1.35;
|
|
1094
|
-
cursor: pointer;
|
|
1095
|
-
transition:
|
|
1096
|
-
background-color 150ms ease,
|
|
1097
|
-
transform 120ms ease,
|
|
1098
|
-
box-shadow 150ms ease;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
.vt-btn:active {
|
|
1102
|
-
transform: scale(0.97);
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
.vt-btn:focus-visible {
|
|
1106
|
-
outline: 2px solid var(--vt-focus-ring);
|
|
1107
|
-
outline-offset: 2px;
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
.vt-btn-primary {
|
|
1111
|
-
background: var(--vt-btn-primary-bg);
|
|
1112
|
-
color: var(--vt-btn-primary-text);
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
.vt-btn-primary:hover {
|
|
1116
|
-
background: var(--vt-btn-primary-bg-hover);
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
.vt-btn-secondary {
|
|
1120
|
-
background: var(--vt-btn-secondary-bg);
|
|
1121
|
-
color: var(--vt-btn-secondary-text);
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
.vt-btn-secondary:hover {
|
|
1125
|
-
background: var(--vt-btn-secondary-bg-hover);
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
.vt-close {
|
|
1129
|
-
flex: 0 0 auto;
|
|
1130
|
-
appearance: none;
|
|
1131
|
-
display: inline-flex;
|
|
1132
|
-
align-items: center;
|
|
1133
|
-
justify-content: center;
|
|
1134
|
-
width: 26px;
|
|
1135
|
-
height: 26px;
|
|
1136
|
-
padding: 0;
|
|
1137
|
-
margin: -2px -3px 0 0;
|
|
1138
|
-
border: 1px solid transparent;
|
|
1139
|
-
border-radius: 8px;
|
|
1140
|
-
background: var(--vt-close-bg);
|
|
1141
|
-
color: var(--vt-close-color);
|
|
1142
|
-
cursor: pointer;
|
|
1143
|
-
transition:
|
|
1144
|
-
background-color 150ms ease,
|
|
1145
|
-
color 150ms ease,
|
|
1146
|
-
opacity 160ms ease,
|
|
1147
|
-
transform 120ms ease;
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
.vt-close.vt-close-left {
|
|
1151
|
-
margin: -2px 0 0 -3px;
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
.vt-close.vt-close-floating {
|
|
1155
|
-
position: absolute;
|
|
1156
|
-
top: -9px;
|
|
1157
|
-
right: -9px;
|
|
1158
|
-
z-index: 4;
|
|
1159
|
-
margin: 0;
|
|
1160
|
-
width: 24px;
|
|
1161
|
-
height: 24px;
|
|
1162
|
-
border-radius: 999px;
|
|
1163
|
-
background: var(--vt-bg-solid);
|
|
1164
|
-
border: 1px solid var(--vt-border);
|
|
1165
|
-
box-shadow: 0 4px 12px rgba(2, 6, 23, 0.28);
|
|
1166
|
-
}
|
|
1167
|
-
|
|
1168
|
-
.vt-close.vt-close-hover-only {
|
|
1169
|
-
opacity: 0;
|
|
1170
|
-
transform: scale(0.88);
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
.vt-toast:hover .vt-close.vt-close-hover-only,
|
|
1174
|
-
.vt-toast:focus-within .vt-close.vt-close-hover-only {
|
|
1175
|
-
opacity: 1;
|
|
1176
|
-
transform: scale(1);
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
.vt-close:hover {
|
|
1180
|
-
background: var(--vt-close-bg-hover);
|
|
1181
|
-
color: var(--vt-close-color-hover);
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
.vt-close:active {
|
|
1185
|
-
transform: scale(0.94);
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
.vt-close:focus-visible {
|
|
1189
|
-
outline: 2px solid var(--vt-focus-ring);
|
|
1190
|
-
outline-offset: 2px;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
.vt-close-svg {
|
|
1194
|
-
width: 14px;
|
|
1195
|
-
height: 14px;
|
|
1196
|
-
display: block;
|
|
1197
|
-
}
|
|
1198
|
-
|
|
1199
|
-
/* Icon Animation Modes (subtle / none) */
|
|
1200
|
-
.vt-icon-badge[data-vt-icon-animation="subtle"] {
|
|
1201
|
-
animation: vt-enter-fade 220ms ease-out both;
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-icon-pulse,
|
|
1205
|
-
.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-spark,
|
|
1206
|
-
.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-info-glint {
|
|
1207
|
-
animation: none;
|
|
1208
|
-
opacity: 0;
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-svg-error,
|
|
1212
|
-
.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-svg-warning {
|
|
1213
|
-
animation: none;
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
.vt-icon-badge[data-vt-icon-animation="none"],
|
|
1217
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-svg-error,
|
|
1218
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-svg-warning,
|
|
1219
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-success-check,
|
|
1220
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-success-ring,
|
|
1221
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-error-frame,
|
|
1222
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-error-line-1,
|
|
1223
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-error-line-2,
|
|
1224
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-warning-frame,
|
|
1225
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-warning-stem,
|
|
1226
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-warning-dot,
|
|
1227
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-ring,
|
|
1228
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-dot,
|
|
1229
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-stem,
|
|
1230
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-loader-inner,
|
|
1231
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-loader-core {
|
|
1232
|
-
animation: none;
|
|
1233
|
-
stroke-dashoffset: 0;
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-success-fill,
|
|
1237
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-error-fill,
|
|
1238
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-warning-fill,
|
|
1239
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-fill {
|
|
1240
|
-
animation: none;
|
|
1241
|
-
opacity: 0.15;
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-icon-pulse,
|
|
1245
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-spark,
|
|
1246
|
-
.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-glint {
|
|
1247
|
-
animation: none;
|
|
1248
|
-
opacity: 0;
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
/* ==========================================================================
|
|
1252
|
-
Synchronized Progress Indicator
|
|
1253
|
-
========================================================================== */
|
|
1254
|
-
|
|
1255
|
-
.vt-progress-track {
|
|
1256
|
-
position: absolute;
|
|
1257
|
-
left: 0;
|
|
1258
|
-
right: 0;
|
|
1259
|
-
bottom: 0;
|
|
1260
|
-
height: 3px;
|
|
1261
|
-
background: var(--vt-progress-track);
|
|
1262
|
-
overflow: hidden;
|
|
1263
|
-
pointer-events: none;
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
.vt-progress-track[data-vt-progress-position="top"] {
|
|
1267
|
-
top: 0;
|
|
1268
|
-
bottom: auto;
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
.vt-progress-bar {
|
|
1272
|
-
width: 100%;
|
|
1273
|
-
height: 100%;
|
|
1274
|
-
transform-origin: left center;
|
|
1275
|
-
background: linear-gradient(
|
|
1276
|
-
90deg,
|
|
1277
|
-
var(--vt-accent) 0%,
|
|
1278
|
-
color-mix(in srgb, var(--vt-accent) 68%, #ffffff) 100%
|
|
1279
|
-
);
|
|
1280
|
-
animation-name: vt-progress-shrink;
|
|
1281
|
-
animation-timing-function: linear;
|
|
1282
|
-
animation-fill-mode: forwards;
|
|
1283
|
-
will-change: transform;
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
[dir="rtl"] .vt-progress-bar {
|
|
1287
|
-
transform-origin: right center;
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
@keyframes vt-progress-shrink {
|
|
1291
|
-
from {
|
|
1292
|
-
transform: scaleX(1);
|
|
1293
|
-
}
|
|
1294
|
-
to {
|
|
1295
|
-
transform: scaleX(0);
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
/* ==========================================================================
|
|
1300
|
-
Accessibility Media Queries & Responsive Mobile Behavior
|
|
1301
|
-
========================================================================== */
|
|
1302
|
-
|
|
1303
|
-
/* Reduced Transparency Fallback */
|
|
1304
|
-
@media (prefers-reduced-transparency: reduce) {
|
|
1305
|
-
.vt-toast {
|
|
1306
|
-
background-color: var(--vt-bg-solid);
|
|
1307
|
-
background-image: none;
|
|
1308
|
-
-webkit-backdrop-filter: none;
|
|
1309
|
-
backdrop-filter: none;
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
.vt-toast::before {
|
|
1313
|
-
opacity: 0.25;
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
/* Fallback for browsers without backdrop-filter support */
|
|
1318
|
-
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
1319
|
-
.vt-toast {
|
|
1320
|
-
background-color: var(--vt-bg-solid);
|
|
1321
|
-
}
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
/* Reduced Motion Support */
|
|
1325
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1326
|
-
.vt-toast {
|
|
1327
|
-
animation-name: vt-fade-in;
|
|
1328
|
-
animation-duration: 140ms;
|
|
1329
|
-
transition: opacity 140ms ease;
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
.vt-toast[data-vt-status="exiting"] {
|
|
1333
|
-
animation-name: vt-fade-out;
|
|
1334
|
-
animation-duration: 120ms;
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
.vt-toast-slot {
|
|
1338
|
-
transition: opacity 140ms ease;
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
.vt-icon-badge,
|
|
1342
|
-
.vt-svg-error,
|
|
1343
|
-
.vt-svg-warning,
|
|
1344
|
-
.vt-success-check,
|
|
1345
|
-
.vt-success-ring,
|
|
1346
|
-
.vt-error-frame,
|
|
1347
|
-
.vt-error-line-1,
|
|
1348
|
-
.vt-error-line-2,
|
|
1349
|
-
.vt-warning-frame,
|
|
1350
|
-
.vt-warning-stem,
|
|
1351
|
-
.vt-warning-dot,
|
|
1352
|
-
.vt-info-ring,
|
|
1353
|
-
.vt-info-dot,
|
|
1354
|
-
.vt-info-stem {
|
|
1355
|
-
animation: none;
|
|
1356
|
-
stroke-dashoffset: 0;
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
.vt-success-fill,
|
|
1360
|
-
.vt-error-fill,
|
|
1361
|
-
.vt-warning-fill,
|
|
1362
|
-
.vt-info-fill {
|
|
1363
|
-
animation: none;
|
|
1364
|
-
opacity: 0.15;
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
.vt-icon-pulse,
|
|
1368
|
-
.vt-spark,
|
|
1369
|
-
.vt-info-glint {
|
|
1370
|
-
animation: none;
|
|
1371
|
-
opacity: 0;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
.vt-loader-outer {
|
|
1375
|
-
animation: vt-spin 2.2s linear infinite;
|
|
1376
|
-
stroke-dasharray: 55 45;
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
.vt-loader-inner,
|
|
1380
|
-
.vt-loader-core {
|
|
1381
|
-
animation: none;
|
|
1382
|
-
}
|
|
1383
|
-
|
|
1384
|
-
@keyframes vt-fade-in {
|
|
1385
|
-
from {
|
|
1386
|
-
opacity: 0;
|
|
1387
|
-
}
|
|
1388
|
-
to {
|
|
1389
|
-
opacity: 1;
|
|
1390
|
-
}
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
@keyframes vt-fade-out {
|
|
1394
|
-
from {
|
|
1395
|
-
opacity: 1;
|
|
1396
|
-
}
|
|
1397
|
-
to {
|
|
1398
|
-
opacity: 0;
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1401
|
-
}
|
|
1402
|
-
|
|
1403
|
-
/* Responsive Mobile Positioning */
|
|
1404
|
-
@media (max-width: 640px) {
|
|
1405
|
-
.vt-toaster[data-vt-position] {
|
|
1406
|
-
width: calc(100vw - 24px);
|
|
1407
|
-
left: 12px;
|
|
1408
|
-
right: 12px;
|
|
1409
|
-
transform: none;
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
.vt-toaster[data-vt-position^="top"] {
|
|
1413
|
-
top: max(12px, env(safe-area-inset-top));
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
.vt-toaster[data-vt-position^="bottom"] {
|
|
1417
|
-
bottom: max(12px, env(safe-area-inset-bottom));
|
|
1418
|
-
}
|
|
1419
|
-
}
|
|
1
|
+
:root{--vt-font-family:"Inter",-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--vt-width:376px;--vt-radius:18px;--vt-gap:12px;--vt-offset:20px;--vt-z-index-root:9999;--vt-blur:22px;--vt-saturate:185%;--vt-enter-duration:340ms;--vt-exit-duration:240ms;--vt-ease-spring:cubic-bezier(0.22,1,0.36,1);--vt-ease-exit:cubic-bezier(0.4,0,1,1);--vt-success:#34d399;--vt-error:#fb7185;--vt-warning:#fbbf24;--vt-info:#38bdf8;--vt-loading:#a78bfa;--vt-default:#94a3b8}[data-vt-toaster][data-vt-theme="dark"]{--vt-bg:rgba(14,18,30,0.72);--vt-bg-solid:#111625;--vt-bg-sheen:linear-gradient( 140deg,rgba(255,255,255,0.14) 0%,rgba(255,255,255,0.04) 38%,rgba(255,255,255,0.01) 100% );--vt-border:rgba(255,255,255,0.13);--vt-border-hover:rgba(255,255,255,0.22);--vt-specular:rgba(255,255,255,0.18);--vt-text:#f8fafc;--vt-text-muted:rgba(226,232,240,0.78);--vt-shadow:0 24px 48px -18px rgba(2,6,23,0.68),0 10px 24px -10px rgba(2,6,23,0.45),0 1px 0 0 var(--vt-specular) inset;--vt-close-bg:rgba(255,255,255,0.06);--vt-close-bg-hover:rgba(255,255,255,0.14);--vt-close-color:rgba(226,232,240,0.76);--vt-close-color-hover:#ffffff;--vt-btn-primary-bg:rgba(255,255,255,0.92);--vt-btn-primary-text:#0f172a;--vt-btn-primary-bg-hover:#ffffff;--vt-btn-secondary-bg:rgba(255,255,255,0.08);--vt-btn-secondary-text:#e2e8f0;--vt-btn-secondary-bg-hover:rgba(255,255,255,0.15);--vt-progress-track:rgba(255,255,255,0.09);--vt-focus-ring:rgba(56,189,248,0.75);--vt-count-bg:rgba(255,255,255,0.12);--vt-count-text:#f1f5f9}[data-vt-toaster][data-vt-theme="light"]{--vt-bg:rgba(255,255,255,0.76);--vt-bg-solid:#ffffff;--vt-bg-sheen:linear-gradient( 140deg,rgba(255,255,255,0.75) 0%,rgba(241,245,249,0.35) 45%,rgba(255,255,255,0.08) 100% );--vt-border:rgba(15,23,42,0.1);--vt-border-hover:rgba(15,23,42,0.18);--vt-specular:rgba(255,255,255,0.95);--vt-text:#0f172a;--vt-text-muted:#475569;--vt-shadow:0 22px 44px -16px rgba(15,23,42,0.18),0 6px 16px -4px rgba(15,23,42,0.08),0 1px 0 0 var(--vt-specular) inset;--vt-close-bg:rgba(15,23,42,0.05);--vt-close-bg-hover:rgba(15,23,42,0.11);--vt-close-color:#475569;--vt-close-color-hover:#0f172a;--vt-btn-primary-bg:#0f172a;--vt-btn-primary-text:#ffffff;--vt-btn-primary-bg-hover:#1e293b;--vt-btn-secondary-bg:rgba(15,23,42,0.06);--vt-btn-secondary-text:#1e293b;--vt-btn-secondary-bg-hover:rgba(15,23,42,0.12);--vt-progress-track:rgba(15,23,42,0.08);--vt-focus-ring:rgba(14,116,144,0.65);--vt-count-bg:rgba(15,23,42,0.08);--vt-count-text:#0f172a;--vt-success:#059669;--vt-error:#e11d48;--vt-warning:#d97706;--vt-info:#0284c7;--vt-loading:#6366f1}.vt-toaster{position:fixed;z-index:var(--vt-z-index-root);pointer-events:none;box-sizing:border-box;width:min(var(--vt-width),calc(100vw - 24px));font-family:var(--vt-font-family);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.vt-toaster *,.vt-toaster *::before,.vt-toaster *::after{box-sizing:border-box}.vt-toaster[data-vt-position="top-left"]{top:var(--vt-offset);left:var(--vt-offset)}.vt-toaster[data-vt-position="top-center"]{top:var(--vt-offset);left:50%;transform:translateX(-50%)}.vt-toaster[data-vt-position="top-right"]{top:var(--vt-offset);right:var(--vt-offset)}.vt-toaster[data-vt-position="bottom-left"]{bottom:var(--vt-offset);left:var(--vt-offset)}.vt-toaster[data-vt-position="bottom-center"]{bottom:var(--vt-offset);left:50%;transform:translateX(-50%)}.vt-toaster[data-vt-position="bottom-right"]{bottom:var(--vt-offset);right:var(--vt-offset)}.vt-list{display:flex;flex-direction:column;gap:var(--vt-gap);margin:0;padding:0;list-style:none;pointer-events:none}.vt-toaster[data-vt-position^="bottom"] .vt-list{flex-direction:column-reverse}.vt-toast-slot{position:relative;z-index:var(--vt-z-index,1);pointer-events:auto;width:100%;transition:transform 260ms var(--vt-ease-spring),opacity 220ms ease}.vt-toaster[data-vt-expanded="false"] .vt-list{gap:0;position:relative}.vt-toaster[data-vt-expanded="false"] .vt-toast-slot{transition:transform 280ms var(--vt-ease-spring),opacity 240ms ease}.vt-toaster[data-vt-expanded="false"] .vt-toast-slot:not([data-vt-front="true"]){position:absolute;inset-inline:0;transform:translateY(calc(var(--vt-index,0) * 10px)) scale(calc(1 - var(--vt-index,0) * 0.045));opacity:calc(1 - var(--vt-index,0) * 0.22)}.vt-toaster[data-vt-expanded="false"][data-vt-position^="bottom"] .vt-toast-slot:not([data-vt-front="true"]){bottom:0;transform:translateY(calc(var(--vt-index,0) * -10px)) scale(calc(1 - var(--vt-index,0) * 0.045))}.vt-toaster[data-vt-expanded="false"][data-vt-position^="top"] .vt-toast-slot:not([data-vt-front="true"]){top:0}.vt-toast{--vt-accent:var(--vt-default);position:relative;isolation:isolate;overflow:hidden;width:100%;border-radius:var(--vt-radius);background-color:var(--vt-bg);background-image:var(--vt-bg-sheen);background-clip:padding-box;-webkit-backdrop-filter:blur(var(--vt-blur)) saturate(var(--vt-saturate));backdrop-filter:blur(var(--vt-blur)) saturate(var(--vt-saturate));border:1px solid var(--vt-border);box-shadow:var(--vt-shadow);color:var(--vt-text);padding:14px 15px;outline:none;touch-action:pan-y;user-select:none;transform:translate3d(var(--vt-swipe-x,0px),var(--vt-swipe-y,0px),0);opacity:var(--vt-swipe-opacity,1);transition:border-color 180ms ease,box-shadow 220ms ease,transform 220ms var(--vt-ease-spring),opacity 180ms ease;animation:vt-enter var(--vt-enter-duration) var(--vt-ease-spring) both}.vt-toast::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient( 220px circle at 18px 18px,color-mix(in srgb,var(--vt-accent) 18%,transparent) 0%,transparent 70% );opacity:0.9}.vt-toast::after{content:"";position:absolute;top:0;left:var(--vt-sheen-inset,18px);right:var(--vt-sheen-inset,18px);height:1px;pointer-events:none;background:linear-gradient( 90deg,transparent 0%,color-mix(in srgb,var(--vt-accent) 45%,var(--vt-specular)) 30%,var(--vt-specular) 50%,transparent 100% );opacity:0.7}.vt-toast:hover{border-color:var(--vt-border-hover)}.vt-toast:focus-visible{border-color:var(--vt-focus-ring);box-shadow:var(--vt-shadow),0 0 0 3px color-mix(in srgb,var(--vt-focus-ring) 35%,transparent)}.vt-toast.vt-toast-swiping{transition:none;cursor:grabbing}.vt-toast[data-vt-variant="success"]{--vt-accent:var(--vt-success)}.vt-toast[data-vt-variant="error"]{--vt-accent:var(--vt-error)}.vt-toast[data-vt-variant="warning"]{--vt-accent:var(--vt-warning)}.vt-toast[data-vt-variant="info"]{--vt-accent:var(--vt-info)}.vt-toast[data-vt-variant="loading"]{--vt-accent:var(--vt-loading)}.vt-toast-rich[data-vt-variant="success"],.vt-toast-rich[data-vt-variant="error"],.vt-toast-rich[data-vt-variant="warning"],.vt-toast-rich[data-vt-variant="info"],.vt-toast-rich[data-vt-variant="loading"]{border-color:color-mix(in srgb,var(--vt-accent) 36%,var(--vt-border));background-color:color-mix(in srgb,var(--vt-accent) 13%,var(--vt-bg))}.vt-toast[data-vt-glass="subtle"]{--vt-blur:14px;--vt-saturate:150%;background-color:color-mix(in srgb,var(--vt-bg) 72%,transparent)}.vt-toast[data-vt-glass="crystal"]{--vt-blur:30px;--vt-saturate:215%;border-color:color-mix(in srgb,var(--vt-specular) 42%,var(--vt-border));box-shadow:var(--vt-shadow),0 0 0 1px color-mix(in srgb,var(--vt-specular) 18%,transparent) inset}.vt-toast[data-vt-glass="solid"]{background-color:var(--vt-bg-solid);background-image:none;-webkit-backdrop-filter:none;backdrop-filter:none}.vt-toast[data-vt-radius="sm"]{border-radius:10px;--vt-sheen-inset:12px}.vt-toast[data-vt-radius="md"]{border-radius:14px;--vt-sheen-inset:16px}.vt-toast[data-vt-radius="lg"]{border-radius:var(--vt-radius);--vt-sheen-inset:18px}.vt-toast[data-vt-radius="pill"]{border-radius:28px;--vt-sheen-inset:28px}.vt-toast[data-vt-size="compact"]{padding:10px 12px}.vt-toast[data-vt-size="comfortable"]{padding:18px 19px}.vt-toast[data-vt-glow="false"]::before{opacity:0}.vt-toast.vt-toast-floating-close{overflow:visible}.vt-toast[data-vt-position="top-left"]{--vt-enter-x:-24px;--vt-enter-y:-8px}.vt-toast[data-vt-position="top-center"]{--vt-enter-x:0px;--vt-enter-y:-18px}.vt-toast[data-vt-position="top-right"]{--vt-enter-x:24px;--vt-enter-y:-8px}.vt-toast[data-vt-position="bottom-left"]{--vt-enter-x:-24px;--vt-enter-y:8px}.vt-toast[data-vt-position="bottom-center"]{--vt-enter-x:0px;--vt-enter-y:18px}.vt-toast[data-vt-position="bottom-right"]{--vt-enter-x:24px;--vt-enter-y:8px}.vt-toast[data-vt-animation="slide"]{animation:vt-enter-slide 280ms cubic-bezier(0.16,1,0.3,1) both}.vt-toast[data-vt-animation="fade"]{animation:vt-enter-fade 220ms ease-out both}.vt-toast[data-vt-animation="zoom"]{animation:vt-enter-zoom 300ms var(--vt-ease-spring) both}.vt-toast[data-vt-animation="bounce"]{animation:vt-enter-bounce 460ms cubic-bezier(0.34,1.56,0.64,1) both}.vt-toast[data-vt-animation="none"]{animation:none;transition:none}.vt-toast[data-vt-status="exiting"]{pointer-events:none;animation:vt-exit var(--vt-exit-duration) var(--vt-ease-exit) forwards}.vt-toast[data-vt-animation="slide"][data-vt-status="exiting"]{animation:vt-exit-slide var(--vt-exit-duration) var(--vt-ease-exit) forwards}.vt-toast[data-vt-animation="fade"][data-vt-status="exiting"]{animation:vt-exit-fade 180ms ease-in forwards}.vt-toast[data-vt-animation="zoom"][data-vt-status="exiting"]{animation:vt-exit-zoom var(--vt-exit-duration) var(--vt-ease-exit) forwards}.vt-toast[data-vt-animation="none"][data-vt-status="exiting"]{animation:none;opacity:0}@keyframes vt-enter{0%{opacity:0;transform:translate3d(var(--vt-enter-x,16px),var(--vt-enter-y,0px),0) scale(0.95)}100%{opacity:1;transform:translate3d(0,0,0) scale(1)}}@keyframes vt-exit{0%{opacity:var(--vt-swipe-opacity,1);transform:translate3d(var(--vt-swipe-x,0px),var(--vt-swipe-y,0px),0) scale(1)}100%{opacity:0;transform:translate3d(var(--vt-enter-x,18px),var(--vt-enter-y,0px),0) scale(0.94)}}@keyframes vt-enter-slide{0%{opacity:0;transform:translate3d( calc(var(--vt-enter-x,24px) * 1.6),calc(var(--vt-enter-y,0px) * 1.4),0 )}100%{opacity:1;transform:translate3d(0,0,0)}}@keyframes vt-exit-slide{0%{opacity:var(--vt-swipe-opacity,1);transform:translate3d(var(--vt-swipe-x,0px),var(--vt-swipe-y,0px),0)}100%{opacity:0;transform:translate3d( calc(var(--vt-enter-x,24px) * 1.8),calc(var(--vt-enter-y,0px) * 1.4),0 )}}@keyframes vt-enter-fade{from{opacity:0}to{opacity:1}}@keyframes vt-exit-fade{from{opacity:var(--vt-swipe-opacity,1)}to{opacity:0}}@keyframes vt-enter-zoom{0%{opacity:0;transform:scale(0.84)}100%{opacity:1;transform:scale(1)}}@keyframes vt-exit-zoom{0%{opacity:var(--vt-swipe-opacity,1);transform:translate3d(var(--vt-swipe-x,0px),var(--vt-swipe-y,0px),0) scale(1)}100%{opacity:0;transform:scale(0.82)}}@keyframes vt-enter-bounce{0%{opacity:0;transform:translate3d(var(--vt-enter-x,20px),var(--vt-enter-y,0px),0) scale(0.88)}60%{opacity:1;transform:translate3d(0,0,0) scale(1.035)}100%{opacity:1;transform:translate3d(0,0,0) scale(1)}}.vt-body{position:relative;z-index:1;display:flex;align-items:flex-start;gap:12px}.vt-custom-content{position:relative;z-index:1}.vt-icon-badge{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;margin-top:0;border-radius:11px;color:var(--vt-accent);background:linear-gradient( 145deg,color-mix(in srgb,var(--vt-accent) 26%,rgba(255,255,255,0.14)) 0%,color-mix(in srgb,var(--vt-accent) 10%,transparent) 100% );border:1px solid color-mix(in srgb,var(--vt-accent) 34%,rgba(255,255,255,0.12));box-shadow:0 0 22px -4px color-mix(in srgb,var(--vt-accent) 52%,transparent),0 1px 0 0 rgba(255,255,255,0.24) inset;overflow:visible;animation:vt-badge-pop 520ms var(--vt-ease-spring) both}.vt-icon-inner{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px}.vt-icon-pulse{position:absolute;inset:-1px;border-radius:inherit;border:1.5px solid color-mix(in srgb,var(--vt-accent) 72%,#ffffff);pointer-events:none;opacity:0;animation:vt-sonar-ring 780ms cubic-bezier(0.16,1,0.3,1) 70ms both}.vt-icon-badge[data-vt-variant="loading"] .vt-icon-pulse{animation:vt-sonar-breathe 2.2s ease-in-out infinite}.vt-svg{width:21px;height:21px;display:block;overflow:visible}.vt-success-fill{opacity:0;transform-origin:12px 12px;animation:vt-fill-bloom 460ms var(--vt-ease-spring) 80ms both}.vt-success-ring{stroke-dasharray:100;stroke-dashoffset:100;transform-origin:12px 12px;transform:rotate(-90deg);animation:vt-stroke-draw 520ms cubic-bezier(0.32,0.95,0.45,1) 60ms both}.vt-success-check{stroke-dasharray:100;stroke-dashoffset:100;transform-origin:12px 12px;animation:vt-stroke-draw 420ms cubic-bezier(0.22,1,0.36,1) 210ms both,vt-check-bounce 420ms var(--vt-ease-spring) 340ms both}.vt-spark{opacity:0;transform-origin:12px 12px}.vt-spark-1{animation:vt-spark-burst-1 620ms cubic-bezier(0.16,1,0.3,1) 300ms both}.vt-spark-2{animation:vt-spark-burst-2 640ms cubic-bezier(0.16,1,0.3,1) 330ms both}.vt-spark-3{animation:vt-spark-burst-3 620ms cubic-bezier(0.16,1,0.3,1) 360ms both}.vt-spark-4{animation:vt-spark-burst-4 640ms cubic-bezier(0.16,1,0.3,1) 390ms both}.vt-svg-error{transform-origin:12px 12px;animation:vt-error-shake 480ms cubic-bezier(0.36,0.07,0.19,0.97) 290ms both}.vt-error-fill{opacity:0;transform-origin:12px 12px;animation:vt-fill-bloom 420ms var(--vt-ease-spring) 70ms both}.vt-error-frame{stroke-dasharray:100;stroke-dashoffset:100;animation:vt-stroke-draw 460ms cubic-bezier(0.25,1,0.5,1) 40ms both}.vt-error-line-1{stroke-dasharray:100;stroke-dashoffset:100;animation:vt-stroke-draw 260ms cubic-bezier(0.22,1,0.36,1) 170ms both}.vt-error-line-2{stroke-dasharray:100;stroke-dashoffset:100;animation:vt-stroke-draw 260ms cubic-bezier(0.22,1,0.36,1) 250ms both}.vt-svg-warning{transform-origin:12px 13px;animation:vt-warning-wobble 620ms var(--vt-ease-spring) 220ms both}.vt-warning-fill{opacity:0;transform-origin:12px 13px;animation:vt-fill-bloom 440ms var(--vt-ease-spring) 90ms both}.vt-warning-frame{stroke-dasharray:100;stroke-dashoffset:100;animation:vt-stroke-draw 520ms cubic-bezier(0.22,1,0.36,1) 50ms both}.vt-warning-stem{stroke-dasharray:100;stroke-dashoffset:100;animation:vt-stroke-draw 300ms var(--vt-ease-spring) 230ms both}.vt-warning-dot{transform-origin:12px 16.1px;animation:vt-dot-pop 380ms var(--vt-ease-spring) 340ms both}.vt-info-fill{opacity:0;transform-origin:12px 12px;animation:vt-fill-bloom 440ms var(--vt-ease-spring) 70ms both}.vt-info-ring{stroke-dasharray:100;stroke-dashoffset:100;transform-origin:12px 12px;transform:rotate(-90deg);animation:vt-stroke-draw 480ms cubic-bezier(0.22,1,0.36,1) 50ms both}.vt-info-glint{opacity:0;transform-origin:12px 12px;animation:vt-info-orbit 1100ms cubic-bezier(0.4,0,0.2,1) 280ms both}.vt-info-dot{transform-origin:12px 8.25px;animation:vt-dot-pop 380ms var(--vt-ease-spring) 220ms both}.vt-info-stem{stroke-dasharray:100;stroke-dashoffset:100;animation:vt-stroke-draw 340ms var(--vt-ease-spring) 260ms both}.vt-loader-outer{transform-origin:12px 12px;animation:vt-spin 1.15s linear infinite,vt-orbit-dash 1.65s ease-in-out infinite}.vt-loader-inner{transform-origin:12px 12px;animation:vt-spin-reverse 0.9s linear infinite}.vt-loader-core{transform-origin:12px 12px;animation:vt-core-breathe 1.4s ease-in-out infinite}@keyframes vt-badge-pop{0%{opacity:0;transform:scale(0.62) rotate(-8deg)}65%{opacity:1;transform:scale(1.07) rotate(1.5deg)}100%{opacity:1;transform:scale(1) rotate(0deg)}}@keyframes vt-sonar-ring{0%{opacity:0.7;transform:scale(0.88)}100%{opacity:0;transform:scale(1.52)}}@keyframes vt-sonar-breathe{0%,100%{opacity:0.15;transform:scale(0.98)}50%{opacity:0.45;transform:scale(1.14)}}@keyframes vt-stroke-draw{to{stroke-dashoffset:0}}@keyframes vt-fill-bloom{0%{opacity:0;transform:scale(0.65)}100%{opacity:0.15;transform:scale(1)}}@keyframes vt-check-bounce{0%{transform:scale(1)}45%{transform:scale(1.12)}100%{transform:scale(1)}}@keyframes vt-spark-burst-1{0%{opacity:0;transform:translate(3px,3px) scale(0.2)}35%{opacity:0.95;transform:translate(-1.5px,-1.5px) scale(1.1)}100%{opacity:0;transform:translate(-3.5px,-3.5px) scale(0.3)}}@keyframes vt-spark-burst-2{0%{opacity:0;transform:translate(-3px,3px) scale(0.2)}35%{opacity:0.95;transform:translate(1.5px,-1.5px) scale(1.1)}100%{opacity:0;transform:translate(3.5px,-3.5px) scale(0.3)}}@keyframes vt-spark-burst-3{0%{opacity:0;transform:translate(-3px,-3px) scale(0.2)}35%{opacity:0.9;transform:translate(1.5px,1.5px) scale(1.05)}100%{opacity:0;transform:translate(3.2px,3.2px) scale(0.3)}}@keyframes vt-spark-burst-4{0%{opacity:0;transform:translate(3px,-3px) scale(0.2)}35%{opacity:0.9;transform:translate(-1.5px,1.5px) scale(1.05)}100%{opacity:0;transform:translate(-3.2px,3.2px) scale(0.3)}}@keyframes vt-error-shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-2.2px) rotate(-3deg)}45%{transform:translateX(2px) rotate(2.5deg)}70%{transform:translateX(-1.1px) rotate(-1.2deg)}88%{transform:translateX(0.6px) rotate(0.5deg)}}@keyframes vt-warning-wobble{0%,100%{transform:rotate(0deg) scale(1)}25%{transform:rotate(-6deg) scale(1.05)}55%{transform:rotate(4.5deg) scale(1.02)}80%{transform:rotate(-2deg) scale(1)}}@keyframes vt-dot-pop{0%{opacity:0;transform:scale(0)}65%{opacity:1;transform:scale(1.3)}100%{opacity:1;transform:scale(1)}}@keyframes vt-info-orbit{0%{opacity:0;transform:rotate(-90deg)}20%{opacity:0.85}80%{opacity:0.6}100%{opacity:0;transform:rotate(270deg)}}@keyframes vt-spin{to{transform:rotate(360deg)}}@keyframes vt-spin-reverse{to{transform:rotate(-360deg)}}@keyframes vt-orbit-dash{0%{stroke-dasharray:18 82;stroke-dashoffset:0}50%{stroke-dasharray:64 36;stroke-dashoffset:-18}100%{stroke-dasharray:18 82;stroke-dashoffset:-100}}@keyframes vt-core-breathe{0%,100%{opacity:0.55;transform:scale(0.78)}50%{opacity:1;transform:scale(1.18)}}.vt-content{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}.vt-header{display:flex;align-items:center;gap:8px}.vt-title{font-size:0.895rem;font-weight:600;line-height:1.38;letter-spacing:-0.011em;color:var(--vt-text);word-break:break-word}.vt-count-badge{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:1px 6px;border-radius:999px;font-size:0.72rem;font-weight:600;line-height:1.4;background:var(--vt-count-bg);color:var(--vt-count-text)}.vt-description{font-size:0.815rem;line-height:1.45;color:var(--vt-text-muted);word-break:break-word}.vt-toast[data-vt-size="compact"] .vt-title{font-size:0.835rem}.vt-toast[data-vt-size="compact"] .vt-description{font-size:0.765rem}.vt-toast[data-vt-size="compact"] .vt-icon-badge{width:28px;height:28px;border-radius:9px}.vt-toast[data-vt-size="comfortable"] .vt-title{font-size:0.96rem}.vt-toast[data-vt-size="comfortable"] .vt-description{font-size:0.86rem}.vt-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px}.vt-btn{appearance:none;border:none;border-radius:9px;padding:5px 11px;font-family:inherit;font-size:0.78rem;font-weight:600;line-height:1.35;cursor:pointer;transition:background-color 150ms ease,transform 120ms ease,box-shadow 150ms ease}.vt-btn:active{transform:scale(0.97)}.vt-btn:focus-visible{outline:2px solid var(--vt-focus-ring);outline-offset:2px}.vt-btn-primary{background:var(--vt-btn-primary-bg);color:var(--vt-btn-primary-text)}.vt-btn-primary:hover{background:var(--vt-btn-primary-bg-hover)}.vt-btn-secondary{background:var(--vt-btn-secondary-bg);color:var(--vt-btn-secondary-text)}.vt-btn-secondary:hover{background:var(--vt-btn-secondary-bg-hover)}.vt-close{flex:0 0 auto;appearance:none;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;margin:-2px -3px 0 0;border:1px solid transparent;border-radius:8px;background:var(--vt-close-bg);color:var(--vt-close-color);cursor:pointer;transition:background-color 150ms ease,color 150ms ease,opacity 160ms ease,transform 120ms ease}.vt-close.vt-close-left{margin:-2px 0 0 -3px}.vt-close.vt-close-floating{position:absolute;top:-9px;right:-9px;z-index:4;margin:0;width:24px;height:24px;border-radius:999px;background:var(--vt-bg-solid);border:1px solid var(--vt-border);box-shadow:0 4px 12px rgba(2,6,23,0.28)}.vt-close.vt-close-hover-only{opacity:0;transform:scale(0.88)}.vt-toast:hover .vt-close.vt-close-hover-only,.vt-toast:focus-within .vt-close.vt-close-hover-only{opacity:1;transform:scale(1)}.vt-close:hover{background:var(--vt-close-bg-hover);color:var(--vt-close-color-hover)}.vt-close:active{transform:scale(0.94)}.vt-close:focus-visible{outline:2px solid var(--vt-focus-ring);outline-offset:2px}.vt-close-svg{width:14px;height:14px;display:block}.vt-icon-badge[data-vt-icon-animation="subtle"]{animation:vt-enter-fade 220ms ease-out both}.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-icon-pulse,.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-spark,.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-info-glint{animation:none;opacity:0}.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-svg-error,.vt-icon-badge[data-vt-icon-animation="subtle"] .vt-svg-warning{animation:none}.vt-icon-badge[data-vt-icon-animation="none"],.vt-icon-badge[data-vt-icon-animation="none"] .vt-svg-error,.vt-icon-badge[data-vt-icon-animation="none"] .vt-svg-warning,.vt-icon-badge[data-vt-icon-animation="none"] .vt-success-check,.vt-icon-badge[data-vt-icon-animation="none"] .vt-success-ring,.vt-icon-badge[data-vt-icon-animation="none"] .vt-error-frame,.vt-icon-badge[data-vt-icon-animation="none"] .vt-error-line-1,.vt-icon-badge[data-vt-icon-animation="none"] .vt-error-line-2,.vt-icon-badge[data-vt-icon-animation="none"] .vt-warning-frame,.vt-icon-badge[data-vt-icon-animation="none"] .vt-warning-stem,.vt-icon-badge[data-vt-icon-animation="none"] .vt-warning-dot,.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-ring,.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-dot,.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-stem,.vt-icon-badge[data-vt-icon-animation="none"] .vt-loader-inner,.vt-icon-badge[data-vt-icon-animation="none"] .vt-loader-core{animation:none;stroke-dashoffset:0}.vt-icon-badge[data-vt-icon-animation="none"] .vt-success-fill,.vt-icon-badge[data-vt-icon-animation="none"] .vt-error-fill,.vt-icon-badge[data-vt-icon-animation="none"] .vt-warning-fill,.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-fill{animation:none;opacity:0.15}.vt-icon-badge[data-vt-icon-animation="none"] .vt-icon-pulse,.vt-icon-badge[data-vt-icon-animation="none"] .vt-spark,.vt-icon-badge[data-vt-icon-animation="none"] .vt-info-glint{animation:none;opacity:0}.vt-progress-track{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--vt-progress-track);overflow:hidden;pointer-events:none}.vt-progress-track[data-vt-progress-position="top"]{top:0;bottom:auto}.vt-toast.vt-toast-floating-close .vt-progress-track{left:var(--vt-sheen-inset,14px);right:var(--vt-sheen-inset,14px);bottom:2px;border-radius:999px}.vt-toast.vt-toast-floating-close .vt-progress-track[data-vt-progress-position="top"]{top:2px;bottom:auto}.vt-progress-bar{width:100%;height:100%;transform-origin:left center;background:linear-gradient( 90deg,var(--vt-accent) 0%,color-mix(in srgb,var(--vt-accent) 68%,#ffffff) 100% );animation-name:vt-progress-shrink;animation-timing-function:linear;animation-fill-mode:forwards;will-change:transform}[dir="rtl"] .vt-progress-bar{transform-origin:right center}@keyframes vt-progress-shrink{from{transform:scaleX(1)}to{transform:scaleX(0)}}@media(prefers-reduced-transparency:reduce){.vt-toast{background-color:var(--vt-bg-solid);background-image:none;-webkit-backdrop-filter:none;backdrop-filter:none}.vt-toast::before{opacity:0.25}}@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.vt-toast{background-color:var(--vt-bg-solid)}}@media(prefers-reduced-motion:reduce){.vt-toast{animation-name:vt-fade-in;animation-duration:140ms;transition:opacity 140ms ease}.vt-toast[data-vt-status="exiting"]{animation-name:vt-fade-out;animation-duration:120ms}.vt-toast-slot{transition:opacity 140ms ease}.vt-icon-badge,.vt-svg-error,.vt-svg-warning,.vt-success-check,.vt-success-ring,.vt-error-frame,.vt-error-line-1,.vt-error-line-2,.vt-warning-frame,.vt-warning-stem,.vt-warning-dot,.vt-info-ring,.vt-info-dot,.vt-info-stem{animation:none;stroke-dashoffset:0}.vt-success-fill,.vt-error-fill,.vt-warning-fill,.vt-info-fill{animation:none;opacity:0.15}.vt-icon-pulse,.vt-spark,.vt-info-glint{animation:none;opacity:0}.vt-loader-outer{animation:vt-spin 2.2s linear infinite;stroke-dasharray:55 45}.vt-loader-inner,.vt-loader-core{animation:none}@keyframes vt-fade-in{from{opacity:0}to{opacity:1}}@keyframes vt-fade-out{from{opacity:1}to{opacity:0}}}@media(max-width:640px){.vt-toaster[data-vt-position]{width:calc(100vw - 24px);left:12px;right:12px;transform:none}.vt-toaster[data-vt-position^="top"]{top:max(12px,env(safe-area-inset-top))}.vt-toaster[data-vt-position^="bottom"]{bottom:max(12px,env(safe-area-inset-bottom))}}
|