@pmidc/upyog-css 1.2.36-dev.1.2 → 1.2.36-dev.1.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.
- package/dist/index.css +14752 -8869
- package/dist/index.min.css +1 -1
- package/package.json +2 -3
- package/src/components/CardBasedOptions.scss +33 -31
- package/src/components/actionbar.scss +1 -1
- package/src/components/body.scss +3 -3
- package/src/components/buttons.scss +8 -8
- package/src/components/card.scss +6 -3
- package/src/components/filters.scss +283 -2
- package/src/components/newInbox.scss +382 -0
- package/src/components/table.scss +553 -42
- package/src/components/uploadcomponents.scss +1 -1
- package/src/index.scss +28 -11
- package/src/modules/BPA/index.scss +308 -7
- package/src/modules/TL/index.scss +29 -0
- package/src/pages/citizen/DocumentList.scss +19 -3
- package/src/pages/citizen/HomePageWrapper.scss +22 -17
- package/src/pages/employee/index.scss +62 -22
- package/src/pages/employee/login.scss +1 -1
|
@@ -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:
|
|
11
|
+
background: #ffffff;
|
|
13
12
|
width: 100%;
|
|
14
13
|
max-width: 95vw;
|
|
15
14
|
table-layout: auto;
|
|
16
|
-
border-radius:
|
|
17
|
-
border: 1px solid #
|
|
18
|
-
overflow
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
|
|
@@ -34,38 +31,30 @@
|
|
|
34
31
|
}
|
|
35
32
|
|
|
36
33
|
.table:hover {
|
|
37
|
-
box-shadow: 0
|
|
34
|
+
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
.table thead {
|
|
41
|
-
background:
|
|
42
|
-
|
|
43
|
-
top: 0;
|
|
44
|
-
z-index: 10;
|
|
38
|
+
background: #f8fafc;
|
|
39
|
+
border-bottom: 1px solid #e2e8f0;
|
|
45
40
|
}
|
|
46
41
|
|
|
47
42
|
.table thead th {
|
|
48
|
-
padding:
|
|
49
|
-
font-weight:
|
|
43
|
+
padding: 14px 20px;
|
|
44
|
+
font-weight: 700;
|
|
50
45
|
vertical-align: middle;
|
|
51
46
|
text-align: left;
|
|
52
|
-
color: #
|
|
53
|
-
font-size:
|
|
47
|
+
color: #6b7280;
|
|
48
|
+
font-size: 12px;
|
|
54
49
|
white-space: nowrap;
|
|
55
50
|
text-transform: uppercase;
|
|
56
|
-
letter-spacing: 0.
|
|
57
|
-
border-bottom:
|
|
51
|
+
letter-spacing: 0.08em;
|
|
52
|
+
border-bottom: 1px solid #e2e8f0;
|
|
58
53
|
position: relative;
|
|
59
54
|
}
|
|
60
55
|
|
|
61
56
|
.table thead th::after {
|
|
62
|
-
content:
|
|
63
|
-
position: absolute;
|
|
64
|
-
bottom: 0;
|
|
65
|
-
left: 0;
|
|
66
|
-
right: 0;
|
|
67
|
-
height: 2px;
|
|
68
|
-
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
|
57
|
+
content: none;
|
|
69
58
|
}
|
|
70
59
|
|
|
71
60
|
.table thead th:first-child {
|
|
@@ -77,20 +66,15 @@
|
|
|
77
66
|
}
|
|
78
67
|
|
|
79
68
|
.table tbody tr {
|
|
80
|
-
border-bottom: 1px solid #
|
|
81
|
-
transition:
|
|
82
|
-
position: relative;
|
|
69
|
+
border-bottom: 1px solid #eef2f7;
|
|
70
|
+
transition: background 0.2s ease;
|
|
83
71
|
}
|
|
84
72
|
|
|
85
|
-
|
|
86
|
-
|
|
87
73
|
.table tbody tr:hover {
|
|
88
|
-
background:
|
|
89
|
-
box-shadow:
|
|
74
|
+
background: #f8fafc;
|
|
75
|
+
box-shadow: none;
|
|
90
76
|
}
|
|
91
77
|
|
|
92
|
-
|
|
93
|
-
|
|
94
78
|
.table tbody tr:hover td {
|
|
95
79
|
color: #1e293b;
|
|
96
80
|
}
|
|
@@ -99,8 +83,8 @@
|
|
|
99
83
|
background: #ffffff;
|
|
100
84
|
}
|
|
101
85
|
|
|
102
|
-
|
|
103
|
-
background:
|
|
86
|
+
table tbody tr:nth-child(even) {
|
|
87
|
+
background: #ffffff;
|
|
104
88
|
}
|
|
105
89
|
|
|
106
90
|
.table tbody tr:last-child td {
|
|
@@ -109,10 +93,9 @@
|
|
|
109
93
|
|
|
110
94
|
.table tbody td {
|
|
111
95
|
padding: 16px 20px;
|
|
112
|
-
color: #
|
|
96
|
+
color: #334155;
|
|
113
97
|
vertical-align: middle;
|
|
114
98
|
font-size: 14px;
|
|
115
|
-
word-break: break-word;
|
|
116
99
|
transition: color 0.2s ease;
|
|
117
100
|
border-right: 1px solid transparent;
|
|
118
101
|
overflow: hidden;
|
|
@@ -123,6 +106,362 @@
|
|
|
123
106
|
border-right: none;
|
|
124
107
|
}
|
|
125
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
|
+
|
|
126
465
|
/* Wrapper for horizontal scroll - prevents body from shrinking */
|
|
127
466
|
.dss-table-wrapper {
|
|
128
467
|
width: 100%;
|
|
@@ -279,6 +618,29 @@
|
|
|
279
618
|
max-width: 400px;
|
|
280
619
|
}
|
|
281
620
|
|
|
621
|
+
.custom-fee-table td,
|
|
622
|
+
.inspection-report-table td {
|
|
623
|
+
padding-top: 2px !important;
|
|
624
|
+
padding-bottom: 2px !important;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.checklist-document-table td {
|
|
628
|
+
padding-top: 8px !important;
|
|
629
|
+
padding-bottom: 8px !important;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.custom-fee-table textarea,
|
|
633
|
+
.checklist-document-table textarea,
|
|
634
|
+
.inspection-report-table textarea {
|
|
635
|
+
min-height: 40px !important;
|
|
636
|
+
padding: 6px 10px !important;
|
|
637
|
+
overflow: hidden;
|
|
638
|
+
max-height: 1500px;
|
|
639
|
+
resize: vertical;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
|
|
282
644
|
.customTable tr {
|
|
283
645
|
transition: all 0.2s ease;
|
|
284
646
|
}
|
|
@@ -300,6 +662,21 @@
|
|
|
300
662
|
background-color: unset;
|
|
301
663
|
}
|
|
302
664
|
|
|
665
|
+
.obps-documents-table th:nth-child(1),
|
|
666
|
+
.obps-documents-table td:nth-child(1) {
|
|
667
|
+
width: 8% !important;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.obps-documents-table th:nth-child(2),
|
|
671
|
+
.obps-documents-table td:nth-child(2) {
|
|
672
|
+
width: 65% !important;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.obps-documents-table th:nth-child(3),
|
|
676
|
+
.obps-documents-table td:nth-child(3) {
|
|
677
|
+
width: 27% !important;
|
|
678
|
+
}
|
|
679
|
+
|
|
303
680
|
/* ============================================
|
|
304
681
|
RESPONSIVE TABLE STYLES
|
|
305
682
|
============================================ */
|
|
@@ -382,3 +759,137 @@
|
|
|
382
759
|
border-bottom: none;
|
|
383
760
|
}
|
|
384
761
|
}
|
|
762
|
+
|
|
763
|
+
/* Mobile Card View for Tables - Applied via JS when on mobile */
|
|
764
|
+
.digit-table-mobile-wrapper {
|
|
765
|
+
display: flex;
|
|
766
|
+
flex-direction: column;
|
|
767
|
+
gap: 12px;
|
|
768
|
+
padding: 12px;
|
|
769
|
+
background: #f8fafc;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.digit-table-mobile-card {
|
|
773
|
+
background: #fff;
|
|
774
|
+
border: 1px solid #e5e7eb;
|
|
775
|
+
border-radius: 12px;
|
|
776
|
+
padding: 16px;
|
|
777
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.digit-table-mobile-card-row {
|
|
781
|
+
display: flex;
|
|
782
|
+
flex-direction: column;
|
|
783
|
+
padding: 8px 0;
|
|
784
|
+
border-bottom: 1px solid #f1f5f9;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
.digit-table-mobile-card-row:last-child {
|
|
788
|
+
border-bottom: none;
|
|
789
|
+
padding-bottom: 0;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.digit-table-mobile-card-row:first-child {
|
|
793
|
+
padding-top: 0;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
.digit-table-mobile-card-label {
|
|
797
|
+
font-size: 11px;
|
|
798
|
+
font-weight: 600;
|
|
799
|
+
text-transform: uppercase;
|
|
800
|
+
letter-spacing: 0.05em;
|
|
801
|
+
color: #6b7280;
|
|
802
|
+
margin-bottom: 4px;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
.digit-table-mobile-card-value {
|
|
806
|
+
font-size: 14px;
|
|
807
|
+
font-weight: 500;
|
|
808
|
+
color: #111827;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.digit-table-mobile-card-value a {
|
|
812
|
+
color: #2563eb;
|
|
813
|
+
text-decoration: none;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.digit-table-mobile-status-pill {
|
|
817
|
+
display: inline-flex;
|
|
818
|
+
padding: 4px 10px;
|
|
819
|
+
border-radius: 999px;
|
|
820
|
+
font-size: 12px;
|
|
821
|
+
font-weight: 600;
|
|
822
|
+
background: #e2e8f0;
|
|
823
|
+
color: #1e293b;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.digit-table-mobile-status-pill.approved {
|
|
827
|
+
background: #dcfce7;
|
|
828
|
+
color: #166534;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.digit-table-mobile-status-pill.rejected {
|
|
832
|
+
background: #fee2e2;
|
|
833
|
+
color: #b91c1c;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
.digit-table-mobile-status-pill.forwarded {
|
|
837
|
+
background: #dbeafe;
|
|
838
|
+
color: #1d4ed8;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.digit-table-mobile-status-pill.in-progress {
|
|
842
|
+
background: #cbd5e1;
|
|
843
|
+
color: #1e293b;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.digit-table-mobile-status-pill.pending {
|
|
847
|
+
background: #ffedd5;
|
|
848
|
+
color: #c2410c;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.digit-table-mobile-status-pill.new {
|
|
852
|
+
background: #e2e8f0;
|
|
853
|
+
color: #1e293b;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.digit-table-mobile-no-data {
|
|
857
|
+
text-align: center;
|
|
858
|
+
padding: 40px 20px;
|
|
859
|
+
color: #6b7280;
|
|
860
|
+
background: #fff;
|
|
861
|
+
border-radius: 12px;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
.digit-table-mobile-pagination {
|
|
865
|
+
display: flex;
|
|
866
|
+
align-items: center;
|
|
867
|
+
justify-content: space-between;
|
|
868
|
+
padding: 12px;
|
|
869
|
+
background: #fff;
|
|
870
|
+
border-top: 1px solid #e5e7eb;
|
|
871
|
+
font-size: 13px;
|
|
872
|
+
flex-wrap: wrap;
|
|
873
|
+
gap: 8px;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.digit-table-mobile-pagination select {
|
|
877
|
+
padding: 6px 8px;
|
|
878
|
+
border: 1px solid #e5e7eb;
|
|
879
|
+
border-radius: 6px;
|
|
880
|
+
font-size: 13px;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.digit-table-mobile-pagination .pagination-controls {
|
|
884
|
+
display: flex;
|
|
885
|
+
align-items: center;
|
|
886
|
+
gap: 8px;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.digit-table-mobile-pagination .pagination-controls svg {
|
|
890
|
+
cursor: pointer;
|
|
891
|
+
width: 20px;
|
|
892
|
+
height: 20px;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
|