@djb25/digit-ui-css 1.0.13 → 1.0.15

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.13",
3
+ "version": "1.0.15",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -130,6 +130,7 @@ body {
130
130
  flex-direction: column;
131
131
  gap: 12px;
132
132
  padding: 20px;
133
+ padding-bottom: 0px;
133
134
  width: 100%;
134
135
 
135
136
  .header {
@@ -180,6 +180,7 @@
180
180
  }
181
181
 
182
182
  @screen dt {
183
+
183
184
  .submit-bar,
184
185
  .submit-bar-disabled {
185
186
  width: 240px;
@@ -342,7 +343,7 @@
342
343
  }
343
344
 
344
345
  /* Remove any default margins that might interfere */
345
- .label-field-pair > * {
346
+ .label-field-pair>* {
346
347
  margin: 0;
347
348
  }
348
349
 
@@ -373,8 +374,7 @@
373
374
  margin-right: auto;
374
375
  }
375
376
 
376
- .header-content {
377
- }
377
+ .header-content {}
378
378
 
379
379
  .header-end {
380
380
  margin-left: auto;
@@ -415,8 +415,7 @@
415
415
  margin-bottom: 24px;
416
416
  }
417
417
 
418
- .info-banner-wrap-citizen-override {
419
- }
418
+ .info-banner-wrap-citizen-override {}
420
419
 
421
420
  .oc-aknowledgement-screen {
422
421
  width: auto;
@@ -475,9 +474,16 @@
475
474
  gap: 24px;
476
475
  width: 100%;
477
476
  max-width: 426px;
478
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
477
+ min-height: 210px;
478
+ box-shadow: 0 14px 10px -6px rgba(0, 0, 0, 0.12), 0 8px 12px -8px rgba(0, 0, 0, 0.08);
479
479
  font-family: "Inter", -apple-system, sans-serif;
480
480
  overflow: hidden;
481
+ transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
482
+ }
483
+
484
+ .new-employee-card:hover {
485
+ transform: translateY(-6px);
486
+ box-shadow: 0 24px 36px -8px rgba(0, 0, 0, 0.18), 0 12px 20px -10px rgba(0, 0, 0, 0.12);
481
487
  }
482
488
 
483
489
  .new-employee-card::before {
@@ -487,7 +493,7 @@
487
493
  background-image: url("https://objectstorage.ap-hyderabad-1.oraclecloud.com/n/axn3czn1s06y/b/djb-dev-asset-bucket/o/dashboard_card_img.png");
488
494
  background-size: cover;
489
495
  background-position: center;
490
- opacity: 0.2;
496
+ opacity: 0.5;
491
497
  z-index: 0;
492
498
  }
493
499
 
@@ -500,6 +506,18 @@
500
506
  display: flex;
501
507
  justify-content: space-between;
502
508
  align-items: center;
509
+ position: relative;
510
+ padding-bottom: 12px;
511
+ }
512
+ .card-header-row::after {
513
+ content: "";
514
+ position: absolute;
515
+ bottom: 0;
516
+ left: 0;
517
+ width: 100%;
518
+ height: 2px;
519
+ background: linear-gradient(90deg, #1a67a3 0%, rgba(26, 103, 163, 0) 100%);
520
+ border-radius: 2px;
503
521
  }
504
522
 
505
523
  .module-title {
@@ -512,7 +530,7 @@
512
530
  .module-icon-wrap {
513
531
  width: 36px;
514
532
  height: 36px;
515
- background-color: #2563eb;
533
+ background-color: #1a67a3;
516
534
  border-radius: 8px;
517
535
  display: flex;
518
536
  justify-content: center;
@@ -535,7 +553,7 @@
535
553
  .main-kpi-number {
536
554
  font-size: 4.5rem;
537
555
  font-weight: 700;
538
- color: #1d4ed8;
556
+ color: #1a67a3;
539
557
  line-height: 0.8;
540
558
  letter-spacing: -2px;
541
559
  }
@@ -560,7 +578,7 @@
560
578
  }
561
579
 
562
580
  .main-kpi-label {
563
- color: #1d4ed8;
581
+ color: #1a67a3;
564
582
  font-weight: 500;
565
583
  font-size: 1.1rem;
566
584
  }
@@ -574,9 +592,9 @@
574
592
 
575
593
  .secondary-kpi-item {
576
594
  display: flex;
577
- justify-content: space-between;
595
+ justify-content: flex-end;
578
596
  align-items: center;
579
- gap: 24px;
597
+ gap: 8px;
580
598
  width: 100%;
581
599
  }
582
600
 
@@ -629,7 +647,7 @@
629
647
 
630
648
  .pill-link {
631
649
  background-color: #eff6ff;
632
- color: #2563eb;
650
+ color: #1a67a3;
633
651
  padding: 6px 12px;
634
652
  border-radius: 6px;
635
653
  font-size: 0.75rem;
@@ -649,22 +667,25 @@
649
667
  .details-btn {
650
668
  background-color: #1e293b;
651
669
  color: #ffffff;
652
- padding: 8px 20px;
653
- border-radius: 20px;
654
- font-size: 0.8rem;
670
+ padding: 6px 20px;
671
+ border-radius: 6px;
672
+ font-size: 0.75rem;
655
673
  font-weight: 600;
656
674
  border: none;
657
675
  cursor: pointer;
676
+ transition: background-color 0.2s;
677
+ display: inline-flex;
678
+ align-items: center;
679
+ justify-content: center;
680
+ text-align: center;
658
681
  flex-shrink: 0;
659
- margin-bottom: 2px;
660
682
  }
661
683
 
662
684
  .details-btn:hover {
663
685
  background-color: #0f172a;
664
686
  }
665
687
 
666
- /* --- EXISTING CARD STYLES (Keep your existing styles) --- */
667
- /* Ensure .new-employee-card, .card-header-row, etc. remain as they were */
688
+
668
689
 
669
690
  /* --- NEW: EXPANDED VIEW OVERLAY --- */
670
691
  .expanded-overlay {
@@ -674,7 +695,6 @@
674
695
  width: 100vw;
675
696
  height: 100vh;
676
697
  background-color: rgba(0, 0, 0, 0.5);
677
- /* Dim background */
678
698
  z-index: 9999;
679
699
  display: flex;
680
700
  justify-content: center;
@@ -693,7 +713,6 @@
693
713
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
694
714
  }
695
715
 
696
- /* --- LEFT SIDEBAR --- */
697
716
  .expanded-sidebar {
698
717
  width: 20%;
699
718
  background-color: #ffffff;
@@ -749,10 +768,8 @@
749
768
  background-color: #f3f4f6;
750
769
  }
751
770
 
752
- /* Active State matches the screenshot (Blue bg, White text) */
753
771
  .sidebar-item.active {
754
772
  background-color: #00adef;
755
- /* Match the Property Tax highlight */
756
773
  color: #ffffff;
757
774
  box-shadow: 0 4px 6px rgba(0, 173, 239, 0.2);
758
775
  padding: 6px;
@@ -769,7 +786,6 @@
769
786
 
770
787
  .sidebar-item.active .sidebar-icon-placeholder svg {
771
788
  stroke: #ffffff;
772
- /* Make icon white when active */
773
789
  }
774
790
 
775
791
  /* --- RIGHT CONTENT --- */
@@ -847,12 +863,8 @@
847
863
  .expanded-page-container {
848
864
  display: flex;
849
865
  width: 100%;
850
- /* Adjust height to fit within the layout minus header/footer if needed,
851
- or just let it flow.
852
- For a "page" feel similar to the modal, let's give it min-height.
853
- */
866
+
854
867
  min-height: calc(100vh - 100px);
855
- /* border-radius: 8px; */
856
868
  overflow: hidden;
857
869
  gap: 20px;
858
870
  }
@@ -877,7 +889,6 @@
877
889
  max-width: 1200px;
878
890
  height: 80vh;
879
891
  background-color: #f7f8fa;
880
- /* Light grey background like screenshot */
881
892
  border-radius: 8px;
882
893
  overflow: hidden;
883
894
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
@@ -937,7 +948,6 @@
937
948
  background-color: #f3f4f6;
938
949
  }
939
950
 
940
- /* Active State: Blue Background, White Text */
941
951
  .sidebar-item.active {
942
952
  background-color: #00adef;
943
953
  color: #ffffff;
@@ -962,15 +972,13 @@
962
972
  .sidebar-icon {
963
973
  width: 18px;
964
974
  height: 18px;
965
- color: #2563eb;
966
- /* Professional blue */
975
+ color: #1a67a3;
967
976
  transition: all 0.25s ease;
968
977
  opacity: 0.75;
969
978
  }
970
979
 
971
980
  .sidebar-item.active .sidebar-icon {
972
- color: #1d4ed8;
973
- /* Slightly deeper blue when active */
981
+ color: #1a67a3;
974
982
  transform: scale(1.1);
975
983
  opacity: 1;
976
984
  }
@@ -981,7 +989,6 @@
981
989
  background-color: #ffffff;
982
990
  padding: 30px;
983
991
  overflow-y: auto;
984
- /* Gap between sidebar and content */
985
992
  border-radius: 8px;
986
993
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.02);
987
994
  }
@@ -1013,7 +1020,6 @@
1013
1020
  margin-top: 16px;
1014
1021
  }
1015
1022
 
1016
- /* Link Wrapper to handle <a> or <Link> tags */
1017
1023
  .link-wrapper a {
1018
1024
  text-decoration: none;
1019
1025
  color: inherit;
@@ -1042,7 +1048,7 @@
1042
1048
  top: 0;
1043
1049
  bottom: 0;
1044
1050
  width: 4px;
1045
- background: linear-gradient(135deg, #00adef, #2563eb);
1051
+ background: linear-gradient(135deg, #00adef, #1a67a3);
1046
1052
  opacity: 0;
1047
1053
  transition: opacity 0.3s ease;
1048
1054
  }
@@ -1070,7 +1076,7 @@
1070
1076
  }
1071
1077
 
1072
1078
  .module-link-card:hover .link-card-label {
1073
- color: #2563eb;
1079
+ color: #1a67a3;
1074
1080
  }
1075
1081
 
1076
1082
  .link-card-count {
@@ -1078,7 +1084,7 @@
1078
1084
  align-items: center;
1079
1085
  justify-content: center;
1080
1086
  background-color: #eff6ff;
1081
- color: #2563eb;
1087
+ color: #1a67a3;
1082
1088
  font-size: 0.8rem;
1083
1089
  font-weight: 700;
1084
1090
  padding: 2px 8px;
@@ -1100,7 +1106,7 @@
1100
1106
 
1101
1107
  .module-link-card:hover .link-card-arrow {
1102
1108
  background-color: #dbeafe;
1103
- color: #2563eb;
1109
+ color: #1a67a3;
1104
1110
  transform: translateX(4px);
1105
1111
  }
1106
1112
 
@@ -1122,7 +1128,7 @@
1122
1128
  --text-muted: #64748b;
1123
1129
  --hover-bg: #f8fafc;
1124
1130
  --active-bg: #eff6ff;
1125
- --active-text: #2563eb;
1131
+ --active-text: #1a67a3;
1126
1132
 
1127
1133
  /* Animations */
1128
1134
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
@@ -1167,14 +1173,13 @@
1167
1173
  .brand-container {
1168
1174
  display: flex;
1169
1175
  align-items: center;
1170
- /* Gap removed to allow for smooth width reduction */
1171
1176
  }
1172
1177
 
1173
1178
  .brand-icon {
1174
1179
  width: 36px;
1175
1180
  height: 36px;
1176
1181
  border-radius: 10px;
1177
- background: linear-gradient(135deg, #2563eb, #3b82f6);
1182
+ background: linear-gradient(135deg, #1a67a3, #3b82f6);
1178
1183
  color: white;
1179
1184
  display: flex;
1180
1185
  justify-content: center;
@@ -1188,10 +1193,8 @@
1188
1193
  font-weight: 700;
1189
1194
  color: var(--text-main);
1190
1195
  margin: 0 0 0 16px;
1191
- /* Spacing applied here instead of flex gap */
1192
1196
  transition: opacity var(--transition-fast), width var(--transition-fast), margin var(--transition-fast);
1193
1197
  overflow: hidden;
1194
- /* Prevents text squishing */
1195
1198
  }
1196
1199
 
1197
1200
  .collapse-toggle {
@@ -1213,7 +1216,6 @@
1213
1216
  color: var(--text-main);
1214
1217
  }
1215
1218
 
1216
- /* --- Navigation --- */
1217
1219
  .sidebar-nav {
1218
1220
  display: flex;
1219
1221
  flex-direction: column;
@@ -1234,8 +1236,7 @@
1234
1236
  display: flex;
1235
1237
  align-items: center;
1236
1238
  padding: 12px;
1237
- /* Gap removed here as well */
1238
- }
1239
+ }
1239
1240
 
1240
1241
  .nav-icon-wrapper {
1241
1242
  width: 24px;
@@ -1251,7 +1252,6 @@
1251
1252
  font-weight: 700;
1252
1253
  letter-spacing: 0.5px;
1253
1254
  background-color: var(--border-color);
1254
- /* Added a subtle background circle for initials */
1255
1255
  color: var(--text-muted);
1256
1256
  width: 100%;
1257
1257
  height: 100%;
@@ -1273,7 +1273,6 @@
1273
1273
  overflow: hidden;
1274
1274
  }
1275
1275
 
1276
- /* Hover & Active States */
1277
1276
  .nav-link:hover {
1278
1277
  background-color: var(--hover-bg);
1279
1278
  color: var(--text-main);
@@ -1295,7 +1294,6 @@
1295
1294
 
1296
1295
  /* --- COLLAPSED STATE STYLES --- */
1297
1296
 
1298
- /* Smoothly shrink and hide text */
1299
1297
  .collapsed .brand-name,
1300
1298
  .collapsed .nav-text {
1301
1299
  opacity: 0;
@@ -1324,4 +1322,4 @@
1324
1322
  .collapsed .nav-item-content {
1325
1323
  justify-content: center;
1326
1324
  padding: 12px 0;
1327
- }
1325
+ }
@@ -1,5 +1,4 @@
1
1
  .module-header {
2
- display: flex;
3
2
  justify-content: center;
4
3
  align-items: center;
5
4
 
@@ -10,17 +9,34 @@
10
9
  border-radius: 11px;
11
10
  margin-inline: 42px;
12
11
 
13
- display: flex;
12
+
14
13
  align-items: center;
15
14
  justify-content: center;
16
15
 
17
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
16
+ /* 3D Box Shadow with Bevel Highlight */
17
+ box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4),
18
+ 0 8px 16px -4px rgba(0, 0, 0, 0.15),
19
+ 0 4px 8px -4px rgba(0, 0, 0, 0.1);
20
+ /* Modern Glass Effect */
21
+ backdrop-filter: blur(10px);
22
+ -webkit-backdrop-filter: blur(10px);
23
+ border: 1px solid rgba(255, 255, 255, 0.3);
24
+ /* Hover Lift Effect */
25
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
26
+
27
+ &:hover {
28
+ transform: translateY(-2px);
29
+ box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5),
30
+ 0 12px 20px -4px rgba(0, 0, 0, 0.2),
31
+ 0 6px 10px -4px rgba(0, 0, 0, 0.15);
32
+ }
18
33
 
19
34
  .title {
20
35
  margin: 0;
21
36
  font-size: 25px;
22
37
  font-weight: 700;
23
38
  color: #000000;
39
+ text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.5);
24
40
  }
25
41
  }
26
42
 
@@ -34,7 +50,13 @@
34
50
  align-items: center;
35
51
  justify-content: flex-start;
36
52
  color: #fff;
37
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
53
+ /* Matching 3D Shadow and Bevel for Bottom Section */
54
+ box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3),
55
+ 0 4px 8px -2px rgba(0, 0, 0, 0.1);
56
+ backdrop-filter: blur(10px);
57
+ -webkit-backdrop-filter: blur(10px);
58
+ border: 1px solid rgba(255, 255, 255, 0.2);
59
+ border-top: none;
38
60
  font-size: 14px;
39
61
  font-weight: 500;
40
62
 
@@ -88,4 +110,4 @@
88
110
  padding-right: 20px;
89
111
  }
90
112
  }
91
- }
113
+ }
package/src/index.scss CHANGED
@@ -703,7 +703,7 @@ input[type="number"] {
703
703
 
704
704
  .employee-app-wrapper {
705
705
  min-height: calc(100vh - 8em);
706
- height: calc(100vh - 125px);
706
+ height: calc(100vh - 105px);
707
707
  }
708
708
 
709
709
  .ws-custom-wrapper {
@@ -62,6 +62,113 @@
62
62
  width: 100%;
63
63
  }
64
64
  }
65
+
66
+ /* ===== Citizen Theme (Matching Employee Dashboard) ===== */
67
+ .citizen-app-container {
68
+ width: 100%;
69
+ display: flex;
70
+ flex-direction: column;
71
+ gap: 12px;
72
+ padding: 12px 24px;
73
+ margin-top: 45px;
74
+ }
75
+
76
+ .citizen-module-header {
77
+ display: flex;
78
+ justify-content: center;
79
+ align-items: center;
80
+ width: 100%;
81
+
82
+ .citizen-header-top-section {
83
+ width: 100% !important;
84
+ background: #7a99f1 !important;
85
+ padding: 16px 32px !important;
86
+ border-radius: 8px !important;
87
+ display: flex !important;
88
+ align-items: center !important;
89
+ justify-content: flex-end !important;
90
+ min-height: 56px !important;
91
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
92
+ }
93
+
94
+ .citizen-header-title {
95
+ margin: 0;
96
+ font-size: 24px;
97
+ font-weight: 600;
98
+ color: #ffffff;
99
+ }
100
+ }
101
+
102
+ .citizen-module-grid {
103
+ display: grid;
104
+ grid-template-columns: repeat(4, 1fr);
105
+ gap: 16px;
106
+ padding: 0;
107
+ width: 100%;
108
+
109
+ @media (max-width: 1024px) {
110
+ grid-template-columns: repeat(3, 1fr);
111
+ }
112
+
113
+ @media (max-width: 768px) {
114
+ grid-template-columns: repeat(2, 1fr);
115
+ }
116
+
117
+ @media (max-width: 480px) {
118
+ grid-template-columns: repeat(2, 1fr);
119
+ gap: 10px;
120
+ }
121
+ }
122
+
123
+ .citizen-service-card {
124
+ background: #ffffff !important;
125
+ border-radius: 12px !important;
126
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
127
+ padding: 24px !important;
128
+ display: flex !important;
129
+ flex-direction: row !important;
130
+ align-items: center !important;
131
+ justify-content: flex-start !important;
132
+ cursor: pointer !important;
133
+ transition: all 0.2s ease !important;
134
+ border: 1px solid #eeeeee !important;
135
+ min-height: 100px !important;
136
+ gap: 16px !important;
137
+
138
+ &:hover {
139
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
140
+ transform: translateY(-2px);
141
+ }
142
+
143
+ &__icon {
144
+ width: 40px !important;
145
+ height: 40px !important;
146
+ display: flex !important;
147
+ align-items: center !important;
148
+ justify-content: center !important;
149
+ flex-shrink: 0 !important;
150
+
151
+ svg {
152
+ width: 100% !important;
153
+ height: 100% !important;
154
+ }
155
+
156
+ img {
157
+ width: 100% !important;
158
+ height: 100% !important;
159
+ }
160
+ }
161
+
162
+ &__label {
163
+ margin: 0 !important;
164
+ font-size: 16px !important;
165
+ font-weight: 500 !important;
166
+ color: #333333 !important;
167
+ text-align: left !important;
168
+ width: auto !important;
169
+ flex: 1 !important;
170
+ }
171
+ }
65
172
  }
66
173
 
67
174
  @media (min-width: 780px) {
@@ -72,6 +72,13 @@
72
72
  width: 100%;
73
73
  }
74
74
 
75
+ .gridModuleWrapper {
76
+ display: flex;
77
+ flex-direction: column;
78
+ gap: 20px;
79
+ padding: 10px;
80
+ }
81
+
75
82
  @screen dt {
76
83
  .employee-app-wrapper {
77
84
  flex-direction: row;
@@ -2,13 +2,15 @@
2
2
  .inbox-main-container {
3
3
  flex: 1;
4
4
  padding-right: -24px;
5
- background-color: #f4f7f9;
5
+ background-color: #ffffff;
6
+ border-radius: 12px;
6
7
  }
7
8
 
8
9
  .inbox-wrapper {
9
10
  min-width: 100%;
10
11
  padding: 24px;
11
12
  background-color: rgb(241 241 241);
13
+ border-radius: 12px;
12
14
  }
13
15
 
14
16
  .ekyc-header-container {
@@ -58,9 +60,11 @@
58
60
  margin-bottom: 24px;
59
61
  padding: 20px;
60
62
  background-color: #fff;
63
+ border-radius: 12px;
61
64
  }
62
65
 
63
66
  .ekyc-search-container {
67
+ width: 100%;
64
68
  flex: 1;
65
69
 
66
70
  .search-inner {
@@ -69,18 +73,67 @@
69
73
  border: none;
70
74
  }
71
75
 
72
- .input-grid {
73
- display: grid;
74
- gap: 20px;
75
- align-items: end;
76
- grid-template-columns: repeat(auto-fill, minmax(700px, 1fr));
76
+ .search-field-wrapper {
77
+ display: flex;
78
+ align-items: flex-end;
79
+ gap: 24px;
80
+ width: 100%;
77
81
  }
78
82
 
79
- .submit-wrapper {
83
+ .search-fields-container {
84
+ display: flex;
85
+ flex-wrap: wrap;
86
+ gap: 24px;
87
+ flex: 1;
88
+ }
89
+
90
+ .search-field {
91
+ display: flex;
92
+ flex-direction: column;
93
+ gap: 8px;
94
+ min-width: 250px;
95
+ flex: 1;
96
+
97
+ label {
98
+ margin-bottom: 0 !important;
99
+ margin-top: 20px !important;
100
+ font-size: 16px !important;
101
+ font-weight: 600 !important;
102
+ color: #344054 !important;
103
+ }
104
+
105
+ input,
106
+ .dropdown-wrapper {
107
+ border-radius: 12px !important;
108
+ height: 40px !important;
109
+ }
110
+ }
111
+
112
+ .search-action-container {
80
113
  display: flex;
81
114
  align-items: center;
82
115
  gap: 20px;
83
- height: 40px;
116
+ margin-left: auto;
117
+ padding-bottom: 4px;
118
+
119
+ .submit-bar {
120
+ height: 40px !important;
121
+ padding: 0 24px !important;
122
+ margin-bottom: 0 !important;
123
+ border-radius: 12px !important;
124
+ position: relative !important;
125
+ top: -20px !important;
126
+ }
127
+
128
+ .link-label {
129
+ margin: 0 !important;
130
+ font-weight: 600 !important;
131
+ cursor: pointer !important;
132
+ white-space: nowrap !important;
133
+ position: relative !important;
134
+ top: -20px !important;
135
+ color: #F47738 !important;
136
+ }
84
137
  }
85
138
  }
86
139