@djb25/digit-ui-css 1.0.19 → 1.0.20

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.19",
3
+ "version": "1.0.20",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -66,8 +66,7 @@
66
66
  }
67
67
 
68
68
  .employeeCard {
69
- @apply bg-white shadow-card p-xl;
70
- padding-inline: 48px;
69
+ @apply bg-white shadow-card p-md;
71
70
  border-radius: 6px;
72
71
 
73
72
  .card-header {
@@ -886,7 +886,7 @@
886
886
 
887
887
  .stepper-row {
888
888
  display: flex;
889
- align-items: flex-start;
889
+ align-items: center;
890
890
  position: relative;
891
891
  }
892
892
 
@@ -19,7 +19,7 @@
19
19
  }
20
20
  */
21
21
  .employee-select-wrap {
22
- @apply mb-lg relative rounded-md;
22
+ @apply relative rounded-md;
23
23
 
24
24
  .select {
25
25
  @apply relative block w-full h-10 border border-solid border-input-border rounded-md;
@@ -2,14 +2,12 @@
2
2
  .inbox-main-container {
3
3
  flex: 1;
4
4
  padding-right: -24px;
5
- background-color: #ffffff;
6
5
  border-radius: 12px;
7
6
  }
8
7
 
9
8
  .inbox-wrapper {
10
9
  min-width: 100%;
11
10
  padding: 24px;
12
- background-color: rgb(241 241 241);
13
11
  border-radius: 12px;
14
12
  }
15
13
 
@@ -29,10 +27,12 @@
29
27
  .ekyc-status-card {
30
28
  flex: 1;
31
29
  text-align: center;
32
- padding: 24px;
33
- border: 1px solid #EAECF0;
34
- border-radius: 12px;
35
- box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
30
+ padding: 8px 24px;
31
+ border-right: 1px solid #EAECF0;
32
+
33
+ &:last-child {
34
+ border-right: none;
35
+ }
36
36
 
37
37
  .count {
38
38
  font-size: 32px;
@@ -7,15 +7,16 @@
7
7
  }
8
8
 
9
9
  .ground-container {
10
- padding-inline: 30px;
11
10
  width: 100%;
12
11
  height: 100%;
13
- @media (max-width: 768px) {
12
+
13
+ @media (max-width: 768px) {
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  gap: 12px;
17
17
  padding: 20px 20px 0;
18
18
  }
19
+
19
20
  /* @apply flex flex-col; */
20
21
  }
21
22
 
@@ -408,8 +409,9 @@
408
409
  /* Space between Greeting and Search */
409
410
  flex-wrap: wrap;
410
411
  gap: 20px;
412
+ overflow: hidden;
411
413
 
412
- background: linear-gradient(135deg, rgba(110, 192, 221, 0.8) 0%, rgba(97, 119, 236, 0.95) 100%);
414
+ background: linear-gradient(135deg, #1a67a3, #5282e6 40%, #5495fe);
413
415
  backdrop-filter: blur(20px) saturate(150%);
414
416
  -webkit-backdrop-filter: blur(20px) saturate(150%);
415
417
  border: 1px solid rgba(255, 255, 255, 0.3);
@@ -419,11 +421,25 @@
419
421
  inset 0 -2px 6px rgba(0, 0, 0, 0.1),
420
422
  0 12px 30px rgba(97, 119, 236, 0.2);
421
423
 
422
- /* --- Left: Greeting Area --- */
424
+ .header-icon-area {
425
+ position: absolute;
426
+ top: 55%;
427
+ right: 20px;
428
+ transform: translateY(-50%);
429
+ opacity: 0.5;
430
+ pointer-events: none;
431
+ max-width: 143px;
432
+
433
+ @media (max-width: 768px) {
434
+ right: 10px;
435
+ transform: translateY(-50%) scale(0.8);
436
+ }
437
+ }
438
+
423
439
  .header-greeting-area {
424
440
  display: flex;
425
441
  flex-direction: column;
426
- gap: 4px;
442
+
427
443
  }
428
444
 
429
445
  .greeting-title {
@@ -873,6 +889,114 @@
873
889
  overflow: hidden;
874
890
  display: flex;
875
891
  flex-direction: column;
892
+ max-height: 48vh;
893
+ min-height: 250px;
894
+ }
895
+
896
+ .ra-footer {
897
+ margin-top: auto;
898
+ border-top: 1px solid rgba(0, 0, 0, 0.06);
899
+ padding-top: 16px;
900
+ padding-bottom: 0px;
901
+ display: flex;
902
+ justify-content: center;
903
+ align-items: center;
904
+ background: transparent;
905
+ z-index: 10;
906
+ }
907
+
908
+ .ra-modal-overlay {
909
+ position: fixed;
910
+ top: 0;
911
+ left: 0;
912
+ right: 0;
913
+ bottom: 0;
914
+ background: rgba(0, 0, 0, 0.5);
915
+ backdrop-filter: blur(4px);
916
+ z-index: 100000;
917
+ display: flex;
918
+ justify-content: center;
919
+ align-items: center;
920
+ padding: 20px;
921
+ }
922
+
923
+ .ra-modal-content {
924
+ background: white;
925
+ border-radius: 20px;
926
+ width: 100%;
927
+ max-width: 600px;
928
+ max-height: 85vh;
929
+ display: flex;
930
+ flex-direction: column;
931
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
932
+ overflow: hidden;
933
+ animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
934
+ }
935
+
936
+ @keyframes modal-pop {
937
+ 0% {
938
+ transform: scale(0.95);
939
+ opacity: 0;
940
+ }
941
+
942
+ 100% {
943
+ transform: scale(1);
944
+ opacity: 1;
945
+ }
946
+ }
947
+
948
+ .ra-modal-header {
949
+ padding: 20px 24px;
950
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
951
+ display: flex;
952
+ justify-content: space-between;
953
+ align-items: center;
954
+ background: #f8fafc;
955
+ }
956
+
957
+ .ra-modal-header h3 {
958
+ margin: 0;
959
+ font-size: 20px;
960
+ font-weight: 700;
961
+ color: #1a67a3;
962
+ }
963
+
964
+ .ra-modal-close {
965
+ background: transparent;
966
+ border: none;
967
+ color: #94a3b8;
968
+ cursor: pointer;
969
+ display: flex;
970
+ align-items: center;
971
+ justify-content: center;
972
+ padding: 4px;
973
+ border-radius: 50%;
974
+ transition: all 0.2s;
975
+ }
976
+
977
+ .ra-modal-close:hover {
978
+ background: #f1f5f9;
979
+ color: #ef4444;
980
+ }
981
+ .ra-timeline {
982
+ flex: 1;
983
+ overflow-y: auto;
984
+ min-height: 0;
985
+ padding-right: 8px;
986
+ }
987
+ .ra-timeline-modal {
988
+ padding: 24px;
989
+ overflow-y: auto;
990
+ flex: 1;
991
+ }
992
+
993
+ .ra-timeline-modal::-webkit-scrollbar-thumb {
994
+ background: #cbd5e1;
995
+ border-radius: 10px;
996
+ }
997
+
998
+ .ra-timeline-modal::-webkit-scrollbar {
999
+ width: 6px;
876
1000
  }
877
1001
 
878
1002
  .ra-header {
@@ -880,7 +1004,7 @@
880
1004
  justify-content: space-between;
881
1005
  align-items: center;
882
1006
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
883
- padding: 20px 24px;
1007
+
884
1008
  }
885
1009
 
886
1010
  .ra-header h3 {
@@ -1134,4 +1258,214 @@
1134
1258
  }
1135
1259
  }
1136
1260
  }
1261
+ }
1262
+
1263
+ /* Custom styles for View All Container and Modal */
1264
+ .view-all-container {
1265
+ display: flex;
1266
+ justify-content: center;
1267
+ margin-top: 16px;
1268
+ padding-top: 16px;
1269
+ border-top: 1px solid rgba(0, 0, 0, 0.06);
1270
+ }
1271
+
1272
+ .ra-view-all-bottom {
1273
+ display: flex;
1274
+ align-items: center;
1275
+ gap: 6px;
1276
+ background: transparent;
1277
+ border: none;
1278
+ color: #3b82f6;
1279
+ font-size: 14px;
1280
+ font-weight: 600;
1281
+ cursor: pointer;
1282
+ padding: 8px 16px;
1283
+ border-radius: 8px;
1284
+ transition: all 0.2s;
1285
+ }
1286
+
1287
+ .ra-view-all-bottom:hover {
1288
+ background: #eff6ff;
1289
+ color: #2563eb;
1290
+ }
1291
+
1292
+ .custom-modal-overlay {
1293
+ position: fixed;
1294
+ top: 0;
1295
+ left: 0;
1296
+ right: 0;
1297
+ bottom: 0;
1298
+ background-color: rgba(0, 0, 0, 0.5);
1299
+ display: flex;
1300
+ justify-content: center;
1301
+ align-items: center;
1302
+ z-index: 9999;
1303
+ backdrop-filter: blur(4px);
1304
+ padding: 20px;
1305
+ }
1306
+
1307
+ .custom-modal-content {
1308
+ background: white;
1309
+ border-radius: 16px;
1310
+ width: 100%;
1311
+ max-width: 500px;
1312
+ max-height: 80vh;
1313
+ display: flex;
1314
+ flex-direction: column;
1315
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
1316
+ animation: modal-pop 0.3s ease-out;
1317
+ }
1318
+
1319
+ @keyframes modal-pop {
1320
+ from {
1321
+ opacity: 0;
1322
+ transform: scale(0.95) translateY(10px);
1323
+ }
1324
+
1325
+ to {
1326
+ opacity: 1;
1327
+ transform: scale(1) translateY(0);
1328
+ }
1329
+ }
1330
+
1331
+ .custom-modal-header {
1332
+ display: flex;
1333
+ justify-content: space-between;
1334
+ align-items: center;
1335
+ padding: 20px 24px;
1336
+ border-bottom: 1px solid rgba(0, 0, 0, 0.08);
1337
+ }
1338
+
1339
+ .custom-modal-header h3 {
1340
+ margin: 0;
1341
+ font-size: 18px;
1342
+ font-weight: 700;
1343
+ color: #1a67a3;
1344
+ }
1345
+
1346
+ .custom-modal-close {
1347
+ background: transparent;
1348
+ border: none;
1349
+ color: #64748b;
1350
+ cursor: pointer;
1351
+ display: flex;
1352
+ align-items: center;
1353
+ justify-content: center;
1354
+ padding: 4px;
1355
+ border-radius: 50%;
1356
+ transition: background-color 0.2s, color 0.2s;
1357
+ }
1358
+
1359
+ .custom-modal-close:hover {
1360
+ background-color: #f1f5f9;
1361
+ color: #ef4444;
1362
+ }
1363
+
1364
+ .custom-modal-body {
1365
+ padding: 24px;
1366
+ overflow-y: auto;
1367
+ flex: 1;
1368
+ }
1369
+
1370
+ .custom-modal-body::-webkit-scrollbar {
1371
+ width: 6px;
1372
+ }
1373
+
1374
+ .custom-modal-body::-webkit-scrollbar-track {
1375
+ background: transparent;
1376
+ }
1377
+
1378
+ .custom-modal-body::-webkit-scrollbar-thumb {
1379
+ background: #cbd5e1;
1380
+ border-radius: 10px;
1381
+ }
1382
+
1383
+ /* --- Engagement Module Cards Redesign --- */
1384
+ .engagement-module-section {
1385
+ width: 100%;
1386
+ }
1387
+
1388
+ .engagement-cards-grid {
1389
+ display: grid;
1390
+ grid-template-columns: repeat(4, 1fr) !important;
1391
+ gap: 16px;
1392
+ width: 100%;
1393
+ }
1394
+
1395
+ .engagement-custom-card {
1396
+ display: flex !important;
1397
+
1398
+ .employeeCard {
1399
+ margin: 0 !important;
1400
+ width: 100% !important;
1401
+ min-height: 120px !important;
1402
+ border-radius: 12px;
1403
+ background: linear-gradient(145deg, #ffffff, #f9fafb);
1404
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
1405
+ border: 1px solid rgba(0, 0, 0, 0.06);
1406
+ transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
1407
+ padding: 16px !important;
1408
+ display: flex;
1409
+ flex-direction: column;
1410
+
1411
+ &:hover {
1412
+ transform: translateY(-4px);
1413
+ box-shadow: 0 12px 24px rgba(26, 103, 163, 0.12) !important;
1414
+ border-color: rgba(26, 103, 163, 0.2);
1415
+ }
1416
+
1417
+ .complaint-links-container {
1418
+ margin-top: auto;
1419
+ .employeeCard-link {
1420
+ font-size: 13px;
1421
+ padding: 4px 0;
1422
+ font-weight: 500;
1423
+ color: #1a67a3;
1424
+ }
1425
+ }
1426
+
1427
+ .employeeCard-title {
1428
+ font-size: 15px !important;
1429
+ font-weight: 700;
1430
+ color: #1a67a3 !important;
1431
+ margin-bottom: 8px;
1432
+ display: flex;
1433
+ align-items: center;
1434
+ gap: 8px;
1435
+ }
1436
+
1437
+ .employeeCard-kpi {
1438
+ display: flex;
1439
+ gap: 8px;
1440
+ flex-direction: column;
1441
+ margin-top: 8px;
1442
+ margin-bottom: 8px;
1443
+ font-size: 12px;
1444
+ color: #64748b;
1445
+ }
1446
+
1447
+ .employeeCard-kpi-count {
1448
+ font-size: 16px !important;
1449
+ font-weight: 700;
1450
+ color: #f97316 !important;
1451
+ }
1452
+
1453
+ svg {
1454
+ width: 20px;
1455
+ height: 20px;
1456
+ fill: #1a67a3;
1457
+ }
1458
+ }
1459
+ }
1460
+
1461
+ @media (max-width: 1024px) {
1462
+ .engagement-cards-grid {
1463
+ grid-template-columns: repeat(2, 1fr) !important;
1464
+ }
1465
+ }
1466
+
1467
+ @media (max-width: 768px) {
1468
+ .engagement-cards-grid {
1469
+ grid-template-columns: 1fr !important;
1470
+ }
1137
1471
  }