@pmidc/upyog-css 1.2.36-dev.1.15 → 1.2.36-dev.1.16

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,3 +1,4 @@
1
+
1
2
  /* Table container for responsive behavior like .card */
2
3
  .table-container {
3
4
  max-width: 95vw;
@@ -8,17 +9,19 @@
8
9
  }
9
10
 
10
11
  .table {
11
- background: #ffffff;
12
+ background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
12
13
  width: 100%;
13
14
  max-width: 95vw;
14
15
  table-layout: auto;
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;
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;
22
25
  margin-bottom: 15px;
23
26
  }
24
27
 
@@ -28,33 +31,46 @@
28
31
  display: table;
29
32
  overflow: hidden;
30
33
  }
34
+
35
+ .table.cancel-table {
36
+ display: block !important;
37
+ overflow: scroll !important;
38
+ }
31
39
  }
32
40
 
33
41
  .table:hover {
34
- box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
42
+ box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
35
43
  }
36
44
 
37
45
  .table thead {
38
- background: #f8fafc;
39
- border-bottom: 1px solid #e2e8f0;
46
+ background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1e40af 100%);
47
+ position: sticky;
48
+ top: 0;
49
+ z-index: 10;
40
50
  }
41
51
 
42
52
  .table thead th {
43
- padding: 14px 20px;
44
- font-weight: 700;
53
+ padding: 18px 20px;
54
+ font-weight: 800;
45
55
  vertical-align: middle;
46
56
  text-align: left;
47
- color: #6b7280;
48
- font-size: 12px;
57
+ color: #ffffff;
58
+ font-size: 13px;
49
59
  white-space: nowrap;
50
60
  text-transform: uppercase;
51
- letter-spacing: 0.08em;
52
- border-bottom: 1px solid #e2e8f0;
61
+ letter-spacing: 0.8px;
62
+ border-bottom: 2px solid rgba(255, 255, 255, 0.2);
53
63
  position: relative;
54
64
  }
55
65
 
56
66
  .table thead th::after {
57
- content: none;
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);
58
74
  }
59
75
 
60
76
  .table thead th:first-child {
@@ -66,15 +82,20 @@
66
82
  }
67
83
 
68
84
  .table tbody tr {
69
- border-bottom: 1px solid #eef2f7;
70
- transition: background 0.2s ease;
85
+ border-bottom: 1px solid #f0f4f8;
86
+ transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
87
+ position: relative;
71
88
  }
72
89
 
90
+
91
+
73
92
  .table tbody tr:hover {
74
- background: #f8fafc;
75
- box-shadow: none;
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);
76
95
  }
77
96
 
97
+
98
+
78
99
  .table tbody tr:hover td {
79
100
  color: #1e293b;
80
101
  }
@@ -83,8 +104,8 @@
83
104
  background: #ffffff;
84
105
  }
85
106
 
86
- table tbody tr:nth-child(even) {
87
- background: #ffffff;
107
+ .table tbody tr:nth-child(even) {
108
+ background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
88
109
  }
89
110
 
90
111
  .table tbody tr:last-child td {
@@ -93,7 +114,7 @@ table tbody tr:nth-child(even) {
93
114
 
94
115
  .table tbody td {
95
116
  padding: 16px 20px;
96
- color: #334155;
117
+ color: #475569;
97
118
  vertical-align: middle;
98
119
  font-size: 14px;
99
120
  transition: color 0.2s ease;
@@ -106,362 +127,6 @@ table tbody tr:nth-child(even) {
106
127
  border-right: none;
107
128
  }
108
129
 
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
-
465
130
  /* Wrapper for horizontal scroll - prevents body from shrinking */
466
131
  .dss-table-wrapper {
467
132
  width: 100%;
@@ -721,135 +386,3 @@ table tbody tr:nth-child(even) {
721
386
  border-bottom: none;
722
387
  }
723
388
  }
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,6 +1,9 @@
1
1
  /*@import 'normalize.css';*/
2
2
 
3
- @import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap");
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");
4
7
 
5
8
  @import "tailwindcss/base";
6
9
 
@@ -139,7 +142,6 @@
139
142
  @import "./modules/BPA/index.scss";
140
143
  @import "./pages/common/sitePhotoGraphs.scss";
141
144
  @import "./modules/TL/index.scss";
142
- @import "./components/newInbox.scss";
143
145
 
144
146
  .display-none {
145
147
  display: none;
@@ -278,4 +278,10 @@
278
278
  .view-button {
279
279
  width: 80%;
280
280
  }
281
+
282
+ .disabled-CustomUpload {
283
+ padding-top: 12px;
284
+ padding-bottom: 12px;
285
+ padding-left: 5px;
286
+ }
281
287