@pmidc/upyog-css 1.2.10 → 1.2.12

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,63 +1,63 @@
1
- {
2
- "name": "@pmidc/upyog-css",
3
- "version": "1.2.10",
4
- "license": "MIT",
5
- "main": "dist/index.css",
6
- "engines": {
7
- "node": ">=10"
8
- },
9
- "cssConfig": {
10
- "prefix": ""
11
- },
12
- "scripts": {
13
- "start": "gulp build",
14
- "build:prod": "gulp build",
15
- "prepublish": "yarn build:prod",
16
- "deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
17
- },
18
- "browserslist": [
19
- "> 3%",
20
- "last 2 versions"
21
- ],
22
- "style": "./dist/index.css",
23
- "dependencies": {
24
- "node-sass": "4.14.1",
25
- "normalize.css": "8.0.1",
26
- "postcss-scss": "3.0.5",
27
- "tailwindcss": "^1.9.6",
28
- "yarn": "^1.22.22"
29
- },
30
- "devDependencies": {
31
- "autoprefixer": "^10.4.4",
32
- "cssnano": "4.1.11",
33
- "gh-pages": "3.2.3",
34
- "gulp": "4.0.2",
35
- "gulp-clean": "^0.4.0",
36
- "gulp-clean-css": "^4.3.0",
37
- "gulp-livereload": "^4.0.2",
38
- "gulp-postcss": "9.0.1",
39
- "gulp-rename": "^2.0.0",
40
- "gulp-sass": "^4.1.1",
41
- "postcss": "8.4.12",
42
- "postcss-cli": "8.3.1",
43
- "postcss-header": "2.0.0",
44
- "postcss-import": "^12.0.1",
45
- "postcss-prefixer": "2.1.3",
46
- "postcss-preset-env": "^6.7.1",
47
- "postcss-scss": "3.0.5",
48
- "sass": "1.49.11"
49
- },
50
- "files": [
51
- "dist/index.min.css",
52
- "dist/index.css",
53
- "svg/**/*.svg",
54
- "img/**/*.png",
55
- "src/**/*.scss",
56
- "src/**/*.css"
57
- ],
58
- "directories": {
59
- "example": "example"
60
- },
61
- "author": "",
62
- "description": ""
63
- }
1
+ {
2
+ "name": "@pmidc/upyog-css",
3
+ "version": "1.2.12",
4
+ "license": "MIT",
5
+ "main": "dist/index.css",
6
+ "engines": {
7
+ "node": ">=10"
8
+ },
9
+ "cssConfig": {
10
+ "prefix": ""
11
+ },
12
+ "scripts": {
13
+ "start": "gulp build",
14
+ "build:prod": "gulp build",
15
+ "prepublish": "yarn build:prod",
16
+ "deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
17
+ },
18
+ "browserslist": [
19
+ "> 3%",
20
+ "last 2 versions"
21
+ ],
22
+ "style": "./dist/index.css",
23
+ "dependencies": {
24
+ "node-sass": "4.14.1",
25
+ "normalize.css": "8.0.1",
26
+ "postcss-scss": "3.0.5",
27
+ "tailwindcss": "^1.9.6",
28
+ "yarn": "^1.22.22"
29
+ },
30
+ "devDependencies": {
31
+ "autoprefixer": "^10.4.4",
32
+ "cssnano": "4.1.11",
33
+ "gh-pages": "3.2.3",
34
+ "gulp": "4.0.2",
35
+ "gulp-clean": "^0.4.0",
36
+ "gulp-clean-css": "^4.3.0",
37
+ "gulp-livereload": "^4.0.2",
38
+ "gulp-postcss": "9.0.1",
39
+ "gulp-rename": "^2.0.0",
40
+ "gulp-sass": "^4.1.1",
41
+ "postcss": "8.4.12",
42
+ "postcss-cli": "8.3.1",
43
+ "postcss-header": "2.0.0",
44
+ "postcss-import": "^12.0.1",
45
+ "postcss-prefixer": "2.1.3",
46
+ "postcss-preset-env": "^6.7.1",
47
+ "postcss-scss": "3.0.5",
48
+ "sass": "1.49.11"
49
+ },
50
+ "files": [
51
+ "dist/index.min.css",
52
+ "dist/index.css",
53
+ "svg/**/*.svg",
54
+ "img/**/*.png",
55
+ "src/**/*.scss",
56
+ "src/**/*.css"
57
+ ],
58
+ "directories": {
59
+ "example": "example"
60
+ },
61
+ "author": "",
62
+ "description": ""
63
+ }
@@ -1,7 +1,10 @@
1
- .card, .card {
1
+ .card,
2
+ .card {
2
3
  box-shadow: none;
3
4
  }
4
- .card, .card, .card {
5
+ .card,
6
+ .card,
7
+ .card {
5
8
  box-shadow: none;
6
9
  }
7
10
 
@@ -16,7 +19,6 @@
16
19
  overflow: visible;
17
20
  margin-bottom: 15px;
18
21
 
19
-
20
22
  .card-header {
21
23
  font-size: 20px;
22
24
  font-weight: 800;
@@ -103,8 +105,6 @@
103
105
  font-size: 16px !important;
104
106
  }
105
107
  }
106
-
107
-
108
108
  }
109
109
 
110
110
  .validation-error {
@@ -132,7 +132,7 @@
132
132
  box-shadow: 0 12px 32px rgba(30, 58, 138, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
133
133
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
134
134
  position: relative;
135
- overflow: visible !important;
135
+ overflow: visible !important;
136
136
 
137
137
  .card-header {
138
138
  font-size: 22px;
@@ -224,8 +224,6 @@
224
224
  letter-spacing: 0.3px;
225
225
  }
226
226
 
227
-
228
-
229
227
  .card-search-heading {
230
228
  margin-right: 0px !important;
231
229
  margin-left: 0px !important;
@@ -261,10 +259,10 @@
261
259
  border: 1px solid #e1e8f0;
262
260
  }
263
261
 
264
- .card-link{
265
- height: 40px;
262
+ .card-link {
263
+ height: 40px;
266
264
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
267
- color: white;
265
+ color: white !important;
268
266
  text-align: center;
269
267
  outline: none;
270
268
  width: 175px;
@@ -279,10 +277,20 @@
279
277
  &:hover {
280
278
  transform: translateY(-2px);
281
279
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
280
+ color: white !important;
282
281
  }
283
282
 
284
283
  &:focus {
285
284
  outline: none;
285
+ color: white !important;
286
+ }
287
+
288
+ &:active {
289
+ color: white !important;
290
+ }
291
+
292
+ &:visited {
293
+ color: white !important;
286
294
  }
287
295
 
288
296
  header {
@@ -293,7 +301,8 @@
293
301
  }
294
302
  }
295
303
 
296
- .submit-bar, .bpa-owner-submit-back {
304
+ .submit-bar,
305
+ .bpa-owner-submit-back {
297
306
  height: 40px;
298
307
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
299
308
  color: white;
@@ -398,7 +407,6 @@ button.card-link.submit-bar {
398
407
  }
399
408
  }
400
409
 
401
-
402
410
  @media (min-width: 1024px) {
403
411
  .submit-bar,
404
412
  .submit-bar-disabled {
@@ -427,8 +435,6 @@ button.card-link.submit-bar {
427
435
  .card-text-primary {
428
436
  font-size: 16px;
429
437
  }
430
-
431
-
432
438
  }
433
439
 
434
440
  .employeeCard {
@@ -485,14 +491,11 @@ button.card-link.submit-bar {
485
491
  font-size: 16px;
486
492
  }
487
493
 
488
-
489
494
  .label-field-pair {
490
495
  display: flex;
491
496
  align-items: center;
492
497
 
493
-
494
-
495
- /* .field {
498
+ /* .field {
496
499
  width: 100%;
497
500
  max-width: 500px;
498
501
  margin-right: 0;
@@ -629,28 +632,41 @@ button.card-link.submit-bar {
629
632
  .employee .employeeCard .label-field-pair {
630
633
  display: flex;
631
634
  align-items: flex-start;
632
- flex-wrap: wrap;
633
- }
634
-
635
- .employee .employeeCard .card-label {
636
- width: 30%;
637
635
  }
636
+
637
+
638
638
  .employee .employeeCard .field {
639
- width: 50%;
639
+ width: 40%;
640
640
  }
641
641
  .employee .employeeCard .form-field {
642
- width: 50%;
642
+ width: 100%;
643
643
  }
644
-
644
+
645
645
  /* Error label - positioned below the input field (aligned with field, not label) */
646
646
  /* Target error labels both inside and after label-field-pair */
647
647
  .employee .employeeCard .label-field-pair .card-label-error,
648
- .employee .employeeCard .label-field-pair + .card-label-error {
648
+ .employee .employeeCard .label-field-pair + .card-label-error,
649
+ .citizen .employeeCard .label-field-pair .card-label-error,
650
+ .citizen .employeeCard .label-field-pair + .card-label-error {
649
651
  width: 50% !important;
650
652
  margin-left: 50% !important;
651
653
  margin-top: -10px !important;
652
654
  margin-bottom: 8px !important;
653
655
  }
656
+
657
+ /* BPA Workflow Action Modal - card-label and fields auto width */
658
+ .popup-module .card-label,
659
+ .popup-module .field,
660
+ .popup-module .form-field {
661
+ width: auto;
662
+ }
663
+ }
664
+
665
+ .BPAemployeeCard.bpa-workflow-modal-form .card-label {
666
+ width: 100% !important;
667
+ }
668
+ .BPAemployeeCard.bpa-workflow-modal-form .form-field {
669
+ width: 100% !important;
654
670
  }
655
671
 
656
672
  /* Mobile - full width for labels and fields */
@@ -660,12 +676,12 @@ button.card-link.submit-bar {
660
676
  .employee .employeeCard .form-field {
661
677
  width: 100%;
662
678
  }
663
-
679
+
664
680
  .employee .employeeCard .label-field-pair {
665
681
  flex-direction: column;
666
682
  align-items: flex-start;
667
683
  }
668
-
684
+
669
685
  /* Error label - full width on mobile, positioned below field */
670
686
  .employee .employeeCard .label-field-pair .card-label-error,
671
687
  .employee .employeeCard .label-field-pair + .card-label-error {
@@ -684,4 +700,23 @@ button.card-link.submit-bar {
684
700
  width: 100% !important;
685
701
  }
686
702
 
703
+ /* OBPS Search Application - Mobile Number Full Width */
704
+ .obps-search-mobile-wrapper {
705
+ width: 100% !important;
706
+ display: flex !important;
707
+ }
708
+
709
+ .obps-search-mobile-wrapper .employee-select-wrap {
710
+ width: 100% !important;
711
+ flex: 1 !important;
712
+ }
687
713
 
714
+ .obps-search-mobile-wrapper .form-field {
715
+ width: 100% !important;
716
+ }
717
+ .BPAemployeeCard .employeeCard .form-field {
718
+ width: 100% !important;
719
+ }
720
+ .BPAemployeeCard .employeeCard .card-label {
721
+ width: 100% !important;
722
+ }
@@ -1,9 +1,5 @@
1
- .InboxComposerWrapper {
2
- .form-field-flex-one {
3
- .form-field , .field{
4
- @apply flex-1;
5
- }
6
- }
1
+ .complaint-input-container{
2
+ display: flex;
7
3
  }
8
4
 
9
5
  .inboxPopupMobileWrapper {
@@ -95,7 +91,7 @@
95
91
  flex-wrap: unset;
96
92
  justify-content: unset;
97
93
  margin-bottom: 0;
98
- .complaint-input-container {
94
+ .complaint-input-container {
99
95
  display: grid !important;
100
96
  grid-template-columns: 33.33% 33.33% 33.33%;
101
97
  }
@@ -14,13 +14,20 @@
14
14
  padding:0 40px;
15
15
  box-sizing:border-box;
16
16
  }
17
+ /* do not touch until this is approved from vinit and palam sir */
17
18
 
19
+ /*
18
20
  .new-df-grid{
19
21
  display:grid;
20
22
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
21
23
  gap:48px;
22
24
  padding-bottom:40px;
23
25
  }
26
+ */
27
+
28
+ .new-df-grid{
29
+ display: none;
30
+ }
24
31
 
25
32
  .new-df-column{
26
33
  display:flex;
@@ -95,11 +95,32 @@
95
95
  }
96
96
  }
97
97
 
98
+ #jk-dropdown-unique{
99
+ right: 0px;
100
+ left: -56px;
101
+ width: 100% !important;
102
+ min-width: 150px;
103
+ box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
104
+ max-height: 250px !important;
105
+ overflow: auto;
106
+ z-index: 1000 !important;
107
+ @apply absolute z-20 mt-xs bg-white;
108
+
109
+ p {
110
+ padding-top: 14px;
111
+ @apply w-full h-12 pl-sm text-text-primary text-form-field;
112
+
113
+ &:hover {
114
+ @apply bg-grey-mid;
115
+ }
116
+ }
117
+ }
118
+
98
119
  .options-card {
99
120
  right: 0px;
100
121
  left: 0px;
101
122
  width: 100% !important;
102
- min-width: 200px;
123
+ min-width: 150px;
103
124
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
104
125
  max-height: 250px !important;
105
126
  overflow: auto;
@@ -146,7 +167,6 @@
146
167
  max-width: 540px;
147
168
  width: 100%;
148
169
 
149
-
150
170
  .select {
151
171
  @apply relative block w-full;
152
172
  height: 3rem;
package/src/index.scss CHANGED
@@ -928,7 +928,7 @@
928
928
 
929
929
  .ndc_card_labels {
930
930
  width: 100%;
931
- max-width: 200px;
931
+
932
932
  }
933
933
 
934
934
  .downLoadButton {
@@ -12,10 +12,16 @@
12
12
  }
13
13
  }
14
14
 
15
- employee-form-first {
15
+ .employee-form-first {
16
16
  display: flex;
17
17
  flex-wrap: wrap;
18
18
  gap: 24px;
19
19
  width: 100%;
20
20
  flex-direction: column;
21
21
  }
22
+ .complaint-input-container .form-field {
23
+ width: 100% !important;
24
+ }
25
+ .complaint-input-container .complaint-input .form-field {
26
+ width: 100% !important;
27
+ }
@@ -307,6 +307,7 @@
307
307
  /* display: inline-block !important; */
308
308
  display: grid !important;
309
309
  grid-template-columns: 33.33% 33.33% 33.33%;
310
+ width:100% !important;
310
311
 
311
312
  &.for-pt {
312
313
  &.for-search {
@@ -505,7 +505,7 @@
505
505
  width: 48%;
506
506
  }
507
507
  }
508
- .top-section-parent {
508
+ /* .top-section-parent {
509
509
  position: relative;
510
510
  width: 100%;
511
511
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #0ea5e9 100%);
@@ -515,6 +515,10 @@
515
515
  @media (max-width: 768px) {
516
516
  padding: 30px 15px 50px;
517
517
  }
518
+ } */
519
+
520
+ .top-section-parent {
521
+ display: none;
518
522
  }
519
523
 
520
524
  .top-section-wrapper {
@@ -1141,9 +1145,13 @@
1141
1145
  About Section
1142
1146
  ======================================== */
1143
1147
 
1144
- .landing-about-section {
1148
+ /* .landing-about-section {
1145
1149
  padding: 80px 20px;
1146
1150
  background: #ffffff;
1151
+ } */
1152
+
1153
+ .landing-about-section{
1154
+ display: none;
1147
1155
  }
1148
1156
 
1149
1157
  .landing-about-container {
@@ -1286,15 +1294,21 @@
1286
1294
  color: #ffffff;
1287
1295
  }
1288
1296
 
1289
- .landing-footer-partners {
1297
+ /* Please do not remove until binit sir and palam sir approves */
1298
+
1299
+ /* .landing-footer-partners {
1290
1300
  background: #f8fafc;
1291
1301
  padding: 40px 20px;
1292
- }
1302
+ } */
1293
1303
 
1294
- .landing-footer-partners-container {
1304
+ /* .landing-footer-partners-container {
1295
1305
  max-width: 1200px;
1296
1306
  margin: 0 auto;
1297
1307
  text-align: center;
1308
+ } */
1309
+
1310
+ .landing-footer-partners-container{
1311
+ display: none;
1298
1312
  }
1299
1313
 
1300
1314
  .landing-footer-partners-title {
@@ -1341,8 +1355,14 @@
1341
1355
  }
1342
1356
  }
1343
1357
 
1344
- .landing-footer-main {
1358
+ /* Please do not remove until binit sir and palam sir approves */
1359
+
1360
+ /*.landing-footer-main {
1345
1361
  padding: 60px 20px;
1362
+ } */
1363
+
1364
+ .landing-footer-main {
1365
+ display: none;
1346
1366
  }
1347
1367
 
1348
1368
  .landing-footer-container {
@@ -12,6 +12,9 @@
12
12
  .form-field:nth-child(4n) {
13
13
  margin-right: 0 !important;
14
14
  }
15
+ .field:nth-child(4n) {
16
+ margin-right: 0 !important;
17
+ }
15
18
 
16
19
  /* Search/Reset button - same size as fields */
17
20
  .submit {
@@ -55,6 +58,14 @@
55
58
  .form-field:nth-child(2n) {
56
59
  margin-right: 0 !important; /* 2nd field in each row */
57
60
  }
61
+
62
+ .field:nth-child(4n) {
63
+ margin-right: 10px !important; /* Reset desktop rule */
64
+ }
65
+
66
+ .field:nth-child(2n) {
67
+ margin-right: 0 !important; /* 2nd field in each row */
68
+ }
58
69
 
59
70
  .submit {
60
71
  width: calc(50% - 10px) !important;
@@ -76,6 +87,9 @@
76
87
  .form-field:nth-child(2n) {
77
88
  margin-right: 0 !important; /* Reset tablet rule */
78
89
  }
90
+ .field:nth-child(2n) {
91
+ margin-right: 0 !important; /* Reset tablet rule */
92
+ }
79
93
 
80
94
  .submit {
81
95
  width: 100% !important;