@pmidc/upyog-css 1.0.10 → 1.0.11

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.0.10",
3
+ "version": "1.0.11",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "engines": {
@@ -21,7 +21,7 @@
21
21
  position:relative;
22
22
  }
23
23
  .card {
24
- max-width: 960px;
24
+ max-width: 75%;
25
25
  }
26
26
  button {
27
27
  max-width: 240px;
@@ -1,7 +1,7 @@
1
1
  .card {
2
2
  @apply bg-white m-sm px-md pt-md pb-lg shadow-card;
3
3
  border-radius: 4px;
4
- max-width: 960px;
4
+ max-width: 60%;
5
5
 
6
6
  .card-header {
7
7
  @apply text-text-primary text-heading-xl font-bold font-rc align-middle text-left mb-md;
package/src/index.scss CHANGED
@@ -116,6 +116,9 @@
116
116
  @import "./pages/employee/faq.scss";
117
117
  @import "./pages/employee/dashboard.scss";
118
118
 
119
+ @import "./pages/common/stepForm.scss";
120
+ @import "./pages/common/form.scss";
121
+
119
122
  .display-none {
120
123
  display: none;
121
124
  }
@@ -0,0 +1,26 @@
1
+ /* Base styles for the form */
2
+ .form-container {
3
+ display: grid;
4
+ gap: 16px; /* Space between fields */
5
+ }
6
+
7
+ /* 3 fields per row for medium to large screens */
8
+ @media (min-width: 900px) {
9
+ .form-container {
10
+ grid-template-columns: repeat(3, 1fr);
11
+ }
12
+ }
13
+
14
+ /* 2 fields per row for small screens */
15
+ @media (min-width: 480px) and (max-width: 899px) {
16
+ .form-container {
17
+ grid-template-columns: repeat(2, 1fr);
18
+ }
19
+ }
20
+
21
+ /* 1 field per row for very small screens */
22
+ @media (max-width: 479px) {
23
+ .form-container {
24
+ grid-template-columns: 1fr;
25
+ }
26
+ }
@@ -0,0 +1,41 @@
1
+ .step-form-wrapper {
2
+ width: 100%;
3
+ display: flex;
4
+ flex-direction: row;
5
+ align-items: flex-start;
6
+ justify-content: flex-start;
7
+ }
8
+
9
+ .stepper-navigation-bar {
10
+ display: flex;
11
+ flex-direction: column;
12
+ justify-content: space-between;
13
+ height: 50%;
14
+ margin-bottom: 20px;
15
+ }
16
+
17
+ .step-form-step-label {
18
+ font-size: 20px;
19
+ color: #1E1E1E;
20
+ font-weight: 500;
21
+ font-family: Noto Sans, sans-serif;
22
+ margin-right: 6px;
23
+ }
24
+
25
+ .step-form-step-number {
26
+ font-size: 18px;
27
+ color: #263238;
28
+ font-weight: 400;
29
+ font-family: "Noto Sans", sans-serif;
30
+ margin: 0px 6px 0px 0px;
31
+ }
32
+
33
+ .line-bw-step-circles {
34
+ position: absolute;
35
+ width: 2px;
36
+ height: 50px;
37
+ background-color: grey;
38
+ left: 50%;
39
+ top: 100%;
40
+ transform: translateX(-50%);
41
+ }
@@ -67,57 +67,56 @@
67
67
  padding-top: 88px;
68
68
  }
69
69
 
70
- .submit-bar header{
71
- height: 2rem !important;
72
- line-height: 2rem !important;
73
- background-color: #2947A3;
74
- }
70
+ .submit-bar header {
71
+ height: 2rem !important;
72
+ line-height: 2rem !important;
73
+ background-color: #2947a3;
74
+ }
75
75
 
76
76
  .loginContainer {
77
77
  padding-top: 88px;
78
78
  position: relative;
79
79
  }
80
80
 
81
- .loginnn{
82
- position: relative;
83
- max-width: 100%;
84
- width: 100%;
85
- min-width: 100%;
86
- }
87
- .loginnn .img{
88
- position: absolute;
89
- background-size: cover;
90
- width: 100%;
91
- max-width: 100%;
92
- max-height: 100%;
93
- }
94
- .logoNiua{
95
- display: flex;
96
- width: 100%;
97
- position: absolute;
98
- }
99
- .logoNiua .img{
100
- width: 15%;
101
- height: 15%;
102
- }
103
- .upyogLogo{
104
- width: 100% !important;
105
- }
106
- .login-logo-wrapper{
81
+ .loginnn {
82
+ position: relative;
83
+ max-width: 100%;
84
+ width: 100%;
85
+ min-width: 100%;
86
+ }
87
+ .loginnn .img {
88
+ position: absolute;
89
+ background-size: cover;
90
+ width: 100%;
91
+ max-width: 100%;
92
+ max-height: 100%;
93
+ }
94
+ .logoNiua {
95
+ display: flex;
96
+ width: 100%;
97
+ position: absolute;
98
+ }
99
+ .logoNiua .img {
100
+ width: 15%;
101
+ height: 15%;
102
+ }
103
+ .upyogLogo {
104
+ width: 100% !important;
105
+ }
106
+ .login-logo-wrapper {
107
107
  min-width: 100%;
108
108
  height: 100%;
109
109
  position: absolute;
110
110
  display: flex;
111
111
  flex-direction: row;
112
- }
113
- .loginConference{
112
+ }
113
+ .loginConference {
114
114
  position: relative;
115
115
  height: 100%;
116
116
  width: 100%;
117
117
  font-weight: 700;
118
-
119
- }
120
- .login-banner-wrapper{
118
+ }
119
+ .login-banner-wrapper {
121
120
  position: relative;
122
121
  color: white;
123
122
  float: right;
@@ -127,7 +126,7 @@
127
126
  margin-right: 2%;
128
127
  text-align: right;
129
128
  font-family: none;
130
- }
129
+ }
131
130
 
132
131
  .react-time-picker {
133
132
  width: 100%;
@@ -157,24 +156,24 @@
157
156
  padding-left: 8px;
158
157
  }
159
158
  }
160
- #login-conference-table{
161
- position:absolute;
162
- z-index:1;
163
- width:36vw;
164
- height:62vh;
165
- margin-top:20vh;
166
- margin-left: 2vw;
159
+ #login-conference-table {
160
+ position: absolute;
161
+ z-index: 1;
162
+ width: 36vw;
163
+ height: 62vh;
164
+ margin-top: 20vh;
165
+ margin-left: 2vw;
167
166
  }
168
- .banner-slogan{
167
+ .banner-slogan {
169
168
  padding-top: 10%;
170
169
  }
171
- .psuedo-banner span{
170
+ .psuedo-banner span {
172
171
  color: #fdd049;
173
- }
174
- .login-banner-wrapper .psuedo-banner{
172
+ }
173
+ .login-banner-wrapper .psuedo-banner {
175
174
  font-size: 2.2rem;
176
175
  }
177
- .login-banner-wrapper .banner-slogan{
176
+ .login-banner-wrapper .banner-slogan {
178
177
  font-size: 1.5rem;
179
178
  }
180
179
  .citizen {
@@ -197,12 +196,11 @@
197
196
  white-space: nowrap;
198
197
  height: calc(100vh - 36px);
199
198
  padding-bottom: 5rem;
200
- background: linear-gradient(to bottom right, #3765CA, #294A97);
201
- /* background-image: url(https://in-egov-assets.s3.ap-south-1.amazonaws.com/images/top-green-card.png), url(https://in-egov-assets.s3.ap-south-1.amazonaws.com/images/top-red-card.png);
199
+ background: linear-gradient(to bottom right, #3765ca, #294a97);
200
+ /* background-image: url(https://in-egov-assets.s3.ap-south-1.amazonaws.com/images/top-green-card.png), url(https://in-egov-assets.s3.ap-south-1.amazonaws.com/images/top-red-card.png);
202
201
  background-blend-mode: lighten;
203
202
  background-size: cover;*/
204
203
 
205
-
206
204
  .actions {
207
205
  cursor: pointer;
208
206
  display: flex;
@@ -227,13 +225,13 @@
227
225
  align-items: center;
228
226
  padding: 20px;
229
227
  font-size: 14px;
230
- border-left: 4px solid #294A97;
228
+ border-left: 4px solid #294a97;
231
229
  border-radius: 0px 10px 10px 0px;
232
230
  &.active {
233
- color: #0D43A7 !important;
231
+ color: #0d43a7 !important;
234
232
  background-color: #ffffff;
235
233
  svg {
236
- fill: #0D43A7 !important;
234
+ fill: #0d43a7 !important;
237
235
  }
238
236
  }
239
237
  .employee-search-input {
@@ -259,15 +257,15 @@
259
257
  }
260
258
 
261
259
  &:hover {
262
- color: #0D43A7 !important;
263
- background-color: #FFF;
260
+ color: #0d43a7 !important;
261
+ background-color: #fff;
264
262
  border-radius: 8px;
265
263
  padding: 1rem 0.2rem;
266
264
 
267
265
  cursor: pointer;
268
266
  svg {
269
- fill: #0D43A7 !important;
270
- }
267
+ fill: #0d43a7 !important;
268
+ }
271
269
  }
272
270
  .search-icon-wrapper {
273
271
  svg {
@@ -300,7 +298,7 @@
300
298
  fill: #ffffff;
301
299
  }
302
300
  &:hover {
303
- /* color: #fe7a51 !important;
301
+ /* color: #fe7a51 !important;
304
302
  background-color: #486480;
305
303
  cursor: pointer;
306
304
  svg {
@@ -434,12 +432,12 @@
434
432
  }
435
433
  }
436
434
 
437
- .RightMostTopBarOptions{
435
+ .RightMostTopBarOptions {
438
436
  @apply flex float-right;
439
437
  display: flex;
440
- .EventNotificationWrapper{
438
+ .EventNotificationWrapper {
441
439
  @apply relative cursor-pointer;
442
- span{
440
+ span {
443
441
  top: -10px;
444
442
  right: -10px;
445
443
  @apply absolute bg-error h-5 w-5 rounded-full text-center;
@@ -456,7 +454,6 @@
456
454
  }
457
455
  }
458
456
 
459
-
460
457
  .fullWidth {
461
458
  width: 100%;
462
459
  }
@@ -483,17 +480,16 @@
483
480
  row-gap: 2px;
484
481
  margin-left: -12px;
485
482
  }
486
-
487
483
  }
488
484
 
489
485
  .m-auto {
490
486
  margin: auto !important;
491
487
  }
492
488
 
493
- .mb-50{
489
+ .mb-50 {
494
490
  margin-bottom: 50px;
495
491
  }
496
- .mb-25{
492
+ .mb-25 {
497
493
  margin-bottom: 25px;
498
494
  }
499
495
  @media (min-width: 640px) {
@@ -532,9 +528,9 @@
532
528
  padding-top: 58px;
533
529
  }
534
530
  }
535
- #main-img{
536
- content:url("https://in-egov-assets.s3.ap-south-1.amazonaws.com/images/employee-login.png");
537
- }
531
+ #main-img {
532
+ content: url("https://in-egov-assets.s3.ap-south-1.amazonaws.com/images/employee-login.png");
533
+ }
538
534
  .citizen {
539
535
  .main {
540
536
  width: 100%;
@@ -547,85 +543,81 @@
547
543
  .center-container {
548
544
  }
549
545
  }
550
-
551
546
  }
552
547
 
553
- @media only screen and (max-width:950px){
554
- #main-img{
555
- content:url("https://i.postimg.cc/9Q7jT6Dd/Banner-Image-2.png");
556
- }
557
- #login-conference-table{
558
- position:relative;
559
- z-index:1;
560
- width:75%;
561
- height:115%;
562
- margin:12%;
563
- margin-top:25%
564
- }
565
- .loginConference{
548
+ @media only screen and (max-width: 950px) {
549
+ #main-img {
550
+ content: url("https://i.postimg.cc/9Q7jT6Dd/Banner-Image-2.png");
551
+ }
552
+ #login-conference-table {
553
+ position: relative;
554
+ z-index: 1;
555
+ width: 75%;
556
+ height: 115%;
557
+ margin: 12%;
558
+ margin-top: 25%;
559
+ }
560
+ .loginConference {
566
561
  position: absolute;
567
562
  height: 100%;
568
563
  width: 100%;
569
564
  font-weight: 700;
570
565
  display: flex;
571
566
  flex-direction: column;
572
- }
573
- .employee .login-banner-wrapper{
574
- padding-top: 0vh;
575
-
576
- }
577
- .psuedo-banner{
578
- font-size: 4vw;
579
- }
580
- .banner-slogan{
581
- font-size: 3.5vw;
582
- }
567
+ }
568
+ .employee .login-banner-wrapper {
569
+ padding-top: 0vh;
570
+ }
571
+ .psuedo-banner {
572
+ font-size: 4vw;
573
+ }
574
+ .banner-slogan {
575
+ font-size: 3.5vw;
576
+ }
583
577
  }
584
578
 
585
- @media screen and (min-width:768){
586
-
587
- #login-conference-table{
588
- position:absolute;
589
- z-index:1;
590
- width:40%;
591
- height:30%;
592
- margin:12%;
593
- margin-top:25%
594
- }
595
- }
596
- @media only screen and (max-width:500px){
597
- #main-img{
598
- content:url("https://i.postimg.cc/9Q7jT6Dd/Banner-Image-2.png");
599
- }
600
- #login-conference-table{
601
- position:relative;
602
- z-index:1;
603
- width:75%;
604
- height:80%;
605
- margin:12%;
606
- margin-top:25%
579
+ @media screen and (min-width: 768) {
580
+ #login-conference-table {
581
+ position: absolute;
582
+ z-index: 1;
583
+ width: 40%;
584
+ height: 30%;
585
+ margin: 12%;
586
+ margin-top: 25%;
587
+ }
607
588
  }
608
- .loginConference{
589
+ @media only screen and (max-width: 500px) {
590
+ #main-img {
591
+ content: url("https://i.postimg.cc/9Q7jT6Dd/Banner-Image-2.png");
592
+ }
593
+ #login-conference-table {
594
+ position: relative;
595
+ z-index: 1;
596
+ width: 75%;
597
+ height: 80%;
598
+ margin: 12%;
599
+ margin-top: 25%;
600
+ }
601
+ .loginConference {
609
602
  position: absolute;
610
603
  height: 100%;
611
604
  width: 100%;
612
605
  font-weight: 700;
613
606
  display: flex;
614
607
  flex-direction: column;
608
+ }
609
+ .employee .psuedo-banner {
610
+ font-size: 1.2rem;
611
+ }
612
+ .employee .banner-slogan {
613
+ font-size: 0.8rem;
614
+ }
615
615
  }
616
- .employee .psuedo-banner{
617
- font-size: 1.2rem;
618
- }
619
- .employee .banner-slogan{
620
- font-size: 0.8rem;
621
- }
622
- }
623
- @media only screen and (min-width:300px)
624
- {
625
- .employee .card-home{
626
- height: 220px;
627
- border-radius: 12px;
628
- }
616
+ @media only screen and (min-width: 300px) {
617
+ .employee .card-home {
618
+ height: 220px;
619
+ border-radius: 12px;
620
+ }
629
621
  }
630
622
 
631
623
  .pageCard {
@@ -635,4 +627,53 @@ border-radius: 12px;
635
627
  gap: 48px;
636
628
  border-radius: 24px;
637
629
  background: #ffffff;
638
- }
630
+ }
631
+
632
+ .ndcFormCard {
633
+ max-width: 1200px;
634
+ margin: auto;
635
+ padding: 20px;
636
+ background: #fff;
637
+ border-radius: 10px;
638
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
639
+
640
+ form {
641
+ display: grid;
642
+ grid-template-columns: repeat(3, 1fr);
643
+ gap: 20px;
644
+
645
+ .surveydetailsform-wrapper {
646
+ display: flex;
647
+ flex-direction: column;
648
+ width: 100%;
649
+
650
+ label {
651
+ font-weight: bold;
652
+ margin-bottom: 5px;
653
+ }
654
+
655
+ input {
656
+ padding: 10px;
657
+ border: 1px solid #ccc;
658
+ border-radius: 5px;
659
+ }
660
+
661
+ p {
662
+ color: red;
663
+ font-size: 14px;
664
+ }
665
+ }
666
+ }
667
+
668
+ @media (max-width: 1024px) {
669
+ form {
670
+ grid-template-columns: repeat(2, 1fr);
671
+ }
672
+ }
673
+
674
+ @media (max-width: 768px) {
675
+ form {
676
+ grid-template-columns: 1fr;
677
+ }
678
+ }
679
+ }