@djb25/digit-ui-css 1.0.19 → 1.0.21

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.
@@ -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
 
@@ -73,6 +74,22 @@
73
74
  }
74
75
  }
75
76
 
77
+ .employee-main-application-details{
78
+ width: 100%;
79
+ overflow-y: scroll;
80
+ }
81
+
82
+ .employee-form-content {
83
+ flex: 1 1 0%;
84
+ overflow-y: auto;
85
+ height: 100%;
86
+ display: flex;
87
+ flex-direction: column;
88
+ gap: 16px;
89
+ }
90
+
91
+
92
+
76
93
  .citizen {
77
94
  .main {
78
95
  padding-top: 82px;
@@ -408,8 +425,9 @@
408
425
  /* Space between Greeting and Search */
409
426
  flex-wrap: wrap;
410
427
  gap: 20px;
428
+ overflow: hidden;
411
429
 
412
- background: linear-gradient(135deg, rgba(110, 192, 221, 0.8) 0%, rgba(97, 119, 236, 0.95) 100%);
430
+ background: linear-gradient(135deg, #1a67a3, #5282e6 40%, #5495fe);
413
431
  backdrop-filter: blur(20px) saturate(150%);
414
432
  -webkit-backdrop-filter: blur(20px) saturate(150%);
415
433
  border: 1px solid rgba(255, 255, 255, 0.3);
@@ -419,11 +437,25 @@
419
437
  inset 0 -2px 6px rgba(0, 0, 0, 0.1),
420
438
  0 12px 30px rgba(97, 119, 236, 0.2);
421
439
 
422
- /* --- Left: Greeting Area --- */
440
+ .header-icon-area {
441
+ position: absolute;
442
+ top: 41%;
443
+ right: 20px;
444
+ transform: translateY(-50%);
445
+ opacity: 0.5;
446
+ pointer-events: none;
447
+ max-width: 157px;
448
+
449
+ @media (max-width: 768px) {
450
+ right: 10px;
451
+ transform: translateY(-50%) scale(0.8);
452
+ }
453
+ }
454
+
423
455
  .header-greeting-area {
424
456
  display: flex;
425
457
  flex-direction: column;
426
- gap: 4px;
458
+
427
459
  }
428
460
 
429
461
  .greeting-title {
@@ -444,12 +476,12 @@
444
476
  }
445
477
 
446
478
  .greeting-date {
447
- margin: 0;
479
+ margin-left: 40px;
448
480
  font-size: 15px;
449
481
  font-weight: 500;
450
482
  color: rgba(255, 255, 255, 0.9);
451
483
  letter-spacing: 0.5px;
452
- text-transform: uppercase;
484
+
453
485
  }
454
486
 
455
487
  /* --- Right: Omni Search Area --- */
@@ -855,8 +887,8 @@
855
887
 
856
888
  @media (min-width: 1024px) {
857
889
  .top-info-cards-wrapper {
858
- flex-direction: row;
859
- /* 50/50 Split on Desktop */
890
+ display: grid;
891
+ grid-template-columns: 3fr 1fr;
860
892
  align-items: stretch;
861
893
  }
862
894
  }
@@ -864,8 +896,6 @@
864
896
  @media (min-width: 375px) {}
865
897
 
866
898
  .static-card {
867
- flex: 1;
868
- /* Ensures perfect 50/50 width */
869
899
  background: white;
870
900
  border-radius: 16px;
871
901
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
@@ -873,6 +903,214 @@
873
903
  overflow: hidden;
874
904
  display: flex;
875
905
  flex-direction: column;
906
+ min-height: 250px;
907
+ }
908
+
909
+ .custom-tabs-header {
910
+ display: flex;
911
+ border-bottom: 1px solid #e2e8f0;
912
+ margin-bottom: 8px;
913
+ padding: 0 16px;
914
+ }
915
+ .custom-tab-btn {
916
+ padding: 12px 16px;
917
+ background: none;
918
+ border: none;
919
+ color: #94a3b8;
920
+ font-size: 14px;
921
+ font-weight: 600;
922
+ cursor: pointer;
923
+ border-bottom: 2px solid transparent;
924
+ transition: all 0.2s;
925
+ }
926
+
927
+ .custom-tab-btn.active {
928
+ color: #2563eb;
929
+ border-bottom-color: #2563eb;
930
+ }
931
+
932
+ .compact-list {
933
+ padding: 0 16px;
934
+ flex: 1;
935
+ overflow-y: auto;
936
+ }
937
+
938
+ .compact-list-item {
939
+ display: flex;
940
+ align-items: center;
941
+ padding: 12px 0;
942
+ border-bottom: 1px solid #f1f5f9;
943
+ }
944
+
945
+ .compact-list-item:last-child {
946
+ border-bottom: none;
947
+ }
948
+
949
+ .dot-indicator {
950
+ width: 8px;
951
+ height: 8px;
952
+ border-radius: 50%;
953
+ margin-right: 12px;
954
+ flex-shrink: 0;
955
+ }
956
+
957
+ .compact-title {
958
+ font-size: 14px;
959
+ color: #1e293b;
960
+ font-weight: 500;
961
+ flex: 1;
962
+ }
963
+
964
+ .compact-badge {
965
+ background-color: #e0f2fe;
966
+ color: #0369a1;
967
+ font-size: 12px;
968
+ font-weight: 600;
969
+ padding: 2px 8px;
970
+ border-radius: 12px;
971
+ margin: 0 12px;
972
+ }
973
+
974
+ .compact-right-text {
975
+ font-size: 13px;
976
+ color: #64748b;
977
+ white-space: nowrap;
978
+ }
979
+ .compact-right-text.danger {
980
+ color: #ef4444;
981
+ font-weight: 600;
982
+ }
983
+
984
+ .ra-compact-item {
985
+ display: flex;
986
+ align-items: flex-start;
987
+ padding: 12px 16px;
988
+ border-bottom: 1px solid #f1f5f9;
989
+ }
990
+ .ra-compact-item:last-child {
991
+ border-bottom: none;
992
+ }
993
+
994
+ .ra-icon-circle {
995
+ width: 36px;
996
+ height: 36px;
997
+ border-radius: 50%;
998
+ display: flex;
999
+ align-items: center;
1000
+ justify-content: center;
1001
+ margin-right: 12px;
1002
+ flex-shrink: 0;
1003
+ }
1004
+
1005
+ .ra-header-square-icon {
1006
+ width: 14px;
1007
+ height: 14px;
1008
+ border-radius: 4px;
1009
+ margin-right: 8px;
1010
+ }
1011
+ .ra-footer {
1012
+ margin-top: auto;
1013
+ padding-top: 16px;
1014
+ padding-bottom: 0px;
1015
+ display: flex;
1016
+ justify-content: center;
1017
+ align-items: center;
1018
+ background: transparent;
1019
+ z-index: 10;
1020
+ }
1021
+
1022
+ .ra-modal-overlay {
1023
+ position: fixed;
1024
+ top: 0;
1025
+ left: 0;
1026
+ right: 0;
1027
+ bottom: 0;
1028
+ background: rgba(0, 0, 0, 0.5);
1029
+ backdrop-filter: blur(4px);
1030
+ z-index: 100000;
1031
+ display: flex;
1032
+ justify-content: center;
1033
+ align-items: center;
1034
+ padding: 20px;
1035
+ }
1036
+
1037
+ .ra-modal-content {
1038
+ background: white;
1039
+ border-radius: 20px;
1040
+ width: 100%;
1041
+ max-width: 600px;
1042
+ max-height: 85vh;
1043
+ display: flex;
1044
+ flex-direction: column;
1045
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
1046
+ overflow: hidden;
1047
+ animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
1048
+ }
1049
+
1050
+ @keyframes modal-pop {
1051
+ 0% {
1052
+ transform: scale(0.95);
1053
+ opacity: 0;
1054
+ }
1055
+
1056
+ 100% {
1057
+ transform: scale(1);
1058
+ opacity: 1;
1059
+ }
1060
+ }
1061
+
1062
+ .ra-modal-header {
1063
+ padding: 20px 24px;
1064
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06);
1065
+ display: flex;
1066
+ justify-content: space-between;
1067
+ align-items: center;
1068
+ background: #f8fafc;
1069
+ }
1070
+
1071
+ .ra-modal-header h3 {
1072
+ margin: 0;
1073
+ font-size: 20px;
1074
+ font-weight: 700;
1075
+ color: #1a67a3;
1076
+ }
1077
+
1078
+ .ra-modal-close {
1079
+ background: transparent;
1080
+ border: none;
1081
+ color: #94a3b8;
1082
+ cursor: pointer;
1083
+ display: flex;
1084
+ align-items: center;
1085
+ justify-content: center;
1086
+ padding: 4px;
1087
+ border-radius: 50%;
1088
+ transition: all 0.2s;
1089
+ }
1090
+
1091
+ .ra-modal-close:hover {
1092
+ background: #f1f5f9;
1093
+ color: #ef4444;
1094
+ }
1095
+ .ra-timeline {
1096
+ flex: 1;
1097
+ overflow-y: auto;
1098
+ min-height: 0;
1099
+ padding-right: 8px;
1100
+ }
1101
+ .ra-timeline-modal {
1102
+ padding: 24px;
1103
+ overflow-y: auto;
1104
+ flex: 1;
1105
+ }
1106
+
1107
+ .ra-timeline-modal::-webkit-scrollbar-thumb {
1108
+ background: #cbd5e1;
1109
+ border-radius: 10px;
1110
+ }
1111
+
1112
+ .ra-timeline-modal::-webkit-scrollbar {
1113
+ width: 6px;
876
1114
  }
877
1115
 
878
1116
  .ra-header {
@@ -880,7 +1118,7 @@
880
1118
  justify-content: space-between;
881
1119
  align-items: center;
882
1120
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
883
- padding: 20px 24px;
1121
+
884
1122
  }
885
1123
 
886
1124
  .ra-header h3 {
@@ -1134,4 +1372,214 @@
1134
1372
  }
1135
1373
  }
1136
1374
  }
1375
+ }
1376
+
1377
+ /* Custom styles for View All Container and Modal */
1378
+ .view-all-container {
1379
+ display: flex;
1380
+ justify-content: center;
1381
+ margin-top: 16px;
1382
+ padding-top: 16px;
1383
+ border-top: 1px solid rgba(0, 0, 0, 0.06);
1384
+ }
1385
+
1386
+ .ra-view-all-bottom {
1387
+ display: flex;
1388
+ align-items: center;
1389
+ gap: 6px;
1390
+ background: transparent;
1391
+ border: none;
1392
+ color: #3b82f6;
1393
+ font-size: 14px;
1394
+ font-weight: 600;
1395
+ cursor: pointer;
1396
+ padding: 8px 16px;
1397
+ border-radius: 8px;
1398
+ transition: all 0.2s;
1399
+ }
1400
+
1401
+ .ra-view-all-bottom:hover {
1402
+ background: #eff6ff;
1403
+ color: #2563eb;
1404
+ }
1405
+
1406
+ .custom-modal-overlay {
1407
+ position: fixed;
1408
+ top: 0;
1409
+ left: 0;
1410
+ right: 0;
1411
+ bottom: 0;
1412
+ background-color: rgba(0, 0, 0, 0.5);
1413
+ display: flex;
1414
+ justify-content: center;
1415
+ align-items: center;
1416
+ z-index: 9999;
1417
+ backdrop-filter: blur(4px);
1418
+ padding: 20px;
1419
+ }
1420
+
1421
+ .custom-modal-content {
1422
+ background: white;
1423
+ border-radius: 16px;
1424
+ width: 100%;
1425
+ max-width: 500px;
1426
+ max-height: 80vh;
1427
+ display: flex;
1428
+ flex-direction: column;
1429
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
1430
+ animation: modal-pop 0.3s ease-out;
1431
+ }
1432
+
1433
+ @keyframes modal-pop {
1434
+ from {
1435
+ opacity: 0;
1436
+ transform: scale(0.95) translateY(10px);
1437
+ }
1438
+
1439
+ to {
1440
+ opacity: 1;
1441
+ transform: scale(1) translateY(0);
1442
+ }
1443
+ }
1444
+
1445
+ .custom-modal-header {
1446
+ display: flex;
1447
+ justify-content: space-between;
1448
+ align-items: center;
1449
+ padding: 20px 24px;
1450
+ border-bottom: 1px solid rgba(0, 0, 0, 0.08);
1451
+ }
1452
+
1453
+ .custom-modal-header h3 {
1454
+ margin: 0;
1455
+ font-size: 18px;
1456
+ font-weight: 700;
1457
+ color: #1a67a3;
1458
+ }
1459
+
1460
+ .custom-modal-close {
1461
+ background: transparent;
1462
+ border: none;
1463
+ color: #64748b;
1464
+ cursor: pointer;
1465
+ display: flex;
1466
+ align-items: center;
1467
+ justify-content: center;
1468
+ padding: 4px;
1469
+ border-radius: 50%;
1470
+ transition: background-color 0.2s, color 0.2s;
1471
+ }
1472
+
1473
+ .custom-modal-close:hover {
1474
+ background-color: #f1f5f9;
1475
+ color: #ef4444;
1476
+ }
1477
+
1478
+ .custom-modal-body {
1479
+ padding: 24px;
1480
+ overflow-y: auto;
1481
+ flex: 1;
1482
+ }
1483
+
1484
+ .custom-modal-body::-webkit-scrollbar {
1485
+ width: 6px;
1486
+ }
1487
+
1488
+ .custom-modal-body::-webkit-scrollbar-track {
1489
+ background: transparent;
1490
+ }
1491
+
1492
+ .custom-modal-body::-webkit-scrollbar-thumb {
1493
+ background: #cbd5e1;
1494
+ border-radius: 10px;
1495
+ }
1496
+
1497
+ /* --- Engagement Module Cards Redesign --- */
1498
+ .engagement-module-section {
1499
+ width: 100%;
1500
+ }
1501
+
1502
+ .engagement-cards-grid {
1503
+ display: grid;
1504
+ grid-template-columns: repeat(4, 1fr) !important;
1505
+ gap: 16px;
1506
+ width: 100%;
1507
+ }
1508
+
1509
+ .engagement-custom-card {
1510
+ display: flex !important;
1511
+
1512
+ .employeeCard {
1513
+ margin: 0 !important;
1514
+ width: 100% !important;
1515
+ min-height: 120px !important;
1516
+ border-radius: 12px;
1517
+ background: linear-gradient(145deg, #ffffff, #f9fafb);
1518
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
1519
+ border: 1px solid rgba(0, 0, 0, 0.06);
1520
+ transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
1521
+ padding: 16px !important;
1522
+ display: flex;
1523
+ flex-direction: column;
1524
+
1525
+ &:hover {
1526
+ transform: translateY(-4px);
1527
+ box-shadow: 0 12px 24px rgba(26, 103, 163, 0.12) !important;
1528
+ border-color: rgba(26, 103, 163, 0.2);
1529
+ }
1530
+
1531
+ .complaint-links-container {
1532
+ margin-top: auto;
1533
+ .employeeCard-link {
1534
+ font-size: 13px;
1535
+ padding: 4px 0;
1536
+ font-weight: 500;
1537
+ color: #1a67a3;
1538
+ }
1539
+ }
1540
+
1541
+ .employeeCard-title {
1542
+ font-size: 15px !important;
1543
+ font-weight: 700;
1544
+ color: #1a67a3 !important;
1545
+ margin-bottom: 8px;
1546
+ display: flex;
1547
+ align-items: center;
1548
+ gap: 8px;
1549
+ }
1550
+
1551
+ .employeeCard-kpi {
1552
+ display: flex;
1553
+ gap: 8px;
1554
+ flex-direction: column;
1555
+ margin-top: 8px;
1556
+ margin-bottom: 8px;
1557
+ font-size: 12px;
1558
+ color: #64748b;
1559
+ }
1560
+
1561
+ .employeeCard-kpi-count {
1562
+ font-size: 16px !important;
1563
+ font-weight: 700;
1564
+ color: #f97316 !important;
1565
+ }
1566
+
1567
+ svg {
1568
+ width: 20px;
1569
+ height: 20px;
1570
+ fill: #1a67a3;
1571
+ }
1572
+ }
1573
+ }
1574
+
1575
+ @media (max-width: 1024px) {
1576
+ .engagement-cards-grid {
1577
+ grid-template-columns: repeat(2, 1fr) !important;
1578
+ }
1579
+ }
1580
+
1581
+ @media (max-width: 768px) {
1582
+ .engagement-cards-grid {
1583
+ grid-template-columns: 1fr !important;
1584
+ }
1137
1585
  }