@djb25/digit-ui-css 1.0.89 → 1.0.91

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -4,7 +4,7 @@
4
4
  gap: 8px;
5
5
  width: 1050px;
6
6
  max-width: 100%;
7
- overflow-y: auto;
7
+ overflow-y: visible;
8
8
  flex: 1;
9
9
 
10
10
  .filters-grid {
@@ -315,87 +315,81 @@
315
315
 
316
316
  .ekyc-details-wrapper {
317
317
  display: flex;
318
- flex-wrap: wrap;
319
- gap: 28px;
320
- justify-content: space-between;
321
- align-items: stretch;
318
+ flex-direction: column;
319
+ gap: 16px;
322
320
  width: 100%;
323
321
 
324
- .details-left {
325
- flex: 1.3;
326
- min-width: 290px;
327
-
328
- .details-grid {
329
- display: grid;
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
- .detail-item {
334
- display: flex;
335
- flex-direction: column;
336
- align-items: flex-start;
337
- gap: 6px;
338
- padding: 14px 18px;
339
- background: #F8FAFC;
340
- border: 1px solid #E2E8F0;
341
- border-radius: 10px;
342
- transition: all 0.2s ease;
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
- &:hover {
345
- background: #F1F5F9;
346
- border-color: #CBD5E1;
347
- }
341
+ &:hover {
342
+ background: #F1F5F9;
343
+ border-color: #CBD5E1;
344
+ }
348
345
 
349
- .label {
350
- font-size: 0.6875rem;
351
- font-weight: 700;
352
- color: #64748B;
353
- text-transform: uppercase;
354
- letter-spacing: 0.05em;
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
- .value {
358
- font-size: 0.875rem;
359
- font-weight: 600;
360
- color: #1E293B;
361
- word-break: break-all;
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: column;
379
- gap: 14px;
380
- width: 100%;
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: 12px;
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: 1rem;
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.8125rem;
383
+ margin: 2px 0 0 0;
384
+ font-size: 0.75rem;
397
385
  color: #475569;
398
- line-height: 1.5;
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
- @media (max-width: 768px) {
613
- .admin-performance-section {
614
- .vendors-grid {
615
- grid-template-columns: 1fr;
616
- }
617
- .no-vendors {
618
- grid-column: span 1;
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
+ }
@@ -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
+ }