@djb25/digit-ui-css 1.0.13 → 1.0.15
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/body.scss +1 -0
- package/src/components/card.scss +51 -53
- package/src/components/moduleHeader.scss +27 -5
- package/src/index.scss +1 -1
- package/src/pages/citizen/HomePageWrapper.scss +107 -0
- package/src/pages/employee/container.scss +7 -0
- package/src/pages/employee/ekyc.scss +61 -8
- package/src/pages/employee/index.scss +417 -19
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
.ground-container {
|
|
10
10
|
margin-bottom: 56px;
|
|
11
|
-
|
|
11
|
+
padding-inline: 30px;
|
|
12
|
+
/* @apply flex flex-col; */
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
.card-home {
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.card-home:hover {
|
|
21
|
-
box-shadow: 0px 6px 0 0px #
|
|
22
|
+
box-shadow: 0px 6px 0 0px #1a67a3;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
.main {
|
|
@@ -381,32 +382,77 @@
|
|
|
381
382
|
display: flex;
|
|
382
383
|
justify-content: center;
|
|
383
384
|
align-items: center;
|
|
385
|
+
|
|
384
386
|
.header-top-section {
|
|
385
|
-
|
|
387
|
+
position: relative;
|
|
386
388
|
width: 100%;
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
389
|
+
padding: 20px 50px;
|
|
390
|
+
border-radius: 18px;
|
|
391
|
+
display: flex;
|
|
392
|
+
align-items: center;
|
|
393
|
+
justify-content: flex-end;
|
|
390
394
|
|
|
395
|
+
background: linear-gradient(98deg,
|
|
396
|
+
rgba(110, 192, 221, 0.71) -24.44%,
|
|
397
|
+
rgba(97, 119, 236, 0.9) 93.53%);
|
|
398
|
+
|
|
399
|
+
backdrop-filter: blur(18px) saturate(140%);
|
|
400
|
+
-webkit-backdrop-filter: blur(18px) saturate(140%);
|
|
401
|
+
|
|
402
|
+
border: 1px solid rgba(255, 255, 255, 0.35);
|
|
403
|
+
|
|
404
|
+
box-shadow:
|
|
405
|
+
inset 0 2px 6px rgba(255, 255, 255, 0.5),
|
|
406
|
+
inset 0 -2px 6px rgba(255, 255, 255, 0.2),
|
|
407
|
+
0 20px 40px rgba(0, 0, 0, 0.18),
|
|
408
|
+
0 8px 16px rgba(0, 0, 0, 0.12);
|
|
409
|
+
|
|
410
|
+
transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
|
|
411
|
+
|
|
412
|
+
&::before {
|
|
413
|
+
content: "";
|
|
414
|
+
position: absolute;
|
|
415
|
+
inset: 0;
|
|
416
|
+
border-radius: inherit;
|
|
417
|
+
background: linear-gradient(120deg,
|
|
418
|
+
rgba(255, 255, 255, 0.45) 0%,
|
|
419
|
+
rgba(255, 255, 255, 0.1) 40%,
|
|
420
|
+
rgba(255, 255, 255, 0.05) 100%);
|
|
421
|
+
pointer-events: none;
|
|
422
|
+
}
|
|
391
423
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
424
|
+
&::after {
|
|
425
|
+
content: "";
|
|
426
|
+
position: absolute;
|
|
427
|
+
inset: 0;
|
|
428
|
+
border-radius: inherit;
|
|
429
|
+
box-shadow: 0 0 30px rgba(97, 119, 236, 0.25);
|
|
430
|
+
transition: opacity 0.3s ease;
|
|
431
|
+
}
|
|
395
432
|
|
|
396
|
-
|
|
433
|
+
&:hover {
|
|
397
434
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
435
|
+
box-shadow:
|
|
436
|
+
inset 0 3px 8px rgba(255, 255, 255, 0.6),
|
|
437
|
+
inset 0 -3px 8px rgba(255, 255, 255, 0.25),
|
|
438
|
+
0 30px 60px rgba(0, 0, 0, 0.25),
|
|
439
|
+
0 10px 20px rgba(0, 0, 0, 0.15);
|
|
440
|
+
|
|
441
|
+
&::after {
|
|
442
|
+
opacity: 1;
|
|
443
|
+
}
|
|
403
444
|
}
|
|
404
445
|
|
|
405
|
-
.
|
|
446
|
+
.title {
|
|
406
447
|
margin: 0;
|
|
407
|
-
font-size:
|
|
408
|
-
font-weight:
|
|
448
|
+
font-size: 26px;
|
|
449
|
+
font-weight: 800;
|
|
409
450
|
color: #ffffff;
|
|
451
|
+
|
|
452
|
+
/* More premium glass text effect */
|
|
453
|
+
text-shadow:
|
|
454
|
+
0 1px 2px rgba(255, 255, 255, 0.6),
|
|
455
|
+
0 4px 8px rgba(52, 51, 51, 0.15);
|
|
410
456
|
}
|
|
411
457
|
}
|
|
412
458
|
|
|
@@ -650,7 +696,359 @@
|
|
|
650
696
|
}
|
|
651
697
|
}
|
|
652
698
|
|
|
653
|
-
/* TODO fix required NABEEL/ANIL for home screen card */
|
|
654
699
|
.customEmployeeCard {
|
|
655
700
|
@apply m-sm !important;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.employee-home-main-content {
|
|
704
|
+
display: flex;
|
|
705
|
+
flex-direction: column;
|
|
706
|
+
gap: 24px;
|
|
707
|
+
width: 100%;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
@media (min-width: 1024px) {
|
|
711
|
+
.employee-home-main-content {
|
|
712
|
+
flex-direction: row;
|
|
713
|
+
align-items: flex-start;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.moduleCardWrapper {
|
|
717
|
+
flex: 1;
|
|
718
|
+
margin-right: 0 !important;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.employee-recent-activity-wrapper {
|
|
722
|
+
flex-shrink: 0;
|
|
723
|
+
height: stretch;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.recent-activity-wrapper {
|
|
728
|
+
background: linear-gradient(145deg, #ffffff, #f0f4f8);
|
|
729
|
+
border-radius: 20px;
|
|
730
|
+
padding: 24px;
|
|
731
|
+
box-shadow:
|
|
732
|
+
0 10px 30px rgba(0, 0, 0, 0.05),
|
|
733
|
+
inset 0 2px 0 rgba(255, 255, 255, 1);
|
|
734
|
+
border: 1px solid rgba(255, 255, 255, 0.7);
|
|
735
|
+
backdrop-filter: blur(10px);
|
|
736
|
+
position: relative;
|
|
737
|
+
overflow: hidden;
|
|
738
|
+
|
|
739
|
+
&::before {
|
|
740
|
+
content: '';
|
|
741
|
+
position: absolute;
|
|
742
|
+
top: 0;
|
|
743
|
+
left: 0;
|
|
744
|
+
right: 0;
|
|
745
|
+
height: 4px;
|
|
746
|
+
background: linear-gradient(90deg, #6ec0dd, #6177ec);
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.recent-activity-header {
|
|
751
|
+
display: flex;
|
|
752
|
+
align-items: center;
|
|
753
|
+
margin-bottom: 20px;
|
|
754
|
+
|
|
755
|
+
.title-icon {
|
|
756
|
+
color: #6177ec;
|
|
757
|
+
font-size: 24px;
|
|
758
|
+
margin-right: 10px;
|
|
759
|
+
background: rgba(97, 119, 236, 0.1);
|
|
760
|
+
padding: 6px;
|
|
761
|
+
border-radius: 8px;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
h3 {
|
|
765
|
+
margin: 0;
|
|
766
|
+
font-size: 18px;
|
|
767
|
+
font-weight: 700;
|
|
768
|
+
color: #2c3e50;
|
|
769
|
+
flex: 1;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.view-all-btn {
|
|
773
|
+
background: none;
|
|
774
|
+
border: none;
|
|
775
|
+
color: #6177ec;
|
|
776
|
+
font-weight: 600;
|
|
777
|
+
font-size: 14px;
|
|
778
|
+
cursor: pointer;
|
|
779
|
+
transition: all 0.2s ease;
|
|
780
|
+
|
|
781
|
+
&:hover {
|
|
782
|
+
color: #3b50c1;
|
|
783
|
+
text-decoration: underline;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/* Anchors the whole component to the right edge */
|
|
789
|
+
.ra-wrapper {
|
|
790
|
+
display: flex;
|
|
791
|
+
justify-content: flex-end;
|
|
792
|
+
align-items: flex-start;
|
|
793
|
+
|
|
794
|
+
/* Change from relative/static to absolute/fixed */
|
|
795
|
+
position: absolute;
|
|
796
|
+
right: 0;
|
|
797
|
+
top: 0;
|
|
798
|
+
height: 100%; /* Or calc(100% - 40px) depending on your padding */
|
|
799
|
+
|
|
800
|
+
/* Ensure it sits on top of everything else */
|
|
801
|
+
z-index: 1000;
|
|
802
|
+
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
803
|
+
|
|
804
|
+
/* Prevents the wrapper itself from blocking clicks on the page when closed */
|
|
805
|
+
pointer-events: none;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/* The parent container sets the outer shape and shadow */
|
|
809
|
+
.ra-container {
|
|
810
|
+
pointer-events: auto; /* Re-enable clicks for the card itself */
|
|
811
|
+
display: flex;
|
|
812
|
+
flex-direction: row;
|
|
813
|
+
background: rgba(255, 255, 255, 0.7); /* Slightly more opaque for overlay readability */
|
|
814
|
+
border-radius: 24px 0 0 24px; /* Rounded only on the left side since it's flush right */
|
|
815
|
+
|
|
816
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
817
|
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
818
|
+
|
|
819
|
+
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
820
|
+
|
|
821
|
+
/* Stronger shadow to emphasize the 'float' effect */
|
|
822
|
+
box-shadow:
|
|
823
|
+
-10px 0 30px rgba(0, 0, 0, 0.1),
|
|
824
|
+
0 8px 32px 0 rgba(31, 38, 135, 0.15);
|
|
825
|
+
|
|
826
|
+
overflow: hidden;
|
|
827
|
+
height: 100%;
|
|
828
|
+
transition: transform 0.3s ease;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/* --- THE FIX: Sliding Door Approach --- */
|
|
832
|
+
/* When closed, width is exactly 0px, causing NO gaps. */
|
|
833
|
+
.ra-content-door {
|
|
834
|
+
width: 0px;
|
|
835
|
+
overflow: hidden;
|
|
836
|
+
transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
|
|
837
|
+
background: linear-gradient(
|
|
838
|
+
135deg,
|
|
839
|
+
rgba(255, 255, 255, 0.4) 0%,
|
|
840
|
+
rgba(255, 255, 255, 0.2) 100%
|
|
841
|
+
);
|
|
842
|
+
}
|
|
843
|
+
.ra-container.open .ra-content-door {
|
|
844
|
+
width: 380px;
|
|
845
|
+
border-right: 1px solid rgba(0,0,0,0.05);
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
/* The inner content stays a fixed size so it doesn't wrap/squish while the door is opening */
|
|
849
|
+
.ra-content-inner {
|
|
850
|
+
width: 380px;
|
|
851
|
+
height: 100%;
|
|
852
|
+
display: flex;
|
|
853
|
+
flex-direction: column;
|
|
854
|
+
align-items: center;
|
|
855
|
+
justify-content: center;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/* --- Header & Layout Alignments --- */
|
|
859
|
+
.ra-header {
|
|
860
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
861
|
+
padding: 24px;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
.ra-header h3 {
|
|
865
|
+
margin: 0 0 4px 0;
|
|
866
|
+
font-size: 16px;
|
|
867
|
+
font-weight: 600;
|
|
868
|
+
color: #0f172a;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.ra-subtitle {
|
|
872
|
+
margin: 0;
|
|
873
|
+
font-size: 12px;
|
|
874
|
+
color: #64748b;
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
.ra-view-all {
|
|
878
|
+
display: flex;
|
|
879
|
+
align-items: center;
|
|
880
|
+
gap: 6px;
|
|
881
|
+
background: transparent;
|
|
882
|
+
border: none;
|
|
883
|
+
color: #3b82f6;
|
|
884
|
+
font-size: 13px;
|
|
885
|
+
font-weight: 600;
|
|
886
|
+
cursor: pointer;
|
|
887
|
+
padding: 8px 12px;
|
|
888
|
+
border-radius: 8px;
|
|
889
|
+
transition: background 0.2s;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.ra-view-all:hover {
|
|
893
|
+
background: #eff6ff;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/* --- Timeline Area --- */
|
|
897
|
+
.ra-timeline::-webkit-scrollbar-thumb {
|
|
898
|
+
background: rgba(255, 255, 255, 0.5);
|
|
899
|
+
border-radius: 10px;
|
|
900
|
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
.ra-timeline::-webkit-scrollbar {
|
|
904
|
+
width: 4px;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.ra-timeline::-webkit-scrollbar-track {
|
|
908
|
+
background: transparent;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.ra-timeline::-webkit-scrollbar-thumb {
|
|
912
|
+
background: #cbd5e1;
|
|
913
|
+
border-radius: 4px;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
.ra-item {
|
|
917
|
+
display: flex;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
.ra-item:not(:last-child) {
|
|
921
|
+
margin-bottom: 16px;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
/* Indicator column strictly aligned */
|
|
925
|
+
.ra-indicator {
|
|
926
|
+
display: flex;
|
|
927
|
+
flex-direction: column;
|
|
928
|
+
align-items: center;
|
|
929
|
+
margin-right: 16px;
|
|
930
|
+
width: 36px;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.ra-icon-wrapper {
|
|
934
|
+
width: 36px;
|
|
935
|
+
height: 36px;
|
|
936
|
+
border-radius: 10px;
|
|
937
|
+
display: flex;
|
|
938
|
+
align-items: center;
|
|
939
|
+
justify-content: center;
|
|
940
|
+
flex-shrink: 0;
|
|
941
|
+
z-index: 2;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
.ra-icon-wrapper svg {
|
|
945
|
+
display: block;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.ra-line {
|
|
949
|
+
width: 2px;
|
|
950
|
+
background: #e2e8f0;
|
|
951
|
+
flex: 1;
|
|
952
|
+
margin-top: 6px;
|
|
953
|
+
margin-bottom: -10px;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.ra-details {
|
|
957
|
+
flex: 1;
|
|
958
|
+
padding-bottom: 8px;
|
|
959
|
+
padding-top: 2px;
|
|
960
|
+
/* Micro-adjustment for text alignment */
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.ra-text {
|
|
964
|
+
margin: 0 0 8px 0;
|
|
965
|
+
font-size: 14px;
|
|
966
|
+
color: #334155;
|
|
967
|
+
line-height: 1.4;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.ra-user {
|
|
971
|
+
font-weight: 600;
|
|
972
|
+
color: #0f172a;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.ra-meta {
|
|
976
|
+
display: flex;
|
|
977
|
+
align-items: center;
|
|
978
|
+
justify-content: space-between;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.ra-module {
|
|
982
|
+
font-family: 'SFMono-Regular', Consolas, monospace;
|
|
983
|
+
font-size: 11px;
|
|
984
|
+
background: rgba(255, 255, 255, 0.4); /* Glassy tag */
|
|
985
|
+
color: #1e293b;
|
|
986
|
+
padding: 4px 8px;
|
|
987
|
+
border-radius: 6px;
|
|
988
|
+
border: 1px solid rgba(255, 255, 255, 0.5);
|
|
989
|
+
font-weight: 600;
|
|
990
|
+
backdrop-filter: blur(4px);
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.ra-time {
|
|
994
|
+
font-size: 12px;
|
|
995
|
+
color: #94a3b8;
|
|
996
|
+
font-weight: 500;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/* --- Right Side Toggle Strip (Redesigned UI) --- */
|
|
1000
|
+
.ra-strip {
|
|
1001
|
+
width: 50px; /* Slimmer strip since it's an overlay */
|
|
1002
|
+
flex-shrink: 0;
|
|
1003
|
+
background: rgba(255, 255, 255, 0.8);
|
|
1004
|
+
display: flex;
|
|
1005
|
+
flex-direction: column;
|
|
1006
|
+
align-items: center;
|
|
1007
|
+
padding: 24px 0;
|
|
1008
|
+
cursor: pointer;
|
|
1009
|
+
z-index: 10;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.ra-strip:hover {
|
|
1013
|
+
background: rgba(255, 255, 255, 0.4);
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.ra-chevron-icon {
|
|
1017
|
+
color: #64748b;
|
|
1018
|
+
margin-bottom: 40px;
|
|
1019
|
+
transition: color 0.2s, transform 0.2s;
|
|
1020
|
+
display: flex;
|
|
1021
|
+
align-items: center;
|
|
1022
|
+
justify-content: center;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
.ra-strip:hover .ra-chevron-icon {
|
|
1026
|
+
color: #0f172a;
|
|
1027
|
+
transform: scale(1.1);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.ra-strip-text {
|
|
1031
|
+
display: flex;
|
|
1032
|
+
align-items: center;
|
|
1033
|
+
gap: 12px;
|
|
1034
|
+
writing-mode: vertical-rl;
|
|
1035
|
+
transform: rotate(180deg);
|
|
1036
|
+
font-size: 14px;
|
|
1037
|
+
font-weight: 600;
|
|
1038
|
+
color: #475569;
|
|
1039
|
+
letter-spacing: 0.5px;
|
|
1040
|
+
text-transform: uppercase;
|
|
1041
|
+
white-space: nowrap;
|
|
1042
|
+
opacity: 0.8;
|
|
1043
|
+
transition: opacity 0.2s;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
.ra-strip:hover .ra-strip-text {
|
|
1047
|
+
opacity: 1;
|
|
1048
|
+
color: #0f172a;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
.ra-history-icon {
|
|
1052
|
+
transform: rotate(90deg);
|
|
1053
|
+
/* Re-orients the clock icon in vertical mode */
|
|
656
1054
|
}
|