@authme/identity-verification 2.8.57 → 2.8.60

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,759 @@
1
+ .authme-loading-sdk-outer {
2
+ position: fixed;
3
+ z-index: 999;
4
+ width: 100vw;
5
+ height: 100%;
6
+ background-color: var(--authme-outer);
7
+ top: 0;
8
+ left: 0;
9
+ display: flex;
10
+ flex-direction: column;
11
+
12
+ .authme-loading-sdk-content {
13
+ margin: auto;
14
+ width: 50%;
15
+ height: 30%;
16
+ max-width: var(--authme-loading-max-width);
17
+ max-height: var(--authme-loading-max-height);
18
+
19
+ .authme-loading-sdk-text {
20
+ margin: auto;
21
+ text-align: center;
22
+ width: 50%;
23
+ height: 30%;
24
+ max-width: var(--authme-loading-max-width);
25
+ max-height: var(--authme-loading-max-height);
26
+ font-size: var(--authme-font-large);
27
+ font-weight: 500;
28
+ color: var(--authme__upload_success---text);
29
+ }
30
+ }
31
+
32
+ &authme-loading-sdk-outer--opaque {
33
+ background-color: var(--authme-outer-opaque);
34
+ }
35
+
36
+ .statement {
37
+ position: absolute;
38
+ z-index: var(--authme-layers-3-z-index);
39
+ bottom: 48px;
40
+ width: 100%;
41
+ text-align: center;
42
+ color: #f1f2f3;
43
+ font-size: 14px;
44
+ letter-spacing: 0.8px;
45
+ }
46
+ }
47
+
48
+ .authme-select-container {
49
+ *,
50
+ *::before,
51
+ *::after {
52
+ box-sizing: border-box;
53
+ }
54
+
55
+ @media (max-width: 600px) {
56
+ left: 0;
57
+ right: 0;
58
+ width: 100%;
59
+ max-width: 100vw;
60
+ }
61
+ }
62
+
63
+ .authme-container {
64
+ box-sizing: border-box;
65
+ position: fixed;
66
+ top: 0;
67
+ width: 100vw;
68
+ height: 100%;
69
+ max-height: 100%;
70
+
71
+ padding: 3rem;
72
+ display: flex;
73
+ flex-direction: column;
74
+ justify-content: space-between;
75
+ z-index: 1;
76
+
77
+ // Mobile portrait viewports (~390-414px) collide with the desktop
78
+ // `width: 100vw` + `padding: 3rem` assumption: any runtime-applied
79
+ // `left: 12px / right: -12px` (or other compensations) push the
80
+ // visible right edge past the viewport, so the SDK appears to clip
81
+ // ~12-32px on the right side. iOS Safari's `100vw` rounding makes it
82
+ // worse. Pin top-level containers to the viewport on small screens.
83
+ @media (max-width: 600px) {
84
+ &,
85
+ &.liveness-container,
86
+ &.id-recognition-container,
87
+ &.extra-document-container {
88
+ left: 0;
89
+ right: 0;
90
+ width: 100%;
91
+ max-width: 100vw;
92
+ }
93
+
94
+ padding: 1rem;
95
+ }
96
+
97
+ *,
98
+ *::before,
99
+ *::after {
100
+ box-sizing: border-box;
101
+ }
102
+
103
+ .show {
104
+ display: block !important;
105
+ }
106
+
107
+ .hide {
108
+ display: none !important;
109
+ }
110
+
111
+ .hidden {
112
+ opacity: 0 !important;
113
+ }
114
+
115
+ .authme-header {
116
+ height: 60px;
117
+ position: fixed;
118
+ top: 0px;
119
+ left: 0px;
120
+ width: 100%;
121
+ inset: 0px;
122
+ background: var(--authme-header-color);
123
+ display: grid;
124
+ grid-template-columns: repeat(3, 1fr);
125
+ grid-template-rows: 60px;
126
+ column-gap: 16px;
127
+ align-items: center;
128
+ justify-items: center;
129
+ z-index: 200;
130
+ box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
131
+
132
+ &__title {
133
+ font-weight: 500;
134
+ font-size: 14px;
135
+ line-height: 20px;
136
+
137
+ @media (min-width: 769px) {
138
+ font-size: 18px;
139
+ }
140
+ }
141
+
142
+ &__subtitle {
143
+ font-weight: 500;
144
+ font-size: 14px;
145
+ line-height: 20px;
146
+ color: #999ea6;
147
+
148
+ @media (min-width: 769px) {
149
+ font-size: 18px;
150
+ }
151
+ }
152
+
153
+ &__icon {
154
+ height: 100%;
155
+ width: 100%;
156
+
157
+ object-fit: contain;
158
+ display: flex;
159
+ justify-content: center;
160
+ align-items: center;
161
+
162
+ .authme-header__icon-image {
163
+ height: 100%;
164
+ max-width: 100%;
165
+ max-height: 20px;
166
+ }
167
+
168
+ @media (min-width: 769px) {
169
+ max-height: 24px;
170
+ }
171
+ }
172
+
173
+ &.headerMode0 {
174
+ display: none;
175
+ }
176
+
177
+ &.headerMode2 .authme-header__title {
178
+ visibility: hidden;
179
+ }
180
+
181
+ &.headerMode3 .authme-header__subtitle {
182
+ visibility: hidden;
183
+ }
184
+
185
+ &.headerMode4 {
186
+ grid-template-columns: repeat(1, 1fr);
187
+
188
+ .authme-header__title {
189
+ display: none;
190
+ }
191
+
192
+ .authme-header__subtitle {
193
+ display: none;
194
+ }
195
+ }
196
+
197
+ &.headerMode5 {
198
+ .authme-header__title {
199
+ visibility: hidden;
200
+ }
201
+
202
+ .authme-header__subtitle {
203
+ visibility: hidden;
204
+ }
205
+ }
206
+ }
207
+
208
+ .video-container {
209
+ position: absolute;
210
+ /*
211
+ top: 0px;
212
+ height: calc(var(--authMe-vh) * 100);
213
+ */
214
+ // top: 60px;
215
+ // height: calc((var(--authMe-vh) * 100) - 60px);
216
+ top: 0;
217
+ height: 100vh;
218
+
219
+ left: 0;
220
+ width: 100vw;
221
+ display: block;
222
+ background-color: #000000;
223
+ box-shadow: rgba(0, 0, 0, 0.65) 0px 0px 0px 2000px;
224
+
225
+ &__close {
226
+ position: absolute;
227
+ top: 75px;
228
+ right: 21px;
229
+ z-index: var(--authme-layers-close-z-index);
230
+ }
231
+
232
+ &__picture {
233
+ display: none;
234
+ position: absolute;
235
+ bottom: 50px;
236
+ right: calc(50% - 40px);
237
+ border-radius: 50%;
238
+ width: 80px;
239
+ height: 80px;
240
+ border: var(--authme-picture-button) solid 3.5px;
241
+ z-index: 101;
242
+
243
+ &-inner {
244
+ position: absolute;
245
+ top: 50%;
246
+ left: 50%;
247
+ transform: translate(-50%, -50%);
248
+ width: 65px;
249
+ height: 65px;
250
+ border-radius: 50%;
251
+ background-color: white;
252
+ }
253
+ }
254
+
255
+ video {
256
+ object-fit: cover;
257
+ object-position: center;
258
+ height: 100%;
259
+ width: 100%;
260
+ max-width: 100%;
261
+ max-height: 100%;
262
+ }
263
+
264
+ .lottie-screen {
265
+ position: absolute;
266
+ width: 100vw;
267
+ top: 0;
268
+ left: 0;
269
+ z-index: var(--authme-layers-2-z-index);
270
+ top: 50%;
271
+ left: 50%;
272
+ transform: translate(-50%, -50%);
273
+ }
274
+ }
275
+
276
+ @keyframes spin {
277
+ 0% {
278
+ transform: rotate(0deg);
279
+ }
280
+
281
+ 100% {
282
+ transform: rotate(360deg);
283
+ }
284
+ }
285
+
286
+ .loading-outer {
287
+ width: 100vw;
288
+ // height: calc(var(--authMe-vh, 1vh) * 100);
289
+ height: 100%;
290
+ position: absolute;
291
+ top: 0;
292
+ left: 0;
293
+ background-color: rgba($color: #000000, $alpha: 0.65);
294
+ z-index: 200;
295
+
296
+ &.loading-outer--opaque {
297
+ background-color: var(--authme-outer-opaque);
298
+
299
+ .loading-text {
300
+ color: var(--authme-outer-opaque-text);
301
+ }
302
+ }
303
+
304
+ .statement {
305
+ position: absolute;
306
+ z-index: var(--authme-layers-3-z-index);
307
+ bottom: 48px;
308
+ width: 100%;
309
+ text-align: center;
310
+ color: #f1f2f3;
311
+ font-size: 14px;
312
+ letter-spacing: 0.8px;
313
+ }
314
+ }
315
+
316
+ .loading {
317
+ border: 12px solid var(--authme__uploading);
318
+ border-top: 12px solid #fff;
319
+ border-radius: 50%;
320
+ width: 96px;
321
+ height: 96px;
322
+ animation: spin 2s linear infinite;
323
+ position: absolute;
324
+ top: calc(var(--authMe-vh, 1vh) * 50 - 48px);
325
+ left: calc(50vw - 48px);
326
+ }
327
+
328
+ .loading-text {
329
+ position: absolute;
330
+ top: calc(var(--authMe-vh, 1vh) * 50 + 64px);
331
+ width: 100vw;
332
+ text-align: center;
333
+ font-weight: 500;
334
+ font-size: 18px;
335
+ letter-spacing: 0.05em;
336
+ color: var(--authme__upload_success---text);
337
+ }
338
+
339
+ .error-message-panel {
340
+ position: absolute;
341
+ bottom: 40px;
342
+ width: 96vw;
343
+ height: 52px;
344
+ background: rgb(29 30 33);
345
+ border-radius: 8px;
346
+ z-index: 200;
347
+ display: flex;
348
+ text-align: center;
349
+ align-items: center;
350
+ margin: 0 2vw;
351
+ left: 0;
352
+
353
+ .error-icon {
354
+ width: 24px;
355
+ height: 24px;
356
+ margin-left: 16px;
357
+ margin-right: 16px;
358
+ }
359
+
360
+ .error-text {
361
+ font-weight: 400;
362
+ font-size: 14px;
363
+ line-height: 28px;
364
+ letter-spacing: 0.05em;
365
+ color: #ffffff;
366
+ }
367
+
368
+ .retry-text {
369
+ font-weight: 400;
370
+ font-size: 14px;
371
+ line-height: 28px;
372
+ text-align: right;
373
+ letter-spacing: 0.05em;
374
+ color: #ff7070;
375
+ flex: auto;
376
+ margin-right: 12px;
377
+ margin-left: 10px;
378
+ }
379
+ }
380
+
381
+ .error-message-panel.event-name {
382
+ position: absolute;
383
+ padding: 16px 0;
384
+ top: 30%;
385
+ width: 80vw;
386
+ max-width: 319px;
387
+ height: 162px;
388
+ background: var(--authme-white);
389
+ border-radius: 16px;
390
+ z-index: 200;
391
+ display: flex;
392
+ text-align: center;
393
+ align-items: center;
394
+ justify-content: space-between;
395
+ // margin: 0 2vw;
396
+ left: 50%;
397
+ transform: translate(-50%, -50%);
398
+ flex-direction: column;
399
+
400
+ .error-title {
401
+ font-size: var(--authme-font-large);
402
+ font-weight: 500;
403
+ padding: 0 16px;
404
+ box-sizing: border-box;
405
+ }
406
+
407
+ .retry-text {
408
+ width: 100px;
409
+ height: 28px;
410
+ border-radius: 14px;
411
+ text-align: center;
412
+ display: flex;
413
+ justify-content: center;
414
+ align-items: center;
415
+ color: var(--authme__dialog_button_primary---text);
416
+ background-color: var(--authme__dialog_button_primary);
417
+ flex: initial;
418
+ }
419
+
420
+ .error-text {
421
+ font-weight: 400;
422
+ font-size: 14px;
423
+ line-height: initial;
424
+ letter-spacing: 0.05em;
425
+ color: var(--authme-black);
426
+ padding: 0 16px;
427
+ box-sizing: border-box;
428
+ }
429
+ }
430
+
431
+ .popup-panel {
432
+ position: absolute;
433
+ top: 40vh;
434
+ left: calc(50vw - 138px);
435
+ width: 277px;
436
+ background: var(--authme-container-bg-color);
437
+ border-radius: 12px;
438
+ z-index: 999;
439
+ text-align: center;
440
+ align-items: center;
441
+ padding: 16px 20px;
442
+
443
+ .popup-title {
444
+ font-size: 18px;
445
+ font-weight: 500;
446
+ line-height: 28px;
447
+ letter-spacing: 0.05em;
448
+ }
449
+
450
+ .popup-content {
451
+ margin-top: 4px;
452
+ font-size: 14px;
453
+ line-height: 20px;
454
+ letter-spacing: 0.05em;
455
+ white-space: pre-wrap;
456
+ }
457
+ }
458
+
459
+ .popup-btn {
460
+ border-radius: 20px;
461
+ margin-top: 26px;
462
+ padding: 0px 20px;
463
+ background: var(--authme__dialog_button_primary);
464
+ border: unset;
465
+ height: 28px;
466
+ line-height: 20px;
467
+ font-weight: 500;
468
+ font-size: 14px;
469
+
470
+ color: var(--authme__dialog_button_primary---text);
471
+ letter-spacing: 0.05em;
472
+ }
473
+
474
+ .popup-background {
475
+ width: 100vw;
476
+ max-width: 100%;
477
+ height: 100vh;
478
+ position: absolute;
479
+ top: 0;
480
+ left: 0;
481
+ z-index: 998;
482
+ background: rgba(0, 0, 0, 0.5);
483
+ }
484
+ }
485
+
486
+ .authme-scan-view-text {
487
+ position: absolute;
488
+ top: 50%;
489
+ left: 50%;
490
+ transform: translate(-50%, -50%);
491
+ }
492
+ .authme-scan-view-image {
493
+ position: absolute;
494
+ top: 50%;
495
+ left: 50%;
496
+ transform: translate(-50%, -50%);
497
+ }
498
+
499
+ #btn_capture {
500
+ display: none;
501
+ position: absolute;
502
+ bottom: 86px;
503
+ right: calc(50% - 40px);
504
+ border-radius: 50%;
505
+ width: 80px;
506
+ height: 80px;
507
+ border: var(--authme-picture-button) solid 3.5px;
508
+ z-index: 106;
509
+
510
+ .inner {
511
+ position: absolute;
512
+ top: 50%;
513
+ left: 50%;
514
+ transform: translate(-50%, -50%);
515
+ width: 65px;
516
+ height: 65px;
517
+ border-radius: 50%;
518
+ background-color: white;
519
+ }
520
+ }
521
+
522
+ .video-container__upload {
523
+ position: absolute;
524
+ top: 0;
525
+ left: 0;
526
+ width: 100%;
527
+ height: 100%;
528
+ background-color: #fff;
529
+ z-index: 2048;
530
+ display: flex;
531
+ flex-direction: column;
532
+ justify-content: center;
533
+ align-items: center;
534
+ .video-container__upload-icon {
535
+ margin-bottom: 20px;
536
+ }
537
+ .video-container__upload-title {
538
+ margin-bottom: 8px;
539
+ }
540
+ .video-container__upload-message {
541
+ }
542
+ .video-container__upload-statement {
543
+ position: absolute;
544
+ z-index: var(--authme-layers-3-z-index);
545
+ bottom: 48px;
546
+ width: 100%;
547
+ text-align: center;
548
+ color: #f1f2f3;
549
+ font-size: 14px;
550
+ letter-spacing: 0.8px;
551
+ }
552
+ .video-container__upload-footer-container {
553
+ position: absolute;
554
+ bottom: 0;
555
+ left: 0;
556
+ width: 100%;
557
+ display: flex;
558
+ flex-direction: column;
559
+ justify-content: center;
560
+ align-items: center;
561
+ }
562
+ .video-container__upload-close {
563
+ display: inline-block;
564
+ margin-bottom: 16px;
565
+ display: flex;
566
+ flex-direction: column;
567
+ justify-content: center;
568
+ align-items: center;
569
+ }
570
+ .video-container__upload-retry {
571
+ display: inline-block;
572
+ margin-bottom: 16px;
573
+ display: flex;
574
+ flex-direction: column;
575
+ justify-content: center;
576
+ align-items: center;
577
+ }
578
+ }
579
+
580
+ .drop_menu_container {
581
+ position: relative;
582
+ font-size: 16px;
583
+ }
584
+
585
+ .drop_menu_container .drop_menu_title {
586
+ border: 1px solid rgba(189, 189, 189, 1);
587
+ border-radius: 8px;
588
+ position: relative;
589
+ background: #ffffff;
590
+ @media (min-width: 1440px) {
591
+ &:hover {
592
+ border: 1px solid #00994e;
593
+ }
594
+ }
595
+ }
596
+
597
+ .drop_menu_container .drop_menu_title.error {
598
+ border: 1px solid #f7453f;
599
+ }
600
+
601
+ .drop_menu_container .drop_menu_title.focus {
602
+ @media (min-width: 1440px) {
603
+ border: 1px solid #00994e;
604
+ }
605
+ }
606
+
607
+ .drop_menu_container .drop_menu_title:hover {
608
+ cursor: pointer;
609
+ }
610
+
611
+ .drop_menu_container .drop_menu_title span {
612
+ display: block;
613
+ padding: 12px calc(24px + 12px + 12px) 12px 12px;
614
+ box-sizing: border-box;
615
+ }
616
+
617
+ .drop_menu_container .drop_menu_title svg {
618
+ position: absolute;
619
+ right: 12px;
620
+ top: 50%;
621
+ transform: translateY(-50%);
622
+ }
623
+
624
+ .drop_menu_container section {
625
+ z-index: 111;
626
+ position: fixed;
627
+ top: 0;
628
+ left: 0;
629
+ right: 0;
630
+ bottom: 0;
631
+ width: 100vw;
632
+ height: 100vh;
633
+ background: rgba(76, 84, 74, 0.6);
634
+ display: flex;
635
+
636
+ // @media (min-width: 1440px) {
637
+ @media (min-width: 1440px) {
638
+ position: absolute;
639
+ top: 100%;
640
+ left: 0;
641
+ right: unset;
642
+ bottom: unset;
643
+ background: transparent;
644
+ width: 100%;
645
+ height: auto;
646
+ }
647
+ }
648
+ .drop_menu_container ul,
649
+ .drop_menu_container li {
650
+ margin: 0;
651
+ padding: 0;
652
+ }
653
+
654
+ .drop_menu_container ul {
655
+ overflow-y: auto;
656
+ max-height: calc(70vh - 72px);
657
+ box-sizing: border-box;
658
+
659
+ margin-bottom: 72px;
660
+ padding: 16px 24px;
661
+ @media (min-width: 1440px) {
662
+ margin-bottom: 0;
663
+ padding: 0;
664
+ max-height: calc(7 * 50px);
665
+ }
666
+ }
667
+
668
+ // .drop_menu_container ul {
669
+ .drop_menu_container .drop_menu_ul_container {
670
+ overflow: hidden;
671
+ margin-top: 16px;
672
+ background: rgba(255, 255, 255, 1);
673
+ // box-shadow: 0px 4px 12px 0px #0000000f;
674
+ border-radius: 8px;
675
+ // padding: 8px 0;
676
+ box-sizing: border-box;
677
+ border-radius: 16px;
678
+
679
+ position: relative;
680
+ margin: auto;
681
+ max-height: 70vh;
682
+ width: 320px;
683
+ @media (min-width: 1440px) {
684
+ width: 100%;
685
+ border: 1px solid #a7a7a7;
686
+ border-radius: 3px;
687
+ }
688
+ }
689
+
690
+ .drop_menu_container li {
691
+ list-style: none;
692
+ position: relative;
693
+ box-sizing: border-box;
694
+ border-bottom: 1px solid rgba(225, 225, 225, 1);
695
+ color: #404040;
696
+ @media (min-width: 820px) {
697
+ color: #343434;
698
+ }
699
+ @media (min-width: 1440px) {
700
+ color: #a7a7a7;
701
+ }
702
+ }
703
+
704
+ .drop_menu_container li:hover {
705
+ cursor: pointer;
706
+ }
707
+
708
+ .drop_menu_container li svg {
709
+ position: absolute;
710
+ left: 12px;
711
+ top: 50%;
712
+ transform: translateY(-50%);
713
+ display: none;
714
+ }
715
+
716
+ .drop_menu_container li.active {
717
+ // background: #54c0d41a;
718
+ @media (min-width: 1440px) {
719
+ background: #fffdd9;
720
+ font-weight: 500;
721
+ color: #343434;
722
+ }
723
+ }
724
+
725
+ .drop_menu_container li.active svg {
726
+ display: block;
727
+ @media (min-width: 1440px) {
728
+ display: none;
729
+ }
730
+ }
731
+
732
+ .drop_menu_container li span {
733
+ // padding: 11px 16px 11px calc(16px + 16px + 4px);
734
+ padding: 11px 0;
735
+ display: block;
736
+ box-sizing: border-box;
737
+ word-break: break-all;
738
+ @media (min-width: 1440px) {
739
+ padding: 12.5px 12px;
740
+ }
741
+ }
742
+ .drop_menu_container .drop_menu_cancel {
743
+ display: flex;
744
+ width: 100%;
745
+ height: 72px;
746
+ justify-content: center;
747
+ align-items: center;
748
+ box-shadow: 0px -4px 12px 0px rgba(64, 64, 64, 0.06);
749
+ font-size: 16px;
750
+ color: #262626;
751
+ position: absolute;
752
+ bottom: 0;
753
+ left: 0;
754
+ width: 100%;
755
+ border-radius: 0 0 16px 16px;
756
+ }
757
+ .drop_menu_container .drop_menu_cancel:hover {
758
+ cursor: pointer;
759
+ }