@djb25/digit-ui-css 1.0.30 → 1.0.31
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 +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/card.scss +5 -2
- package/src/components/staticSideBar.scss +3 -3
- package/src/index.scss +1 -0
- package/src/pages/citizen/HomePageWrapper.scss +0 -1
- package/src/pages/employee/login.scss +40 -38
- package/src/pages/employee/userProfile.scss +235 -0
package/package.json
CHANGED
package/src/components/card.scss
CHANGED
|
@@ -232,6 +232,10 @@
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
+
.label-field-pair {
|
|
236
|
+
align-items: center;
|
|
237
|
+
}
|
|
238
|
+
|
|
235
239
|
.employeeCard {
|
|
236
240
|
/* TODO need to revisit that we need mx-md NABEEL/ANIL
|
|
237
241
|
@apply mb-md mx-md !important;
|
|
@@ -1541,7 +1545,6 @@
|
|
|
1541
1545
|
}
|
|
1542
1546
|
|
|
1543
1547
|
@media (min-width: 768px) {
|
|
1544
|
-
|
|
1545
1548
|
.mobile-sidebar-toggle,
|
|
1546
1549
|
.mobile-close-btn,
|
|
1547
1550
|
.sidebar-backdrop {
|
|
@@ -1566,4 +1569,4 @@
|
|
|
1566
1569
|
padding: 20px;
|
|
1567
1570
|
transition: none;
|
|
1568
1571
|
}
|
|
1569
|
-
}
|
|
1572
|
+
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
padding: 10px 8px 14px;
|
|
47
47
|
transition: width 0.3s ease, box-shadow 0.3s ease;
|
|
48
48
|
overflow: hidden;
|
|
49
|
-
|
|
49
|
+
|
|
50
50
|
padding-top: 56px;
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -156,7 +156,7 @@ height:inherit;
|
|
|
156
156
|
float: none;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.citizen-static-sidebar .drawer-desktop .menu-item .icon
|
|
159
|
+
.citizen-static-sidebar .drawer-desktop .menu-item .icon + .menu-label {
|
|
160
160
|
margin-left: 0;
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -230,4 +230,4 @@ height:inherit;
|
|
|
230
230
|
.citizen-sidebar-toggle {
|
|
231
231
|
display: none;
|
|
232
232
|
}
|
|
233
|
-
}
|
|
233
|
+
}
|
package/src/index.scss
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.loginFormStyleEmployee {
|
|
2
2
|
.employeeCard {
|
|
3
|
-
|
|
3
|
+
background-color: transparent !important;
|
|
4
4
|
.submit-bar {
|
|
5
5
|
@apply w-full;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
.banner .bannerCard{
|
|
9
|
+
.banner .bannerCard {
|
|
10
10
|
min-width: 420px !important;
|
|
11
11
|
}
|
|
12
12
|
.employeeForgotPassword .employeeCard .field .field-container .component-in-front {
|
|
@@ -19,10 +19,12 @@
|
|
|
19
19
|
.employeeForgotPassword .employeeCard .field .field-container .component-in-front {
|
|
20
20
|
padding: 7px;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
.loginFormStyleEmployee .employeeCard,
|
|
23
|
+
.banner .bannerCard {
|
|
23
24
|
min-width: 420px !important;
|
|
24
25
|
}
|
|
25
|
-
.employeeForgotPassword .employeeCard,
|
|
26
|
+
.employeeForgotPassword .employeeCard,
|
|
27
|
+
.employeeChangePassword .employeeCard {
|
|
26
28
|
max-width: 420px !important;
|
|
27
29
|
min-width: 420px !important;
|
|
28
30
|
}
|
|
@@ -63,7 +65,8 @@
|
|
|
63
65
|
.employeeCard .card-sub-header {
|
|
64
66
|
font-size: 24px;
|
|
65
67
|
}
|
|
66
|
-
.loginFormStyleEmployee .employeeCard .card-label,
|
|
68
|
+
.loginFormStyleEmployee .employeeCard .card-label,
|
|
69
|
+
.employeeForgotPassword .employeeCard .card-label {
|
|
67
70
|
font-weight: normal;
|
|
68
71
|
font-size: 16px;
|
|
69
72
|
line-height: 19px;
|
|
@@ -73,15 +76,12 @@
|
|
|
73
76
|
.banner .bannerHeader {
|
|
74
77
|
margin-bottom: 20px;
|
|
75
78
|
}
|
|
76
|
-
.employeeCard .card-label{
|
|
79
|
+
.employeeCard .card-label {
|
|
77
80
|
font-weight: normal;
|
|
78
81
|
font-size: 16px;
|
|
79
82
|
line-height: 19px;
|
|
80
83
|
color: theme(colors.text.primary);
|
|
81
84
|
}
|
|
82
|
-
.profile-label-margin{
|
|
83
|
-
margin-top: 10px;
|
|
84
|
-
}
|
|
85
85
|
|
|
86
86
|
.employeeForgotPassword .employeeCard .card-label-desc {
|
|
87
87
|
font-weight: normal;
|
|
@@ -114,78 +114,82 @@
|
|
|
114
114
|
padding-top: 0px !important;
|
|
115
115
|
}
|
|
116
116
|
.banner {
|
|
117
|
-
height: calc(100vh
|
|
117
|
+
height: calc(100vh) !important;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
.employeeChangePassword .employeeCard .field .field-container{
|
|
120
|
+
.employeeChangePassword .employeeCard .field .field-container {
|
|
121
121
|
margin-bottom: 24px;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
.employeeForgotPassword .employeeCard
|
|
124
|
+
.employeeForgotPassword .employeeCard .employee-card-sub-header,
|
|
125
|
+
.employeeChangePassword .employeeCard .employee-card-sub-header,
|
|
126
|
+
.loginFormStyleEmployee .employeeCard .employee-card-sub-header {
|
|
125
127
|
font-size: 24px !important;
|
|
126
128
|
line-height: 28px !important;
|
|
127
129
|
margin-bottom: 0px !important;
|
|
128
130
|
}
|
|
129
|
-
@media screen and (max-width
|
|
130
|
-
.employeeForgotPassword .employeeCard
|
|
131
|
+
@media screen and (max-width: 768px) {
|
|
132
|
+
.employeeForgotPassword .employeeCard .employee-card-sub-header,
|
|
133
|
+
.employeeChangePassword .employeeCard .employee-card-sub-header,
|
|
134
|
+
.loginFormStyleEmployee .employeeCard .employee-card-sub-header {
|
|
131
135
|
font-size: 18px !important;
|
|
132
136
|
line-height: 21px !important;
|
|
133
137
|
margin-bottom: 0px !important;
|
|
134
138
|
}
|
|
135
|
-
.loginFormStyleEmployee .employeeCard,
|
|
139
|
+
.loginFormStyleEmployee .employeeCard,
|
|
140
|
+
.banner .bannerCard {
|
|
136
141
|
min-width: 340px !important;
|
|
137
142
|
margin: 10px !important;
|
|
138
143
|
}
|
|
139
|
-
.employeeForgotPassword .employeeCard,
|
|
144
|
+
.employeeForgotPassword .employeeCard,
|
|
145
|
+
.employeeChangePassword .employeeCard {
|
|
140
146
|
max-width: 360px !important;
|
|
141
147
|
min-width: 340px !important;
|
|
142
148
|
margin: 10px !important;
|
|
143
149
|
}
|
|
144
150
|
}
|
|
145
|
-
.employeeChangePassword .employeeCard .card-text{
|
|
151
|
+
.employeeChangePassword .employeeCard .card-text {
|
|
146
152
|
margin-top: 18px !important;
|
|
147
153
|
margin-bottom: 20px !important;
|
|
148
154
|
}
|
|
149
|
-
.employeeBackbuttonAlign{
|
|
155
|
+
.employeeBackbuttonAlign {
|
|
150
156
|
display: none;
|
|
151
157
|
}
|
|
152
|
-
.resend-otp{
|
|
158
|
+
.resend-otp {
|
|
153
159
|
cursor: pointer;
|
|
154
160
|
}
|
|
155
161
|
|
|
156
162
|
.employee-select-wrap.login-city-dd {
|
|
157
|
-
.options-card{
|
|
158
|
-
|
|
163
|
+
.options-card {
|
|
164
|
+
max-height: 200px;
|
|
159
165
|
}
|
|
160
166
|
}
|
|
161
|
-
@media screen and (max-width: 768px){
|
|
162
|
-
.employeeBackbuttonAlign{
|
|
167
|
+
@media screen and (max-width: 768px) {
|
|
168
|
+
.employeeBackbuttonAlign {
|
|
163
169
|
display: block;
|
|
164
170
|
position: absolute;
|
|
165
171
|
top: 20px;
|
|
166
172
|
left: 20px;
|
|
167
173
|
}
|
|
168
|
-
.banner{
|
|
174
|
+
.banner {
|
|
169
175
|
align-items: flex-end;
|
|
170
176
|
padding-bottom: 40px;
|
|
171
177
|
height: 100vh !important;
|
|
172
178
|
}
|
|
173
|
-
|
|
174
|
-
.employee .loginContainer{
|
|
179
|
+
|
|
180
|
+
.employee .loginContainer {
|
|
175
181
|
padding-top: 0px !important;
|
|
176
182
|
}
|
|
177
|
-
.removeBottomMargin{
|
|
183
|
+
.removeBottomMargin {
|
|
178
184
|
margin-bottom: 0px !important;
|
|
179
185
|
}
|
|
180
186
|
.employee-select-wrap.login-city-dd {
|
|
181
|
-
.options-card{
|
|
182
|
-
|
|
187
|
+
.options-card {
|
|
188
|
+
max-height: 160px;
|
|
183
189
|
}
|
|
184
190
|
}
|
|
185
191
|
}
|
|
186
192
|
|
|
187
|
-
|
|
188
|
-
|
|
189
193
|
@media (max-width: 768px) {
|
|
190
194
|
.modernFinanceUIWelcomeContainer,
|
|
191
195
|
.modernFinanceUIWelcomeContent,
|
|
@@ -207,22 +211,21 @@
|
|
|
207
211
|
}
|
|
208
212
|
|
|
209
213
|
.loginFormStyleEmployee {
|
|
210
|
-
|
|
211
214
|
.loginCardSubHeaderClassName {
|
|
212
215
|
text-align: center !important;
|
|
213
216
|
}
|
|
214
217
|
.loginCardClassName {
|
|
215
|
-
|
|
216
|
-
margin: auto !important;
|
|
218
|
+
background-color: transparent !important;
|
|
219
|
+
margin: auto !important;
|
|
217
220
|
min-width: 408px !important;
|
|
218
|
-
header.employee-card-sub-header{
|
|
221
|
+
header.employee-card-sub-header {
|
|
219
222
|
text-align: center;
|
|
220
223
|
margin-top: 10px;
|
|
221
224
|
}
|
|
222
225
|
}
|
|
223
226
|
.buttonClassName {
|
|
224
227
|
max-width: 100% !important;
|
|
225
|
-
width: 100% !important
|
|
228
|
+
width: 100% !important;
|
|
226
229
|
}
|
|
227
230
|
.field .field-container .text-input input {
|
|
228
231
|
margin-bottom: 5px !important;
|
|
@@ -245,7 +248,7 @@
|
|
|
245
248
|
margin-right: 10px;
|
|
246
249
|
border-right: 1px solid #0b0c0c;
|
|
247
250
|
}
|
|
248
|
-
|
|
251
|
+
|
|
249
252
|
.primary-label-btn {
|
|
250
253
|
margin: 20px auto 0 auto !important;
|
|
251
254
|
}
|
|
@@ -255,7 +258,6 @@
|
|
|
255
258
|
}
|
|
256
259
|
}
|
|
257
260
|
@media screen and (max-width: 768px) {
|
|
258
|
-
|
|
259
261
|
/* remove ALL fixed/min widths */
|
|
260
262
|
.loginCardClassName,
|
|
261
263
|
.employeeCard,
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
.profile-card {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
border-radius: 12px;
|
|
7
|
+
background: #fff;
|
|
8
|
+
width: fit-content;
|
|
9
|
+
|
|
10
|
+
&.employee {
|
|
11
|
+
@media (min-width: 768px) {
|
|
12
|
+
width: 33.33%;
|
|
13
|
+
height: fit-content;
|
|
14
|
+
min-width: 250px;
|
|
15
|
+
}
|
|
16
|
+
@media (max-width: 768px) {
|
|
17
|
+
width: 100%;
|
|
18
|
+
}
|
|
19
|
+
box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
|
|
20
|
+
padding: 8px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.citizen {
|
|
24
|
+
flex: 1;
|
|
25
|
+
box-shadow: none;
|
|
26
|
+
border: 8px solid #fff;
|
|
27
|
+
padding: 8px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.profile-image-wrapper {
|
|
32
|
+
&.employee {
|
|
33
|
+
padding: 16px;
|
|
34
|
+
height: 100%;
|
|
35
|
+
width: 100%;
|
|
36
|
+
max-width: 450px;
|
|
37
|
+
aspect-ratio: 1/1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.citizen {
|
|
41
|
+
height: 114px;
|
|
42
|
+
width: 114px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.profile-image {
|
|
47
|
+
margin: auto;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
width: 100%;
|
|
50
|
+
aspect-ratio: 1/1;
|
|
51
|
+
object-fit: cover;
|
|
52
|
+
display: block;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
z-index: 11;
|
|
55
|
+
position: inherit;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.profile-camera-btn {
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 0;
|
|
61
|
+
right: 0;
|
|
62
|
+
padding: 8px;
|
|
63
|
+
background: #82ade5;
|
|
64
|
+
border-radius: 50%;
|
|
65
|
+
z-index: 12;
|
|
66
|
+
&:hover {
|
|
67
|
+
background: #395dec;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.profile-action-bar {
|
|
72
|
+
height: 88px;
|
|
73
|
+
background-color: #ffffff;
|
|
74
|
+
display: flex;
|
|
75
|
+
justify-content: flex-end;
|
|
76
|
+
margin-top: 64px;
|
|
77
|
+
align-items: center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.profile-save-btn {
|
|
81
|
+
margin-top: 24px;
|
|
82
|
+
background-color: #a82227;
|
|
83
|
+
height: 40px;
|
|
84
|
+
float: right;
|
|
85
|
+
color: white;
|
|
86
|
+
border-bottom: 1px solid black;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
z-index: 999;
|
|
89
|
+
|
|
90
|
+
&.desktop {
|
|
91
|
+
width: 248px;
|
|
92
|
+
margin-right: 31px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.mobile {
|
|
96
|
+
width: 100%;
|
|
97
|
+
margin: 0 16px;
|
|
98
|
+
margin-right: 16px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.login {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
gap: 16px;
|
|
106
|
+
width: 100%;
|
|
107
|
+
padding-top: 16px;
|
|
108
|
+
padding-inline: 20px;
|
|
109
|
+
margin-bottom: 88px;
|
|
110
|
+
|
|
111
|
+
.generic-button {
|
|
112
|
+
color: #fff;
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
position: relative;
|
|
115
|
+
border-radius: 10px;
|
|
116
|
+
background-color: #171f1d;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@media (min-width: 768px) {
|
|
121
|
+
.login {
|
|
122
|
+
padding-inline: 58px;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.user-profile-container {
|
|
127
|
+
margin: 24px;
|
|
128
|
+
position: relative;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.user-profile-wrapper {
|
|
132
|
+
display: flex;
|
|
133
|
+
flex: 1;
|
|
134
|
+
align-self: center;
|
|
135
|
+
|
|
136
|
+
@media (min-width: 768px) {
|
|
137
|
+
flex-direction: row;
|
|
138
|
+
}
|
|
139
|
+
@media (max-width: 768px) {
|
|
140
|
+
align-items: center;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.save-btn {
|
|
144
|
+
background-color: #7696e7 !important;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&.employee {
|
|
148
|
+
gap: 16px;
|
|
149
|
+
max-width: unset;
|
|
150
|
+
box-shadow: none;
|
|
151
|
+
background: none;
|
|
152
|
+
border-radius: 0;
|
|
153
|
+
width: 100%;
|
|
154
|
+
|
|
155
|
+
@media (max-width: 767px) {
|
|
156
|
+
margin: 24px;
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
min-width: unset;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&.citizen {
|
|
163
|
+
@media (max-width: 767px) {
|
|
164
|
+
margin: 24px;
|
|
165
|
+
flex-direction: column;
|
|
166
|
+
min-width: unset;
|
|
167
|
+
}
|
|
168
|
+
margin: 8px;
|
|
169
|
+
gap: unset;
|
|
170
|
+
max-width: 960px;
|
|
171
|
+
|
|
172
|
+
&.default-tab {
|
|
173
|
+
box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
|
|
174
|
+
background: white;
|
|
175
|
+
border-radius: 4px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&.address-tab {
|
|
179
|
+
box-shadow: none;
|
|
180
|
+
background: none;
|
|
181
|
+
border-radius: 0;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.profile-content {
|
|
187
|
+
display: flex;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
width: 100%;
|
|
190
|
+
height: fit-content;
|
|
191
|
+
padding-bottom: 20px;
|
|
192
|
+
gap: 8px;
|
|
193
|
+
|
|
194
|
+
&.employee {
|
|
195
|
+
flex: 7.5;
|
|
196
|
+
padding: 24px;
|
|
197
|
+
box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.2);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&.citizen {
|
|
201
|
+
flex: 1;
|
|
202
|
+
padding: 8px;
|
|
203
|
+
box-shadow: none;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&.default-tab {
|
|
207
|
+
border-radius: 12px;
|
|
208
|
+
background: white;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&.address-tab {
|
|
212
|
+
border-radius: unset;
|
|
213
|
+
background: none;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.profile-image-background {
|
|
218
|
+
position: absolute;
|
|
219
|
+
top: 0;
|
|
220
|
+
left: 0;
|
|
221
|
+
width: 100%;
|
|
222
|
+
height: 50%;
|
|
223
|
+
background: #82ade5;
|
|
224
|
+
z-index: 10;
|
|
225
|
+
border-radius: 10px 10px 0 0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.profile-circle-wrapper {
|
|
229
|
+
position: relative;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.save-button-wrapper {
|
|
233
|
+
display: flex;
|
|
234
|
+
justify-content: flex-end;
|
|
235
|
+
}
|