@djb25/digit-ui-css 1.0.80 → 1.0.82

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.80",
3
+ "version": "1.0.82",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -224,6 +224,21 @@
224
224
  border-radius: 14px;
225
225
  padding: 24px;
226
226
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
227
+ display: flex;
228
+ flex-direction: row;
229
+ justify-content: space-between;
230
+ align-items: center;
231
+ gap: 20px;
232
+
233
+ @media (max-width: 768px) {
234
+ flex-direction: column;
235
+ align-items: flex-start;
236
+ gap: 16px;
237
+
238
+ .download-excel-btn {
239
+ width: 100%;
240
+ }
241
+ }
227
242
  }
228
243
 
229
244
  .dashboard-card {
@@ -269,6 +284,33 @@
269
284
  color: #475467;
270
285
  }
271
286
  }
287
+
288
+ @media (max-width: 480px) {
289
+ flex-direction: column;
290
+ align-items: center !important;
291
+ text-align: center;
292
+ gap: 12px;
293
+
294
+ .avatar {
295
+ width: 64px;
296
+ height: 64px;
297
+ font-size: 22px;
298
+ }
299
+
300
+ .header-content {
301
+ .name {
302
+ font-size: 20px;
303
+ }
304
+
305
+ .designation {
306
+ font-size: 13px;
307
+ }
308
+
309
+ .employee-id {
310
+ font-size: 12px;
311
+ }
312
+ }
313
+ }
272
314
  }
273
315
 
274
316
  .ekyc-details-wrapper {
@@ -389,29 +431,191 @@
389
431
  font-size: 16px;
390
432
  }
391
433
  }
434
+ }
392
435
  }
393
436
  }
394
437
 
395
- @media (max-width: 768px) {
396
- flex-direction: column;
397
- gap: 20px;
438
+ .admin-performance-section {
439
+ margin-top: 32px;
398
440
 
399
- .details-left {
400
- .details-grid {
401
- grid-template-columns: 1fr;
441
+ .section-title {
442
+ font-size: 20px;
443
+ font-weight: 700;
444
+ color: #101828;
445
+ margin-bottom: 20px;
446
+ }
447
+
448
+ .vendors-grid {
449
+ display: grid;
450
+ grid-template-columns: repeat(3, 1fr);
451
+ gap: 24px;
452
+ width: 100%;
453
+
454
+ @media (max-width: 1200px) {
455
+ grid-template-columns: repeat(2, 1fr);
402
456
  }
403
457
  }
404
-
405
- .details-right {
406
- border-left: none;
407
- border-top: 1px solid #E2E8F0;
408
- padding-left: 0;
409
- padding-top: 20px;
410
- align-items: stretch;
411
458
 
412
- .download-card {
413
- max-width: 100%;
459
+ .no-vendors {
460
+ grid-column: span 3;
461
+ text-align: center;
462
+ padding: 40px;
463
+ color: #64748B;
464
+ font-size: 16px;
465
+
466
+ @media (max-width: 1200px) {
467
+ grid-column: span 2;
468
+ }
469
+ }
470
+
471
+ .vendor-perf-card {
472
+ background: #ffffff;
473
+ border: 1px solid #E2E8F0;
474
+ border-radius: 16px;
475
+ padding: 24px;
476
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
477
+ cursor: pointer;
478
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
479
+ display: flex;
480
+ flex-direction: column;
481
+ justify-content: space-between;
482
+ gap: 16px;
483
+
484
+ &:hover {
485
+ transform: translateY(-4px);
486
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
487
+ border-color: #CBD5E1;
488
+ }
489
+
490
+ .card-header {
491
+ display: flex;
492
+ justify-content: space-between;
493
+ align-items: flex-start;
494
+
495
+ .vendor-info {
496
+ h4 {
497
+ font-size: 18px;
498
+ font-weight: 700;
499
+ color: #0B2559;
500
+ margin: 0;
501
+ }
502
+
503
+ p {
504
+ font-size: 12px;
505
+ color: #64748B;
506
+ margin-top: 2px;
507
+ margin-bottom: 0;
508
+ }
509
+ }
510
+
511
+ .progress-badge {
512
+ background: #E0F2FE;
513
+ color: #0369A1;
514
+ padding: 6px 12px;
515
+ border-radius: 999px;
516
+ font-size: 13px;
517
+ font-weight: 700;
518
+ }
519
+ }
520
+
521
+ .progress-bar-container {
522
+ width: 100%;
523
+ height: 8px;
524
+ background: #F1F5F9;
525
+ border-radius: 999px;
526
+ overflow: hidden;
527
+
528
+ .progress-bar-fill {
529
+ height: 100%;
530
+ background: linear-gradient(90deg, #3B82F6 0%, #10B981 100%);
531
+ border-radius: 999px;
532
+ }
533
+ }
534
+
535
+ .stats-grid {
536
+ display: grid;
537
+ grid-template-columns: repeat(3, 1fr);
538
+ gap: 12px;
539
+
540
+ .stat-item {
541
+ background: #F8FAFC;
542
+ padding: 12px 8px;
543
+ border-radius: 10px;
544
+ text-align: center;
545
+
546
+ .value {
547
+ font-size: 16px;
548
+ font-weight: 700;
549
+ color: #1E293B;
550
+
551
+ &.completed-val {
552
+ color: #10B981;
553
+ }
554
+ }
555
+
556
+ .label {
557
+ font-size: 10px;
558
+ font-weight: 600;
559
+ color: #64748B;
560
+ text-transform: uppercase;
561
+ margin-top: 4px;
562
+ }
563
+ }
564
+ }
565
+
566
+ .card-footer {
567
+ display: flex;
568
+ justify-content: space-between;
569
+ font-size: 12px;
570
+ color: #64748B;
571
+ border-top: 1px solid #F1F5F9;
572
+ padding-top: 12px;
573
+
574
+ .pending-count {
575
+ font-weight: 700;
576
+ color: #F59E0B;
577
+ }
578
+
579
+ .rejected-count {
580
+ font-weight: 700;
581
+ color: #EF4444;
582
+ }
414
583
  }
415
584
  }
416
585
  }
417
- }
586
+
587
+ .ekyc-details-wrapper {
588
+ @media (max-width: 768px) {
589
+ flex-direction: column;
590
+ gap: 20px;
591
+
592
+ .details-left {
593
+ .details-grid {
594
+ grid-template-columns: 1fr;
595
+ }
596
+ }
597
+
598
+ .details-right {
599
+ border-left: none;
600
+ border-top: 1px solid #E2E8F0;
601
+ padding-left: 0;
602
+ padding-top: 20px;
603
+ align-items: stretch;
604
+
605
+ .download-card {
606
+ max-width: 100%;
607
+ }
608
+ }
609
+ }
610
+ }
611
+
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
+ }
620
+ }
621
+ }
@@ -213,13 +213,6 @@
213
213
  gap: 18px;
214
214
  }
215
215
 
216
- section h2 {
217
- margin: 0;
218
- font-size: 26px;
219
- font-weight: 700;
220
- color: #0f172a;
221
- }
222
-
223
216
  section p {
224
217
  margin-top: 8px;
225
218
  color: #64748b;
@@ -1015,8 +1015,15 @@
1015
1015
  }
1016
1016
 
1017
1017
  .ekyc-status-tag {
1018
- padding: 2px 12px;
1019
- border-radius: 100px;
1018
+ display: inline-block;
1019
+ padding: 4px 12px;
1020
+ border-radius: 20px;
1021
+ font-size: 12px;
1022
+ font-weight: 600;
1023
+ text-transform: uppercase;
1024
+ text-align: center;
1025
+ white-space: nowrap;
1026
+
1020
1027
  &.SUBMITTED {
1021
1028
  background-color: #fef3c7;
1022
1029
  color: #b45309;
@@ -1031,6 +1038,26 @@
1031
1038
  background-color: #fdecea;
1032
1039
  color: #b42318;
1033
1040
  }
1041
+
1042
+ &.COMPLETED {
1043
+ background-color: #e7f4e9;
1044
+ color: #0b6623;
1045
+ }
1046
+
1047
+ &.PENDING {
1048
+ background-color: #fff5e6;
1049
+ color: #945700;
1050
+ }
1051
+
1052
+ &.ACTIVE {
1053
+ background-color: #e7f4e9;
1054
+ color: #0b6623;
1055
+ }
1056
+
1057
+ &.DEFAULT, &.NA {
1058
+ background-color: #f4f4f4;
1059
+ color: #505a5f;
1060
+ }
1034
1061
  }
1035
1062
 
1036
1063
  .status-search-composer-wrapper {
@@ -33,7 +33,7 @@
33
33
  @apply bg-white;
34
34
 
35
35
  .popup-module-main {
36
- @apply w-full p-md h-full;
36
+ @apply w-full h-full;
37
37
  }
38
38
  }
39
39
  }