@djb25/digit-ui-css 1.0.44 → 1.0.45

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.
@@ -1,6 +1,5 @@
1
1
  .Citizen_register {
2
2
  &.registration-page-container {
3
- background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
4
3
  min-height: calc(100vh - 83px);
5
4
  display: flex;
6
5
  align-items: center;
@@ -38,12 +37,11 @@
38
37
  .registration-card {
39
38
  display: flex;
40
39
  width: 100%;
41
- max-width: 1000px;
40
+ max-width: 768px;
42
41
  background-color: #fff;
43
42
  border-radius: 20px;
44
43
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
45
44
  overflow: hidden;
46
- min-height: 600px;
47
45
  }
48
46
 
49
47
  .registration-sidebar {
@@ -102,39 +100,11 @@
102
100
  }
103
101
  }
104
102
 
105
- .sidebar-footer {
106
- margin-top: auto;
107
- font-size: 12px;
108
- opacity: 0.6;
109
- }
110
-
111
103
  /* Success state specific */
112
104
  .success-icon-wrapper {
113
105
  text-align: center;
114
106
  margin-top: 40px;
115
107
 
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
108
  h2 {
139
109
  font-size: 24px;
140
110
  font-weight: 700;
@@ -149,6 +119,13 @@
149
119
  }
150
120
  }
151
121
 
122
+ .sidebar-footer {
123
+ margin-top: auto;
124
+ font-size: 10.5px;
125
+ font-weight: 500;
126
+ color: rgb(0, 112, 180);
127
+ }
128
+
152
129
  .registration-content {
153
130
  flex: 1;
154
131
  padding: 60px;
@@ -167,6 +144,7 @@
167
144
  font-weight: 700;
168
145
  color: #1e293b;
169
146
  margin-bottom: 16px;
147
+ word-wrap: anywhere;
170
148
  }
171
149
 
172
150
  p {
@@ -209,77 +187,54 @@
209
187
  }
210
188
 
211
189
  /*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
190
 
222
- .error-text {
223
- color: #d83a2f;
224
- font-size: 14px;
225
- margin-top: 4px;
226
- }
191
+ .or-separator-container {
192
+ margin: 40px 0 24px 0;
193
+ border-top: 1px solid #e5e7eb;
194
+ padding-top: 32px;
195
+ text-align: center;
196
+ position: relative;
227
197
 
228
- .privacy-link {
229
- color: #1a67a3;
230
- cursor: pointer;
231
- font-weight: 600;
198
+ .or-text {
199
+ position: absolute;
200
+ top: -10px;
201
+ left: 50%;
202
+ transform: translateX(-50%);
203
+ background: #fff;
204
+ padding: 0 16px;
205
+ color: #6b7280;
232
206
  font-size: 14px;
207
+ font-weight: 500;
233
208
  }
209
+ }
234
210
 
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
- }
211
+ .digilocker-btn {
212
+ display: flex;
213
+ align-items: center;
214
+ justify-content: center;
215
+ width: 100%;
216
+ padding: 14px;
217
+ background-color: #fff;
218
+ border: 1px solid #d1d5db;
219
+ border-radius: 12px;
220
+ cursor: pointer;
221
+ transition: all 0.3s ease;
222
+ gap: "12px";
223
+ font-size: 16px;
224
+ font-weight: 600;
225
+ color: #374151;
226
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
227
+
228
+ &:hover {
229
+ background-color: #f9fafb;
230
+ border-color: #9ca3af;
231
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
253
232
  }
254
233
 
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
- }
234
+ img {
235
+ width: 28px;
236
+ height: 28px;
237
+ margin-right: 12px;
283
238
  }
284
239
  }
285
240
 
@@ -304,3 +259,454 @@
304
259
  }
305
260
  }
306
261
  }
262
+
263
+ /* WRAPPER */
264
+ .registration__wrapper {
265
+ display: flex;
266
+ width: 100%;
267
+ background: #fff;
268
+ border-radius: 16px;
269
+ overflow: hidden;
270
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
271
+ }
272
+
273
+ @media (max-width: 768px) {
274
+ .registration__wrapper {
275
+ flex-direction: column;
276
+ }
277
+ }
278
+
279
+ /* SIDEBAR */
280
+ .registration__sidebar {
281
+ width: 280px;
282
+ padding: 24px;
283
+ background: linear-gradient(to bottom, #e8f0f8, #ffffff);
284
+ border-right: 1px solid #f1f5f9;
285
+ border-radius: 0px 36px 36px 0;
286
+
287
+ .icon-outer {
288
+ width: 120px;
289
+ height: 120px;
290
+ border-radius: 50%;
291
+ background-color: rgba(255, 255, 255, 0.2);
292
+ display: flex !important;
293
+ align-items: center;
294
+ justify-content: center;
295
+ margin: 0 auto 30px auto;
296
+ box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
297
+ }
298
+
299
+ .icon-inner {
300
+ width: 90px;
301
+ height: 90px;
302
+ border-radius: 50%;
303
+ background-color: #fff;
304
+ display: flex !important;
305
+ align-items: center;
306
+ justify-content: center;
307
+ }
308
+ }
309
+
310
+ @media (max-width: 768px) {
311
+ .registration__sidebar {
312
+ width: 100%;
313
+ border-right: none;
314
+ border-bottom: 1px solid #f1f5f9;
315
+ }
316
+ }
317
+
318
+ .registration__sidebar-title {
319
+ font-size: 12px;
320
+ font-weight: 600;
321
+ letter-spacing: 0.08em;
322
+ color: #64748b;
323
+ margin-bottom: 32px;
324
+ }
325
+
326
+ /* STEP */
327
+ .registration__step {
328
+ display: flex;
329
+ align-items: flex-start;
330
+ margin-bottom: 32px;
331
+ position: relative;
332
+ }
333
+
334
+ .registration__step:last-child {
335
+ margin-bottom: 0;
336
+ }
337
+
338
+ .registration__step-line {
339
+ position: absolute;
340
+ left: 16px;
341
+ top: 32px;
342
+ width: 2px;
343
+ height: 48px;
344
+ transform: translateX(-50%);
345
+ background: #e2e8f0;
346
+ }
347
+
348
+ .registration__step-line--completed {
349
+ background: #22c55e;
350
+ }
351
+
352
+ .registration__step-circle {
353
+ width: 32px;
354
+ height: 32px;
355
+ border-radius: 50%;
356
+ background: #e2e8f0;
357
+ color: #94a3b8;
358
+ display: flex;
359
+ align-items: center;
360
+ justify-content: center;
361
+ font-size: 14px;
362
+ font-weight: 600;
363
+ z-index: 1;
364
+ }
365
+
366
+ .registration__step-circle--active {
367
+ background: #3b82f6;
368
+ color: #fff;
369
+ box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
370
+ }
371
+
372
+ .registration__step-circle--completed {
373
+ background: #22c55e;
374
+ color: #fff;
375
+ }
376
+
377
+ .registration__step-content {
378
+ margin-left: 16px;
379
+ }
380
+
381
+ .registration__step-label {
382
+ font-size: 12px;
383
+ color: #94a3b8;
384
+ }
385
+
386
+ .registration__step-title {
387
+ font-size: 14px;
388
+ font-weight: 500;
389
+ color: #94a3b8;
390
+ }
391
+
392
+ .registration__step-title--active {
393
+ color: #2563eb;
394
+ }
395
+
396
+ .registration__step-title--completed {
397
+ color: #16a34a;
398
+ }
399
+
400
+ /* CONTENT */
401
+ .registration__content {
402
+ flex: 1;
403
+ padding: 40px 32px;
404
+ }
405
+
406
+ .registration__header {
407
+ display: flex;
408
+ justify-content: space-between;
409
+ align-items: center;
410
+ margin-bottom: 8px;
411
+ }
412
+
413
+ .registration__title {
414
+ font-size: 24px;
415
+ font-weight: 700;
416
+ color: #1e293b;
417
+ }
418
+
419
+ .registration__step-count {
420
+ font-size: 14px;
421
+ color: #94a3b8;
422
+ }
423
+
424
+ .registration__description {
425
+ color: #475569;
426
+ margin-bottom: 32px;
427
+ }
428
+
429
+ /* INPUTS */
430
+ .registration__field {
431
+ margin-bottom: 24px;
432
+ }
433
+
434
+ .registration__label {
435
+ display: block;
436
+ font-size: 14px;
437
+ font-weight: 500;
438
+ color: #334155;
439
+ margin-bottom: 8px;
440
+ }
441
+
442
+ .registration__input-group {
443
+ display: flex;
444
+ gap: 12px;
445
+ }
446
+
447
+ .registration__select {
448
+ height: 48px;
449
+ border-radius: 12px;
450
+ border: 2px solid #e2e8f0;
451
+ padding-left: 12px;
452
+ font-size: 18px;
453
+ background: #fff;
454
+ }
455
+
456
+ .registration__select:focus {
457
+ border-color: #3b82f6;
458
+ outline: none;
459
+ box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
460
+ }
461
+
462
+ .registration__input {
463
+ flex: 1;
464
+ height: 48px;
465
+ border-radius: 12px;
466
+ border: 2px solid #e2e8f0;
467
+ padding: 0 16px;
468
+ font-size: 18px;
469
+ width: 100%;
470
+ position: relative;
471
+ .phone {
472
+ position: absolute;
473
+ height: 100%;
474
+ left: 55px;
475
+ width: calc(100% - 55px);
476
+ border-radius: 0 12px 12px 0;
477
+ padding-left: 8px;
478
+ }
479
+ }
480
+
481
+ .date-picker {
482
+ position: relative;
483
+ width: 100%;
484
+ }
485
+
486
+ .date-picker input[readonly] {
487
+ height: 48px;
488
+ width: 100%;
489
+ border-radius: 8px;
490
+ border: 2px solid #e2e8f0 !important;
491
+ padding: 0 16px;
492
+ font-size: 18px;
493
+ width: 100%;
494
+ position: relative;
495
+ padding: 10px 40px 10px 12px; /* space for icon */
496
+ background-color: #ffffff;
497
+
498
+ cursor: pointer; /* important */
499
+ transition: all 0.2s ease;
500
+ }
501
+
502
+ .date-picker input[readonly]:focus-within {
503
+ outline: none;
504
+ border-color: #3b82f6 !important;
505
+ box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) !important;
506
+ }
507
+
508
+ .date-picker input:disabled {
509
+ background-color: #f3f4f6 !important;
510
+ border-color: #e5e7eb !important;
511
+ color: #9ca3af !important;
512
+ cursor: not-allowed !important;
513
+ }
514
+
515
+ .date-picker input[readonly]:disabled {
516
+ background-color: #f3f4f6 !important;
517
+ color: #9ca3af !important;
518
+ cursor: not-allowed !important;
519
+ }
520
+
521
+ .date-picker .calendar-icon {
522
+ position: absolute;
523
+ right: 10px;
524
+ top: 50%;
525
+ transform: translateY(-50%);
526
+ color: #6b7280;
527
+ pointer-events: auto;
528
+ }
529
+
530
+ .date-picker input:disabled + .calendar-icon {
531
+ color: #d1d5db !important;
532
+ cursor: not-allowed !important;
533
+ }
534
+
535
+ .lucide-phone {
536
+ position: absolute;
537
+ top: 50%;
538
+ transform: translateY(-50%);
539
+ }
540
+
541
+ .registration__input .phone {
542
+ flex: 1;
543
+ height: 100%;
544
+ border: none;
545
+ outline: none;
546
+ font-size: 18px;
547
+ }
548
+
549
+ .registration__input:focus-within {
550
+ border-color: #3b82f6;
551
+ outline: none;
552
+ box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
553
+ }
554
+
555
+ .registration__hint {
556
+ margin-top: 8px;
557
+ font-size: 12px;
558
+ color: #94a3b8;
559
+ }
560
+
561
+ /* OTP */
562
+ .registration__otp-group {
563
+ display: flex;
564
+ gap: 12px;
565
+ margin-bottom: 24px;
566
+ }
567
+
568
+ .registration__otp-input {
569
+ width: 56px;
570
+ height: 64px;
571
+ text-align: center;
572
+ font-size: 20px;
573
+ border-radius: 12px;
574
+ border: 2px solid #e2e8f0;
575
+ }
576
+
577
+ .registration__otp-input:focus {
578
+ border-color: #3b82f6;
579
+ outline: none;
580
+ box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
581
+ }
582
+
583
+ .registration__otp-footer {
584
+ display: flex;
585
+ justify-content: space-between;
586
+ margin-bottom: 32px;
587
+ font-size: 14px;
588
+ color: #64748b;
589
+ }
590
+
591
+ .registration__resend--active {
592
+ color: #2563eb;
593
+ cursor: pointer;
594
+ }
595
+
596
+ .registration__resend--disabled {
597
+ color: #cbd5f5;
598
+ cursor: not-allowed;
599
+ }
600
+
601
+ /* BUTTON */
602
+ .registration__button {
603
+ width: 100%;
604
+ height: 48px;
605
+ border-radius: 12px;
606
+ border: none;
607
+ background: #0070b4;
608
+ color: #fff;
609
+ font-size: 16px;
610
+ font-weight: 600;
611
+ cursor: pointer;
612
+ }
613
+
614
+ .registration__button:hover {
615
+ background: #298bc8;
616
+ }
617
+
618
+ .registration__button:disabled {
619
+ opacity: 0.6;
620
+ cursor: not-allowed;
621
+ }
622
+
623
+ /* PROGRESS */
624
+ .registration__progress {
625
+ margin-top: 40px;
626
+ }
627
+
628
+ .registration__progress-track {
629
+ height: 6px;
630
+ background: #f1f5f9;
631
+ border-radius: 999px;
632
+ overflow: hidden;
633
+ }
634
+
635
+ .registration__progress-bar {
636
+ height: 100%;
637
+ background: #3b82f6;
638
+ border-radius: 999px;
639
+ transition: width 0.4s ease;
640
+ }
641
+
642
+ .btn-tooltip-wrapper {
643
+ position: relative;
644
+
645
+ /* allow hover on wrapper instead of button */
646
+ .registration__button:disabled {
647
+ pointer-events: none;
648
+ }
649
+ }
650
+
651
+ .btn-tooltip {
652
+ position: absolute;
653
+ bottom: 110%;
654
+ left: 50%;
655
+ transform: translateX(-50%) translateY(5px);
656
+ background: #111827;
657
+ color: #fff;
658
+ font-size: 12px;
659
+ padding: 6px 10px;
660
+ border-radius: 6px;
661
+ white-space: nowrap;
662
+ opacity: 0;
663
+ transition: all 0.2s ease;
664
+ pointer-events: none;
665
+ }
666
+
667
+ /* show tooltip on hover */
668
+ .btn-tooltip-wrapper:hover .btn-tooltip {
669
+ opacity: 1;
670
+ transform: translateX(-50%) translateY(0);
671
+ }
672
+
673
+ .prefix-container {
674
+ display: flex;
675
+ align-items: center;
676
+ padding: 0 10px;
677
+ border-right: 1px solid #e1e1e1;
678
+ color: #505a5f;
679
+ font-weight: bold;
680
+ }
681
+
682
+ .error-text {
683
+ color: #d83a2f;
684
+ font-size: 14px;
685
+ margin-top: 4px;
686
+ }
687
+
688
+ .privacy-link {
689
+ color: #1a67a3;
690
+ cursor: pointer;
691
+ font-weight: 600;
692
+ font-size: 14px;
693
+ }
694
+
695
+ .registration__change-phone {
696
+ margin-top: 6px;
697
+ margin-bottom: 12px;
698
+ }
699
+
700
+ .registration__change-phone-btn {
701
+ background: none;
702
+ border: none;
703
+ color: #2563eb;
704
+ font-size: 13px;
705
+ font-weight: 500;
706
+ cursor: pointer;
707
+ padding: 0;
708
+ }
709
+
710
+ .registration__change-phone-btn:hover {
711
+ text-decoration: underline;
712
+ }
@@ -465,7 +465,6 @@
465
465
  height: inherit;
466
466
 
467
467
  .filters-container {
468
- width: 270px;
469
468
  overflow-y: scroll;
470
469
 
471
470
  .filter {
@@ -728,9 +728,9 @@
728
728
  .main {
729
729
  width: 100%;
730
730
  padding-top: 58px;
731
- height: 100%;
732
731
  display: flex;
733
732
  justify-content: center;
733
+ height: 100vh;
734
734
  }
735
735
 
736
736
  .center-container {