@djb25/digit-ui-css 1.0.28 → 1.0.29
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 +134 -1
- package/src/index.scss +1 -0
- package/src/pages/citizen/Register.scss +306 -0
package/package.json
CHANGED
package/src/components/card.scss
CHANGED
|
@@ -914,6 +914,7 @@
|
|
|
914
914
|
width: 100%;
|
|
915
915
|
padding-bottom: 40px;
|
|
916
916
|
}
|
|
917
|
+
|
|
917
918
|
.mobile-sidebar-toggle {
|
|
918
919
|
display: flex;
|
|
919
920
|
align-items: center;
|
|
@@ -928,10 +929,12 @@
|
|
|
928
929
|
color: #1a365d;
|
|
929
930
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
|
|
930
931
|
}
|
|
932
|
+
|
|
931
933
|
.hamburger-icon {
|
|
932
934
|
width: 22px;
|
|
933
935
|
height: 22px;
|
|
934
936
|
}
|
|
937
|
+
|
|
935
938
|
.expanded-overlay {
|
|
936
939
|
position: fixed;
|
|
937
940
|
top: 0;
|
|
@@ -973,9 +976,11 @@
|
|
|
973
976
|
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
|
|
974
977
|
overflow-y: auto;
|
|
975
978
|
}
|
|
979
|
+
|
|
976
980
|
.expanded-sidebar.open {
|
|
977
981
|
left: 0;
|
|
978
982
|
}
|
|
983
|
+
|
|
979
984
|
.sidebar-backdrop {
|
|
980
985
|
position: fixed;
|
|
981
986
|
top: 0;
|
|
@@ -986,6 +991,7 @@
|
|
|
986
991
|
z-index: 999;
|
|
987
992
|
backdrop-filter: blur(2px);
|
|
988
993
|
}
|
|
994
|
+
|
|
989
995
|
.sidebar-title {
|
|
990
996
|
font-size: 1.2rem;
|
|
991
997
|
font-weight: 600;
|
|
@@ -1221,6 +1227,7 @@
|
|
|
1221
1227
|
align-items: center;
|
|
1222
1228
|
margin-bottom: 24px;
|
|
1223
1229
|
}
|
|
1230
|
+
|
|
1224
1231
|
.mobile-close-btn {
|
|
1225
1232
|
background: none;
|
|
1226
1233
|
border: none;
|
|
@@ -1229,6 +1236,7 @@
|
|
|
1229
1236
|
cursor: pointer;
|
|
1230
1237
|
padding: 4px;
|
|
1231
1238
|
}
|
|
1239
|
+
|
|
1232
1240
|
.expanded-content-area {
|
|
1233
1241
|
flex: 1;
|
|
1234
1242
|
}
|
|
@@ -1382,7 +1390,132 @@
|
|
|
1382
1390
|
justify-content: center;
|
|
1383
1391
|
padding: 12px 0;
|
|
1384
1392
|
}
|
|
1393
|
+
|
|
1394
|
+
.module-sidebar-toggle {
|
|
1395
|
+
display: none;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
.module-sidebar-backdrop {
|
|
1399
|
+
display: none;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
@media (max-width: 768px) {
|
|
1403
|
+
.collapsible-sidebar-container + .app-wrapper {
|
|
1404
|
+
padding-top: 60px;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
.collapsible-sidebar-container {
|
|
1408
|
+
width: 0;
|
|
1409
|
+
border-right: none;
|
|
1410
|
+
background: transparent;
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
.module-sidebar-toggle {
|
|
1414
|
+
display: flex;
|
|
1415
|
+
position: fixed;
|
|
1416
|
+
top: 97px;
|
|
1417
|
+
left: 52px;
|
|
1418
|
+
z-index: 1002;
|
|
1419
|
+
margin: 0;
|
|
1420
|
+
padding: 10px;
|
|
1421
|
+
gap: 10px;
|
|
1422
|
+
max-width: calc(100vw - 32px);
|
|
1423
|
+
border-radius: 999px;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
.module-sidebar-toggle-icon {
|
|
1427
|
+
width: 20px;
|
|
1428
|
+
height: 20px;
|
|
1429
|
+
transition: transform 0.2s ease;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
.module-sidebar-toggle.open .module-sidebar-toggle-icon {
|
|
1433
|
+
transform: rotate(180deg);
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
.module-sidebar-toggle-label {
|
|
1437
|
+
display: none;
|
|
1438
|
+
max-width: 60vw;
|
|
1439
|
+
overflow: hidden;
|
|
1440
|
+
text-overflow: ellipsis;
|
|
1441
|
+
white-space: nowrap;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
.module-sidebar-toggle.open .module-sidebar-toggle-label {
|
|
1445
|
+
display: inline;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
.module-sidebar-backdrop {
|
|
1449
|
+
display: block;
|
|
1450
|
+
position: fixed;
|
|
1451
|
+
inset: 0;
|
|
1452
|
+
background: rgba(15, 23, 42, 0.35);
|
|
1453
|
+
opacity: 0;
|
|
1454
|
+
pointer-events: none;
|
|
1455
|
+
transition: opacity 0.2s ease;
|
|
1456
|
+
z-index: 1000;
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
.module-sidebar-backdrop.open {
|
|
1460
|
+
opacity: 1;
|
|
1461
|
+
pointer-events: auto;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
.premium-sidebar {
|
|
1465
|
+
position: fixed;
|
|
1466
|
+
top: 0;
|
|
1467
|
+
left: -100%;
|
|
1468
|
+
height: 100vh;
|
|
1469
|
+
width: 85vw;
|
|
1470
|
+
max-width: 320px;
|
|
1471
|
+
z-index: 1001;
|
|
1472
|
+
transition: left 0.3s ease;
|
|
1473
|
+
overflow-y: auto;
|
|
1474
|
+
border-right: none;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
.premium-sidebar.mobile-open {
|
|
1478
|
+
left: 0;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
.premium-sidebar .sidebar-header {
|
|
1482
|
+
padding: 16px 20px;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
.premium-sidebar.collapsed .brand-name,
|
|
1486
|
+
.premium-sidebar.collapsed .nav-text {
|
|
1487
|
+
opacity: 1;
|
|
1488
|
+
width: auto;
|
|
1489
|
+
margin-left: 16px;
|
|
1490
|
+
pointer-events: auto;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
.premium-sidebar.collapsed .sidebar-header {
|
|
1494
|
+
padding: 16px 20px;
|
|
1495
|
+
flex-direction: row;
|
|
1496
|
+
gap: 12px;
|
|
1497
|
+
justify-content: space-between;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
.premium-sidebar.collapsed .brand-container {
|
|
1501
|
+
justify-content: flex-start;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
.premium-sidebar.collapsed .nav-item-content {
|
|
1505
|
+
justify-content: flex-start;
|
|
1506
|
+
padding: 12px;
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
.collapse-toggle {
|
|
1510
|
+
display: none;
|
|
1511
|
+
}
|
|
1512
|
+
.sidebar-nav {
|
|
1513
|
+
margin-top: 37px;
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1385
1517
|
@media (min-width: 768px) {
|
|
1518
|
+
|
|
1386
1519
|
.mobile-sidebar-toggle,
|
|
1387
1520
|
.mobile-close-btn,
|
|
1388
1521
|
.sidebar-backdrop {
|
|
@@ -1407,4 +1540,4 @@
|
|
|
1407
1540
|
padding: 20px;
|
|
1408
1541
|
transition: none;
|
|
1409
1542
|
}
|
|
1410
|
-
}
|
|
1543
|
+
}
|
package/src/index.scss
CHANGED
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
@import "./pages/citizen/payment/payment-type.scss";
|
|
102
102
|
@import "./pages/citizen/container.scss";
|
|
103
103
|
@import "./pages/citizen/HomePageWrapper.scss";
|
|
104
|
+
@import "./pages/citizen/Register.scss";
|
|
104
105
|
@import "./pages/citizen/CitizenEngagementNotificationWrapper.scss";
|
|
105
106
|
@import "./pages/citizen/Events.scss";
|
|
106
107
|
@import "./pages/citizen/DocumentList.scss";
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
.Citizen_register {
|
|
2
|
+
&.registration-page-container {
|
|
3
|
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
|
4
|
+
min-height: calc(100vh - 83px);
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
padding: 40px 20px;
|
|
9
|
+
font-family: "Roboto", sans-serif;
|
|
10
|
+
width: 100%;
|
|
11
|
+
|
|
12
|
+
/* Global overrides for this page */
|
|
13
|
+
.digit-button,
|
|
14
|
+
.submit-bar {
|
|
15
|
+
background-color: #1a67a3 !important;
|
|
16
|
+
border-color: #1a67a3 !important;
|
|
17
|
+
background-image: none !important;
|
|
18
|
+
box-shadow: 0 4px 12px rgba(26, 103, 163, 0.3) !important;
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
background-color: #0b4c92 !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.disabled,
|
|
25
|
+
&:disabled {
|
|
26
|
+
background-color: #94a3b8 !important;
|
|
27
|
+
border-color: #94a3b8 !important;
|
|
28
|
+
opacity: 0.7 !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.checkbox-wrap input:checked + .checkbox {
|
|
33
|
+
background-color: #1a67a3 !important;
|
|
34
|
+
border-color: #1a67a3 !important;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.registration-card {
|
|
39
|
+
display: flex;
|
|
40
|
+
width: 100%;
|
|
41
|
+
max-width: 1000px;
|
|
42
|
+
background-color: #fff;
|
|
43
|
+
border-radius: 20px;
|
|
44
|
+
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
min-height: 600px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.registration-sidebar {
|
|
50
|
+
flex: 0 0 320px;
|
|
51
|
+
background: linear-gradient(90deg, #134db1 0%, #3582f3 100%);
|
|
52
|
+
padding: 40px;
|
|
53
|
+
color: #fff;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
position: relative;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
|
|
59
|
+
/* Subtle dot pattern background */
|
|
60
|
+
&::before {
|
|
61
|
+
content: "";
|
|
62
|
+
position: absolute;
|
|
63
|
+
top: 0;
|
|
64
|
+
left: 0;
|
|
65
|
+
right: 0;
|
|
66
|
+
bottom: 0;
|
|
67
|
+
background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
|
|
68
|
+
background-size: 24px 24px;
|
|
69
|
+
pointer-events: none;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Circular glow effect on the right */
|
|
73
|
+
&::after {
|
|
74
|
+
content: "";
|
|
75
|
+
position: absolute;
|
|
76
|
+
top: 50%;
|
|
77
|
+
right: -100px;
|
|
78
|
+
transform: translateY(-50%);
|
|
79
|
+
width: 300px;
|
|
80
|
+
height: 300px;
|
|
81
|
+
background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Bring content above pseudo-elements */
|
|
86
|
+
& > * {
|
|
87
|
+
position: relative;
|
|
88
|
+
z-index: 1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.sidebar-header {
|
|
92
|
+
margin-bottom: 60px;
|
|
93
|
+
h1 {
|
|
94
|
+
font-size: 28px;
|
|
95
|
+
font-weight: 800;
|
|
96
|
+
letter-spacing: -0.5px;
|
|
97
|
+
margin-bottom: 8px;
|
|
98
|
+
}
|
|
99
|
+
p {
|
|
100
|
+
opacity: 0.8;
|
|
101
|
+
font-size: 14px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.sidebar-footer {
|
|
106
|
+
margin-top: auto;
|
|
107
|
+
font-size: 12px;
|
|
108
|
+
opacity: 0.6;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Success state specific */
|
|
112
|
+
.success-icon-wrapper {
|
|
113
|
+
text-align: center;
|
|
114
|
+
margin-top: 40px;
|
|
115
|
+
|
|
116
|
+
.icon-outer {
|
|
117
|
+
width: 120px;
|
|
118
|
+
height: 120px;
|
|
119
|
+
border-radius: 50%;
|
|
120
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
margin: 0 auto 30px auto;
|
|
125
|
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.icon-inner {
|
|
129
|
+
width: 90px;
|
|
130
|
+
height: 90px;
|
|
131
|
+
border-radius: 50%;
|
|
132
|
+
background-color: #fff;
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
h2 {
|
|
139
|
+
font-size: 24px;
|
|
140
|
+
font-weight: 700;
|
|
141
|
+
margin-bottom: 16px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
p {
|
|
145
|
+
opacity: 0.9;
|
|
146
|
+
font-size: 15px;
|
|
147
|
+
line-height: 1.6;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.registration-content {
|
|
153
|
+
flex: 1;
|
|
154
|
+
padding: 60px;
|
|
155
|
+
background-color: #fff;
|
|
156
|
+
display: flex;
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
justify-content: center;
|
|
159
|
+
|
|
160
|
+
.content-wrapper {
|
|
161
|
+
max-width: 500px;
|
|
162
|
+
margin: 0 auto;
|
|
163
|
+
width: 100%;
|
|
164
|
+
|
|
165
|
+
h1 {
|
|
166
|
+
font-size: 28px;
|
|
167
|
+
font-weight: 700;
|
|
168
|
+
color: #1e293b;
|
|
169
|
+
margin-bottom: 16px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
p {
|
|
173
|
+
color: #64748b;
|
|
174
|
+
font-size: 16px;
|
|
175
|
+
margin-bottom: 40px;
|
|
176
|
+
line-height: 1.6;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.credentials-box {
|
|
181
|
+
background-color: #f8fafc;
|
|
182
|
+
border-radius: 16px;
|
|
183
|
+
padding: 32px;
|
|
184
|
+
border: 1px solid #e2e8f0;
|
|
185
|
+
margin-bottom: 40px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.continue-btn {
|
|
189
|
+
width: 100%;
|
|
190
|
+
height: 50px;
|
|
191
|
+
display: flex;
|
|
192
|
+
align-items: center;
|
|
193
|
+
justify-content: center;
|
|
194
|
+
background-color: #1a67a3;
|
|
195
|
+
color: #fff;
|
|
196
|
+
border-radius: 12px;
|
|
197
|
+
font-size: 18px;
|
|
198
|
+
font-weight: 700;
|
|
199
|
+
border: none;
|
|
200
|
+
cursor: pointer;
|
|
201
|
+
box-shadow: 0 4px 12px rgba(26, 103, 163, 0.3);
|
|
202
|
+
transition: all 0.2s ease;
|
|
203
|
+
margin-top: 20px;
|
|
204
|
+
|
|
205
|
+
&:hover {
|
|
206
|
+
background-color: #0b4c92;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/*SelectMobileNumber specific styles*/
|
|
212
|
+
.select-mobile-number-wrapper {
|
|
213
|
+
.prefix-container {
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
padding: 0 10px;
|
|
217
|
+
border-right: 1px solid #e1e1e1;
|
|
218
|
+
color: #505a5f;
|
|
219
|
+
font-weight: bold;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.error-text {
|
|
223
|
+
color: #d4351c;
|
|
224
|
+
font-size: 14px;
|
|
225
|
+
margin-top: 4px;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.privacy-link {
|
|
229
|
+
color: #1a67a3;
|
|
230
|
+
cursor: pointer;
|
|
231
|
+
font-weight: 600;
|
|
232
|
+
font-size: 14px;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.or-separator-container {
|
|
236
|
+
margin: 40px 0 0 0;
|
|
237
|
+
border-top: 1px solid #e5e7eb;
|
|
238
|
+
padding-top: 32px;
|
|
239
|
+
text-align: center;
|
|
240
|
+
position: relative;
|
|
241
|
+
|
|
242
|
+
.or-text {
|
|
243
|
+
position: absolute;
|
|
244
|
+
top: -10px;
|
|
245
|
+
left: 50%;
|
|
246
|
+
transform: translateX(-50%);
|
|
247
|
+
background: #fff;
|
|
248
|
+
padding: 0 16px;
|
|
249
|
+
color: #6b7280;
|
|
250
|
+
font-size: 14px;
|
|
251
|
+
font-weight: 500;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.digilocker-btn {
|
|
256
|
+
display: flex;
|
|
257
|
+
align-items: center;
|
|
258
|
+
justify-content: center;
|
|
259
|
+
width: 100%;
|
|
260
|
+
padding: 14px;
|
|
261
|
+
background-color: #fff;
|
|
262
|
+
border: 1px solid #d1d5db;
|
|
263
|
+
border-radius: 12px;
|
|
264
|
+
cursor: pointer;
|
|
265
|
+
transition: all 0.3s ease;
|
|
266
|
+
gap: "12px";
|
|
267
|
+
font-size: 16px;
|
|
268
|
+
font-weight: 600;
|
|
269
|
+
color: #374151;
|
|
270
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
271
|
+
|
|
272
|
+
&:hover {
|
|
273
|
+
background-color: #f9fafb;
|
|
274
|
+
border-color: #9ca3af;
|
|
275
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
img {
|
|
279
|
+
width: 28px;
|
|
280
|
+
height: 28px;
|
|
281
|
+
margin-right: 12px;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/*Mobile responsiveness adjustments*/
|
|
287
|
+
@media only screen and (max-width: 768px) {
|
|
288
|
+
.registration-card {
|
|
289
|
+
flex-direction: column;
|
|
290
|
+
min-height: auto;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.registration-sidebar {
|
|
294
|
+
flex: 0 0 auto;
|
|
295
|
+
padding: 30px 20px;
|
|
296
|
+
|
|
297
|
+
.sidebar-header {
|
|
298
|
+
margin-bottom: 30px;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.registration-content {
|
|
303
|
+
padding: 40px 20px;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|