@djb25/digit-ui-css 1.0.14 → 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.14",
3
+ "version": "1.0.15",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -474,7 +474,7 @@
474
474
  gap: 24px;
475
475
  width: 100%;
476
476
  max-width: 426px;
477
- min-height: 270px;
477
+ min-height: 210px;
478
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;
@@ -506,6 +506,18 @@
506
506
  display: flex;
507
507
  justify-content: space-between;
508
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;
509
521
  }
510
522
 
511
523
  .module-title {
@@ -518,7 +530,7 @@
518
530
  .module-icon-wrap {
519
531
  width: 36px;
520
532
  height: 36px;
521
- background-color: #2563eb;
533
+ background-color: #1a67a3;
522
534
  border-radius: 8px;
523
535
  display: flex;
524
536
  justify-content: center;
@@ -541,7 +553,7 @@
541
553
  .main-kpi-number {
542
554
  font-size: 4.5rem;
543
555
  font-weight: 700;
544
- color: #1d4ed8;
556
+ color: #1a67a3;
545
557
  line-height: 0.8;
546
558
  letter-spacing: -2px;
547
559
  }
@@ -566,7 +578,7 @@
566
578
  }
567
579
 
568
580
  .main-kpi-label {
569
- color: #1d4ed8;
581
+ color: #1a67a3;
570
582
  font-weight: 500;
571
583
  font-size: 1.1rem;
572
584
  }
@@ -635,7 +647,7 @@
635
647
 
636
648
  .pill-link {
637
649
  background-color: #eff6ff;
638
- color: #2563eb;
650
+ color: #1a67a3;
639
651
  padding: 6px 12px;
640
652
  border-radius: 6px;
641
653
  font-size: 0.75rem;
@@ -673,8 +685,7 @@
673
685
  background-color: #0f172a;
674
686
  }
675
687
 
676
- /* --- EXISTING CARD STYLES (Keep your existing styles) --- */
677
- /* Ensure .new-employee-card, .card-header-row, etc. remain as they were */
688
+
678
689
 
679
690
  /* --- NEW: EXPANDED VIEW OVERLAY --- */
680
691
  .expanded-overlay {
@@ -684,7 +695,6 @@
684
695
  width: 100vw;
685
696
  height: 100vh;
686
697
  background-color: rgba(0, 0, 0, 0.5);
687
- /* Dim background */
688
698
  z-index: 9999;
689
699
  display: flex;
690
700
  justify-content: center;
@@ -703,7 +713,6 @@
703
713
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
704
714
  }
705
715
 
706
- /* --- LEFT SIDEBAR --- */
707
716
  .expanded-sidebar {
708
717
  width: 20%;
709
718
  background-color: #ffffff;
@@ -759,10 +768,8 @@
759
768
  background-color: #f3f4f6;
760
769
  }
761
770
 
762
- /* Active State matches the screenshot (Blue bg, White text) */
763
771
  .sidebar-item.active {
764
772
  background-color: #00adef;
765
- /* Match the Property Tax highlight */
766
773
  color: #ffffff;
767
774
  box-shadow: 0 4px 6px rgba(0, 173, 239, 0.2);
768
775
  padding: 6px;
@@ -779,7 +786,6 @@
779
786
 
780
787
  .sidebar-item.active .sidebar-icon-placeholder svg {
781
788
  stroke: #ffffff;
782
- /* Make icon white when active */
783
789
  }
784
790
 
785
791
  /* --- RIGHT CONTENT --- */
@@ -857,12 +863,8 @@
857
863
  .expanded-page-container {
858
864
  display: flex;
859
865
  width: 100%;
860
- /* Adjust height to fit within the layout minus header/footer if needed,
861
- or just let it flow.
862
- For a "page" feel similar to the modal, let's give it min-height.
863
- */
866
+
864
867
  min-height: calc(100vh - 100px);
865
- /* border-radius: 8px; */
866
868
  overflow: hidden;
867
869
  gap: 20px;
868
870
  }
@@ -887,7 +889,6 @@
887
889
  max-width: 1200px;
888
890
  height: 80vh;
889
891
  background-color: #f7f8fa;
890
- /* Light grey background like screenshot */
891
892
  border-radius: 8px;
892
893
  overflow: hidden;
893
894
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
@@ -947,7 +948,6 @@
947
948
  background-color: #f3f4f6;
948
949
  }
949
950
 
950
- /* Active State: Blue Background, White Text */
951
951
  .sidebar-item.active {
952
952
  background-color: #00adef;
953
953
  color: #ffffff;
@@ -972,15 +972,13 @@
972
972
  .sidebar-icon {
973
973
  width: 18px;
974
974
  height: 18px;
975
- color: #2563eb;
976
- /* Professional blue */
975
+ color: #1a67a3;
977
976
  transition: all 0.25s ease;
978
977
  opacity: 0.75;
979
978
  }
980
979
 
981
980
  .sidebar-item.active .sidebar-icon {
982
- color: #1d4ed8;
983
- /* Slightly deeper blue when active */
981
+ color: #1a67a3;
984
982
  transform: scale(1.1);
985
983
  opacity: 1;
986
984
  }
@@ -991,7 +989,6 @@
991
989
  background-color: #ffffff;
992
990
  padding: 30px;
993
991
  overflow-y: auto;
994
- /* Gap between sidebar and content */
995
992
  border-radius: 8px;
996
993
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.02);
997
994
  }
@@ -1023,7 +1020,6 @@
1023
1020
  margin-top: 16px;
1024
1021
  }
1025
1022
 
1026
- /* Link Wrapper to handle <a> or <Link> tags */
1027
1023
  .link-wrapper a {
1028
1024
  text-decoration: none;
1029
1025
  color: inherit;
@@ -1052,7 +1048,7 @@
1052
1048
  top: 0;
1053
1049
  bottom: 0;
1054
1050
  width: 4px;
1055
- background: linear-gradient(135deg, #00adef, #2563eb);
1051
+ background: linear-gradient(135deg, #00adef, #1a67a3);
1056
1052
  opacity: 0;
1057
1053
  transition: opacity 0.3s ease;
1058
1054
  }
@@ -1080,7 +1076,7 @@
1080
1076
  }
1081
1077
 
1082
1078
  .module-link-card:hover .link-card-label {
1083
- color: #2563eb;
1079
+ color: #1a67a3;
1084
1080
  }
1085
1081
 
1086
1082
  .link-card-count {
@@ -1088,7 +1084,7 @@
1088
1084
  align-items: center;
1089
1085
  justify-content: center;
1090
1086
  background-color: #eff6ff;
1091
- color: #2563eb;
1087
+ color: #1a67a3;
1092
1088
  font-size: 0.8rem;
1093
1089
  font-weight: 700;
1094
1090
  padding: 2px 8px;
@@ -1110,7 +1106,7 @@
1110
1106
 
1111
1107
  .module-link-card:hover .link-card-arrow {
1112
1108
  background-color: #dbeafe;
1113
- color: #2563eb;
1109
+ color: #1a67a3;
1114
1110
  transform: translateX(4px);
1115
1111
  }
1116
1112
 
@@ -1132,7 +1128,7 @@
1132
1128
  --text-muted: #64748b;
1133
1129
  --hover-bg: #f8fafc;
1134
1130
  --active-bg: #eff6ff;
1135
- --active-text: #2563eb;
1131
+ --active-text: #1a67a3;
1136
1132
 
1137
1133
  /* Animations */
1138
1134
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
@@ -1177,14 +1173,13 @@
1177
1173
  .brand-container {
1178
1174
  display: flex;
1179
1175
  align-items: center;
1180
- /* Gap removed to allow for smooth width reduction */
1181
1176
  }
1182
1177
 
1183
1178
  .brand-icon {
1184
1179
  width: 36px;
1185
1180
  height: 36px;
1186
1181
  border-radius: 10px;
1187
- background: linear-gradient(135deg, #2563eb, #3b82f6);
1182
+ background: linear-gradient(135deg, #1a67a3, #3b82f6);
1188
1183
  color: white;
1189
1184
  display: flex;
1190
1185
  justify-content: center;
@@ -1198,10 +1193,8 @@
1198
1193
  font-weight: 700;
1199
1194
  color: var(--text-main);
1200
1195
  margin: 0 0 0 16px;
1201
- /* Spacing applied here instead of flex gap */
1202
1196
  transition: opacity var(--transition-fast), width var(--transition-fast), margin var(--transition-fast);
1203
1197
  overflow: hidden;
1204
- /* Prevents text squishing */
1205
1198
  }
1206
1199
 
1207
1200
  .collapse-toggle {
@@ -1223,7 +1216,6 @@
1223
1216
  color: var(--text-main);
1224
1217
  }
1225
1218
 
1226
- /* --- Navigation --- */
1227
1219
  .sidebar-nav {
1228
1220
  display: flex;
1229
1221
  flex-direction: column;
@@ -1244,8 +1236,7 @@
1244
1236
  display: flex;
1245
1237
  align-items: center;
1246
1238
  padding: 12px;
1247
- /* Gap removed here as well */
1248
- }
1239
+ }
1249
1240
 
1250
1241
  .nav-icon-wrapper {
1251
1242
  width: 24px;
@@ -1261,7 +1252,6 @@
1261
1252
  font-weight: 700;
1262
1253
  letter-spacing: 0.5px;
1263
1254
  background-color: var(--border-color);
1264
- /* Added a subtle background circle for initials */
1265
1255
  color: var(--text-muted);
1266
1256
  width: 100%;
1267
1257
  height: 100%;
@@ -1283,7 +1273,6 @@
1283
1273
  overflow: hidden;
1284
1274
  }
1285
1275
 
1286
- /* Hover & Active States */
1287
1276
  .nav-link:hover {
1288
1277
  background-color: var(--hover-bg);
1289
1278
  color: var(--text-main);
@@ -1305,7 +1294,6 @@
1305
1294
 
1306
1295
  /* --- COLLAPSED STATE STYLES --- */
1307
1296
 
1308
- /* Smoothly shrink and hide text */
1309
1297
  .collapsed .brand-name,
1310
1298
  .collapsed .nav-text {
1311
1299
  opacity: 0;
@@ -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
+ }
@@ -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