@pmidc/upyog-css 1.1.5 → 1.1.6

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.
Files changed (33) hide show
  1. package/dist/index.css +4595 -2612
  2. package/dist/index.min.css +1 -1
  3. package/package.json +1 -1
  4. package/src/components/CardBasedOptions.scss +425 -0
  5. package/src/components/NewAccordianCitizen.scss +130 -0
  6. package/src/components/TimeLine.scss +29 -1
  7. package/src/components/body.scss +116 -2
  8. package/src/components/buttons.scss +9 -2
  9. package/src/components/card.scss +243 -98
  10. package/src/components/info-banner.scss +1 -1
  11. package/src/components/keynote.scss +2 -0
  12. package/src/components/map.scss +6 -0
  13. package/src/components/multiSelectDropdown.scss +21 -5
  14. package/src/components/navbar.scss +3 -10
  15. package/src/components/newFooter.scss +75 -0
  16. package/src/components/searchAction.scss +7 -0
  17. package/src/components/selectdropdown.scss +89 -18
  18. package/src/components/table.scss +325 -141
  19. package/src/components/textfields.scss +25 -17
  20. package/src/components/topbar.scss +169 -99
  21. package/src/index.scss +7 -1
  22. package/src/pages/citizen/CitizenLogin.scss +50 -0
  23. package/src/pages/citizen/DocumentList.scss +145 -1
  24. package/src/pages/citizen/HomePageWrapper.scss +61 -12
  25. package/src/pages/citizen/InboxCard.scss +327 -0
  26. package/src/pages/citizen/citizenDocument.scss +4 -0
  27. package/src/pages/citizen/citizenNewLogin.scss +266 -102
  28. package/src/pages/citizen/container.scss +10 -0
  29. package/src/pages/employee/dashboard.scss +1 -1
  30. package/src/pages/employee/dss.scss +2 -0
  31. package/src/pages/employee/header.scss +262 -0
  32. package/src/pages/employee/index.scss +60 -61
  33. package/src/pages/employee/login.scss +188 -530
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmidc/upyog-css",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "engines": {
@@ -100,6 +100,161 @@
100
100
  height: 100% !important;
101
101
  }
102
102
 
103
+ /* CardBasedOptions styles — all classes prefixed with new-card- */
104
+
105
+ .new-card-root {
106
+ width: 100%;
107
+ box-sizing: border-box;
108
+ }
109
+
110
+ /* Header section */
111
+ .new-card-header-section {
112
+ display: flex;
113
+ justify-content: space-between;
114
+ align-items: center;
115
+ margin-bottom: 24px;
116
+ padding-bottom: 16px;
117
+ border-bottom: 2px solid #3B82F6;
118
+ }
119
+
120
+ .new-card-header-title {
121
+ font-size: 28px;
122
+ font-weight: 700;
123
+ color: #111827;
124
+ margin: 0;
125
+ }
126
+
127
+ .new-card-view-button {
128
+ background: transparent;
129
+ border: none;
130
+ color: #3B82F6;
131
+ font-size: 16px;
132
+ font-weight: 600;
133
+ cursor: pointer;
134
+ display: flex;
135
+ align-items: center;
136
+ gap: 4px;
137
+ padding: 8px 16px;
138
+ border-radius: 8px;
139
+ transition: background 0.2s ease;
140
+ }
141
+ .new-card-view-button:hover {
142
+ background: #EFF6FF;
143
+ }
144
+
145
+ /* Cards grid */
146
+ .new-card-cards-grid {
147
+ display: flex;
148
+ flex-wrap: wrap;
149
+ gap: 0;
150
+ justify-content: flex-start;
151
+ margin: -8px;
152
+ width: 100%;
153
+ box-sizing: border-box;
154
+ }
155
+
156
+ /* Individual option card */
157
+ .new-card-option {
158
+ border-radius: 12px;
159
+ padding: 24px;
160
+ margin: 8px;
161
+ min-width: 200px;
162
+ flex: 1 1 calc(25% - 16px);
163
+ max-width: calc(25% - 16px);
164
+ cursor: pointer;
165
+ transition: all 0.2s ease;
166
+ border: 1px solid #E5E7EB;
167
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
168
+ transform: translateY(0);
169
+ box-sizing: border-box;
170
+ }
171
+ .new-card-option:hover {
172
+ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
173
+ transform: translateY(-4px);
174
+ }
175
+
176
+ /* Icon wrapper */
177
+ .new-card-icon {
178
+ width: 56px;
179
+ height: 56px;
180
+ border-radius: 50%;
181
+ display: flex;
182
+ align-items: center;
183
+ justify-content: center;
184
+ margin-bottom: 16px;
185
+ color: #fff;
186
+ font-size: 24px;
187
+ }
188
+ .new-card-icon svg {
189
+ width: 28px;
190
+ height: 28px;
191
+ fill: #fff;
192
+ }
193
+
194
+ /* Service name and access row */
195
+ .new-card-service-name {
196
+ font-size: 18px;
197
+ font-weight: 600;
198
+ color: #111827;
199
+ margin-bottom: 8px;
200
+ }
201
+
202
+ .new-card-access {
203
+ font-size: 14px;
204
+ color: #6B7280;
205
+ display: flex;
206
+ align-items: center;
207
+ justify-content: space-between;
208
+ }
209
+
210
+ /* Arrow */
211
+ .new-card-arrow {
212
+ color: #3B82F6;
213
+ font-size: 18px;
214
+ }
215
+
216
+ /* Per-index background classes (backgrounds for the card root) */
217
+ .new-card-bg-0 { background: #EFF6FF; }
218
+ .new-card-bg-1 { background: #ECFDF5; }
219
+ .new-card-bg-2 { background: #F5F3FF; }
220
+ .new-card-bg-3 { background: #DBEAFE; }
221
+ .new-card-bg-4 { background: #FCE7F3; }
222
+ .new-card-bg-5 { background: #ECFDF5; }
223
+ .new-card-bg-6 { background: #FEF3C7; }
224
+ .new-card-bg-7 { background: #DBEAFE; }
225
+ .new-card-bg-8 { background: #F3E8FF; }
226
+ .new-card-bg-9 { background: #FEE2E2; }
227
+ .new-card-bg-10 { background: #FFF7ED; }
228
+ .new-card-bg-11 { background: #FEFCE8; }
229
+ .new-card-bg-12 { background: #F0FDF4; }
230
+ .new-card-bg-13 { background: #EFF6FF; }
231
+ .new-card-bg-14 { background: #FAF5FF; }
232
+
233
+ /* Per-index icon background classes */
234
+ .new-card-icon-bg-0 { background: #3B82F6; }
235
+ .new-card-icon-bg-1 { background: #10B981; }
236
+ .new-card-icon-bg-2 { background: #8B5CF6; }
237
+ .new-card-icon-bg-3 { background: #0EA5E9; }
238
+ .new-card-icon-bg-4 { background: #EC4899; }
239
+ .new-card-icon-bg-5 { background: #059669; }
240
+ .new-card-icon-bg-6 { background: #F59E0B; }
241
+ .new-card-icon-bg-7 { background: #0284C7; }
242
+ .new-card-icon-bg-8 { background: #9333EA; }
243
+ .new-card-icon-bg-9 { background: #EF4444; }
244
+ .new-card-icon-bg-10 { background: #EA580C; }
245
+ .new-card-icon-bg-11 { background: #CA8A04; }
246
+ .new-card-icon-bg-12 { background: #16A34A; }
247
+ .new-card-icon-bg-13 { background: #2563EB; }
248
+ .new-card-icon-bg-14 { background: #A855F7; }
249
+
250
+ /* Responsive adjustments */
251
+ @media (max-width: 1024px) {
252
+ .new-card-option { flex: 1 1 calc(50% - 16px); max-width: calc(50% - 16px); }
253
+ }
254
+ @media (max-width: 640px) {
255
+ .new-card-option { flex: 1 1 100%; max-width: 100%; }
256
+ }
257
+
103
258
  @media screen and (min-width: 300px) {
104
259
  .CardBasedOptions {
105
260
  height: 200px;
@@ -108,3 +263,273 @@
108
263
  font-size: 1rem;
109
264
  }
110
265
  }
266
+
267
+
268
+ /* CitizenHomeCardSecond styles — all classes start with chc- to avoid collisions */
269
+
270
+ /* Root and header */
271
+ .chc-root {
272
+ width: 100%;
273
+ box-sizing: border-box;
274
+ }
275
+
276
+ .chc-header {
277
+ font-size: 20px;
278
+ font-weight: 600;
279
+ margin-bottom: 20px;
280
+ color: #1F1F1F;
281
+ }
282
+
283
+ /* Card container */
284
+ .chc-card-container {
285
+ display: grid;
286
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
287
+ gap: 16px;
288
+ margin-bottom: 24px;
289
+ width: 100%;
290
+ box-sizing: border-box;
291
+ }
292
+
293
+ /* Option to override grid if needed (keeps spacing) */
294
+ .chc-no-grid {
295
+ display: block;
296
+ }
297
+
298
+ /* Card */
299
+ .chc-card {
300
+ padding: 24px;
301
+ border-radius: 12px;
302
+ display: flex;
303
+ gap: 16px;
304
+ align-items: flex-start;
305
+ cursor: pointer;
306
+ transition: transform 0.18s ease, box-shadow 0.18s ease;
307
+ text-decoration: none;
308
+ border: none;
309
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
310
+ color: inherit;
311
+ box-sizing: border-box;
312
+ }
313
+
314
+ .chc-card:hover,
315
+ .chc-card:focus {
316
+ transform: translateY(-6px);
317
+ box-shadow: 0 8px 18px rgba(0,0,0,0.12);
318
+ outline: none;
319
+ }
320
+
321
+ /* Icon container */
322
+ .chc-icon {
323
+ width: 48px;
324
+ height: 48px;
325
+ border-radius: 12px;
326
+ display: flex;
327
+ align-items: center;
328
+ justify-content: center;
329
+ flex-shrink: 0;
330
+ color: #FFFFFF;
331
+ box-sizing: border-box;
332
+ }
333
+
334
+ /* Six background variants for cards (index % 6) */
335
+ .chc-card-bg-0 { background-color: #EBF3FE; }
336
+ .chc-card-bg-1 { background-color: #E8F8F5; }
337
+ .chc-card-bg-2 { background-color: #F3EBFF; }
338
+ .chc-card-bg-3 { background-color: #FEF3E8; }
339
+ .chc-card-bg-4 { background-color: #FCE8F3; }
340
+ .chc-card-bg-5 { background-color: #E0F2FE; }
341
+
342
+ /* Icon background variants */
343
+ .chc-icon-bg-0 { background-color: #2B6FED; color: #FFFFFF; }
344
+ .chc-icon-bg-1 { background-color: #0FA76F; color: #FFFFFF; }
345
+ .chc-icon-bg-2 { background-color: #8B5CF6; color: #FFFFFF; }
346
+ .chc-icon-bg-3 { background-color: #F97316; color: #FFFFFF; }
347
+ .chc-icon-bg-4 { background-color: #EC4899; color: #FFFFFF; }
348
+ .chc-icon-bg-5 { background-color: #0EA5E9; color: #FFFFFF; }
349
+
350
+ /* Content */
351
+ .chc-content {
352
+ flex: 1;
353
+ display: flex;
354
+ flex-direction: column;
355
+ gap: 4px;
356
+ }
357
+
358
+ .chc-title {
359
+ font-size: 16px;
360
+ font-weight: 600;
361
+ color: #1F1F1F;
362
+ margin: 0;
363
+ line-height: 1.4;
364
+ }
365
+
366
+ .chc-description {
367
+ font-size: 14px;
368
+ color: #666666;
369
+ margin: 0;
370
+ line-height: 1.5;
371
+ }
372
+
373
+ /* Arrow container */
374
+ .chc-arrow-container {
375
+ display: flex;
376
+ align-items: center;
377
+ justify-content: center;
378
+ flex-shrink: 0;
379
+ }
380
+
381
+ /* Info section */
382
+ .chc-info {
383
+ margin-top: 16px;
384
+ }
385
+
386
+ /* Responsive adjustments */
387
+ @media (max-width: 1024px) {
388
+ .chc-card-container {
389
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
390
+ }
391
+ .chc-header {
392
+ font-size: 18px;
393
+ }
394
+ }
395
+
396
+ @media (max-width: 640px) {
397
+ .chc-card-container {
398
+ grid-template-columns: 1fr;
399
+ }
400
+ .chc-header {
401
+ font-size: 18px;
402
+ }
403
+ }
404
+
405
+ /* CitizenHomeCardWithExternalLink styles — all classes start with chcwe- to avoid collisions */
406
+
407
+ /* Root and header */
408
+ .chcwe-root {
409
+ width: 100%;
410
+ box-sizing: border-box;
411
+ }
412
+
413
+ .chcwe-header {
414
+ font-size: 20px;
415
+ font-weight: 600;
416
+ margin-bottom: 20px;
417
+ color: #1F1F1F;
418
+ }
419
+
420
+ /* Card container */
421
+ .chcwe-card-container {
422
+ display: grid;
423
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
424
+ gap: 16px;
425
+ margin-bottom: 24px;
426
+ width: 100%;
427
+ box-sizing: border-box;
428
+ }
429
+
430
+ /* Card — link element */
431
+ .chcwe-card {
432
+ padding: 24px;
433
+ border-radius: 12px;
434
+ display: flex;
435
+ gap: 16px;
436
+ align-items: flex-start;
437
+ cursor: pointer;
438
+ transition: transform 0.2s ease, box-shadow 0.2s ease;
439
+ text-decoration: none;
440
+ border: none;
441
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
442
+ color: inherit;
443
+ box-sizing: border-box;
444
+ }
445
+
446
+ .chcwe-card:hover,
447
+ .chcwe-card:focus {
448
+ transform: translateY(-6px);
449
+ box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
450
+ outline: none;
451
+ }
452
+
453
+ /* Card background variants (index % 6) */
454
+ .chcwe-card-bg-0 { background-color: #EBF3FE; }
455
+ .chcwe-card-bg-1 { background-color: #E8F8F5; }
456
+ .chcwe-card-bg-2 { background-color: #F3EBFF; }
457
+ .chcwe-card-bg-3 { background-color: #FEF3E8; }
458
+ .chcwe-card-bg-4 { background-color: #FCE8F3; }
459
+ .chcwe-card-bg-5 { background-color: #E0F2FE; }
460
+
461
+ /* Icon container */
462
+ .chcwe-icon {
463
+ width: 48px;
464
+ height: 48px;
465
+ border-radius: 12px;
466
+ display: flex;
467
+ align-items: center;
468
+ justify-content: center;
469
+ flex-shrink: 0;
470
+ color: #FFFFFF;
471
+ box-sizing: border-box;
472
+ }
473
+
474
+ /* Icon background variants */
475
+ .chcwe-icon-bg-0 { background-color: #2B6FED; }
476
+ .chcwe-icon-bg-1 { background-color: #0FA76F; }
477
+ .chcwe-icon-bg-2 { background-color: #8B5CF6; }
478
+ .chcwe-icon-bg-3 { background-color: #F97316; }
479
+ .chcwe-icon-bg-4 { background-color: #EC4899; }
480
+ .chcwe-icon-bg-5 { background-color: #0EA5E9; }
481
+
482
+ /* Content */
483
+ .chcwe-content {
484
+ flex: 1;
485
+ display: flex;
486
+ flex-direction: column;
487
+ gap: 4px;
488
+ }
489
+
490
+ .chcwe-title {
491
+ font-size: 16px;
492
+ font-weight: 600;
493
+ color: #1F1F1F;
494
+ margin: 0;
495
+ line-height: 1.4;
496
+ }
497
+
498
+ .chcwe-description {
499
+ font-size: 14px;
500
+ color: #666666;
501
+ margin: 0;
502
+ line-height: 1.5;
503
+ }
504
+
505
+ /* Arrow container */
506
+ .chcwe-arrow-container {
507
+ display: flex;
508
+ align-items: center;
509
+ justify-content: center;
510
+ flex-shrink: 0;
511
+ }
512
+
513
+ /* Info section */
514
+ .chcwe-info {
515
+ margin-top: 16px;
516
+ }
517
+
518
+ /* Responsive adjustments */
519
+ @media (max-width: 1024px) {
520
+ .chcwe-card-container {
521
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
522
+ }
523
+ .chcwe-header {
524
+ font-size: 18px;
525
+ }
526
+ }
527
+
528
+ @media (max-width: 640px) {
529
+ .chcwe-card-container {
530
+ grid-template-columns: 1fr;
531
+ }
532
+ .chcwe-header {
533
+ font-size: 18px;
534
+ }
535
+ }
@@ -0,0 +1,130 @@
1
+ .new-accordion-wrapper {
2
+ width: 100%;
3
+ }
4
+
5
+ .new-accordion-container {
6
+ background: #ffffff;
7
+ border: 1px solid #e5e7eb;
8
+ border-radius: 12px;
9
+ margin-bottom: 16px;
10
+ overflow: hidden;
11
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
12
+ }
13
+
14
+ /* HEADER */
15
+ .new-accordion-header {
16
+ padding: 20px 24px;
17
+ background-color: #f9fafb;
18
+ display: flex;
19
+ justify-content: space-between;
20
+ align-items: center;
21
+ cursor: pointer;
22
+ transition: background-color 0.2s ease;
23
+ }
24
+
25
+ .new-accordion-header:hover {
26
+ background-color: #f3f4f6;
27
+ }
28
+
29
+ .new-accordion-title {
30
+ font-size: 16px;
31
+ font-weight: 600;
32
+ margin: 0;
33
+ color: #1f2937;
34
+ }
35
+
36
+ /* CHEVRON */
37
+ .new-accordion-chevron {
38
+ transition: transform 0.3s ease;
39
+ }
40
+
41
+ .new-accordion-chevron.open {
42
+ transform: rotate(180deg);
43
+ }
44
+
45
+ /* CONTENT AREA */
46
+ .new-accordion-content {
47
+ max-height: 0;
48
+ overflow: hidden;
49
+ transition: max-height 0.4s ease;
50
+ }
51
+
52
+ .new-accordion-content.open {
53
+ max-height: 2000px;
54
+ }
55
+
56
+ /* GRID */
57
+ .new-accordion-grid {
58
+ display: grid;
59
+ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
60
+ gap: 12px;
61
+ padding: 16px;
62
+ }
63
+
64
+ .new-accordion-grid.mobile {
65
+ grid-template-columns: 1fr;
66
+ }
67
+
68
+ .new-accordion-grid.no-grid {
69
+
70
+ }
71
+
72
+ /* CARD */
73
+ .new-accordion-card {
74
+ padding: 16px;
75
+ border-radius: 10px;
76
+ display: flex;
77
+ gap: 12px;
78
+ align-items: center;
79
+ text-decoration: none;
80
+ border: none;
81
+ transition: all 0.2s ease;
82
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
83
+ }
84
+
85
+ .new-accordion-card:hover {
86
+ transform: translateY(-2px);
87
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
88
+ }
89
+
90
+ /* ICON */
91
+ .new-accordion-card-icon {
92
+ width: 40px;
93
+ height: 40px;
94
+ border-radius: 10px;
95
+ display: flex;
96
+ align-items: center;
97
+ justify-content: center;
98
+ flex-shrink: 0;
99
+ }
100
+
101
+ /* TEXT */
102
+ .new-accordion-card-content {
103
+ flex: 1;
104
+ display: flex;
105
+ flex-direction: column;
106
+ gap: 2px;
107
+ }
108
+
109
+ .new-accordion-card-title {
110
+ font-size: 14px;
111
+ font-weight: 500;
112
+ color: #1f2937;
113
+ }
114
+
115
+ .new-accordion-card-description {
116
+ font-size: 13px;
117
+ color: #6b7280;
118
+ }
119
+
120
+ /* Arrow */
121
+ .new-accordion-card-arrow {
122
+ display: flex;
123
+ align-items: center;
124
+ justify-content: center;
125
+ }
126
+
127
+ /* INFO BOX */
128
+ .new-accordion-info {
129
+ margin-top: 16px;
130
+ }
@@ -65,4 +65,32 @@
65
65
  @apply text-body-l-dt;
66
66
  }
67
67
  }
68
- }
68
+ }
69
+
70
+
71
+
72
+ .obps-timeline-header {
73
+ margin-bottom: 16px;
74
+ margin-top: 32px;
75
+ }
76
+
77
+ .obps-timeline-action-bar {
78
+ padding: 12px 0;
79
+ }
80
+
81
+ .obps-timeline-submit-feedback {
82
+ margin-top: 16px;
83
+ }
84
+
85
+ .obps-timeline-toggle {
86
+ margin-top: 12px;
87
+ font-weight: 600;
88
+ }
89
+ .obps-timeline-table .obps-timeline-cell {
90
+ padding: 20px 18px;
91
+ font-size: 16px;
92
+ }
93
+
94
+ .obps-timeline-table .obps-timeline-large-cell {
95
+ min-width: 240px;
96
+ }