@pmidc/upyog-css 1.2.36-dev.1.14 → 1.2.36-dev.1.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.
@@ -1,4 +1,3 @@
1
-
2
1
  /* Table container for responsive behavior like .card */
3
2
  .table-container {
4
3
  max-width: 95vw;
@@ -9,19 +8,17 @@
9
8
  }
10
9
 
11
10
  .table {
12
- background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
11
+ background: #ffffff;
13
12
  width: 100%;
14
13
  max-width: 95vw;
15
14
  table-layout: auto;
16
- border-radius: 12px;
17
- border: 1px solid #e1e8f0;
18
- overflow-x: auto;
19
- -webkit-overflow-scrolling: touch;
20
- display: block;
21
- box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
22
- border-collapse: separate;
23
- border-spacing: 0;
24
- transition: box-shadow 0.3s ease;
15
+ border-radius: 16px;
16
+ border: 1px solid #e2e8f0;
17
+ overflow: hidden;
18
+ display: table;
19
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
20
+ border-collapse: collapse;
21
+ transition: box-shadow 0.2s ease;
25
22
  margin-bottom: 15px;
26
23
  }
27
24
 
@@ -31,46 +28,33 @@
31
28
  display: table;
32
29
  overflow: hidden;
33
30
  }
34
-
35
- .table.cancel-table {
36
- display: block !important;
37
- overflow: scroll !important;
38
- }
39
31
  }
40
32
 
41
33
  .table:hover {
42
- box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
34
+ box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
43
35
  }
44
36
 
45
37
  .table thead {
46
- background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1e40af 100%);
47
- position: sticky;
48
- top: 0;
49
- z-index: 10;
38
+ background: #f8fafc;
39
+ border-bottom: 1px solid #e2e8f0;
50
40
  }
51
41
 
52
42
  .table thead th {
53
- padding: 18px 20px;
54
- font-weight: 800;
43
+ padding: 14px 20px;
44
+ font-weight: 700;
55
45
  vertical-align: middle;
56
46
  text-align: left;
57
- color: #ffffff;
58
- font-size: 13px;
47
+ color: #6b7280;
48
+ font-size: 12px;
59
49
  white-space: nowrap;
60
50
  text-transform: uppercase;
61
- letter-spacing: 0.8px;
62
- border-bottom: 2px solid rgba(255, 255, 255, 0.2);
51
+ letter-spacing: 0.08em;
52
+ border-bottom: 1px solid #e2e8f0;
63
53
  position: relative;
64
54
  }
65
55
 
66
56
  .table thead th::after {
67
- content: "";
68
- position: absolute;
69
- bottom: 0;
70
- left: 0;
71
- right: 0;
72
- height: 2px;
73
- background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
57
+ content: none;
74
58
  }
75
59
 
76
60
  .table thead th:first-child {
@@ -82,20 +66,15 @@
82
66
  }
83
67
 
84
68
  .table tbody tr {
85
- border-bottom: 1px solid #f0f4f8;
86
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
87
- position: relative;
69
+ border-bottom: 1px solid #eef2f7;
70
+ transition: background 0.2s ease;
88
71
  }
89
72
 
90
-
91
-
92
73
  .table tbody tr:hover {
93
- background: linear-gradient(90deg, rgba(59, 130, 246, 0.04), transparent);
94
- box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.1);
74
+ background: #f8fafc;
75
+ box-shadow: none;
95
76
  }
96
77
 
97
-
98
-
99
78
  .table tbody tr:hover td {
100
79
  color: #1e293b;
101
80
  }
@@ -104,8 +83,8 @@
104
83
  background: #ffffff;
105
84
  }
106
85
 
107
- .table tbody tr:nth-child(even) {
108
- background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
86
+ table tbody tr:nth-child(even) {
87
+ background: #ffffff;
109
88
  }
110
89
 
111
90
  .table tbody tr:last-child td {
@@ -114,7 +93,7 @@
114
93
 
115
94
  .table tbody td {
116
95
  padding: 16px 20px;
117
- color: #475569;
96
+ color: #334155;
118
97
  vertical-align: middle;
119
98
  font-size: 14px;
120
99
  transition: color 0.2s ease;
@@ -127,6 +106,362 @@
127
106
  border-right: none;
128
107
  }
129
108
 
109
+ /* NDC-style inbox table look (scoped) */
110
+ .ndc-new-table {
111
+ background: #ffffff;
112
+ border: 1px solid #e2e8f0;
113
+ border-radius: 16px;
114
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
115
+ border-collapse: collapse;
116
+ }
117
+
118
+ .ndc-new-table thead {
119
+ background: #f8fafc;
120
+ }
121
+
122
+ .ndc-new-table thead th {
123
+ text-align: left;
124
+ font-size: 12px;
125
+ letter-spacing: 0.08em;
126
+ color: #6b7280;
127
+ padding: 14px 20px;
128
+ text-transform: uppercase;
129
+ border-bottom: 1px solid #e2e8f0;
130
+ }
131
+
132
+ .ndc-new-table tbody td {
133
+ padding: 16px 20px;
134
+ border-bottom: 1px solid #eef2f7;
135
+ font-size: 14px;
136
+ color: #334155;
137
+ }
138
+
139
+ .ndc-new-table tbody tr:hover {
140
+ background: #f8fafc;
141
+ }
142
+
143
+ .ndc-new-table .ndc-new-cell-secondary {
144
+ font-size: 12px;
145
+ color: #64748b;
146
+ }
147
+
148
+ /* NDC table wrapper and header styles */
149
+ .ndc-new-table-wrapper {
150
+ display: block;
151
+ overflow-x: auto;
152
+ }
153
+
154
+ .ndc-new-table-card {
155
+ margin-top: 16px;
156
+ background: #ffffff;
157
+ border: 1px solid #e2e8f0;
158
+ border-radius: 16px;
159
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
160
+ overflow: hidden;
161
+ }
162
+
163
+ .ndc-new-table-header {
164
+ padding: 18px 20px;
165
+ font-size: 18px;
166
+ font-weight: 700;
167
+ border-bottom: 1px solid #e2e8f0;
168
+ }
169
+
170
+ /* NDC cell stack layout for multi-line cell content */
171
+ .ndc-new-cell-stack {
172
+ display: flex;
173
+ flex-direction: column;
174
+ gap: 4px;
175
+ }
176
+
177
+ .ndc-new-cell-primary {
178
+ font-weight: 600;
179
+ color: #1e293b;
180
+ }
181
+
182
+ .ndc-new-cell-secondary {
183
+ font-size: 12px;
184
+ color: #64748b;
185
+ }
186
+
187
+ /* NDC status pill styles */
188
+ .ndc-new-status-pill {
189
+ display: inline-flex;
190
+ align-items: center;
191
+ justify-content: center;
192
+ padding: 4px 10px;
193
+ border-radius: 999px;
194
+ font-size: 12px;
195
+ font-weight: 600;
196
+ background: #e2e8f0;
197
+ color: #111827;
198
+ border: 1px solid transparent;
199
+ }
200
+
201
+ .ndc-new-status-pill.approved {
202
+ background: #f0fdf4;
203
+ color: #15803d;
204
+ border-color: #86efac;
205
+ }
206
+
207
+ .ndc-new-status-pill.rejected {
208
+ background: #fef2f2;
209
+ color: #b91c1c;
210
+ border-color: #fecaca;
211
+ }
212
+
213
+ .ndc-new-status-pill.forwarded {
214
+ background: #eff6ff;
215
+ color: #1d4ed8;
216
+ border-color: #bfdbfe;
217
+ }
218
+
219
+ .ndc-new-status-pill.in-progress {
220
+ background: #dbeafe;
221
+ color: #1d4ed8;
222
+ border-color: #93c5fd;
223
+ }
224
+
225
+ .ndc-new-status-pill.pending {
226
+ background: #ffedd5;
227
+ color: #c2410c;
228
+ border-color: #fdba74;
229
+ }
230
+
231
+ .ndc-new-status-pill.new {
232
+ background: #f3f4f6;
233
+ color: #111827;
234
+ border-color: #e5e7eb;
235
+ }
236
+
237
+ /* NDC icon and action group styles */
238
+ .ndc-new-icon {
239
+ display: inline-flex;
240
+ align-items: center;
241
+ justify-content: center;
242
+ width: 28px;
243
+ height: 28px;
244
+ margin-left: 8px;
245
+ border-radius: 50%;
246
+ border: 1px solid #e5e7eb;
247
+ color: #94a3b8;
248
+ }
249
+
250
+ .ndc-new-action-group {
251
+ display: inline-flex;
252
+ align-items: center;
253
+ gap: 8px;
254
+ }
255
+
256
+ .ndc-new-icon-link {
257
+ text-decoration: none;
258
+ }
259
+
260
+ .ndc-new-app-link {
261
+ color: #2563eb;
262
+ text-decoration: none;
263
+ }
264
+
265
+ .ndc-new-app-link:hover {
266
+ text-decoration: underline;
267
+ }
268
+
269
+ /* NDC pagination styles */
270
+ .ndc-new-pagination {
271
+ display: flex;
272
+ align-items: center;
273
+ justify-content: flex-end;
274
+ gap: 12px;
275
+ padding: 12px 20px 18px;
276
+ border-top: 1px solid #eef2f7;
277
+ font-size: 12px;
278
+ color: #6b7280;
279
+ }
280
+
281
+ .ndc-new-pagination button {
282
+ border: 1px solid #e5e7eb;
283
+ background: #ffffff;
284
+ border-radius: 8px;
285
+ padding: 4px 8px;
286
+ cursor: pointer;
287
+ transition: all 0.2s ease;
288
+ }
289
+
290
+ .ndc-new-pagination button:hover {
291
+ background: #f1f5f9;
292
+ border-color: #cbd5e1;
293
+ }
294
+
295
+ .ndc-new-pagination button:disabled {
296
+ opacity: 0.5;
297
+ cursor: not-allowed;
298
+ }
299
+
300
+ .ndc-new-pagination select {
301
+ border: 1px solid #e5e7eb;
302
+ border-radius: 8px;
303
+ padding: 4px 8px;
304
+ background: #ffffff;
305
+ cursor: pointer;
306
+ }
307
+
308
+ .ndc-new-top-filters {
309
+ margin: 12px 0 16px;
310
+ background: #ffffff;
311
+ border: 1px solid #e2e8f0;
312
+ border-radius: 16px;
313
+ padding: 18px;
314
+ box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
315
+ }
316
+
317
+ /* NDC tabs and topbar for inbox */
318
+ .ndc-new-table-topbar {
319
+ display: flex;
320
+ align-items: center;
321
+ justify-content: space-between;
322
+ gap: 16px;
323
+ padding: 16px;
324
+ border-radius: 16px;
325
+ border: 1px solid #e2e8f0;
326
+ background: #ffffff;
327
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
328
+ }
329
+
330
+ .ndc-new-tabs {
331
+ display: flex;
332
+ gap: 8px;
333
+ flex-wrap: nowrap;
334
+ overflow-x: auto;
335
+ max-width: calc(100% - 280px);
336
+ padding-bottom: 4px;
337
+ scrollbar-width: none;
338
+ }
339
+
340
+ .ndc-new-tabs::-webkit-scrollbar {
341
+ width: 0;
342
+ height: 0;
343
+ }
344
+
345
+ .ndc-new-tab {
346
+ padding: 6px 10px;
347
+ border: 1px solid #e5e7eb;
348
+ background: #ffffff;
349
+ border-radius: 8px;
350
+ cursor: pointer;
351
+ font-size: 12px;
352
+ font-weight: 600;
353
+ color: #334155;
354
+ transition: all 0.2s ease;
355
+ white-space: nowrap;
356
+ }
357
+
358
+ .ndc-new-tab:hover {
359
+ border-color: #cbd5e1;
360
+ background: #f8fafc;
361
+ }
362
+
363
+ .ndc-new-tab.active {
364
+ background: #2563eb;
365
+ color: #ffffff;
366
+ border-color: #2563eb;
367
+ }
368
+
369
+ .ndc-new-tab-count {
370
+ margin-left: 6px;
371
+ padding: 2px 6px;
372
+ border-radius: 999px;
373
+ background: #e2e8f0;
374
+ color: #475569;
375
+ font-size: 11px;
376
+ font-weight: 700;
377
+ }
378
+
379
+ .ndc-new-tab.active .ndc-new-tab-count {
380
+ background: rgba(255, 255, 255, 0.2);
381
+ color: #ffffff;
382
+ }
383
+
384
+ .ndc-new-search {
385
+ display: flex;
386
+ align-items: center;
387
+ gap: 8px;
388
+ padding: 6px 12px;
389
+ border: 1px solid #e5e7eb;
390
+ border-radius: 8px;
391
+ background: #ffffff;
392
+ min-width: 250px;
393
+ }
394
+
395
+ .ndc-new-search input {
396
+ border: none;
397
+ outline: none;
398
+ background: transparent;
399
+ width: 100%;
400
+ font-size: 12px;
401
+ color: #111827;
402
+ }
403
+
404
+ .ndc-new-search input::placeholder {
405
+ color: #9ca3af;
406
+ }
407
+
408
+ /* Mobile responsive styles for NDC table */
409
+ @media (max-width: 768px) {
410
+ .ndc-new-table-topbar {
411
+ flex-wrap: wrap;
412
+ }
413
+
414
+ .ndc-new-tabs {
415
+ max-width: 100%;
416
+ overflow-x: visible;
417
+ flex-wrap: wrap;
418
+ }
419
+
420
+ .ndc-new-search {
421
+ width: 100%;
422
+ min-width: 0;
423
+ }
424
+
425
+ .ndc-new-table-header {
426
+ font-size: 16px;
427
+ padding: 14px 16px;
428
+ }
429
+
430
+ .ndc-new-table thead th,
431
+ .ndc-new-table tbody td {
432
+ padding: 12px 14px;
433
+ font-size: 12px;
434
+ }
435
+
436
+ .ndc-new-status-pill {
437
+ font-size: 11px;
438
+ padding: 3px 8px;
439
+ }
440
+
441
+ .ndc-new-pagination {
442
+ flex-direction: column;
443
+ align-items: flex-start;
444
+ gap: 8px;
445
+ padding: 12px 16px;
446
+ }
447
+ }
448
+
449
+ /* Status row backgrounds for all services via data-status */
450
+ .table tbody tr[data-status*="pending"],
451
+ .customTable tbody tr[data-status*="pending"] {
452
+ background: #fff7ed;
453
+ }
454
+
455
+ .table tbody tr[data-status*="rejected"],
456
+ .customTable tbody tr[data-status*="rejected"] {
457
+ background: #fef2f2;
458
+ }
459
+
460
+ .table tbody tr[data-status*="approved"],
461
+ .customTable tbody tr[data-status*="approved"] {
462
+ background: #f0fdf4;
463
+ }
464
+
130
465
  /* Wrapper for horizontal scroll - prevents body from shrinking */
131
466
  .dss-table-wrapper {
132
467
  width: 100%;
@@ -386,3 +721,135 @@
386
721
  border-bottom: none;
387
722
  }
388
723
  }
724
+
725
+ /* Mobile Card View for Tables - Applied via JS when on mobile */
726
+ .digit-table-mobile-wrapper {
727
+ display: flex;
728
+ flex-direction: column;
729
+ gap: 12px;
730
+ padding: 12px;
731
+ background: #f8fafc;
732
+ }
733
+
734
+ .digit-table-mobile-card {
735
+ background: #fff;
736
+ border: 1px solid #e5e7eb;
737
+ border-radius: 12px;
738
+ padding: 16px;
739
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
740
+ }
741
+
742
+ .digit-table-mobile-card-row {
743
+ display: flex;
744
+ flex-direction: column;
745
+ padding: 8px 0;
746
+ border-bottom: 1px solid #f1f5f9;
747
+ }
748
+
749
+ .digit-table-mobile-card-row:last-child {
750
+ border-bottom: none;
751
+ padding-bottom: 0;
752
+ }
753
+
754
+ .digit-table-mobile-card-row:first-child {
755
+ padding-top: 0;
756
+ }
757
+
758
+ .digit-table-mobile-card-label {
759
+ font-size: 11px;
760
+ font-weight: 600;
761
+ text-transform: uppercase;
762
+ letter-spacing: 0.05em;
763
+ color: #6b7280;
764
+ margin-bottom: 4px;
765
+ }
766
+
767
+ .digit-table-mobile-card-value {
768
+ font-size: 14px;
769
+ font-weight: 500;
770
+ color: #111827;
771
+ }
772
+
773
+ .digit-table-mobile-card-value a {
774
+ color: #2563eb;
775
+ text-decoration: none;
776
+ }
777
+
778
+ .digit-table-mobile-status-pill {
779
+ display: inline-flex;
780
+ padding: 4px 10px;
781
+ border-radius: 999px;
782
+ font-size: 12px;
783
+ font-weight: 600;
784
+ background: #e2e8f0;
785
+ color: #1e293b;
786
+ }
787
+
788
+ .digit-table-mobile-status-pill.approved {
789
+ background: #dcfce7;
790
+ color: #166534;
791
+ }
792
+
793
+ .digit-table-mobile-status-pill.rejected {
794
+ background: #fee2e2;
795
+ color: #b91c1c;
796
+ }
797
+
798
+ .digit-table-mobile-status-pill.forwarded {
799
+ background: #dbeafe;
800
+ color: #1d4ed8;
801
+ }
802
+
803
+ .digit-table-mobile-status-pill.in-progress {
804
+ background: #cbd5e1;
805
+ color: #1e293b;
806
+ }
807
+
808
+ .digit-table-mobile-status-pill.pending {
809
+ background: #ffedd5;
810
+ color: #c2410c;
811
+ }
812
+
813
+ .digit-table-mobile-status-pill.new {
814
+ background: #e2e8f0;
815
+ color: #1e293b;
816
+ }
817
+
818
+ .digit-table-mobile-no-data {
819
+ text-align: center;
820
+ padding: 40px 20px;
821
+ color: #6b7280;
822
+ background: #fff;
823
+ border-radius: 12px;
824
+ }
825
+
826
+ .digit-table-mobile-pagination {
827
+ display: flex;
828
+ align-items: center;
829
+ justify-content: space-between;
830
+ padding: 12px;
831
+ background: #fff;
832
+ border-top: 1px solid #e5e7eb;
833
+ font-size: 13px;
834
+ flex-wrap: wrap;
835
+ gap: 8px;
836
+ }
837
+
838
+ .digit-table-mobile-pagination select {
839
+ padding: 6px 8px;
840
+ border: 1px solid #e5e7eb;
841
+ border-radius: 6px;
842
+ font-size: 13px;
843
+ }
844
+
845
+ .digit-table-mobile-pagination .pagination-controls {
846
+ display: flex;
847
+ align-items: center;
848
+ gap: 8px;
849
+ }
850
+
851
+ .digit-table-mobile-pagination .pagination-controls svg {
852
+ cursor: pointer;
853
+ width: 20px;
854
+ height: 20px;
855
+ }
package/src/index.scss CHANGED
@@ -1,9 +1,6 @@
1
1
  /*@import 'normalize.css';*/
2
2
 
3
- @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
4
- @import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
5
- @import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;700&display=swap");
6
- @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
3
+ @import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap");
7
4
 
8
5
  @import "tailwindcss/base";
9
6
 
@@ -142,6 +139,7 @@
142
139
  @import "./modules/BPA/index.scss";
143
140
  @import "./pages/common/sitePhotoGraphs.scss";
144
141
  @import "./modules/TL/index.scss";
142
+ @import "./components/newInbox.scss";
145
143
 
146
144
  .display-none {
147
145
  display: none;
@@ -17,51 +17,56 @@
17
17
  }
18
18
  }
19
19
  .hero-banner-styles {
20
- background: linear-gradient(135deg, #4f65d8 0%, #00157a 100%);
20
+ background: linear-gradient(140deg, #003C71 0%, #1A5CA8 100%);
21
21
  border-radius: 16px;
22
- padding: 60px 40px;
23
- margin: 24px 0;
22
+ padding: 52px 40px 44px;
23
+ margin: 20px 0;
24
24
  text-align: center;
25
25
  color: #fff;
26
+ position: relative;
27
+ overflow: hidden;
26
28
  }
27
29
 
28
30
  .hero-title-styles {
29
- font-size: 42px;
31
+ font-size: 36px;
30
32
  font-weight: 700;
31
- margin-bottom: 12px;
32
- letter-spacing: -0.5px;
33
+ margin-bottom: 8px;
34
+ letter-spacing: -0.3px;
33
35
  }
34
36
 
35
37
  .heroSubtitleStyles {
36
- font-size: 18px;
38
+ font-size: 16px;
37
39
  font-weight: 400;
38
- margin-bottom: 32px;
39
- opacity: 0.95;
40
+ margin-bottom: 28px;
41
+ opacity: 0.9;
40
42
  }
41
43
 
42
44
  .searchBarStyles {
43
- max-width: 600px;
45
+ max-width: 560px;
44
46
  margin: 0 auto;
45
47
  background-color: #fff;
46
48
  border-radius: 12px;
47
- padding: 14px 20px;
49
+ padding: 12px 18px;
48
50
  display: flex;
49
51
  align-items: center;
50
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
52
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
51
53
  }
52
54
 
53
55
  .searchInputStyles {
54
56
  border: none;
55
57
  outline: none;
56
58
  width: 100%;
57
- font-size: 16px;
58
- margin-left: 12px;
59
- color: black;
59
+ font-size: 14px;
60
+ margin-left: 10px;
61
+ color: #1F1F1F;
62
+ font-family: "Noto Sans", sans-serif;
60
63
  }
61
64
 
62
65
  .searchIconStyles {
63
- color: #9ca3af;
64
- font-size: 20px;
66
+ color: #626A6E;
67
+ display: flex;
68
+ align-items: center;
69
+ flex-shrink: 0;
65
70
  }
66
71
 
67
72