@aurum-sdk/core 0.1.0

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.
@@ -0,0 +1,743 @@
1
+ @import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";
2
+
3
+ /* src/ui/globals.css */
4
+ :host {
5
+ all: initial;
6
+ }
7
+ *,
8
+ *::before,
9
+ *::after {
10
+ box-sizing: border-box;
11
+ }
12
+ input,
13
+ button,
14
+ textarea,
15
+ select {
16
+ font-family: inherit;
17
+ }
18
+ .aurum-sdk {
19
+ font-family: var(--aurum-font-family);
20
+ font-size: 1rem;
21
+ line-height: 1.5;
22
+ -webkit-font-smoothing: antialiased;
23
+ -moz-osx-font-smoothing: grayscale;
24
+ --font-normal: 400;
25
+ --font-medium: 500;
26
+ --font-semibold: 600;
27
+ --font-bold: 700;
28
+ --duration-fast: 100ms;
29
+ --duration-normal: 200ms;
30
+ --duration-slow: 300ms;
31
+ --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
32
+ --ease-in: cubic-bezier(0.4, 0, 1, 1);
33
+ --ease-out: cubic-bezier(0, 0, 0.2, 1);
34
+ --color-foreground: #0c0c0c;
35
+ --color-foreground-muted: #787878;
36
+ --color-foreground-subtle: #979797;
37
+ --color-card: #ffffff;
38
+ --color-border: #d9d9d9;
39
+ --color-border-muted: #c0c0c0;
40
+ --color-border-focus: var(--aurum-primary-color);
41
+ --color-primary: var(--aurum-primary-color);
42
+ --color-primary-foreground: #ffffff;
43
+ --color-primary-hover: color-mix(in srgb, var(--aurum-primary-color) 85%, #000);
44
+ --color-primary-muted: color-mix(in srgb, var(--aurum-primary-color) 15%, transparent);
45
+ --color-accent: #f1f1f1;
46
+ --color-accent-foreground: #0d0d0d;
47
+ --color-accent-hover: #e6e6e6;
48
+ --color-success: #22c55e;
49
+ --color-error: #ef4444;
50
+ --color-overlay: rgb(0 0 0 / 0.5);
51
+ --color-ring: var(--aurum-primary-color);
52
+ --ring-offset: 0.125rem;
53
+ --shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
54
+ }
55
+ .aurum-sdk[data-theme=dark] {
56
+ --color-foreground: #fafafa;
57
+ --color-foreground-muted: #a9a9a9;
58
+ --color-foreground-subtle: #777777;
59
+ --color-card: #151515;
60
+ --color-border: #282828;
61
+ --color-border-muted: #424242;
62
+ --color-border-focus: var(--aurum-primary-color);
63
+ --color-primary: var(--aurum-primary-color);
64
+ --color-primary-foreground: #0a0a0a;
65
+ --color-primary-hover: color-mix(in srgb, var(--aurum-primary-color) 85%, #fff);
66
+ --color-primary-muted: color-mix(in srgb, var(--aurum-primary-color) 20%, transparent);
67
+ --color-accent: #272727;
68
+ --color-accent-foreground: #fafafa;
69
+ --color-accent-hover: #404040;
70
+ --color-success: #22c55e;
71
+ --color-error: #ef4444;
72
+ --color-overlay: rgb(0 0 0 / 0.7);
73
+ --color-ring: var(--aurum-primary-color);
74
+ --ring-offset: 0.125rem;
75
+ --shadow: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
76
+ }
77
+
78
+ /* src/ui/Badge/Badge.css */
79
+ .aurum-badge-recent {
80
+ padding: 0.25rem 0.5rem;
81
+ border-radius: var(--aurum-border-radius-xs);
82
+ font-size: 0.65rem;
83
+ line-height: 1;
84
+ letter-spacing: 0.07em;
85
+ text-transform: uppercase;
86
+ color: var(--color-foreground-muted);
87
+ }
88
+
89
+ /* src/ui/Button/Button.css */
90
+ .aurum-button {
91
+ display: flex;
92
+ align-items: center;
93
+ justify-content: center;
94
+ border: none;
95
+ font-weight: var(--font-semibold);
96
+ cursor: pointer;
97
+ transition:
98
+ background-color var(--duration-normal) var(--ease-default),
99
+ color var(--duration-normal) var(--ease-default),
100
+ transform var(--duration-fast) var(--ease-default),
101
+ box-shadow var(--duration-normal) var(--ease-default);
102
+ text-decoration: none;
103
+ box-sizing: border-box;
104
+ position: relative;
105
+ outline: none;
106
+ font-family: inherit;
107
+ }
108
+ .aurum-button:focus-visible {
109
+ outline: 2px solid var(--color-ring);
110
+ outline-offset: var(--ring-offset);
111
+ }
112
+ .aurum-button--xs {
113
+ padding: 0.25rem 0.5rem;
114
+ font-size: 0.75rem;
115
+ gap: 0.25rem;
116
+ border-radius: var(--aurum-border-radius-xs);
117
+ }
118
+ .aurum-button--sm {
119
+ padding: 0.5rem 0.75rem;
120
+ font-size: 0.875rem;
121
+ gap: 0.25rem;
122
+ border-radius: calc(var(--aurum-border-radius-sm) - 2px);
123
+ }
124
+ .aurum-button--md {
125
+ padding: 0.75rem 1rem;
126
+ font-size: 0.9rem;
127
+ gap: 0.5rem;
128
+ border-radius: calc(var(--aurum-border-radius-md) - 2px);
129
+ }
130
+ .aurum-button--lg {
131
+ padding: 1rem 1.5rem;
132
+ font-size: 1rem;
133
+ gap: 0.75rem;
134
+ border-radius: var(--aurum-border-radius-md);
135
+ }
136
+ .aurum-button--full-width {
137
+ width: 100%;
138
+ }
139
+ .aurum-button--primary {
140
+ background-color: var(--color-primary);
141
+ color: var(--color-primary-foreground);
142
+ }
143
+ .aurum-button--primary:active:not(:disabled) {
144
+ transform: scale(0.98);
145
+ }
146
+ .aurum-button--secondary {
147
+ background-color: var(--color-accent);
148
+ color: var(--color-accent-foreground);
149
+ }
150
+ .aurum-button--secondary:active:not(:disabled) {
151
+ transform: scale(0.98);
152
+ }
153
+ .aurum-button--tertiary {
154
+ background: transparent;
155
+ color: var(--color-foreground);
156
+ border: 1px solid var(--color-border);
157
+ }
158
+ .aurum-button--tertiary:active:not(:disabled) {
159
+ transform: scale(0.98);
160
+ }
161
+ .aurum-button--text {
162
+ background: transparent;
163
+ color: var(--color-primary);
164
+ padding: 0.25rem;
165
+ }
166
+ .aurum-button--text:not(.aurum-button--full-width) {
167
+ width: fit-content;
168
+ }
169
+ .aurum-button--text:active:not(:disabled) {
170
+ transform: scale(0.98);
171
+ }
172
+ .aurum-button--close {
173
+ background: transparent;
174
+ color: var(--color-foreground-muted);
175
+ border: none;
176
+ padding: 0.5rem;
177
+ border-radius: var(--aurum-border-radius-md);
178
+ font-size: 1.25rem;
179
+ line-height: 1;
180
+ }
181
+ .aurum-button--close:active:not(:disabled) {
182
+ transform: scale(0.95);
183
+ }
184
+ @media (hover: hover) {
185
+ .aurum-button--primary:hover:not(:disabled) {
186
+ background-color: var(--color-primary-hover);
187
+ }
188
+ .aurum-button--secondary:hover:not(:disabled) {
189
+ background-color: var(--color-accent-hover);
190
+ }
191
+ .aurum-button--tertiary:hover:not(:disabled) {
192
+ background-color: var(--color-accent);
193
+ border-color: var(--color-border-muted);
194
+ }
195
+ .aurum-button--text:hover:not(:disabled) {
196
+ opacity: 0.7;
197
+ }
198
+ .aurum-button--close:hover:not(:disabled) {
199
+ background-color: var(--color-accent);
200
+ color: var(--color-foreground);
201
+ }
202
+ }
203
+ .aurum-button--disabled,
204
+ .aurum-button:disabled {
205
+ opacity: 0.5;
206
+ cursor: not-allowed;
207
+ pointer-events: none;
208
+ }
209
+ .aurum-button--loading {
210
+ pointer-events: none;
211
+ }
212
+
213
+ /* src/ui/Divider/Divider.css */
214
+ .divider {
215
+ display: flex;
216
+ align-items: center;
217
+ width: 100%;
218
+ }
219
+ .divider-line {
220
+ flex: 1;
221
+ height: 1px;
222
+ background-color: var(--color-border);
223
+ }
224
+ .divider-text {
225
+ padding: 0 1rem;
226
+ color: var(--color-foreground-subtle);
227
+ font-size: 0.875rem;
228
+ font-weight: var(--font-medium);
229
+ }
230
+
231
+ /* src/components/PoweredBy/PoweredBy.css */
232
+ .powered-by-container {
233
+ position: absolute;
234
+ bottom: 1rem;
235
+ left: 0;
236
+ right: 0;
237
+ width: 100%;
238
+ }
239
+
240
+ /* src/ui/Modal/Modal.css */
241
+ .modal-overlay {
242
+ position: fixed;
243
+ inset: 0;
244
+ display: flex;
245
+ justify-content: center;
246
+ align-items: center;
247
+ z-index: var(--aurum-modal-z-index);
248
+ background-color: var(--color-overlay);
249
+ opacity: 0;
250
+ }
251
+ .modal-overlay.modal-open {
252
+ opacity: 1;
253
+ transition: opacity 150ms ease-out;
254
+ }
255
+ .modal-overlay.modal-exiting {
256
+ opacity: 0;
257
+ transition: opacity 150ms ease-in;
258
+ }
259
+ .modal-content {
260
+ position: relative;
261
+ width: 23.75rem;
262
+ min-width: 17rem;
263
+ padding: 1.25rem 1.5rem;
264
+ color: var(--color-card-foreground);
265
+ background-color: var(--color-card);
266
+ border-radius: var(--aurum-border-radius-lg);
267
+ box-shadow: var(--shadow);
268
+ border: 1px solid var(--color-border-muted);
269
+ outline: none;
270
+ opacity: 0;
271
+ transform: scale(0.95);
272
+ }
273
+ .modal-overlay.modal-open .modal-content {
274
+ opacity: 1;
275
+ transform: scale(1);
276
+ transition: opacity 150ms ease-out, transform 150ms ease-out;
277
+ }
278
+ .modal-overlay.modal-exiting .modal-content {
279
+ opacity: 0;
280
+ transform: scale(0.95);
281
+ transition: opacity 150ms ease-in, transform 150ms ease-in;
282
+ }
283
+ .modal-page-container {
284
+ position: relative;
285
+ width: 100%;
286
+ overflow-x: visible;
287
+ overflow-y: auto;
288
+ scrollbar-width: none;
289
+ -ms-overflow-style: none;
290
+ }
291
+ .modal-page-container::-webkit-scrollbar {
292
+ display: none;
293
+ }
294
+ .modal-page {
295
+ position: relative;
296
+ width: 100%;
297
+ box-sizing: border-box;
298
+ opacity: 0;
299
+ transition: opacity 0s;
300
+ }
301
+ .modal-page.active {
302
+ opacity: 1;
303
+ transition: opacity var(--duration-slow) var(--ease-out);
304
+ }
305
+ @media (max-width: 30.25rem) {
306
+ .modal-overlay {
307
+ align-items: flex-end;
308
+ justify-content: center;
309
+ opacity: 1;
310
+ transition: none;
311
+ }
312
+ .modal-overlay.modal-open {
313
+ transition: none;
314
+ }
315
+ .modal-overlay.modal-exiting {
316
+ opacity: 1;
317
+ background-color: transparent;
318
+ transition: none;
319
+ }
320
+ .modal-content {
321
+ width: 100%;
322
+ max-height: 82vh;
323
+ max-height: 82dvh;
324
+ min-height: 35vh;
325
+ min-height: 35dvh;
326
+ padding: 1rem;
327
+ border-radius: var(--aurum-border-radius-lg) var(--aurum-border-radius-lg) 0 0;
328
+ border-bottom: none;
329
+ display: flex;
330
+ flex-direction: column;
331
+ height: auto;
332
+ opacity: 1;
333
+ transform: translateY(100%);
334
+ }
335
+ .modal-overlay.modal-open .modal-content {
336
+ opacity: 1;
337
+ transform: translateY(0);
338
+ transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
339
+ }
340
+ .modal-overlay.modal-exiting .modal-content {
341
+ opacity: 1;
342
+ transform: translateY(100%);
343
+ transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
344
+ }
345
+ .modal-page-container {
346
+ flex: 0 1 auto;
347
+ display: flex;
348
+ flex-direction: column;
349
+ overflow-y: auto;
350
+ }
351
+ .modal-page {
352
+ flex: 0 1 auto;
353
+ display: flex;
354
+ flex-direction: column;
355
+ }
356
+ }
357
+
358
+ /* src/ui/Spinner/Spinner.css */
359
+ .spinner {
360
+ flex-shrink: 0;
361
+ animation: spinner-rotate 1s linear infinite;
362
+ }
363
+ @keyframes spinner-rotate {
364
+ from {
365
+ transform: rotate(0deg);
366
+ }
367
+ to {
368
+ transform: rotate(360deg);
369
+ }
370
+ }
371
+
372
+ /* src/ui/Text/Text.css */
373
+ .aurum-text {
374
+ margin: 0;
375
+ padding: 0;
376
+ font-family: inherit;
377
+ line-height: 1.5;
378
+ }
379
+ .aurum-text--primary {
380
+ color: var(--color-foreground);
381
+ }
382
+ .aurum-text--secondary {
383
+ color: var(--color-foreground-muted);
384
+ }
385
+ .aurum-text--tertiary {
386
+ color: var(--color-foreground-subtle);
387
+ }
388
+ .aurum-text--error {
389
+ color: var(--color-error);
390
+ }
391
+ .aurum-text--brand {
392
+ color: var(--color-primary);
393
+ }
394
+ .aurum-text--success {
395
+ color: var(--color-success);
396
+ }
397
+ .aurum-text--xs {
398
+ font-size: 0.75rem;
399
+ line-height: 1.4;
400
+ }
401
+ .aurum-text--sm {
402
+ font-size: 0.875rem;
403
+ line-height: 1.45;
404
+ }
405
+ .aurum-text--md {
406
+ font-size: 1rem;
407
+ line-height: 1.5;
408
+ }
409
+ .aurum-text--lg {
410
+ font-size: 1.125rem;
411
+ line-height: 1.5;
412
+ }
413
+ .aurum-text--normal {
414
+ font-weight: var(--font-normal);
415
+ }
416
+ .aurum-text--semibold {
417
+ font-weight: var(--font-semibold);
418
+ }
419
+ .aurum-text--bold {
420
+ font-weight: var(--font-bold);
421
+ }
422
+ .aurum-text--align-left {
423
+ text-align: left;
424
+ }
425
+ .aurum-text--align-center {
426
+ text-align: center;
427
+ }
428
+ .aurum-text--align-right {
429
+ text-align: right;
430
+ }
431
+
432
+ /* src/components/ModalHeader/ModalHeader.css */
433
+ .modal-header {
434
+ position: absolute;
435
+ top: 0;
436
+ left: 0;
437
+ right: 0;
438
+ padding: 1rem;
439
+ background-color: var(--color-card);
440
+ border-radius: var(--aurum-border-radius-lg) var(--aurum-border-radius-lg) 0 0;
441
+ z-index: 1;
442
+ display: grid;
443
+ grid-template-columns: 1fr auto 1fr;
444
+ align-items: center;
445
+ }
446
+ .modal-header > div {
447
+ display: flex;
448
+ align-items: center;
449
+ width: 100%;
450
+ }
451
+ .modal-header-left {
452
+ justify-content: flex-start;
453
+ min-width: 2.25rem;
454
+ height: 2.25rem;
455
+ }
456
+ .modal-header-center {
457
+ justify-content: center;
458
+ max-width: 12.5rem;
459
+ text-align: center;
460
+ line-height: 1.2;
461
+ overflow-wrap: break-word;
462
+ }
463
+ .modal-header-right {
464
+ justify-content: flex-end;
465
+ min-width: 2.25rem;
466
+ height: 2.25rem;
467
+ }
468
+
469
+ /* src/components/ConnectModal/EmailAuth.css */
470
+ .email-auth-input {
471
+ width: 100%;
472
+ outline: none;
473
+ font-family: inherit;
474
+ font-size: 1rem;
475
+ line-height: 1.75rem;
476
+ box-sizing: border-box;
477
+ padding: 0.75rem 3rem 0.75rem 3rem;
478
+ color: var(--color-foreground);
479
+ transition: outline 0.2s ease, border-color 0.2s ease;
480
+ background-color: var(--color-card);
481
+ border-width: 1px;
482
+ border-style: solid;
483
+ border-color: var(--color-border);
484
+ border-radius: var(--aurum-border-radius-md);
485
+ }
486
+ .email-auth-input:hover:not(:focus):not(.email-auth-input--error) {
487
+ border-color: var(--color-border-muted);
488
+ }
489
+ .email-auth-input:focus {
490
+ outline: 2px solid var(--color-ring);
491
+ outline-offset: var(--ring-offset);
492
+ }
493
+ .email-auth-input--error {
494
+ outline: 2px solid var(--color-error);
495
+ outline-offset: var(--ring-offset);
496
+ }
497
+ .email-auth-submit-button.aurum-button {
498
+ top: 50%;
499
+ right: 0.75rem;
500
+ height: auto;
501
+ padding: 0.5rem;
502
+ min-width: auto;
503
+ position: absolute;
504
+ transform: translateY(-50%);
505
+ border-radius: var(--aurum-border-radius-sm);
506
+ }
507
+ .email-auth-icon {
508
+ top: 50%;
509
+ left: 1rem;
510
+ position: absolute;
511
+ transform: translateY(-50%);
512
+ display: flex;
513
+ align-items: center;
514
+ pointer-events: none;
515
+ }
516
+
517
+ /* src/components/ConnectModal/WalletGrid.css */
518
+ .aurum-wallet-grid {
519
+ display: grid;
520
+ grid-template-columns: repeat(var(--grid-columns, 3), 1fr);
521
+ gap: 10px;
522
+ width: 100%;
523
+ }
524
+
525
+ /* src/components/ConnectModal/AdditionalWalletsIcon.css */
526
+ .additional-wallets-container {
527
+ display: flex;
528
+ align-items: center;
529
+ justify-content: center;
530
+ }
531
+ .additional-wallets-grid {
532
+ display: grid;
533
+ grid-template-columns: 1fr 1fr;
534
+ grid-template-rows: 1fr 1fr;
535
+ gap: 0.125rem;
536
+ align-items: center;
537
+ justify-items: center;
538
+ }
539
+ .additional-wallets-grid-item {
540
+ display: flex;
541
+ align-items: center;
542
+ justify-content: center;
543
+ }
544
+ .additional-wallets-placeholder {
545
+ background-color: var(--aurum-color-bg-tertiary);
546
+ border-radius: var(--aurum-border-radius-xs);
547
+ opacity: 0.4;
548
+ }
549
+ .circular-icon-wrapper {
550
+ border-radius: 50%;
551
+ overflow: hidden;
552
+ border: 2px solid var(--aurum-color-bg-secondary);
553
+ }
554
+ .circular-icon-wrapper--front {
555
+ z-index: 2;
556
+ }
557
+ .circular-icon-wrapper--back {
558
+ margin-left: -0.5rem;
559
+ z-index: 1;
560
+ }
561
+
562
+ /* src/components/ConnectModal/ConnectionStatus/ConnectionStatus.css */
563
+ @keyframes shake {
564
+ 0%, 100% {
565
+ transform: translateX(0);
566
+ }
567
+ 20%, 60% {
568
+ transform: translateX(-0.125rem);
569
+ }
570
+ 40%, 80% {
571
+ transform: translateX(0.125rem);
572
+ }
573
+ }
574
+ @keyframes opacity-pulse {
575
+ 0%, 100% {
576
+ opacity: 0.4;
577
+ }
578
+ 50% {
579
+ opacity: 1;
580
+ }
581
+ }
582
+ @keyframes scale-in {
583
+ from {
584
+ transform: scale(0.75);
585
+ }
586
+ to {
587
+ transform: scale(1);
588
+ }
589
+ }
590
+ .wallet-icon-shake {
591
+ animation: shake var(--duration-slow) var(--ease-default);
592
+ }
593
+ .ellipses-loading,
594
+ .ellipses-success,
595
+ .status-icon-with-dots {
596
+ display: flex;
597
+ gap: 0.25rem;
598
+ align-items: center;
599
+ justify-content: center;
600
+ width: 100%;
601
+ }
602
+ .ellipses-loading span,
603
+ .ellipses-success span,
604
+ .status-icon-with-dots .dot,
605
+ .status-icon-with-dots .icon-center {
606
+ font-size: 3rem;
607
+ line-height: 1;
608
+ display: flex;
609
+ align-items: center;
610
+ justify-content: center;
611
+ width: 0.9375rem;
612
+ height: 3rem;
613
+ margin: 0;
614
+ padding: 0;
615
+ flex-shrink: 0;
616
+ }
617
+ .ellipses-loading span,
618
+ .ellipses-success span,
619
+ .status-icon-with-dots .dot {
620
+ transform: translateY(-0.28125rem);
621
+ }
622
+ .status-icon-with-dots .icon-center {
623
+ transform: translateY(-0.2rem);
624
+ }
625
+ .ellipses-loading span {
626
+ color: var(--color-foreground-subtle);
627
+ opacity: 0.4;
628
+ animation: opacity-pulse 1.5s var(--ease-default) infinite;
629
+ will-change: opacity;
630
+ }
631
+ .ellipses-loading span:nth-child(2) {
632
+ animation-delay: 0.2s;
633
+ }
634
+ .ellipses-loading span:nth-child(3) {
635
+ animation-delay: 0.4s;
636
+ }
637
+ .ellipses-loading span:nth-child(4) {
638
+ animation-delay: 0.6s;
639
+ }
640
+ .ellipses-loading span:nth-child(5) {
641
+ animation-delay: 0.8s;
642
+ }
643
+ .ellipses-success span,
644
+ .status-icon-with-dots.success .dot {
645
+ color: var(--aurum-primary-color);
646
+ }
647
+ .status-icon-with-dots.error .dot {
648
+ color: var(--color-error);
649
+ }
650
+ .status-button {
651
+ display: flex;
652
+ align-items: flex-start;
653
+ justify-content: center;
654
+ width: 100%;
655
+ }
656
+ .success-icon-large {
657
+ animation: scale-in var(--duration-fast) var(--ease-out);
658
+ }
659
+ .brand-logo-container,
660
+ .wallet-logo-with-retry {
661
+ position: relative;
662
+ display: inline-block;
663
+ }
664
+ .brand-logo-container {
665
+ margin-left: 0.375rem;
666
+ }
667
+ .wallet-logo-with-retry {
668
+ margin-right: 0.375rem;
669
+ }
670
+ .retry-icon-overlay.retry-icon-overlay {
671
+ position: absolute;
672
+ bottom: -0.125rem;
673
+ right: -0.375rem;
674
+ width: 1.625rem;
675
+ height: 1.625rem;
676
+ min-width: 1.625rem;
677
+ min-height: 1.625rem;
678
+ border-radius: 50%;
679
+ padding: 0;
680
+ display: flex;
681
+ align-items: center;
682
+ justify-content: center;
683
+ }
684
+
685
+ /* src/components/QRCodeDisplay/QRCodeSkeleton.css */
686
+ .qr-skeleton-container {
687
+ width: 100%;
688
+ position: relative;
689
+ }
690
+ .qr-skeleton-svg {
691
+ display: block;
692
+ position: relative;
693
+ z-index: 2;
694
+ border-radius: var(--aurum-border-radius-sm);
695
+ }
696
+ .qr-skeleton-dot {
697
+ opacity: 0.7;
698
+ }
699
+ .qr-skeleton-eye {
700
+ opacity: 0.7;
701
+ }
702
+
703
+ /* src/components/QRCodeDisplay/QRCodeDisplay.css */
704
+ @keyframes qr-shimmer {
705
+ 0% {
706
+ transform: translateX(-100%);
707
+ }
708
+ 100% {
709
+ transform: translateX(100%);
710
+ }
711
+ }
712
+ .qr-container-shimmer {
713
+ position: relative;
714
+ overflow: hidden;
715
+ }
716
+ .qr-container-shimmer::before {
717
+ content: "";
718
+ position: absolute;
719
+ top: 0;
720
+ left: 0;
721
+ width: 100%;
722
+ height: 100%;
723
+ background:
724
+ linear-gradient(
725
+ 90deg,
726
+ transparent 0%,
727
+ color-mix(in srgb, var(--color-foreground) 10%, transparent) 50%,
728
+ transparent 100%);
729
+ animation: qr-shimmer 2s infinite;
730
+ pointer-events: none;
731
+ z-index: 1;
732
+ }
733
+ .qr-container {
734
+ border-radius: var(--aurum-border-radius-md);
735
+ border: 1px solid var(--color-border);
736
+ padding: 0.5rem;
737
+ box-sizing: content-box;
738
+ transition: border-color var(--duration-slow) var(--ease-default);
739
+ }
740
+ .qr-subtitle {
741
+ max-width: 15rem;
742
+ }
743
+ /*# sourceMappingURL=widgets.css.map */