@pmidc/upyog-css 1.1.11 → 1.1.13

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": "@pmidc/upyog-css",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "engines": {
@@ -51,7 +51,6 @@
51
51
  font-size: 16px;
52
52
  font-weight: 600;
53
53
  line-height: 1.4;
54
- color: white;
55
54
  word-break: break-word;
56
55
  }
57
56
 
@@ -12,7 +12,10 @@
12
12
  @apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
13
13
  bottom: 45px;
14
14
  box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
15
- width: calc(100% - 16px);
15
+ width: auto;
16
+ min-width: 200px;
17
+ max-width: calc(100% - 16px);
18
+ padding: 2px;
16
19
  right: 8px;
17
20
 
18
21
  div {
@@ -38,8 +38,11 @@ body {
38
38
  @apply text-heading-l text-text-primary font-bold mb-md ml-md;
39
39
  }
40
40
 
41
+ .app-container{
42
+ padding: 10px;
43
+ }
44
+
41
45
  .link-label {
42
- display: inline-flex;
43
46
  align-items: center;
44
47
  justify-content: center;
45
48
  height: 40px;
@@ -110,6 +113,7 @@ body {
110
113
  cursor: pointer;
111
114
  width: fit-content;
112
115
  color: black;
116
+ margin-top: 3rem;
113
117
  @apply flex border-solid border-b border-text-primary font-rc text-text-primary text-text-btn ml-sm mb-md;
114
118
 
115
119
  img {
@@ -132,7 +136,7 @@ body {
132
136
 
133
137
  .app-container {
134
138
  width: 100%;
135
- padding: 2rem;
139
+ padding: 3rem;
136
140
  form {
137
141
  .card {
138
142
  max-width: 960px;
@@ -1,5 +1,4 @@
1
- .selector-button-primary {
2
- background-color: #2947A3 !important;
1
+ .selector-button {
3
2
  color: #ffffff !important;
4
3
  border: none !important;
5
4
  border-radius: 0.375rem;
@@ -10,21 +9,19 @@
10
9
  line-height: 1.25rem;
11
10
  cursor: pointer;
12
11
  transition: all 0.2s ease;
13
- white-space: normal; /* allow wrapping */
14
- word-break: break-word; /* break long words */
12
+ white-space: normal;
13
+ word-break: break-word;
15
14
  overflow-wrap: break-word;
16
- text-align: center;
15
+ text-align: center;
17
16
  display: inline-flex;
18
17
  align-items: center;
19
18
  justify-content: center;
20
- height: auto;
21
19
  min-height: 40px;
22
- width: 30%;
23
20
  max-height: 40px;
21
+ width: 30%;
24
22
  margin: 0;
25
23
 
26
24
  &:hover {
27
- background-color: #1e3a8a !important;
28
25
  opacity: 0.9;
29
26
  }
30
27
 
@@ -35,12 +32,30 @@
35
32
  font-weight: 500 !important;
36
33
  margin: 0 !important;
37
34
  padding: 0 !important;
38
- border: none !important;
39
35
  width: 100%;
40
36
  }
41
-
42
37
  }
43
38
 
39
+ .selector-button-primary {
40
+ @extend .selector-button;
41
+ background-color: #2947A3 !important;
42
+
43
+ &:hover {
44
+ background-color: #1e3a8a !important;
45
+ }
46
+ }
47
+
48
+ .selector-button-secondary {
49
+ @extend .selector-button;
50
+ background-color: #ffffff !important;
51
+ color: #2947A3 !important;
52
+
53
+ h2 {
54
+ color: #2947A3 !important;
55
+ }
56
+ }
57
+
58
+
44
59
  .selector-button-border {
45
60
  background-color: #2947A3 !important;
46
61
  color: #ffffff !important;
@@ -83,6 +98,7 @@
83
98
  }
84
99
  }
85
100
 
101
+
86
102
  .input-mirror-selector-button {
87
103
  @apply h-16 bg-border text-center border-b-2 border-input-border border-solid outline-none px-lg !important;
88
104
 
@@ -71,6 +71,7 @@
71
71
  font-size: 16px;
72
72
  color: #0f172a;
73
73
  margin-bottom: 8px;
74
+ margin-top: 8px;
74
75
  font-weight: 700;
75
76
  text-transform: uppercase;
76
77
  letter-spacing: 0.5px;
@@ -92,6 +93,10 @@
92
93
  margin-bottom: 16px;
93
94
  text-transform: uppercase;
94
95
  letter-spacing: 0.3px;
96
+
97
+ &.descStyle {
98
+ font-size: 16px !important;
99
+ }
95
100
  }
96
101
 
97
102
 
@@ -63,6 +63,8 @@
63
63
  width: 100%;
64
64
  border-collapse: collapse;
65
65
  padding-bottom: 0;
66
+ margin-top: 15px;
67
+ margin-bottom: 15px;
66
68
  }
67
69
 
68
70
  .employee-data-table .row {
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  label {
26
- @apply text-text-primary text-form-field ml-md;
26
+ @apply text-form-field ml-md;
27
27
  }
28
28
 
29
29
  .radio-btn-checkmark:after {
@@ -144,6 +144,7 @@
144
144
  max-width: 540px;
145
145
  width: 100%;
146
146
 
147
+
147
148
  .select {
148
149
  @apply relative block w-full;
149
150
  height: 3rem;
@@ -151,10 +152,12 @@
151
152
  border-radius: 8px;
152
153
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
153
154
  background-color: #ffffff;
155
+ margin-bottom: 20px;
154
156
 
155
157
  input[type="text"] {
156
158
  width: calc(100% - 32px);
157
159
  background-color: transparent;
160
+ margin-bottom: 20px;
158
161
 
159
162
  @apply absolute z-10 w-full h-full outline-none text-form-field pl-sm;
160
163
  }
@@ -1,15 +1,36 @@
1
1
 
2
+ /* Table container for responsive behavior like .card */
3
+ .table-container {
4
+ max-width: 95vw;
5
+ width: 100%;
6
+ overflow-x: auto;
7
+ -webkit-overflow-scrolling: touch;
8
+ margin-bottom: 15px;
9
+ }
10
+
2
11
  .table {
3
12
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
4
13
  width: 100%;
5
- table-layout: fixed; /* Force fixed table layout to prevent shrinking */
14
+ max-width: 95vw;
15
+ table-layout: auto;
6
16
  border-radius: 12px;
7
17
  border: 1px solid #e1e8f0;
8
- overflow: hidden;
18
+ overflow-x: auto;
19
+ -webkit-overflow-scrolling: touch;
20
+ display: block;
9
21
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
10
22
  border-collapse: separate;
11
23
  border-spacing: 0;
12
24
  transition: box-shadow 0.3s ease;
25
+ margin-bottom: 15px;
26
+ }
27
+
28
+ /* Desktop styles - remove block display */
29
+ @media (min-width: 1024px) {
30
+ .table {
31
+ display: table;
32
+ overflow: hidden;
33
+ }
13
34
  }
14
35
 
15
36
  .table:hover {
@@ -47,7 +47,7 @@
47
47
 
48
48
  .card-textarea,
49
49
  .employee-card-textarea {
50
- @apply block mb-lg outline-none border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm rounded-lg;
50
+ @apply block mb-lg outline-none border w-full border-input-border border-solid bg-white h-24 text-form-field p-sm rounded-lg;
51
51
  }
52
52
 
53
53
  .inputWrapper {
@@ -139,7 +139,7 @@
139
139
 
140
140
  .topbar .select-wrap,
141
141
  .topbar .employee-select-wrap {
142
- margin-bottom: 0px;
142
+ margin-bottom: 15px;
143
143
  }
144
144
 
145
145
  .topbar .select-wrap .profile-dropdown--item span,
package/src/index.scss CHANGED
@@ -136,7 +136,6 @@
136
136
  @import "./modules/rentAndLease/index.scss";
137
137
  @import "./components/SurveyModal.scss";
138
138
 
139
-
140
139
  @import "./modules/adv/index.scss";
141
140
  .display-none {
142
141
  display: none;
@@ -162,7 +161,9 @@
162
161
  .w-fullwidth {
163
162
  @apply w-full;
164
163
  }
165
-
164
+ .stepper{
165
+ padding: 10px;
166
+ }
166
167
  .margin-unset {
167
168
  margin: unset !important;
168
169
  }
@@ -230,6 +231,9 @@
230
231
  margin-top: 32;
231
232
  margin-left: auto;
232
233
  }
234
+ .ws-citizen-wrapper{
235
+ padding:"15px";
236
+ }
233
237
 
234
238
  .application-details-link-button {
235
239
  @apply flex justify-between items-center;
@@ -463,7 +467,7 @@
463
467
  }
464
468
 
465
469
  .text-input {
466
- @apply relative w-full;
470
+ width: 100%;
467
471
  input {
468
472
  &:hover {
469
473
  @apply border-2 border-solid border-primary-main;
@@ -476,7 +480,13 @@
476
480
  }
477
481
 
478
482
  .text-mobile-input-width {
479
- max-width: 500px;
483
+ max-width: 540px;
484
+ width: 100%;
485
+ }
486
+
487
+ .employeeCard,
488
+ .text-mobile-input-width {
489
+ max-width: 100%;
480
490
  }
481
491
 
482
492
  .custom-time-picker {
@@ -499,7 +509,6 @@
499
509
  }
500
510
 
501
511
  .card-label-smaller {
502
- @apply w-1/3;
503
512
  margin-bottom: revert;
504
513
  }
505
514
 
@@ -572,6 +581,10 @@
572
581
  }
573
582
  }
574
583
  }
584
+ .tl-citizen{
585
+ width: 100%;
586
+ padding: 10px;
587
+ }
575
588
 
576
589
  .error-boundary summary,
577
590
  .error-boundary details {
@@ -625,6 +638,92 @@
625
638
  padding-right: 16px;
626
639
  }
627
640
  }
641
+
642
+ /* Citizen Login Mobile Responsive Styles */
643
+ @media only screen and (max-width: 768px) {
644
+ .citizen-form-wrapper {
645
+ width: 100% !important;
646
+ padding: 0 !important;
647
+ margin: 0 !important;
648
+ }
649
+
650
+ .citizen-form-wrapper .AppContainer {
651
+ width: 100% !important;
652
+ padding: 12px !important;
653
+ margin: 0 !important;
654
+ }
655
+
656
+ .citizen-form-wrapper .card {
657
+ width: 100% !important;
658
+ max-width: 100% !important;
659
+ margin: 0 !important;
660
+ padding: 16px !important;
661
+ border-radius: 8px !important;
662
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
663
+ }
664
+
665
+ .citizen-form-wrapper .card-header {
666
+ font-size: 20px !important;
667
+ margin-bottom: 8px !important;
668
+ }
669
+
670
+ .citizen-form-wrapper .card-text {
671
+ font-size: 14px !important;
672
+ margin-bottom: 16px !important;
673
+ }
674
+
675
+ .citizen-form-wrapper .field-container {
676
+ flex-direction: row !important;
677
+ width: 100% !important;
678
+ }
679
+
680
+ .citizen-form-wrapper .citizen-card-input {
681
+ width: 100% !important;
682
+ font-size: 16px !important;
683
+ padding: 12px !important;
684
+ height: auto !important;
685
+ min-height: 44px !important;
686
+ }
687
+
688
+ .citizen-form-wrapper .citizen-card-input--front {
689
+ padding: 12px 8px !important;
690
+ font-size: 16px !important;
691
+ min-height: 44px !important;
692
+ display: flex !important;
693
+ align-items: center !important;
694
+ background-color: #f3f4f6 !important;
695
+ border: 1px solid #464646 !important;
696
+ border-right: none !important;
697
+ }
698
+
699
+ .citizen-form-wrapper .submit-bar {
700
+ width: 100% !important;
701
+ margin-top: 16px !important;
702
+ }
703
+
704
+ .citizen-form-wrapper .submit-bar button {
705
+ width: 100% !important;
706
+ padding: 14px !important;
707
+ font-size: 16px !important;
708
+ min-height: 48px !important;
709
+ }
710
+
711
+ .citizen-form-wrapper .back-btn {
712
+ margin-bottom: 12px !important;
713
+ }
714
+
715
+ .citizen-form-wrapper .form-field {
716
+ margin-bottom: 16px !important;
717
+ }
718
+
719
+ .citizen-form-wrapper .link-button,
720
+ .citizen-form-wrapper .link-btn {
721
+ font-size: 14px !important;
722
+ text-align: center !important;
723
+ display: block !important;
724
+ margin-top: 12px !important;
725
+ }
726
+ }
628
727
  @media (min-width: 780px) {
629
728
  .citizen-card-container {
630
729
  padding-left: 15px;
@@ -647,7 +746,7 @@
647
746
  .mcollect-citizen,
648
747
  .ws-citizen-wrapper,
649
748
  .tl-citizen {
650
- width: calc(100% - 219px);
749
+ width: 90%;
651
750
  padding-left: 16px;
652
751
  padding-right: 16px;
653
752
  margin-top: 3rem;
@@ -870,7 +969,7 @@
870
969
  display: grid !important;
871
970
  }
872
971
  .action-bar-wrap {
873
- padding: 10px 0;
972
+ padding: 10px 10px;
874
973
  text-align: center;
875
974
  }
876
975
  .submit-bar {
@@ -1031,3 +1130,252 @@
1031
1130
  font-size: 22px !important;
1032
1131
  font-weight: 500 !important;
1033
1132
  }
1133
+ .user-profile{
1134
+ margin-top: 3rem;
1135
+ width: 70%;
1136
+ }
1137
+
1138
+ .user-profile-section-wrapper {
1139
+ margin: 8px;
1140
+ position: relative;
1141
+
1142
+ &.employee {
1143
+ margin: 24px;
1144
+ }
1145
+ }
1146
+
1147
+ .user-profile-main-container {
1148
+ display: flex;
1149
+ flex: 1;
1150
+ flex-direction: column;
1151
+ margin: 8px;
1152
+ gap: 0;
1153
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
1154
+ background: white;
1155
+ border-radius: 12px;
1156
+ max-width: 1200px;
1157
+ overflow: hidden;
1158
+
1159
+ @media (min-width: 768px) {
1160
+
1161
+ margin: 16px;
1162
+ gap: 24px;
1163
+ max-width: none;
1164
+
1165
+ &.employee {
1166
+
1167
+ }
1168
+ }
1169
+ }
1170
+
1171
+ .user-profile-image-section {
1172
+ position: relative;
1173
+ display: flex;
1174
+ flex: 1;
1175
+ justify-content: center;
1176
+ align-items: center;
1177
+ max-width: 100%;
1178
+ min-height: 280px;
1179
+ border-radius: 12px 12px 0 0;
1180
+ background: linear-gradient(135deg, #4f65d8, #00157a);
1181
+ padding: 32px 16px;
1182
+
1183
+ @media (min-width: 768px) {
1184
+ flex: 0;
1185
+ border-radius: 0;
1186
+ }
1187
+
1188
+ &.employee {
1189
+ border-radius: 0;
1190
+ }
1191
+ }
1192
+
1193
+ .user-profile-image-wrapper {
1194
+ height: 160px;
1195
+ width: 160px;
1196
+ display: flex;
1197
+ justify-content: center;
1198
+ align-items: center;
1199
+ flex-direction: column;
1200
+ }
1201
+
1202
+ .user-profile-image {
1203
+ height: 100%;
1204
+ width: 100%;
1205
+ border-radius: 50%;
1206
+ border: 6px solid white;
1207
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
1208
+ object-fit: cover;
1209
+ }
1210
+
1211
+ .user-profile-camera-button {
1212
+ position: absolute;
1213
+ bottom: -20px;
1214
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
1215
+ border: 4px solid white;
1216
+ border-radius: 50%;
1217
+ width: 56px;
1218
+ height: 56px;
1219
+ display: flex;
1220
+ align-items: center;
1221
+ justify-content: center;
1222
+ cursor: pointer;
1223
+ box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
1224
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
1225
+ color: white;
1226
+
1227
+ &:hover {
1228
+ transform: translateY(-2px);
1229
+ box-shadow: 0 12px 28px rgba(102, 126, 234, 0.5);
1230
+ }
1231
+
1232
+ svg {
1233
+ width: 24px;
1234
+ height: 24px;
1235
+ }
1236
+ }
1237
+
1238
+ .user-profile-form-section {
1239
+ display: flex;
1240
+ flex-direction: column;
1241
+ flex: 1;
1242
+ width: 100%;
1243
+ background: #fafbfc;
1244
+ padding: 32px;
1245
+ gap: 24px;
1246
+ }
1247
+
1248
+ .user-profile-form-grid {
1249
+ display: grid;
1250
+ grid-template-columns: 1fr;
1251
+ gap: 24px;
1252
+
1253
+ @media (min-width: 768px) {
1254
+ grid-template-columns: 1fr 1fr;
1255
+ }
1256
+ }
1257
+
1258
+ .user-profile-field-wrapper {
1259
+ display: flex;
1260
+ flex-direction: column;
1261
+ gap: 6px;
1262
+ }
1263
+
1264
+ .user-profile-label {
1265
+ font-size: 14px;
1266
+ font-weight: 600;
1267
+ color: #1a202c;
1268
+ margin-bottom: 4px;
1269
+ }
1270
+
1271
+ .user-profile-input {
1272
+ width: 100%;
1273
+ }
1274
+
1275
+ .user-profile-error-text {
1276
+ margin: 4px 0 0 0;
1277
+ padding: 0;
1278
+ color: #d32f2f;
1279
+ font-size: 12px;
1280
+ font-weight: 500;
1281
+ }
1282
+
1283
+ .user-profile-div-margin {
1284
+ margin-top: 12px;
1285
+ padding: 16px;
1286
+ background-color: #e8f1ff;
1287
+ border-radius: 8px;
1288
+ border-left: 4px solid #667eea;
1289
+ }
1290
+
1291
+ .user-profile-change-password-link {
1292
+ color: #667eea;
1293
+ cursor: pointer;
1294
+ position: relative;
1295
+ text-decoration: underline;
1296
+ font-weight: 600;
1297
+ font-size: 14px;
1298
+ transition: color 0.2s ease;
1299
+
1300
+ &:hover {
1301
+ color: #764ba2;
1302
+ }
1303
+ }
1304
+
1305
+ .user-profile-save-section-employee {
1306
+ height: 88px;
1307
+ background-color: #ffffff;
1308
+ display: flex;
1309
+ justify-content: flex-end;
1310
+ margin-top: 0;
1311
+ align-items: center;
1312
+ box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
1313
+ padding: 16px 32px;
1314
+ width: 100%;
1315
+
1316
+ @media (max-width: 767px) {
1317
+ justify-content: center;
1318
+ }
1319
+ }
1320
+
1321
+ .user-profile-toast-style {
1322
+ max-width: 670px;
1323
+ }
1324
+
1325
+ .user-profile-button-padding {
1326
+ padding-bottom: 12px;
1327
+ padding-top: 12px;
1328
+ }
1329
+
1330
+ .user-profile-label-field-pair-flex {
1331
+ display: flex;
1332
+ flex-direction: column;
1333
+ gap: 12px;
1334
+ }
1335
+
1336
+ .user-profile-label-style-employee {
1337
+ font-size: 14px;
1338
+ font-weight: 600;
1339
+ color: #1a202c;
1340
+ }
1341
+
1342
+ .user-profile-full-width {
1343
+ width: 100%;
1344
+ }
1345
+
1346
+ /* Global Responsive Font Sizes for Mobile */
1347
+ @media only screen and (max-width: 768px) {
1348
+ /* Headers with 32px should become 18px on mobile */
1349
+ h1, h2, h3,
1350
+ .card-header,
1351
+ .heading,
1352
+ .header-title,
1353
+ .page-header,
1354
+ .section-header,
1355
+ .landing-card-header,
1356
+ .employee-upyog-title,
1357
+ header,
1358
+ .survey-card-header {
1359
+ font-size: 18px !important;
1360
+ }
1361
+
1362
+ /* Headers with ~28px should become 16px on mobile */
1363
+ h4,
1364
+ .card-sub-header,
1365
+ .sub-header {
1366
+ font-size: 16px !important;
1367
+ }
1368
+
1369
+ /* Headers with ~24px should become 15px on mobile */
1370
+ h5, h6,
1371
+ .card-section-header {
1372
+ font-size: 15px !important;
1373
+ }
1374
+
1375
+ /* Card text and body text */
1376
+ .card-text,
1377
+ .card-caption,
1378
+ p {
1379
+ font-size: 14px !important;
1380
+ }
1381
+ }
@@ -446,4 +446,10 @@
446
446
  display: -webkit-box;
447
447
  -webkit-line-clamp: 2;
448
448
  -webkit-box-orient: vertical;
449
+ }
450
+
451
+ .no-width {
452
+ max-width: none;
453
+ min-width: 0;
454
+ width: auto;
449
455
  }
@@ -126,6 +126,7 @@
126
126
  .HomePageContainer {
127
127
  width: 100%;
128
128
  padding: 0;
129
+ margin-top: 3rem;
129
130
  @media (min-width: 780px) {
130
131
  display: flex;
131
132
  width: 100% !important;
@@ -332,10 +332,10 @@
332
332
  gap: 0px;
333
333
  }
334
334
  .login-wrapper{
335
- width: 60%;
335
+ width: 100%;
336
336
  }
337
337
  .register-login-wrapper{
338
- width: 60%;
338
+ width: 100%;
339
339
  }
340
340
  }
341
341
  @media (min-width: 769px) and (max-width : 1024px) {