@djb25/digit-ui-css 1.0.81 → 1.0.83
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/SurveyorDetailsDashboard.scss +220 -16
- package/src/components/card.scss +21 -0
- package/src/index.scss +1 -1
- package/src/pages/employee/EmployeeModuleCard.scss +1 -0
- package/src/pages/employee/ekyc.scss +119 -2
- package/src/pages/employee/popupmodule.scss +1 -1
package/package.json
CHANGED
|
@@ -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
|
-
|
|
396
|
-
|
|
397
|
-
gap: 20px;
|
|
438
|
+
.admin-performance-section {
|
|
439
|
+
margin-top: 32px;
|
|
398
440
|
|
|
399
|
-
.
|
|
400
|
-
|
|
401
|
-
|
|
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
|
-
|
|
413
|
-
|
|
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
|
+
}
|
package/src/components/card.scss
CHANGED
|
@@ -1809,6 +1809,27 @@
|
|
|
1809
1809
|
flex-direction: column !important;
|
|
1810
1810
|
gap: 0 !important;
|
|
1811
1811
|
width: 100% !important;
|
|
1812
|
+
padding-top: 48px !important;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
.mobile-sidebar-toggle {
|
|
1816
|
+
position: fixed !important;
|
|
1817
|
+
top: 60px !important;
|
|
1818
|
+
left: 0 !important;
|
|
1819
|
+
right: 0 !important;
|
|
1820
|
+
height: 48px !important;
|
|
1821
|
+
z-index: 9999 !important;
|
|
1822
|
+
margin: 0 !important;
|
|
1823
|
+
border-radius: 0 !important;
|
|
1824
|
+
border-top: none !important;
|
|
1825
|
+
border-left: none !important;
|
|
1826
|
+
border-right: none !important;
|
|
1827
|
+
border-bottom: 2px solid #e5e7eb !important;
|
|
1828
|
+
background-color: #ffffff !important;
|
|
1829
|
+
display: flex !important;
|
|
1830
|
+
align-items: center !important;
|
|
1831
|
+
padding: 0 16px !important;
|
|
1832
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
|
|
1812
1833
|
}
|
|
1813
1834
|
|
|
1814
1835
|
/* expanded sidebar NOT hidden on mobile to allow hamburger menu */
|
package/src/index.scss
CHANGED
|
@@ -838,6 +838,40 @@
|
|
|
838
838
|
font-weight: 700;
|
|
839
839
|
color: #7dd3b2;
|
|
840
840
|
}
|
|
841
|
+
|
|
842
|
+
.download-excel-btn {
|
|
843
|
+
display: flex;
|
|
844
|
+
align-items: center;
|
|
845
|
+
justify-content: center;
|
|
846
|
+
gap: 8px;
|
|
847
|
+
padding: 8px 16px;
|
|
848
|
+
background-color: #10B981;
|
|
849
|
+
color: #ffffff;
|
|
850
|
+
border: none;
|
|
851
|
+
border-radius: 8px;
|
|
852
|
+
font-weight: 700;
|
|
853
|
+
font-size: 13px;
|
|
854
|
+
cursor: pointer;
|
|
855
|
+
transition: all 0.2s ease;
|
|
856
|
+
width: 100%;
|
|
857
|
+
margin-top: 14px;
|
|
858
|
+
box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
|
|
859
|
+
|
|
860
|
+
&:hover {
|
|
861
|
+
background-color: #059669;
|
|
862
|
+
box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
&:disabled {
|
|
866
|
+
background-color: #A7F3D0;
|
|
867
|
+
cursor: not-allowed;
|
|
868
|
+
box-shadow: none;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
svg {
|
|
872
|
+
font-size: 14px;
|
|
873
|
+
}
|
|
874
|
+
}
|
|
841
875
|
}
|
|
842
876
|
}
|
|
843
877
|
|
|
@@ -1011,12 +1045,75 @@
|
|
|
1011
1045
|
}
|
|
1012
1046
|
}
|
|
1013
1047
|
}
|
|
1048
|
+
|
|
1049
|
+
@media (max-width: 768px) {
|
|
1050
|
+
padding: 16px;
|
|
1051
|
+
border-radius: 12px;
|
|
1052
|
+
|
|
1053
|
+
.status-cards-header {
|
|
1054
|
+
flex-direction: column;
|
|
1055
|
+
align-items: stretch;
|
|
1056
|
+
gap: 16px;
|
|
1057
|
+
|
|
1058
|
+
.status-cards-subtitle {
|
|
1059
|
+
max-width: 100%;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.total-applications-card {
|
|
1063
|
+
margin-top: 0;
|
|
1064
|
+
width: 100%;
|
|
1065
|
+
min-width: unset;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
.status-panels-grid {
|
|
1070
|
+
grid-template-columns: 1fr;
|
|
1071
|
+
gap: 16px;
|
|
1072
|
+
justify-items: center;
|
|
1073
|
+
|
|
1074
|
+
.status-panel {
|
|
1075
|
+
max-width: 360px;
|
|
1076
|
+
width: 100%;
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
@media (max-width: 480px) {
|
|
1082
|
+
.status-cards-header {
|
|
1083
|
+
.status-cards-h1 {
|
|
1084
|
+
font-size: 20px;
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
.status-panels-grid {
|
|
1089
|
+
.status-panel {
|
|
1090
|
+
padding: 16px;
|
|
1091
|
+
|
|
1092
|
+
.breakdown-body {
|
|
1093
|
+
flex-direction: column-reverse;
|
|
1094
|
+
align-items: center;
|
|
1095
|
+
gap: 16px;
|
|
1096
|
+
|
|
1097
|
+
.status-legend {
|
|
1098
|
+
width: 100%;
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1014
1104
|
}
|
|
1015
1105
|
}
|
|
1016
1106
|
|
|
1017
1107
|
.ekyc-status-tag {
|
|
1018
|
-
|
|
1019
|
-
|
|
1108
|
+
display: inline-block;
|
|
1109
|
+
padding: 4px 12px;
|
|
1110
|
+
border-radius: 20px;
|
|
1111
|
+
font-size: 12px;
|
|
1112
|
+
font-weight: 600;
|
|
1113
|
+
text-transform: uppercase;
|
|
1114
|
+
text-align: center;
|
|
1115
|
+
white-space: nowrap;
|
|
1116
|
+
|
|
1020
1117
|
&.SUBMITTED {
|
|
1021
1118
|
background-color: #fef3c7;
|
|
1022
1119
|
color: #b45309;
|
|
@@ -1031,6 +1128,26 @@
|
|
|
1031
1128
|
background-color: #fdecea;
|
|
1032
1129
|
color: #b42318;
|
|
1033
1130
|
}
|
|
1131
|
+
|
|
1132
|
+
&.COMPLETED {
|
|
1133
|
+
background-color: #e7f4e9;
|
|
1134
|
+
color: #0b6623;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
&.PENDING {
|
|
1138
|
+
background-color: #fff5e6;
|
|
1139
|
+
color: #945700;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
&.ACTIVE {
|
|
1143
|
+
background-color: #e7f4e9;
|
|
1144
|
+
color: #0b6623;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
&.DEFAULT, &.NA {
|
|
1148
|
+
background-color: #f4f4f4;
|
|
1149
|
+
color: #505a5f;
|
|
1150
|
+
}
|
|
1034
1151
|
}
|
|
1035
1152
|
|
|
1036
1153
|
.status-search-composer-wrapper {
|