@pmidc/upyog-css 0.0.4 → 1.0.1

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,53 +1,63 @@
1
1
  {
2
2
  "name": "@pmidc/upyog-css",
3
- "version": "0.0.4",
4
- "description": "PMIDC CSS",
5
- "main": "gulpfile.js",
6
- "directories": {
7
- "example": "example"
3
+ "version": "1.0.1",
4
+ "license": "MIT",
5
+ "main": "dist/index.css",
6
+ "engines": {
7
+ "node": ">=10"
8
8
  },
9
- "dependencies": {
10
- "ansi-regex": "^2.1.1",
11
- "ansi-styles": "^2.2.1",
12
- "anymatch": "^3.1.3",
13
- "autoprefixer": "^10.4.20",
14
- "binary-extensions": "^2.3.0",
15
- "braces": "^3.0.3",
16
- "chokidar": "^3.6.0",
17
- "cliui": "^7.0.4",
18
- "filename-reserved-regex": "^2.0.0",
19
- "filenamify": "^4.3.0",
20
- "fill-range": "^7.1.1",
21
- "fs-extra": "^8.1.0",
22
- "get-stdin": "^8.0.0",
23
- "gh-pages": "^3.2.3",
24
- "glob-parent": "^5.1.2",
25
- "gulp-postcss": "8.0.0",
26
- "has-flag": "^1.0.0",
27
- "is-binary-path": "^2.1.0",
28
- "is-number": "^7.0.0",
29
- "lilconfig": "^2.1.0",
30
- "postcss": "^8.4.12",
31
- "postcss-cli": "^8.3.1",
32
- "postcss-header": "^2.0.0",
33
- "postcss-load-config": "^3.1.4",
34
- "postcss-prefixer": "^2.1.3",
35
- "postcss-preset-env": "^6.7.2",
36
- "postcss-reporter": "^7.1.0",
37
- "postcss-value-parser": "^4.2.0",
38
- "readdirp": "^3.6.0",
39
- "source-map": "^0.5.7",
40
- "strip-ansi": "^3.0.1",
41
- "supports-color": "^3.2.3",
42
- "to-regex-range": "^5.0.1",
43
- "universalify": "^0.1.2",
44
- "y18n": "^5.0.8",
45
- "yargs": "^16.2.0"
9
+ "cssConfig": {
10
+ "prefix": ""
46
11
  },
47
- "devDependencies": {},
48
12
  "scripts": {
49
- "test": "echo \"Error: no test specified\" && exit 1"
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"
50
60
  },
51
- "author": "ANUJ SINGH",
52
- "license": "ISC"
61
+ "author": "",
62
+ "description": ""
53
63
  }
@@ -62,7 +62,7 @@
62
62
  }
63
63
 
64
64
  .employeeCard {
65
- @apply bg-white shadow-card p-md mb-xl;
65
+ @apply bg-white p-md mb-xl;
66
66
  border-radius: 4px;
67
67
 
68
68
  .card-header {
@@ -235,8 +235,9 @@
235
235
  }
236
236
 
237
237
  .card-section-header {
238
- margin-bottom: 40px;
239
- @apply text-heading-m-dt;
238
+ margin-bottom: 20px;
239
+ color: #0D43A7;
240
+ @apply text-heading-m-dt font-medium;
240
241
  }
241
242
 
242
243
  .card-section-sub-text{
package/src/index.scss CHANGED
@@ -113,6 +113,7 @@
113
113
  @import "./pages/employee/surveys.scss";
114
114
 
115
115
  @import "./pages/employee/faq.scss";
116
+ @import "./pages/employee/dashboard.scss";
116
117
 
117
118
  .display-none {
118
119
  display: none;
@@ -663,6 +664,31 @@ input[type="number"] {
663
664
  }
664
665
  }
665
666
 
667
+ .ws-button{
668
+ border:1px solid grey;
669
+ display:block;
670
+ background-color:grey;
671
+ height:50%;
672
+ width:80%;
673
+ text-align:'center';
674
+ margin-top:6%;
675
+ color:'white';
676
+ }
677
+ .ws-search-button{
678
+ border:1px solid black;
679
+ display:block;
680
+
681
+ height:50%;
682
+ width:80%;
683
+ text-align:'center';
684
+ margin-top:6%;
685
+ color: 'white';
686
+
687
+
688
+ }
689
+ .button{
690
+ color:'white'
691
+ }
666
692
  .plumber-details-new-value-wrapper {
667
693
  flex: 2 1 auto;
668
694
  }
@@ -0,0 +1,152 @@
1
+ .employee-dashboard-container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 20px;
5
+ margin: 20px;
6
+
7
+ .employee-dashboard-welcome-card {
8
+ height: 160px;
9
+ border-radius: 12px;
10
+ padding: 20px;
11
+ margin-top: 20px;
12
+ position: relative;
13
+
14
+ .employee-dashboard-welcome-card-entire-content {
15
+ width: 374px;
16
+ height: 108px;
17
+ display: flex;
18
+ flex-direction: column;
19
+ gap: 16px;
20
+ top: 32px;
21
+ left: 32px;
22
+ }
23
+
24
+ .employee-dashboard-welcome-card-heading {
25
+ font-family: "Noto Sans";
26
+ font-weight: 500;
27
+ font-size: 28px;
28
+ line-height: 32px;
29
+ letter-spacing: 0%;
30
+ color: #FFFFFF;
31
+ }
32
+
33
+ .employee-dashboard-welcome-card-content {
34
+ color: #FFFFFF;
35
+ font-family: "Noto Sans";
36
+ font-weight: 400;
37
+ font-size: 14px;
38
+ line-height: 20px;
39
+ letter-spacing: 0.25px;
40
+ }
41
+ }
42
+
43
+ .employee-dashboard-card-grid {
44
+ display: grid;
45
+ grid-template-columns: repeat(1, 1fr);
46
+ gap: 20px;
47
+
48
+ @media (min-width: 600px) {
49
+ grid-template-columns: repeat(2, 1fr);
50
+ }
51
+
52
+ @media (min-width: 1024px) {
53
+ grid-template-columns: repeat(4, 1fr);
54
+ }
55
+ }
56
+
57
+ .employee-dashboard-card {
58
+ padding: 20px;
59
+ border-radius: 12px;
60
+ position: relative;
61
+
62
+ .employee-dashboard-card-heading-container {
63
+ display: flex;
64
+ align-items: center;
65
+ margin-bottom: 10px;
66
+ gap: 5px;
67
+ }
68
+
69
+ .employee-dashboard-card-heading {
70
+ font-size: 22px;
71
+ color: #FFFFFF;
72
+ font-family: "Noto Sans";
73
+ font-weight: 400;
74
+ line-height: 28px;
75
+ letter-spacing: 0%;
76
+ }
77
+
78
+ .employee-dashboard-card-content {
79
+ color: #FFFFFF;
80
+ font-family: "Noto Sans";
81
+ font-weight: 400;
82
+ font-size: 14px;
83
+ line-height: 20px;
84
+ letter-spacing: 0.25px;
85
+ }
86
+ }
87
+
88
+ .employee-dashboard-table-and-services {
89
+ display: flex;
90
+ flex-direction: column;
91
+ gap: 20px;
92
+
93
+ @media (min-width: 1024px) {
94
+ flex-direction: row;
95
+ }
96
+
97
+ .employee-dashboard-table-container {
98
+ flex: 1;
99
+
100
+ .employee-dashboard-table-header {
101
+ display: flex;
102
+ justify-content: space-between;
103
+
104
+ .employee-dashboard-table-title {
105
+ color: "white";
106
+ font-family: "Manrope";
107
+ font-weight: 700;
108
+ font-size: 20px;
109
+ line-height: 27.32px;
110
+ letter-spacing: 0%;
111
+ }
112
+
113
+ .employee-dashboard-view-all-link {
114
+ color: blue;
115
+ }
116
+ }
117
+
118
+ .employee-dashboard-table-content {
119
+ overflow: auto;
120
+ width: 100%;
121
+ }
122
+ }
123
+
124
+ .employee-dashboard-quick-services-container {
125
+ flex: 1;
126
+
127
+ .employee-dashboard-quick-services-header {
128
+ display: flex;
129
+ justify-content: space-between;
130
+
131
+ .employee-dashboard-quick-services-title {
132
+ color: "#000";
133
+ font-family: "Manrope";
134
+ font-weight: 700;
135
+ font-size: 20px;
136
+ line-height: 27.32px;
137
+ letter-spacing: 0%;
138
+ }
139
+
140
+ .employee-dashboard-view-all-link {
141
+ color: blue;
142
+ }
143
+ }
144
+
145
+ .employee-dashboard-module-card-wrapper {
146
+ display: flex;
147
+ flex-wrap: wrap;
148
+ gap: 20px;
149
+ }
150
+ }
151
+ }
152
+ }
@@ -683,7 +683,7 @@ background-size: cover
683
683
  }
684
684
  }
685
685
  }
686
-
686
+ @media only screen and (max-width: 640px) {
687
687
  .dashboardCardTypeOne {
688
688
  border-top:5px solid #2947A3;
689
689
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.15);
@@ -694,14 +694,49 @@ background-size: cover
694
694
  border-radius: 8px 0px 0px 0px;
695
695
  border-top: 5px solid hsl(225, 60%, 40%);
696
696
  opacity: 1;
697
- }
698
-
697
+ width: 87%;
698
+
699
699
 
700
+ }
701
+
702
+
700
703
  .dashboardCardTypeOneHeader {
701
704
  color: #14346D;
702
705
  font-family: Roboto;
703
706
  font-size: 20px;
704
707
  font-weight: 500;
705
708
  line-height: 24px;
706
- text-align: left;
707
- }
709
+ text-align: center;
710
+ word-wrap: break-word;
711
+ margin-left: 10%;
712
+ }
713
+ }
714
+ @media only screen and (min-width: 641px) {
715
+ .dashboardCardTypeOne {
716
+ border-top:5px solid #2947A3;
717
+ box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.15);
718
+ background: #FFFFFF;
719
+ height: 188px;
720
+ padding: 16px 20px;
721
+ gap: 24px;
722
+ border-radius: 8px 0px 0px 0px;
723
+ border-top: 5px solid hsl(225, 60%, 40%);
724
+ opacity: 1;
725
+ width: 100%;
726
+
727
+
728
+ }
729
+
730
+
731
+ .dashboardCardTypeOneHeader {
732
+ color: #14346D;
733
+ font-family: Roboto;
734
+ font-size: 20px;
735
+ font-weight: 500;
736
+ line-height: 24px;
737
+ text-align: left;
738
+
739
+
740
+ }
741
+ }
742
+
@@ -68,13 +68,9 @@
68
68
  }
69
69
 
70
70
  .submit-bar header{
71
- height: 55px !important;
71
+ height: 2rem !important;
72
72
  line-height: 2rem !important;
73
73
  background-color: #2947A3;
74
- border-radius: 8px;
75
- border: transparent;
76
- align-content: center;
77
-
78
74
  }
79
75
 
80
76
  .loginContainer {
@@ -628,5 +624,15 @@
628
624
  {
629
625
  .employee .card-home{
630
626
  height: 220px;
627
+ border-radius: 12px;
628
+ }
631
629
  }
630
+
631
+ .pageCard {
632
+ width: 100%;
633
+ height: 100%;
634
+ padding: 48px;
635
+ gap: 48px;
636
+ border-radius: 24px;
637
+ background: #ffffff;
632
638
  }
@@ -8,6 +8,7 @@
8
8
  display: flex;
9
9
  flex-direction: column;
10
10
  width: 50%;
11
+
11
12
  }
12
13
  .middle-left-half-upper{
13
14
  height: 50%;
@@ -3,7 +3,6 @@
3
3
 
4
4
  .employeeCard {
5
5
  margin-top: 0px;
6
-
7
6
  .submit-bar {
8
7
  @apply w-full;
9
8
 
@@ -26,6 +25,9 @@
26
25
  }
27
26
  }
28
27
  }
28
+ .employeeCard{
29
+ width:100% !important;
30
+ }
29
31
  .banner .bannerCard{
30
32
  min-width: 420px !important;
31
33
  background-color: transparent;
@@ -492,7 +494,6 @@
492
494
  text-align:"center";
493
495
  color:white;
494
496
  margin-top: 170px;
495
- border:1px solid black
496
497
  }
497
498
  .footerText{
498
499
  display: 'flex';
@@ -270,3 +270,35 @@ border-left-width: calc(2px * calc(1 - var(--tw-divide-x-reverse)));
270
270
  padding: 0;
271
271
  background: none;
272
272
  }
273
+
274
+
275
+
276
+ .survey-grid-container {
277
+ display: grid;
278
+ gap: 16px;
279
+ }
280
+ .survey-grid-container-input {
281
+ padding: 8px;
282
+ border: 1px solid #ccc;
283
+ border-radius: 4px;
284
+ }
285
+ @media (min-width: 320px) {
286
+ .survey-grid-container {
287
+ grid-template-columns: repeat(1, 1fr);
288
+ }
289
+ }
290
+ @media (min-width: 480px) {
291
+ .survey-grid-container {
292
+ grid-template-columns: repeat(2, 1fr);
293
+ }
294
+ }
295
+ @media (min-width: 768px) {
296
+ .survey-grid-container {
297
+ grid-template-columns: repeat(3, 1fr);
298
+ }
299
+ }
300
+ @media (min-width: 1024px) {
301
+ .survey-grid-container {
302
+ grid-template-columns: repeat(4, 1fr);
303
+ }
304
+ }
@@ -1,16 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <title>@egovernments/digit-ui.css</title>
6
- <!-- map script -->
7
- <script src="./map.js"></script>
8
- <!-- all files at https://unpkg.com/browse/@egovernments/digit-ui.css/ -->
9
- <!-- css prod path https://unpkg.com/@egovernments/digit-ui.css/dist/index.min.css -->
10
- <link href="index.css" rel="stylesheet" />
11
- </head>
12
-
13
- <body>
14
- <h1>employee example</h1>
15
- </body>
16
- </html>
Binary file