@pmidc/upyog-css 1.0.35 → 1.0.36
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/dist/index.css +200 -26
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/CitizenHomeCard.scss +181 -3
- package/src/components/body.scss +3 -2
- package/src/components/navbar.scss +11 -7
- package/src/pages/citizen/HomePageWrapper.scss +5 -5
- package/src/pages/employee/index.scss +3 -3
package/package.json
CHANGED
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
|
|
27
27
|
.citizenAllServiceGrid{
|
|
28
28
|
display: flex-root !important;
|
|
29
|
-
|
|
29
|
+
/* @apply grid grid-cols-2 gap-4; */
|
|
30
30
|
}
|
|
31
31
|
.links{
|
|
32
|
-
|
|
32
|
+
/* display: grid;
|
|
33
33
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
34
34
|
grid-gap: 1px;
|
|
35
|
-
gap: 1px;
|
|
35
|
+
gap: 1px; */
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.CitizenHomeCard{
|
|
@@ -56,4 +56,182 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* From Uiverse.io by Pradeepsaranbishnoi */
|
|
62
|
+
.wallet {
|
|
63
|
+
--bg-color: #323c57;
|
|
64
|
+
--bg-color-light: #94a8df;
|
|
65
|
+
--text-color-hover: #fff;
|
|
66
|
+
--box-shadow-color: rgba(206, 178, 252, 0.48);
|
|
67
|
+
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-wrap: wrap;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
gap: 1rem;
|
|
72
|
+
padding: 1rem;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.cardService {
|
|
76
|
+
width: 100%;
|
|
77
|
+
max-width: 300px; /* or 250px depending on design */
|
|
78
|
+
height: 400px; /* let it grow with content if needed */
|
|
79
|
+
aspect-ratio: 3 / 4; /* Optional: maintain shape */
|
|
80
|
+
margin: 1rem;
|
|
81
|
+
background: #fff;
|
|
82
|
+
border-top-right-radius: 10px;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
display: flex;
|
|
85
|
+
flex-direction: column;
|
|
86
|
+
justify-content: center;
|
|
87
|
+
align-items: center;
|
|
88
|
+
position: relative;
|
|
89
|
+
box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
|
|
90
|
+
transition: all 0.3s ease-out;
|
|
91
|
+
text-decoration: none;
|
|
92
|
+
}
|
|
93
|
+
.cardService:hover {
|
|
94
|
+
transform: translateY(-5px) scale(1.005) translateZ(0);
|
|
95
|
+
box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11),
|
|
96
|
+
0 24px 46px var(--box-shadow-color);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.cardService:hover .overlayService {
|
|
100
|
+
opacity: 1;
|
|
101
|
+
transform: scale(4) translateZ(0);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.cardService:hover .circleService {
|
|
105
|
+
border-color: var(--bg-color-light);
|
|
106
|
+
background: var(--bg-color);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.cardService:hover .circleService:after {
|
|
110
|
+
background: var(--bg-color-light);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.cardService:hover p {
|
|
114
|
+
color: var(--text-color-hover);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.cardService p {
|
|
118
|
+
font-size: 17px;
|
|
119
|
+
color: #4c5656;
|
|
120
|
+
margin-top: 30px;
|
|
121
|
+
z-index: 1000;
|
|
122
|
+
transition: color 0.3s ease-out;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.circleService {
|
|
126
|
+
width: 131px;
|
|
127
|
+
height: 131px;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
background: #fff;
|
|
130
|
+
border: 2px solid var(--bg-color);
|
|
131
|
+
display: flex;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
align-items: center;
|
|
134
|
+
position: relative;
|
|
135
|
+
z-index: 1;
|
|
136
|
+
transition: all 0.3s ease-out;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.circleService:after {
|
|
140
|
+
content: "";
|
|
141
|
+
width: 118px;
|
|
142
|
+
height: 118px;
|
|
143
|
+
display: block;
|
|
144
|
+
position: absolute;
|
|
145
|
+
background: var(--bg-color);
|
|
146
|
+
border-radius: 50%;
|
|
147
|
+
top: 7px;
|
|
148
|
+
left: 7px;
|
|
149
|
+
transition: opacity 0.3s ease-out;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.circleService svg {
|
|
153
|
+
z-index: 10000;
|
|
154
|
+
transform: translateZ(0);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.overlayService {
|
|
158
|
+
width: 120px;
|
|
159
|
+
position: absolute;
|
|
160
|
+
height: 118px;
|
|
161
|
+
border-radius: 50%;
|
|
162
|
+
background: var(--bg-color);
|
|
163
|
+
top: 70px;
|
|
164
|
+
left: 50px;
|
|
165
|
+
z-index: 0;
|
|
166
|
+
opacity: 0;
|
|
167
|
+
transition: transform 0.3s ease-out;
|
|
168
|
+
|
|
169
|
+
}
|
|
170
|
+
@media (max-width: 1024px) {
|
|
171
|
+
.cardService {
|
|
172
|
+
width: 45%;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
@media (max-width: 768px) {
|
|
176
|
+
.cardService {
|
|
177
|
+
width: 90%;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.overlayService {
|
|
181
|
+
top: 60px;
|
|
182
|
+
left: 40px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.circleService {
|
|
186
|
+
width: 100px;
|
|
187
|
+
height: 100px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.circleService:after {
|
|
191
|
+
width: 88px;
|
|
192
|
+
height: 88px;
|
|
193
|
+
top: 6px;
|
|
194
|
+
left: 6px;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.card-header{
|
|
199
|
+
text-align: center;
|
|
200
|
+
text-transform: uppercase;
|
|
201
|
+
padding-bottom: 5px;
|
|
202
|
+
|
|
203
|
+
}
|
|
204
|
+
.card-header h1 {
|
|
205
|
+
position: relative;
|
|
206
|
+
padding: 0;
|
|
207
|
+
margin: 0;
|
|
208
|
+
font-family: "Raleway", sans-serif;
|
|
209
|
+
font-weight: 300;
|
|
210
|
+
font-size: 40px;
|
|
211
|
+
color: #080808;
|
|
212
|
+
-webkit-transition: all 0.4s ease 0s;
|
|
213
|
+
-o-transition: all 0.4s ease 0s;
|
|
214
|
+
transition: all 0.4s ease 0s;
|
|
215
|
+
}
|
|
216
|
+
.card-header h1:before {
|
|
217
|
+
width: 28px;
|
|
218
|
+
height: 5px;
|
|
219
|
+
display: block;
|
|
220
|
+
content: "";
|
|
221
|
+
position: absolute;
|
|
222
|
+
bottom: 3px;
|
|
223
|
+
left: 50%;
|
|
224
|
+
margin-left: -14px;
|
|
225
|
+
background-color: #b80000;
|
|
226
|
+
}
|
|
227
|
+
.card-header h1:after {
|
|
228
|
+
width: 100px;
|
|
229
|
+
height: 1px;
|
|
230
|
+
display: block;
|
|
231
|
+
content: "";
|
|
232
|
+
position: relative;
|
|
233
|
+
margin-top: 25px;
|
|
234
|
+
left: 50%;
|
|
235
|
+
margin-left: -50px;
|
|
236
|
+
background-color: #b80000;
|
|
59
237
|
}
|
package/src/components/body.scss
CHANGED
|
@@ -10,8 +10,9 @@ body {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.navbar {
|
|
13
|
-
@apply text-white bg-secondary
|
|
14
|
-
background: #
|
|
13
|
+
@apply text-white bg-secondary w-full mb-md;
|
|
14
|
+
background: #FFF !important;
|
|
15
|
+
box-shadow: 0 1px 4px #b1b4b6;
|
|
15
16
|
img {
|
|
16
17
|
height: 24px;
|
|
17
18
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
.navbar {
|
|
2
|
-
@apply
|
|
2
|
+
@apply bg-secondary w-full;
|
|
3
3
|
position: fixed;
|
|
4
4
|
z-index: 9999;
|
|
5
|
-
|
|
5
|
+
color: #000;
|
|
6
|
+
box-shadow: 0 1px 4px #b1b4b6;
|
|
6
7
|
img {
|
|
7
8
|
display: inline-block;
|
|
8
9
|
min-width: 78px;
|
|
@@ -36,7 +37,10 @@
|
|
|
36
37
|
flex-direction: column;
|
|
37
38
|
align-items: center;
|
|
38
39
|
padding-top: 30px;
|
|
39
|
-
background-color: #ffffff;
|
|
40
|
+
/* background-color: #ffffff; */
|
|
41
|
+
background: linear-gradient(to bottom right, #3765ca, #294a97);
|
|
42
|
+
border-radius: 8px;
|
|
43
|
+
margin: 0.2rem;
|
|
40
44
|
|
|
41
45
|
img {
|
|
42
46
|
width: 89px;
|
|
@@ -46,19 +50,19 @@
|
|
|
46
50
|
|
|
47
51
|
.label-container {
|
|
48
52
|
.label-text {
|
|
49
|
-
color: #
|
|
53
|
+
color: #EEE;
|
|
50
54
|
}
|
|
51
55
|
&.name-Profile {
|
|
52
56
|
.label-text {
|
|
53
57
|
letter-spacing: 0.6px;
|
|
54
58
|
font-weight: 700;
|
|
55
59
|
font-size: 18px;
|
|
56
|
-
color: #
|
|
60
|
+
color: #FFF;
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
.profile-divider {
|
|
61
|
-
|
|
65
|
+
/* border-top: 1px solid #d6d5d4; */
|
|
62
66
|
margin-left: 20px;
|
|
63
67
|
margin-right: 20px;
|
|
64
68
|
width: 90%;
|
|
@@ -307,4 +311,4 @@
|
|
|
307
311
|
img {
|
|
308
312
|
@apply mr-sm;
|
|
309
313
|
}
|
|
310
|
-
}
|
|
314
|
+
}
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
|
|
61
61
|
@media (min-width: 780px) {
|
|
62
62
|
.SideBarStatic {
|
|
63
|
-
width:
|
|
63
|
+
width: 250px;
|
|
64
64
|
background: #ffffff;
|
|
65
|
-
margin-top: -
|
|
65
|
+
margin-top: -3px;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
@media (max-width: 780px) {
|
|
69
69
|
.SideBarStatic {
|
|
70
|
-
width:
|
|
70
|
+
width: 250px;
|
|
71
71
|
background: #ffffff;
|
|
72
|
-
margin-top: -
|
|
72
|
+
margin-top: -3px;
|
|
73
73
|
display: none;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -162,4 +162,4 @@
|
|
|
162
162
|
max-width: unset;
|
|
163
163
|
width:100%
|
|
164
164
|
}
|
|
165
|
-
}
|
|
165
|
+
}
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
.RightMostTopBarOptions {
|
|
436
|
-
@apply flex
|
|
436
|
+
@apply flex ;
|
|
437
437
|
display: flex;
|
|
438
438
|
.EventNotificationWrapper {
|
|
439
439
|
@apply relative cursor-pointer;
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
.select-wrap {
|
|
450
450
|
margin-bottom: unset;
|
|
451
451
|
svg {
|
|
452
|
-
fill: #
|
|
452
|
+
fill: #a82227;
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
}
|
|
@@ -676,4 +676,4 @@
|
|
|
676
676
|
grid-template-columns: 1fr;
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
|
-
}
|
|
679
|
+
}
|