@casoon/atlas-styles 0.0.7 → 0.0.8
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/components.css +868 -0
- package/dist/index.css +871 -0
- package/package.json +6 -6
- package/LICENSE +0 -21
|
@@ -0,0 +1,868 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Atlas Components - Micro-Interactions CSS
|
|
3
|
+
*
|
|
4
|
+
* Premium animations and transitions for Atlas UI components.
|
|
5
|
+
* These are the "tiny moments that make a product feel alive."
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* ==========================================================================
|
|
9
|
+
CSS Custom Properties
|
|
10
|
+
========================================================================== */
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
/* Animation Durations */
|
|
14
|
+
--atlas-duration-instant: 0ms;
|
|
15
|
+
--atlas-duration-fast: 150ms;
|
|
16
|
+
--atlas-duration-normal: 250ms;
|
|
17
|
+
--atlas-duration-slow: 400ms;
|
|
18
|
+
|
|
19
|
+
/* Easing Functions */
|
|
20
|
+
--atlas-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
|
|
21
|
+
--atlas-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
|
|
22
|
+
--atlas-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
|
|
23
|
+
--atlas-ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
|
24
|
+
--atlas-ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
25
|
+
|
|
26
|
+
/* Colors (can be overridden) */
|
|
27
|
+
--atlas-primary: #3b82f6;
|
|
28
|
+
--atlas-primary-rgb: 59, 130, 246;
|
|
29
|
+
--atlas-success: #22c55e;
|
|
30
|
+
--atlas-error: #ef4444;
|
|
31
|
+
--atlas-gray-100: #f3f4f6;
|
|
32
|
+
--atlas-gray-200: #e5e7eb;
|
|
33
|
+
--atlas-gray-400: #9ca3af;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* ==========================================================================
|
|
37
|
+
Keyframe Animations
|
|
38
|
+
========================================================================== */
|
|
39
|
+
|
|
40
|
+
/* Button Ripple Effect */
|
|
41
|
+
@keyframes atlas-ripple {
|
|
42
|
+
from {
|
|
43
|
+
transform: scale(0);
|
|
44
|
+
opacity: 0.4;
|
|
45
|
+
}
|
|
46
|
+
to {
|
|
47
|
+
transform: scale(1);
|
|
48
|
+
opacity: 0;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Button Spinner */
|
|
53
|
+
@keyframes atlas-spin {
|
|
54
|
+
from {
|
|
55
|
+
transform: rotate(0deg);
|
|
56
|
+
}
|
|
57
|
+
to {
|
|
58
|
+
transform: rotate(360deg);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Button Checkmark Draw Animation */
|
|
63
|
+
@keyframes atlas-checkmark-draw {
|
|
64
|
+
from {
|
|
65
|
+
stroke-dashoffset: 24;
|
|
66
|
+
}
|
|
67
|
+
to {
|
|
68
|
+
stroke-dashoffset: 0;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Button X Draw Animation (Error state) */
|
|
73
|
+
@keyframes atlas-x-draw {
|
|
74
|
+
from {
|
|
75
|
+
stroke-dashoffset: 17;
|
|
76
|
+
}
|
|
77
|
+
to {
|
|
78
|
+
stroke-dashoffset: 0;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Skeleton Shimmer */
|
|
83
|
+
@keyframes atlas-skeleton-shimmer {
|
|
84
|
+
0% {
|
|
85
|
+
transform: translateX(-100%);
|
|
86
|
+
}
|
|
87
|
+
100% {
|
|
88
|
+
transform: translateX(100%);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Skeleton Pulse */
|
|
93
|
+
@keyframes atlas-skeleton-pulse {
|
|
94
|
+
0%,
|
|
95
|
+
100% {
|
|
96
|
+
opacity: 0.3;
|
|
97
|
+
}
|
|
98
|
+
50% {
|
|
99
|
+
opacity: 0.6;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Skeleton Wave */
|
|
104
|
+
@keyframes atlas-skeleton-wave {
|
|
105
|
+
0% {
|
|
106
|
+
background-position: -200% 0;
|
|
107
|
+
}
|
|
108
|
+
100% {
|
|
109
|
+
background-position: 200% 0;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* General Shimmer (for progress bars, etc.) */
|
|
114
|
+
@keyframes atlas-shimmer {
|
|
115
|
+
0% {
|
|
116
|
+
transform: translateX(-100%);
|
|
117
|
+
}
|
|
118
|
+
100% {
|
|
119
|
+
transform: translateX(100%);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Progress Indeterminate */
|
|
124
|
+
@keyframes atlas-progress-indeterminate {
|
|
125
|
+
0% {
|
|
126
|
+
left: -30%;
|
|
127
|
+
right: 100%;
|
|
128
|
+
}
|
|
129
|
+
50% {
|
|
130
|
+
left: 100%;
|
|
131
|
+
right: -30%;
|
|
132
|
+
}
|
|
133
|
+
100% {
|
|
134
|
+
left: 100%;
|
|
135
|
+
right: -30%;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* Toast Progress Bar */
|
|
140
|
+
@keyframes atlas-toast-progress {
|
|
141
|
+
from {
|
|
142
|
+
transform: scaleX(1);
|
|
143
|
+
}
|
|
144
|
+
to {
|
|
145
|
+
transform: scaleX(0);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Modal/Drawer Backdrop Fade */
|
|
150
|
+
@keyframes atlas-backdrop-in {
|
|
151
|
+
from {
|
|
152
|
+
background-color: rgba(0, 0, 0, 0);
|
|
153
|
+
backdrop-filter: blur(0px);
|
|
154
|
+
}
|
|
155
|
+
to {
|
|
156
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
157
|
+
backdrop-filter: blur(4px);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@keyframes atlas-backdrop-out {
|
|
162
|
+
from {
|
|
163
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
164
|
+
backdrop-filter: blur(4px);
|
|
165
|
+
}
|
|
166
|
+
to {
|
|
167
|
+
background-color: rgba(0, 0, 0, 0);
|
|
168
|
+
backdrop-filter: blur(0px);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Modal Scale In/Out */
|
|
173
|
+
@keyframes atlas-modal-in {
|
|
174
|
+
from {
|
|
175
|
+
opacity: 0;
|
|
176
|
+
transform: scale(0.95);
|
|
177
|
+
}
|
|
178
|
+
to {
|
|
179
|
+
opacity: 1;
|
|
180
|
+
transform: scale(1);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@keyframes atlas-modal-out {
|
|
185
|
+
from {
|
|
186
|
+
opacity: 1;
|
|
187
|
+
transform: scale(1);
|
|
188
|
+
}
|
|
189
|
+
to {
|
|
190
|
+
opacity: 0;
|
|
191
|
+
transform: scale(0.95);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Drawer Slide Variants */
|
|
196
|
+
@keyframes atlas-drawer-left-in {
|
|
197
|
+
from {
|
|
198
|
+
transform: translateX(-100%);
|
|
199
|
+
}
|
|
200
|
+
to {
|
|
201
|
+
transform: translateX(0);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@keyframes atlas-drawer-right-in {
|
|
206
|
+
from {
|
|
207
|
+
transform: translateX(100%);
|
|
208
|
+
}
|
|
209
|
+
to {
|
|
210
|
+
transform: translateX(0);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@keyframes atlas-drawer-top-in {
|
|
215
|
+
from {
|
|
216
|
+
transform: translateY(-100%);
|
|
217
|
+
}
|
|
218
|
+
to {
|
|
219
|
+
transform: translateY(0);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@keyframes atlas-drawer-bottom-in {
|
|
224
|
+
from {
|
|
225
|
+
transform: translateY(100%);
|
|
226
|
+
}
|
|
227
|
+
to {
|
|
228
|
+
transform: translateY(0);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@keyframes atlas-drawer-left-out {
|
|
233
|
+
from {
|
|
234
|
+
transform: translateX(0);
|
|
235
|
+
}
|
|
236
|
+
to {
|
|
237
|
+
transform: translateX(-100%);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@keyframes atlas-drawer-right-out {
|
|
242
|
+
from {
|
|
243
|
+
transform: translateX(0);
|
|
244
|
+
}
|
|
245
|
+
to {
|
|
246
|
+
transform: translateX(100%);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@keyframes atlas-drawer-top-out {
|
|
251
|
+
from {
|
|
252
|
+
transform: translateY(0);
|
|
253
|
+
}
|
|
254
|
+
to {
|
|
255
|
+
transform: translateY(-100%);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
@keyframes atlas-drawer-bottom-out {
|
|
260
|
+
from {
|
|
261
|
+
transform: translateY(0);
|
|
262
|
+
}
|
|
263
|
+
to {
|
|
264
|
+
transform: translateY(100%);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/* Dropdown Scale In/Out */
|
|
269
|
+
@keyframes atlas-dropdown-in {
|
|
270
|
+
from {
|
|
271
|
+
opacity: 0;
|
|
272
|
+
transform: scale(0.95);
|
|
273
|
+
}
|
|
274
|
+
to {
|
|
275
|
+
opacity: 1;
|
|
276
|
+
transform: scale(1);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@keyframes atlas-dropdown-out {
|
|
281
|
+
from {
|
|
282
|
+
opacity: 1;
|
|
283
|
+
transform: scale(1);
|
|
284
|
+
}
|
|
285
|
+
to {
|
|
286
|
+
opacity: 0;
|
|
287
|
+
transform: scale(0.95);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/* Toast Slide In/Out */
|
|
292
|
+
@keyframes atlas-toast-in-bottom {
|
|
293
|
+
from {
|
|
294
|
+
opacity: 0;
|
|
295
|
+
transform: translateY(100%);
|
|
296
|
+
}
|
|
297
|
+
to {
|
|
298
|
+
opacity: 1;
|
|
299
|
+
transform: translateY(0);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
@keyframes atlas-toast-in-top {
|
|
304
|
+
from {
|
|
305
|
+
opacity: 0;
|
|
306
|
+
transform: translateY(-100%);
|
|
307
|
+
}
|
|
308
|
+
to {
|
|
309
|
+
opacity: 1;
|
|
310
|
+
transform: translateY(0);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
@keyframes atlas-toast-out {
|
|
315
|
+
from {
|
|
316
|
+
opacity: 1;
|
|
317
|
+
transform: translateX(0);
|
|
318
|
+
}
|
|
319
|
+
to {
|
|
320
|
+
opacity: 0;
|
|
321
|
+
transform: translateX(100%);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/* Gentle Pulse (for focus indicators, breathing effect) */
|
|
326
|
+
@keyframes atlas-pulse {
|
|
327
|
+
0%,
|
|
328
|
+
100% {
|
|
329
|
+
box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
|
|
330
|
+
}
|
|
331
|
+
50% {
|
|
332
|
+
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/* Breathing animation (subtle scale pulse) */
|
|
337
|
+
@keyframes atlas-breathing {
|
|
338
|
+
0%,
|
|
339
|
+
100% {
|
|
340
|
+
transform: scale(1);
|
|
341
|
+
filter: brightness(1);
|
|
342
|
+
}
|
|
343
|
+
50% {
|
|
344
|
+
transform: scale(1.02);
|
|
345
|
+
filter: brightness(1.05);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/* Shake (for error states) */
|
|
350
|
+
@keyframes atlas-shake {
|
|
351
|
+
0%,
|
|
352
|
+
100% {
|
|
353
|
+
transform: translateX(0);
|
|
354
|
+
}
|
|
355
|
+
10%,
|
|
356
|
+
30%,
|
|
357
|
+
50%,
|
|
358
|
+
70%,
|
|
359
|
+
90% {
|
|
360
|
+
transform: translateX(-4px);
|
|
361
|
+
}
|
|
362
|
+
20%,
|
|
363
|
+
40%,
|
|
364
|
+
60%,
|
|
365
|
+
80% {
|
|
366
|
+
transform: translateX(4px);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/* Bounce (for success states) */
|
|
371
|
+
@keyframes atlas-bounce {
|
|
372
|
+
0%,
|
|
373
|
+
100% {
|
|
374
|
+
transform: scale(1);
|
|
375
|
+
}
|
|
376
|
+
50% {
|
|
377
|
+
transform: scale(1.05);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/* Fade In/Out */
|
|
382
|
+
@keyframes atlas-fade-in {
|
|
383
|
+
from {
|
|
384
|
+
opacity: 0;
|
|
385
|
+
}
|
|
386
|
+
to {
|
|
387
|
+
opacity: 1;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
@keyframes atlas-fade-out {
|
|
392
|
+
from {
|
|
393
|
+
opacity: 1;
|
|
394
|
+
}
|
|
395
|
+
to {
|
|
396
|
+
opacity: 0;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/* Slide animations for stagger */
|
|
401
|
+
@keyframes atlas-slide-up {
|
|
402
|
+
from {
|
|
403
|
+
opacity: 0;
|
|
404
|
+
transform: translateY(20px);
|
|
405
|
+
}
|
|
406
|
+
to {
|
|
407
|
+
opacity: 1;
|
|
408
|
+
transform: translateY(0);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
@keyframes atlas-slide-down {
|
|
413
|
+
from {
|
|
414
|
+
opacity: 0;
|
|
415
|
+
transform: translateY(-20px);
|
|
416
|
+
}
|
|
417
|
+
to {
|
|
418
|
+
opacity: 1;
|
|
419
|
+
transform: translateY(0);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
@keyframes atlas-slide-left {
|
|
424
|
+
from {
|
|
425
|
+
opacity: 0;
|
|
426
|
+
transform: translateX(20px);
|
|
427
|
+
}
|
|
428
|
+
to {
|
|
429
|
+
opacity: 1;
|
|
430
|
+
transform: translateX(0);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
@keyframes atlas-slide-right {
|
|
435
|
+
from {
|
|
436
|
+
opacity: 0;
|
|
437
|
+
transform: translateX(-20px);
|
|
438
|
+
}
|
|
439
|
+
to {
|
|
440
|
+
opacity: 1;
|
|
441
|
+
transform: translateX(0);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/* Scale animations for stagger */
|
|
446
|
+
@keyframes atlas-scale-in {
|
|
447
|
+
from {
|
|
448
|
+
opacity: 0;
|
|
449
|
+
transform: scale(0.8);
|
|
450
|
+
}
|
|
451
|
+
to {
|
|
452
|
+
opacity: 1;
|
|
453
|
+
transform: scale(1);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
@keyframes atlas-scale-up {
|
|
458
|
+
from {
|
|
459
|
+
opacity: 0;
|
|
460
|
+
transform: scale(0.8) translateY(20px);
|
|
461
|
+
}
|
|
462
|
+
to {
|
|
463
|
+
opacity: 1;
|
|
464
|
+
transform: scale(1) translateY(0);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/* Flip animation */
|
|
469
|
+
@keyframes atlas-flip-in {
|
|
470
|
+
from {
|
|
471
|
+
opacity: 0;
|
|
472
|
+
transform: perspective(400px) rotateX(-90deg);
|
|
473
|
+
}
|
|
474
|
+
to {
|
|
475
|
+
opacity: 1;
|
|
476
|
+
transform: perspective(400px) rotateX(0);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/* Zoom animation */
|
|
481
|
+
@keyframes atlas-zoom-in {
|
|
482
|
+
from {
|
|
483
|
+
opacity: 0;
|
|
484
|
+
transform: scale(0);
|
|
485
|
+
}
|
|
486
|
+
to {
|
|
487
|
+
opacity: 1;
|
|
488
|
+
transform: scale(1);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/* ==========================================================================
|
|
493
|
+
Component Base Styles
|
|
494
|
+
========================================================================== */
|
|
495
|
+
|
|
496
|
+
/* Button States */
|
|
497
|
+
.atlas-button {
|
|
498
|
+
position: relative;
|
|
499
|
+
overflow: hidden;
|
|
500
|
+
transition: transform var(--atlas-duration-fast) var(--atlas-ease-bounce),
|
|
501
|
+
filter var(--atlas-duration-fast) var(--atlas-ease-standard),
|
|
502
|
+
box-shadow var(--atlas-duration-fast) var(--atlas-ease-standard);
|
|
503
|
+
transform-origin: center center;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.atlas-button:active:not(:disabled) {
|
|
507
|
+
transform: scale(0.97);
|
|
508
|
+
filter: brightness(0.95);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.atlas-button:disabled {
|
|
512
|
+
opacity: 0.5;
|
|
513
|
+
cursor: not-allowed;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.atlas-button-ripple {
|
|
517
|
+
position: absolute;
|
|
518
|
+
border-radius: 50%;
|
|
519
|
+
background-color: currentColor;
|
|
520
|
+
opacity: 0.2;
|
|
521
|
+
transform: scale(0);
|
|
522
|
+
pointer-events: none;
|
|
523
|
+
animation: atlas-ripple var(--atlas-duration-normal)
|
|
524
|
+
var(--atlas-ease-decelerate) forwards;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.atlas-button-spinner {
|
|
528
|
+
display: inline-block;
|
|
529
|
+
width: 1em;
|
|
530
|
+
height: 1em;
|
|
531
|
+
border: 2px solid currentColor;
|
|
532
|
+
border-top-color: transparent;
|
|
533
|
+
border-radius: 50%;
|
|
534
|
+
animation: atlas-spin 600ms linear infinite;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/* Card */
|
|
538
|
+
.atlas-card {
|
|
539
|
+
transition: transform var(--atlas-duration-normal) var(--atlas-ease-spring),
|
|
540
|
+
box-shadow var(--atlas-duration-normal) var(--atlas-ease-standard);
|
|
541
|
+
transform-style: preserve-3d;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.atlas-card-shine {
|
|
545
|
+
position: absolute;
|
|
546
|
+
inset: 0;
|
|
547
|
+
pointer-events: none;
|
|
548
|
+
background: linear-gradient(
|
|
549
|
+
105deg,
|
|
550
|
+
transparent 40%,
|
|
551
|
+
rgba(255, 255, 255, 0.1) 45%,
|
|
552
|
+
rgba(255, 255, 255, 0.3) 50%,
|
|
553
|
+
rgba(255, 255, 255, 0.1) 55%,
|
|
554
|
+
transparent 60%
|
|
555
|
+
);
|
|
556
|
+
background-size: 200% 200%;
|
|
557
|
+
background-position: 100% 0%;
|
|
558
|
+
opacity: 0;
|
|
559
|
+
transition: opacity var(--atlas-duration-fast) var(--atlas-ease-standard);
|
|
560
|
+
border-radius: inherit;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.atlas-card:hover .atlas-card-shine {
|
|
564
|
+
opacity: 1;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/* Modal */
|
|
568
|
+
.atlas-modal-backdrop {
|
|
569
|
+
position: fixed;
|
|
570
|
+
inset: 0;
|
|
571
|
+
display: flex;
|
|
572
|
+
align-items: center;
|
|
573
|
+
justify-content: center;
|
|
574
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
575
|
+
backdrop-filter: blur(4px);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.atlas-modal {
|
|
579
|
+
animation: atlas-modal-in var(--atlas-duration-normal)
|
|
580
|
+
var(--atlas-ease-spring) forwards;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.atlas-modal-closing {
|
|
584
|
+
animation: atlas-modal-out var(--atlas-duration-fast)
|
|
585
|
+
var(--atlas-ease-accelerate) forwards;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
/* Drawer */
|
|
589
|
+
.atlas-drawer-backdrop {
|
|
590
|
+
position: fixed;
|
|
591
|
+
inset: 0;
|
|
592
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
593
|
+
backdrop-filter: blur(4px);
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.atlas-drawer[data-side="left"] {
|
|
597
|
+
animation: atlas-drawer-left-in var(--atlas-duration-normal)
|
|
598
|
+
var(--atlas-ease-spring) forwards;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.atlas-drawer[data-side="right"] {
|
|
602
|
+
animation: atlas-drawer-right-in var(--atlas-duration-normal)
|
|
603
|
+
var(--atlas-ease-spring) forwards;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.atlas-drawer[data-side="top"] {
|
|
607
|
+
animation: atlas-drawer-top-in var(--atlas-duration-normal)
|
|
608
|
+
var(--atlas-ease-spring) forwards;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
.atlas-drawer[data-side="bottom"] {
|
|
612
|
+
animation: atlas-drawer-bottom-in var(--atlas-duration-normal)
|
|
613
|
+
var(--atlas-ease-spring) forwards;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/* Dropdown */
|
|
617
|
+
.atlas-dropdown-menu {
|
|
618
|
+
animation: atlas-dropdown-in var(--atlas-duration-fast)
|
|
619
|
+
var(--atlas-ease-spring) forwards;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.atlas-dropdown-item {
|
|
623
|
+
transition: background-color var(--atlas-duration-fast)
|
|
624
|
+
var(--atlas-ease-standard);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.atlas-dropdown-item:hover,
|
|
628
|
+
.atlas-dropdown-focused {
|
|
629
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.atlas-dropdown-item:active {
|
|
633
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/* Toast */
|
|
637
|
+
.atlas-toast-container {
|
|
638
|
+
position: fixed;
|
|
639
|
+
z-index: 500;
|
|
640
|
+
display: flex;
|
|
641
|
+
gap: 12px;
|
|
642
|
+
pointer-events: none;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.atlas-toast {
|
|
646
|
+
pointer-events: auto;
|
|
647
|
+
animation: atlas-toast-in-bottom var(--atlas-duration-normal)
|
|
648
|
+
var(--atlas-ease-spring) forwards;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
.atlas-toast-container[data-position^="top"] .atlas-toast {
|
|
652
|
+
animation-name: atlas-toast-in-top;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.atlas-toast-icon svg {
|
|
656
|
+
display: block;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.atlas-toast-checkmark {
|
|
660
|
+
stroke-dasharray: 20;
|
|
661
|
+
stroke-dashoffset: 20;
|
|
662
|
+
animation: atlas-checkmark-draw 300ms var(--atlas-ease-decelerate) 100ms
|
|
663
|
+
forwards;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.atlas-toast-progress {
|
|
667
|
+
transform-origin: left;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.atlas-toast-action:hover {
|
|
671
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.atlas-toast-dismiss:hover {
|
|
675
|
+
opacity: 1;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/* Progress */
|
|
679
|
+
.atlas-progress {
|
|
680
|
+
position: relative;
|
|
681
|
+
overflow: hidden;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.atlas-progress-bar {
|
|
685
|
+
position: absolute;
|
|
686
|
+
top: 0;
|
|
687
|
+
left: 0;
|
|
688
|
+
height: 100%;
|
|
689
|
+
transition: width var(--atlas-duration-normal) var(--atlas-ease-decelerate);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.atlas-progress-shimmer {
|
|
693
|
+
position: absolute;
|
|
694
|
+
inset: 0;
|
|
695
|
+
background: linear-gradient(
|
|
696
|
+
90deg,
|
|
697
|
+
transparent 0%,
|
|
698
|
+
rgba(255, 255, 255, 0.3) 50%,
|
|
699
|
+
transparent 100%
|
|
700
|
+
);
|
|
701
|
+
animation: atlas-shimmer 1.5s infinite;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.atlas-progress-indeterminate .atlas-progress-bar {
|
|
705
|
+
animation: atlas-progress-indeterminate 1.5s ease-in-out infinite;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
/* Step Progress */
|
|
709
|
+
.atlas-step-circle {
|
|
710
|
+
transition: all var(--atlas-duration-normal) var(--atlas-ease-spring);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
.atlas-step-connector {
|
|
714
|
+
transition: background var(--atlas-duration-normal) var(--atlas-ease-standard);
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/* Skeleton */
|
|
718
|
+
.atlas-skeleton {
|
|
719
|
+
background-color: var(--atlas-gray-200);
|
|
720
|
+
position: relative;
|
|
721
|
+
overflow: hidden;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.atlas-skeleton-animation {
|
|
725
|
+
position: absolute;
|
|
726
|
+
inset: 0;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.atlas-skeleton[data-animation="shimmer"] .atlas-skeleton-animation {
|
|
730
|
+
background: linear-gradient(
|
|
731
|
+
90deg,
|
|
732
|
+
transparent,
|
|
733
|
+
rgba(255, 255, 255, 0.5),
|
|
734
|
+
transparent
|
|
735
|
+
);
|
|
736
|
+
animation: atlas-skeleton-shimmer 1.5s var(--atlas-ease-standard) infinite;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
.atlas-skeleton[data-animation="pulse"] .atlas-skeleton-animation {
|
|
740
|
+
animation: atlas-skeleton-pulse 1.5s var(--atlas-ease-standard) infinite;
|
|
741
|
+
background-color: rgba(255, 255, 255, 0.3);
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.atlas-skeleton[data-animation="wave"] {
|
|
745
|
+
background: linear-gradient(
|
|
746
|
+
90deg,
|
|
747
|
+
var(--atlas-gray-200) 25%,
|
|
748
|
+
var(--atlas-gray-100) 50%,
|
|
749
|
+
var(--atlas-gray-200) 75%
|
|
750
|
+
);
|
|
751
|
+
background-size: 200% 100%;
|
|
752
|
+
animation: atlas-skeleton-wave 1.5s var(--atlas-ease-standard) infinite;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/* ==========================================================================
|
|
756
|
+
Hover States (Desktop)
|
|
757
|
+
========================================================================== */
|
|
758
|
+
|
|
759
|
+
@media (hover: hover) {
|
|
760
|
+
/* Gentle lift on hover */
|
|
761
|
+
.atlas-hover-lift {
|
|
762
|
+
transition: transform var(--atlas-duration-fast) var(--atlas-ease-standard),
|
|
763
|
+
box-shadow var(--atlas-duration-fast) var(--atlas-ease-standard);
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.atlas-hover-lift:hover {
|
|
767
|
+
transform: translateY(-2px);
|
|
768
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/* Subtle glow on hover */
|
|
772
|
+
.atlas-hover-glow {
|
|
773
|
+
transition: box-shadow var(--atlas-duration-normal)
|
|
774
|
+
var(--atlas-ease-standard),
|
|
775
|
+
filter var(--atlas-duration-normal) var(--atlas-ease-standard);
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.atlas-hover-glow:hover {
|
|
779
|
+
box-shadow: 0 0 20px rgba(var(--atlas-primary-rgb), 0.4);
|
|
780
|
+
filter: brightness(1.05);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/* Scale on hover */
|
|
784
|
+
.atlas-hover-scale {
|
|
785
|
+
transition: transform var(--atlas-duration-fast) var(--atlas-ease-spring);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.atlas-hover-scale:hover {
|
|
789
|
+
transform: scale(1.02);
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
/* Breathing animation on hover */
|
|
793
|
+
.atlas-hover-breathing:hover {
|
|
794
|
+
animation: atlas-breathing 2s ease-in-out infinite;
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/* ==========================================================================
|
|
799
|
+
Focus States (Accessibility)
|
|
800
|
+
========================================================================== */
|
|
801
|
+
|
|
802
|
+
/* Only show focus ring for keyboard navigation */
|
|
803
|
+
.atlas-focus-visible:focus-visible {
|
|
804
|
+
outline: 2px solid var(--atlas-primary);
|
|
805
|
+
outline-offset: 2px;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/* Animated focus ring */
|
|
809
|
+
.atlas-focus-pulse:focus-visible {
|
|
810
|
+
animation: atlas-pulse 1.5s var(--atlas-ease-standard) infinite;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/* ==========================================================================
|
|
814
|
+
Stagger Animation Utilities
|
|
815
|
+
========================================================================== */
|
|
816
|
+
|
|
817
|
+
.atlas-stagger-item {
|
|
818
|
+
opacity: 0;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.atlas-stagger-fade-up {
|
|
822
|
+
animation: atlas-slide-up var(--atlas-duration-normal)
|
|
823
|
+
var(--atlas-ease-spring) forwards;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.atlas-stagger-fade-down {
|
|
827
|
+
animation: atlas-slide-down var(--atlas-duration-normal)
|
|
828
|
+
var(--atlas-ease-spring) forwards;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.atlas-stagger-fade-left {
|
|
832
|
+
animation: atlas-slide-left var(--atlas-duration-normal)
|
|
833
|
+
var(--atlas-ease-spring) forwards;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.atlas-stagger-fade-right {
|
|
837
|
+
animation: atlas-slide-right var(--atlas-duration-normal)
|
|
838
|
+
var(--atlas-ease-spring) forwards;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.atlas-stagger-scale {
|
|
842
|
+
animation: atlas-scale-in var(--atlas-duration-normal)
|
|
843
|
+
var(--atlas-ease-spring) forwards;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.atlas-stagger-flip {
|
|
847
|
+
animation: atlas-flip-in var(--atlas-duration-normal) var(--atlas-ease-spring)
|
|
848
|
+
forwards;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.atlas-stagger-zoom {
|
|
852
|
+
animation: atlas-zoom-in var(--atlas-duration-normal) var(--atlas-ease-bounce)
|
|
853
|
+
forwards;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/* ==========================================================================
|
|
857
|
+
Reduced Motion
|
|
858
|
+
========================================================================== */
|
|
859
|
+
|
|
860
|
+
@media (prefers-reduced-motion: reduce) {
|
|
861
|
+
*,
|
|
862
|
+
*::before,
|
|
863
|
+
*::after {
|
|
864
|
+
animation-duration: 0.01ms !important;
|
|
865
|
+
animation-iteration-count: 1 !important;
|
|
866
|
+
transition-duration: 0.01ms !important;
|
|
867
|
+
}
|
|
868
|
+
}
|