@djb25/digit-ui-css 1.0.88 → 1.0.90
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/index.css +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/EkycAssign.scss +1 -1
- package/src/components/SurveyorDetailsDashboard.scss +207 -68
- package/src/components/summary.scss +41 -1
- package/src/components/table.scss +31 -1
- package/src/pages/employee/index.scss +3 -1
package/package.json
CHANGED
|
@@ -315,87 +315,81 @@
|
|
|
315
315
|
|
|
316
316
|
.ekyc-details-wrapper {
|
|
317
317
|
display: flex;
|
|
318
|
-
flex-
|
|
319
|
-
gap:
|
|
320
|
-
justify-content: space-between;
|
|
321
|
-
align-items: stretch;
|
|
318
|
+
flex-direction: column;
|
|
319
|
+
gap: 16px;
|
|
322
320
|
width: 100%;
|
|
323
321
|
|
|
324
|
-
.details-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
grid-template-columns: repeat(2, 1fr);
|
|
331
|
-
gap: 16px;
|
|
322
|
+
.details-top-row {
|
|
323
|
+
display: grid;
|
|
324
|
+
grid-template-columns: 1fr 1fr 2fr;
|
|
325
|
+
gap: 16px;
|
|
326
|
+
align-items: stretch;
|
|
327
|
+
width: 100%;
|
|
332
328
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
329
|
+
.detail-item {
|
|
330
|
+
height: 100%;
|
|
331
|
+
display: flex;
|
|
332
|
+
flex-direction: column;
|
|
333
|
+
align-items: flex-start;
|
|
334
|
+
gap: 6px;
|
|
335
|
+
padding: 14px 18px;
|
|
336
|
+
background: #F8FAFC;
|
|
337
|
+
border: 1px solid #E2E8F0;
|
|
338
|
+
border-radius: 10px;
|
|
339
|
+
transition: all 0.2s ease;
|
|
343
340
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
341
|
+
&:hover {
|
|
342
|
+
background: #F1F5F9;
|
|
343
|
+
border-color: #CBD5E1;
|
|
344
|
+
}
|
|
348
345
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
346
|
+
.label {
|
|
347
|
+
font-size: 0.6875rem;
|
|
348
|
+
font-weight: 700;
|
|
349
|
+
color: #64748B;
|
|
350
|
+
text-transform: uppercase;
|
|
351
|
+
letter-spacing: 0.05em;
|
|
352
|
+
}
|
|
356
353
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}
|
|
354
|
+
.value {
|
|
355
|
+
font-size: 0.875rem;
|
|
356
|
+
font-weight: 600;
|
|
357
|
+
color: #1E293B;
|
|
358
|
+
word-break: break-all;
|
|
363
359
|
}
|
|
364
360
|
}
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
.details-right {
|
|
368
|
-
flex: 0.9;
|
|
369
|
-
min-width: 290px;
|
|
370
|
-
display: flex;
|
|
371
|
-
flex-direction: column;
|
|
372
|
-
justify-content: center;
|
|
373
|
-
border-left: 1px solid #E2E8F0;
|
|
374
|
-
padding-left: 28px;
|
|
375
361
|
|
|
376
362
|
.download-card {
|
|
377
363
|
display: flex;
|
|
378
|
-
flex-direction:
|
|
379
|
-
|
|
380
|
-
|
|
364
|
+
flex-direction: row;
|
|
365
|
+
justify-content: space-between;
|
|
366
|
+
align-items: center;
|
|
367
|
+
padding: 14px 18px;
|
|
368
|
+
margin: 0;
|
|
369
|
+
height: 100%;
|
|
381
370
|
background: #F8FAFC;
|
|
382
371
|
border: 1px solid #E2E8F0;
|
|
383
|
-
border-radius:
|
|
384
|
-
padding: 20px;
|
|
372
|
+
border-radius: 10px;
|
|
385
373
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
386
374
|
|
|
387
375
|
h4 {
|
|
388
376
|
margin: 0;
|
|
389
|
-
font-size:
|
|
377
|
+
font-size: 0.9375rem;
|
|
390
378
|
font-weight: 700;
|
|
391
379
|
color: #0B2559;
|
|
392
380
|
}
|
|
393
381
|
|
|
394
382
|
p {
|
|
395
|
-
margin: 0;
|
|
396
|
-
font-size: 0.
|
|
383
|
+
margin: 2px 0 0 0;
|
|
384
|
+
font-size: 0.75rem;
|
|
397
385
|
color: #475569;
|
|
398
|
-
line-height: 1.
|
|
386
|
+
line-height: 1.4;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.report-download {
|
|
390
|
+
flex-shrink: 0;
|
|
391
|
+
margin-left: 12px;
|
|
392
|
+
position: relative;
|
|
399
393
|
}
|
|
400
394
|
|
|
401
395
|
.download-excel-btn {
|
|
@@ -413,7 +407,6 @@
|
|
|
413
407
|
cursor: pointer;
|
|
414
408
|
transition: all 0.2s ease;
|
|
415
409
|
width: fit-content;
|
|
416
|
-
align-self: flex-end;
|
|
417
410
|
box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
|
|
418
411
|
|
|
419
412
|
&:hover {
|
|
@@ -431,10 +424,136 @@
|
|
|
431
424
|
font-size: 1rem;
|
|
432
425
|
}
|
|
433
426
|
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.full-width-item {
|
|
431
|
+
width: 100%;
|
|
432
|
+
display: flex;
|
|
433
|
+
flex-direction: column;
|
|
434
|
+
align-items: flex-start;
|
|
435
|
+
gap: 6px;
|
|
436
|
+
padding: 14px 18px;
|
|
437
|
+
background: #F8FAFC;
|
|
438
|
+
border: 1px solid #E2E8F0;
|
|
439
|
+
border-radius: 10px;
|
|
440
|
+
transition: all 0.2s ease;
|
|
441
|
+
|
|
442
|
+
&:hover {
|
|
443
|
+
background: #F1F5F9;
|
|
444
|
+
border-color: #CBD5E1;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.label {
|
|
448
|
+
font-size: 0.6875rem;
|
|
449
|
+
font-weight: 700;
|
|
450
|
+
color: #64748B;
|
|
451
|
+
text-transform: uppercase;
|
|
452
|
+
letter-spacing: 0.05em;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.value {
|
|
456
|
+
font-size: 0.875rem;
|
|
457
|
+
font-weight: 600;
|
|
458
|
+
color: #1E293B;
|
|
459
|
+
word-break: break-all;
|
|
460
|
+
width: 100%;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.details-grid-row {
|
|
465
|
+
display: grid;
|
|
466
|
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
467
|
+
gap: 16px;
|
|
468
|
+
width: 100%;
|
|
469
|
+
|
|
470
|
+
.detail-item {
|
|
471
|
+
display: flex;
|
|
472
|
+
flex-direction: column;
|
|
473
|
+
align-items: flex-start;
|
|
474
|
+
gap: 6px;
|
|
475
|
+
padding: 14px 18px;
|
|
476
|
+
background: #F8FAFC;
|
|
477
|
+
border: 1px solid #E2E8F0;
|
|
478
|
+
border-radius: 10px;
|
|
479
|
+
transition: all 0.2s ease;
|
|
480
|
+
|
|
481
|
+
&:hover {
|
|
482
|
+
background: #F1F5F9;
|
|
483
|
+
border-color: #CBD5E1;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.label {
|
|
487
|
+
font-size: 0.6875rem;
|
|
488
|
+
font-weight: 700;
|
|
489
|
+
color: #64748B;
|
|
490
|
+
text-transform: uppercase;
|
|
491
|
+
letter-spacing: 0.05em;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.value {
|
|
495
|
+
font-size: 0.875rem;
|
|
496
|
+
font-weight: 600;
|
|
497
|
+
color: #1E293B;
|
|
498
|
+
word-break: break-all;
|
|
434
499
|
}
|
|
435
500
|
}
|
|
436
501
|
}
|
|
437
502
|
|
|
503
|
+
.details-left {
|
|
504
|
+
flex: 1.3;
|
|
505
|
+
min-width: 290px;
|
|
506
|
+
|
|
507
|
+
.details-grid {
|
|
508
|
+
display: grid;
|
|
509
|
+
grid-template-columns: repeat(2, 1fr);
|
|
510
|
+
gap: 16px;
|
|
511
|
+
|
|
512
|
+
.detail-item {
|
|
513
|
+
display: flex;
|
|
514
|
+
flex-direction: column;
|
|
515
|
+
align-items: flex-start;
|
|
516
|
+
gap: 6px;
|
|
517
|
+
padding: 14px 18px;
|
|
518
|
+
background: #F8FAFC;
|
|
519
|
+
border: 1px solid #E2E8F0;
|
|
520
|
+
border-radius: 10px;
|
|
521
|
+
transition: all 0.2s ease;
|
|
522
|
+
|
|
523
|
+
&:hover {
|
|
524
|
+
background: #F1F5F9;
|
|
525
|
+
border-color: #CBD5E1;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.label {
|
|
529
|
+
font-size: 0.6875rem;
|
|
530
|
+
font-weight: 700;
|
|
531
|
+
color: #64748B;
|
|
532
|
+
text-transform: uppercase;
|
|
533
|
+
letter-spacing: 0.05em;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.value {
|
|
537
|
+
font-size: 0.875rem;
|
|
538
|
+
font-weight: 600;
|
|
539
|
+
color: #1E293B;
|
|
540
|
+
word-break: break-all;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.details-right {
|
|
547
|
+
flex: 0.9;
|
|
548
|
+
min-width: 290px;
|
|
549
|
+
display: flex;
|
|
550
|
+
flex-direction: column;
|
|
551
|
+
justify-content: center;
|
|
552
|
+
border-left: 1px solid #E2E8F0;
|
|
553
|
+
padding-left: 28px;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
|
|
438
557
|
.admin-performance-section {
|
|
439
558
|
margin-top: 32px;
|
|
440
559
|
|
|
@@ -609,13 +728,33 @@
|
|
|
609
728
|
}
|
|
610
729
|
}
|
|
611
730
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
731
|
+
@media (max-width: 768px) {
|
|
732
|
+
.admin-performance-section {
|
|
733
|
+
.vendors-grid {
|
|
734
|
+
grid-template-columns: 1fr;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.no-vendors {
|
|
738
|
+
grid-column: span 1;
|
|
620
739
|
}
|
|
621
|
-
}
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
.ekyc-table-scroll-wrapper {
|
|
744
|
+
max-height: 480px;
|
|
745
|
+
/* apni requirement ke hisab se adjust karo */
|
|
746
|
+
overflow-y: auto;
|
|
747
|
+
overflow-x: auto;
|
|
748
|
+
position: relative;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.ekycTable thead th,
|
|
752
|
+
.ekyc-table-scroll-wrapper table thead th {
|
|
753
|
+
position: sticky;
|
|
754
|
+
top: 0;
|
|
755
|
+
z-index: 10;
|
|
756
|
+
background: #fff;
|
|
757
|
+
/* header ka background zaroor set karo, warna text scroll hote overlap ho jayega */
|
|
758
|
+
box-shadow: 0 1px 0 0 #e5e7eb;
|
|
759
|
+
/* optional bottom border effect */
|
|
760
|
+
}
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
.summary-card {
|
|
32
32
|
background-color: #fff;
|
|
33
33
|
border-radius: 6px;
|
|
34
|
-
padding:
|
|
34
|
+
padding: 10px 10px;
|
|
35
35
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
36
36
|
|
|
37
37
|
flex: 1 1 0%;
|
|
@@ -47,6 +47,9 @@
|
|
|
47
47
|
|
|
48
48
|
transition: all 0.2s ease-in-out;
|
|
49
49
|
|
|
50
|
+
/* Tooltip anchor */
|
|
51
|
+
position: relative;
|
|
52
|
+
|
|
50
53
|
.summary-card-label {
|
|
51
54
|
font-size: 0.6875rem;
|
|
52
55
|
color: #64748b;
|
|
@@ -58,9 +61,46 @@
|
|
|
58
61
|
overflow: hidden;
|
|
59
62
|
text-overflow: ellipsis;
|
|
60
63
|
}
|
|
64
|
+
|
|
61
65
|
.summary-card-count {
|
|
62
66
|
font-size: 1.75rem;
|
|
63
67
|
font-weight: 700;
|
|
64
68
|
margin-top: 12px;
|
|
65
69
|
}
|
|
70
|
+
|
|
71
|
+
/* ── Tooltip ── */
|
|
72
|
+
&[data-tooltip]::after {
|
|
73
|
+
content: attr(data-tooltip);
|
|
74
|
+
|
|
75
|
+
/* Positioning */
|
|
76
|
+
position: absolute;
|
|
77
|
+
bottom: calc(100% + 8px);
|
|
78
|
+
left: 50%;
|
|
79
|
+
transform: translateX(-50%);
|
|
80
|
+
white-space: nowrap;
|
|
81
|
+
|
|
82
|
+
/* Look */
|
|
83
|
+
background-color: #1e293b;
|
|
84
|
+
color: #f1f5f9;
|
|
85
|
+
font-size: 0.75rem;
|
|
86
|
+
font-weight: 500;
|
|
87
|
+
padding: 5px 10px;
|
|
88
|
+
border-radius: 6px;
|
|
89
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
|
|
90
|
+
letter-spacing: 0.2px;
|
|
91
|
+
pointer-events: none;
|
|
92
|
+
z-index: 9999;
|
|
93
|
+
|
|
94
|
+
/* Hidden by default */
|
|
95
|
+
opacity: 0;
|
|
96
|
+
visibility: hidden;
|
|
97
|
+
transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
|
|
98
|
+
transform: translateX(-50%) translateY(4px);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&[data-tooltip]:hover::after {
|
|
102
|
+
opacity: 1;
|
|
103
|
+
visibility: visible;
|
|
104
|
+
transform: translateX(-50%) translateY(0);
|
|
105
|
+
}
|
|
66
106
|
}
|
|
@@ -28,6 +28,36 @@
|
|
|
28
28
|
overflow-y: scroll;
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
|
+
|
|
32
|
+
&.is-table-scrollable {
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
|
|
35
|
+
.table-content-wrapper {
|
|
36
|
+
max-height: 480px;
|
|
37
|
+
overflow-y: auto;
|
|
38
|
+
position: relative;
|
|
39
|
+
|
|
40
|
+
.table-content {
|
|
41
|
+
thead {
|
|
42
|
+
position: sticky;
|
|
43
|
+
top: 0;
|
|
44
|
+
z-index: 10;
|
|
45
|
+
|
|
46
|
+
.tr {
|
|
47
|
+
.th-s-no,
|
|
48
|
+
.th {
|
|
49
|
+
position: sticky;
|
|
50
|
+
top: 0;
|
|
51
|
+
z-index: 10;
|
|
52
|
+
background: #f8fafc;
|
|
53
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
31
61
|
.table-topbar {
|
|
32
62
|
display: flex;
|
|
33
63
|
align-items: center;
|
|
@@ -637,4 +667,4 @@
|
|
|
637
667
|
box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
|
|
638
668
|
}
|
|
639
669
|
}
|
|
640
|
-
}
|
|
670
|
+
}
|