@djb25/digit-ui-css 1.0.5 → 1.0.7

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.
@@ -64,7 +64,6 @@
64
64
  .employeeCard {
65
65
  @apply bg-white shadow-card p-md mb-xl;
66
66
  border-radius: 4px;
67
- background-color: brown;
68
67
 
69
68
  .card-header {
70
69
  @apply text-text-primary text-heading-xl font-bold font-rc align-middle text-left mb-md;
@@ -432,6 +431,7 @@
432
431
 
433
432
  .employeeCard-override {
434
433
  margin-left: 0px !important;
434
+ padding: 40px;
435
435
  }
436
436
 
437
437
  .BPAemployeeCard {
@@ -466,4 +466,605 @@
466
466
  position: unset !important;
467
467
  margin: 0 !important;
468
468
  width: 100% !important;
469
+ }
470
+
471
+
472
+
473
+
474
+ .new-employee-card {
475
+ background-image: url("https://objectstorage.ap-hyderabad-1.oraclecloud.com/n/axn3czn1s06y/b/djb-dev-asset-bucket/o/dashboard_card_img.png");
476
+ background-size: cover;
477
+ background-position: center;
478
+ border: 1px solid #f3f4f6;
479
+ border-radius: 12px;
480
+ padding: 15px;
481
+ display: flex;
482
+ flex-direction: column;
483
+ gap: 24px;
484
+ width: 100%;
485
+ max-width: 426px;
486
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
487
+ font-family: 'Inter', -apple-system, sans-serif;
488
+ }
489
+
490
+ .card-header-row {
491
+ display: flex;
492
+ justify-content: space-between;
493
+ align-items: center;
494
+ }
495
+
496
+ .module-title {
497
+ font-size: 1.25rem;
498
+ font-weight: 700;
499
+ color: #111827;
500
+ margin: 0;
501
+ }
502
+
503
+ .module-icon-wrap {
504
+ width: 36px;
505
+ height: 36px;
506
+ background-color: #2563eb;
507
+ border-radius: 8px;
508
+ display: flex;
509
+ justify-content: center;
510
+ align-items: center;
511
+ color: #ffffff;
512
+ }
513
+
514
+ .card-body-row {
515
+ display: flex;
516
+ justify-content: space-between;
517
+ align-items: center;
518
+ }
519
+
520
+ .main-kpi-section {
521
+ display: flex;
522
+ align-items: center;
523
+ gap: 8px;
524
+ }
525
+
526
+ .main-kpi-number {
527
+ font-size: 4.5rem;
528
+ font-weight: 700;
529
+ color: #1d4ed8;
530
+ line-height: 0.8;
531
+ letter-spacing: -2px;
532
+ }
533
+
534
+ .main-kpi-label-wrap {
535
+ display: flex;
536
+ flex-direction: column;
537
+ justify-content: center;
538
+ align-items: flex-start;
539
+ gap: 4px;
540
+ }
541
+
542
+ .trend-icon {
543
+ width: 18px;
544
+ height: 18px;
545
+ border: 1.5px solid #10b981;
546
+ border-radius: 50%;
547
+ color: #10b981;
548
+ display: flex;
549
+ justify-content: center;
550
+ align-items: center;
551
+ }
552
+
553
+ .main-kpi-label {
554
+ color: #1d4ed8;
555
+ font-weight: 500;
556
+ font-size: 1.1rem;
557
+ }
558
+
559
+ .secondary-kpi-section {
560
+ display: flex;
561
+ flex-direction: column;
562
+ align-items: flex-end;
563
+ gap: 8px;
564
+ }
565
+
566
+ .secondary-kpi-item {
567
+ display: flex;
568
+ justify-content: space-between;
569
+ align-items: center;
570
+ gap: 24px;
571
+ width: 100%;
572
+ }
573
+
574
+ .sec-kpi-header .sec-kpi-label {
575
+ font-size: 0.7rem;
576
+ font-weight: 700;
577
+ color: #9ca3af;
578
+ letter-spacing: 0.5px;
579
+ }
580
+
581
+ .sec-kpi-label {
582
+ font-size: 0.85rem;
583
+ color: #4b5563;
584
+ font-weight: 500;
585
+ text-align: right;
586
+ }
587
+
588
+ .sec-kpi-value {
589
+ font-size: 0.9rem;
590
+ font-weight: 700;
591
+ color: #111827;
592
+ display: flex;
593
+ align-items: center;
594
+ justify-content: flex-end;
595
+ min-width: 16px;
596
+ }
597
+
598
+ .sec-kpi-dot {
599
+ width: 8px;
600
+ height: 8px;
601
+ background-color: #ef4444;
602
+ border-radius: 50%;
603
+ display: inline-block;
604
+ }
605
+
606
+ .card-footer-row {
607
+ display: flex;
608
+ justify-content: space-between;
609
+ align-items: flex-end;
610
+ margin-top: auto;
611
+ gap: 16px;
612
+ }
613
+
614
+ .footer-links {
615
+ display: flex;
616
+ flex-wrap: wrap;
617
+ gap: 8px;
618
+ flex: 1;
619
+ }
620
+
621
+ .pill-link {
622
+ background-color: #eff6ff;
623
+ color: #2563eb;
624
+ padding: 6px 12px;
625
+ border-radius: 6px;
626
+ font-size: 0.75rem;
627
+ font-weight: 600;
628
+ text-decoration: none;
629
+ transition: background-color 0.2s;
630
+ display: inline-flex;
631
+ align-items: center;
632
+ justify-content: center;
633
+ text-align: center;
634
+
635
+ }
636
+
637
+ .pill-link:hover {
638
+ background-color: #dbeafe;
639
+ }
640
+
641
+ .details-btn {
642
+ background-color: #1e293b;
643
+ color: #ffffff;
644
+ padding: 8px 20px;
645
+ border-radius: 20px;
646
+ font-size: 0.8rem;
647
+ font-weight: 600;
648
+ border: none;
649
+ cursor: pointer;
650
+ flex-shrink: 0;
651
+ margin-bottom: 2px;
652
+ }
653
+
654
+ .details-btn:hover {
655
+ background-color: #0f172a;
656
+ }
657
+
658
+
659
+
660
+
661
+
662
+ /* --- EXISTING CARD STYLES (Keep your existing styles) --- */
663
+ /* Ensure .new-employee-card, .card-header-row, etc. remain as they were */
664
+
665
+
666
+ /* --- NEW: EXPANDED VIEW OVERLAY --- */
667
+ .expanded-overlay {
668
+ position: fixed;
669
+ top: 0;
670
+ left: 0;
671
+ width: 100vw;
672
+ height: 100vh;
673
+ background-color: rgba(0, 0, 0, 0.5);
674
+ /* Dim background */
675
+ z-index: 9999;
676
+ display: flex;
677
+ justify-content: center;
678
+ align-items: center;
679
+ padding: 40px;
680
+ }
681
+
682
+ .expanded-container {
683
+ display: flex;
684
+ width: 100%;
685
+ max-width: 1200px;
686
+ height: 80vh;
687
+ background-color: #f0f2f5;
688
+ border-radius: 8px;
689
+ overflow: hidden;
690
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
691
+ }
692
+
693
+ /* --- LEFT SIDEBAR --- */
694
+ .expanded-sidebar {
695
+ width: 280px;
696
+ background-color: #ffffff;
697
+ border-right: 1px solid #e5e7eb;
698
+ display: flex;
699
+ flex-direction: column;
700
+ padding: 20px;
701
+ flex-shrink: 0;
702
+ border-radius: 10px;
703
+ }
704
+
705
+ .sidebar-header {
706
+ display: flex;
707
+ justify-content: space-between;
708
+ align-items: center;
709
+ margin-bottom: 24px;
710
+ }
711
+
712
+ .sidebar-title {
713
+ font-size: 1.1rem;
714
+ font-weight: 600;
715
+ color: #374151;
716
+ }
717
+
718
+ .clear-btn {
719
+ background: none;
720
+ border: none;
721
+ color: #00adef;
722
+ /* Cyan/Blue */
723
+ font-size: 0.9rem;
724
+ cursor: pointer;
725
+ font-weight: 500;
726
+ }
727
+
728
+ .sidebar-menu {
729
+ display: flex;
730
+ flex-direction: column;
731
+ gap: 8px;
732
+ overflow-y: auto;
733
+ }
734
+
735
+ .sidebar-item {
736
+ display: flex;
737
+ align-items: center;
738
+ padding: 12px 16px;
739
+ border-radius: 8px;
740
+ cursor: pointer;
741
+ transition: all 0.2s;
742
+ color: #4b5563;
743
+ }
744
+
745
+ .sidebar-item:hover {
746
+ background-color: #f3f4f6;
747
+ }
748
+
749
+ /* Active State matches the screenshot (Blue bg, White text) */
750
+ .sidebar-item.active {
751
+ background-color: #00adef;
752
+ /* Match the Property Tax highlight */
753
+ color: #ffffff;
754
+ box-shadow: 0 4px 6px rgba(0, 173, 239, 0.2);
755
+ }
756
+
757
+ .sidebar-icon-placeholder {
758
+ width: 24px;
759
+ height: 24px;
760
+ display: flex;
761
+ justify-content: center;
762
+ align-items: center;
763
+ margin-right: 12px;
764
+ }
765
+
766
+ .sidebar-item.active .sidebar-icon-placeholder svg {
767
+ stroke: #ffffff;
768
+ /* Make icon white when active */
769
+ }
770
+
771
+ /* --- RIGHT CONTENT --- */
772
+ .expanded-content {
773
+ flex: 1;
774
+ background-color: #ffffff;
775
+ padding: 40px;
776
+ overflow-y: auto;
777
+ border-radius: 8px;
778
+ height: 100%;
779
+ }
780
+
781
+ .content-header {
782
+ border-bottom: 1px solid #e5e7eb;
783
+ padding-bottom: 16px;
784
+ margin-bottom: 24px;
785
+ }
786
+
787
+ .content-title {
788
+ font-size: 1.5rem;
789
+ font-weight: 700;
790
+ color: #1a365d;
791
+ /* Dark Blue */
792
+ margin: 0;
793
+ display: flex;
794
+ align-items: center;
795
+ gap: 12px;
796
+ }
797
+
798
+ .content-section-title {
799
+ font-size: 1rem;
800
+ font-weight: 700;
801
+ color: #1a365d;
802
+ margin-bottom: 16px;
803
+ }
804
+
805
+ .content-links-list {
806
+ display: flex;
807
+ flex-direction: column;
808
+ gap: 0;
809
+ /* Items touch borders */
810
+ }
811
+
812
+ .content-link-row {
813
+ display: flex;
814
+ justify-content: space-between;
815
+ align-items: center;
816
+ padding: 20px 0;
817
+ border-bottom: 1px solid #f3f4f6;
818
+ cursor: pointer;
819
+ transition: color 0.2s;
820
+ }
821
+
822
+ .content-link-row:hover {
823
+ color: #00adef;
824
+ }
825
+
826
+ .link-label {
827
+ font-size: 0.95rem;
828
+ font-weight: 500;
829
+ }
830
+
831
+ .link-arrow {
832
+ display: flex;
833
+ align-items: center;
834
+ }
835
+
836
+ .no-links-msg {
837
+ color: #9ca3af;
838
+ font-style: italic;
839
+ padding: 20px 0;
840
+ }
841
+
842
+
843
+
844
+
845
+ /* --- EXPANDED VIEW OVERLAY --- */
846
+ .expanded-page-container {
847
+ display: flex;
848
+ width: 100%;
849
+ /* Adjust height to fit within the layout minus header/footer if needed,
850
+ or just let it flow.
851
+ For a "page" feel similar to the modal, let's give it min-height.
852
+ */
853
+ min-height: calc(100vh - 100px);
854
+ /* border-radius: 8px; */
855
+ overflow: hidden;
856
+ gap: 20px;
857
+ }
858
+
859
+ .expanded-overlay {
860
+ position: fixed;
861
+ top: 0;
862
+ left: 0;
863
+ width: 100vw;
864
+ height: 100vh;
865
+ background-color: rgba(0, 0, 0, 0.5);
866
+ z-index: 9999;
867
+ display: flex;
868
+ justify-content: center;
869
+ align-items: center;
870
+ padding: 20px;
871
+ }
872
+
873
+ .expanded-container {
874
+ display: flex;
875
+ width: 100%;
876
+ max-width: 1200px;
877
+ height: 80vh;
878
+ background-color: #f7f8fa;
879
+ /* Light grey background like screenshot */
880
+ border-radius: 8px;
881
+ overflow: hidden;
882
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
883
+ }
884
+
885
+ /* --- LEFT SIDEBAR --- */
886
+ .expanded-sidebar {
887
+ width: 280px;
888
+ background-color: #ffffff;
889
+ display: flex;
890
+ flex-direction: column;
891
+ padding: 20px;
892
+ flex-shrink: 0;
893
+ }
894
+
895
+ .sidebar-header {
896
+ display: flex;
897
+ justify-content: space-between;
898
+ align-items: center;
899
+ margin-bottom: 24px;
900
+ }
901
+
902
+ .sidebar-title {
903
+ font-size: 1.2rem;
904
+ font-weight: 600;
905
+ color: #333;
906
+ }
907
+
908
+ .clear-btn {
909
+ background: none;
910
+ border: none;
911
+ color: #00adef;
912
+ /* Cyan/Blue */
913
+ font-size: 0.9rem;
914
+ cursor: pointer;
915
+ font-weight: 500;
916
+ }
917
+
918
+ .sidebar-menu {
919
+ display: flex;
920
+ flex-direction: column;
921
+ gap: 8px;
922
+ overflow-y: auto;
923
+ }
924
+
925
+ .sidebar-item {
926
+ display: flex;
927
+ align-items: center;
928
+ padding: 12px 16px;
929
+ border-radius: 8px;
930
+ cursor: pointer;
931
+ transition: all 0.2s;
932
+ color: #4b5563;
933
+ }
934
+
935
+ .sidebar-item:hover {
936
+ background-color: #f3f4f6;
937
+ }
938
+
939
+ /* Active State: Blue Background, White Text */
940
+ .sidebar-item.active {
941
+ background-color: #00adef;
942
+ color: #ffffff;
943
+ box-shadow: 0 4px 6px rgba(0, 173, 239, 0.2);
944
+ }
945
+
946
+ .sidebar-icon-placeholder {
947
+ width: 24px;
948
+ height: 24px;
949
+ display: flex;
950
+ justify-content: center;
951
+ align-items: center;
952
+ margin-right: 12px;
953
+ }
954
+
955
+ /* Make SVG white when active */
956
+ .sidebar-item.active .sidebar-icon-placeholder svg {
957
+ stroke: #ffffff !important;
958
+ fill: none;
959
+ }
960
+
961
+ .sidebar-icon {
962
+ width: 18px;
963
+ height: 18px;
964
+ color: #2563eb;
965
+ /* Professional blue */
966
+ transition: all 0.25s ease;
967
+ opacity: 0.75;
968
+ }
969
+
970
+ .sidebar-item.active .sidebar-icon {
971
+ color: #1d4ed8;
972
+ /* Slightly deeper blue when active */
973
+ transform: scale(1.1);
974
+ opacity: 1;
975
+ }
976
+
977
+
978
+ /* --- RIGHT CONTENT --- */
979
+ .expanded-content {
980
+ flex: 1;
981
+ background-color: #ffffff;
982
+ padding: 30px;
983
+ overflow-y: auto;
984
+ /* Gap between sidebar and content */
985
+ border-radius: 8px;
986
+ box-shadow: -2px 0 10px rgba(0, 0, 0, 0.02);
987
+ }
988
+
989
+ .content-header {
990
+ border-bottom: 1px solid #e5e7eb;
991
+ padding-bottom: 16px;
992
+ margin-bottom: 24px;
993
+ }
994
+
995
+ .content-title {
996
+ font-size: 1.5rem;
997
+ font-weight: 700;
998
+ color: #1a365d;
999
+ margin: 0;
1000
+ }
1001
+
1002
+ .content-section-title {
1003
+ font-size: 1rem;
1004
+ font-weight: 700;
1005
+ color: #1a365d;
1006
+ margin-bottom: 16px;
1007
+ }
1008
+
1009
+ .content-links-list {
1010
+ display: flex;
1011
+ flex-direction: column;
1012
+ }
1013
+
1014
+ /* Link Wrapper to handle <a> or <Link> tags */
1015
+ .link-wrapper a {
1016
+ text-decoration: none;
1017
+ color: inherit;
1018
+ display: block;
1019
+ }
1020
+
1021
+ .content-link-row {
1022
+ display: flex;
1023
+ justify-content: space-between;
1024
+ align-items: center;
1025
+ padding: 18px 10px;
1026
+ border-bottom: 1px solid #f3f4f6;
1027
+ cursor: pointer;
1028
+ transition: background-color 0.2s, color 0.2s;
1029
+ border-radius: 4px;
1030
+ }
1031
+
1032
+ .content-link-row:hover {
1033
+ background-color: #f9fafb;
1034
+ color: #00adef;
1035
+ }
1036
+
1037
+ .link-label {
1038
+ font-size: 0.95rem;
1039
+ font-weight: 500;
1040
+ color: #374151;
1041
+ }
1042
+
1043
+ .content-link-row:hover .link-label {
1044
+ color: #00adef;
1045
+ }
1046
+
1047
+ .link-count {
1048
+ font-size: 0.85rem;
1049
+ color: #9ca3af;
1050
+ margin-left: 6px;
1051
+ }
1052
+
1053
+ .link-arrow {
1054
+ display: flex;
1055
+ align-items: center;
1056
+ }
1057
+
1058
+ .link-arrow svg {
1059
+ stroke: #9ca3af;
1060
+ }
1061
+
1062
+ .content-link-row:hover .link-arrow svg {
1063
+ stroke: #00adef;
1064
+ }
1065
+
1066
+ .no-links-msg {
1067
+ color: #9ca3af;
1068
+ font-style: italic;
1069
+ padding: 20px 0;
469
1070
  }
@@ -786,7 +786,6 @@
786
786
  margin: 0 !important;
787
787
  padding: 16px !important;
788
788
  box-sizing: border-box !important;
789
- background-color: red
790
789
  }
791
790
 
792
791
  /* All form fields become full width */
@@ -12,7 +12,7 @@
12
12
  display: grid;
13
13
  grid-template-columns: 20% 1fr;
14
14
  .logo {
15
- padding: 0px !important;
15
+ padding: 0px;
16
16
  display: flex;
17
17
  align-items: center;
18
18
  justify-content: flex-start;
@@ -0,0 +1,77 @@
1
+ .module-header {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+
6
+ .header-top-section {
7
+ width: 100%;
8
+ background: linear-gradient(98deg, rgba(110, 192, 221, 0.71) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
9
+ padding: 30px 50px;
10
+ border-radius: 11px;
11
+ margin-inline: 42px;
12
+
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+
17
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
18
+
19
+ .title {
20
+ margin: 0;
21
+ font-size: 25px;
22
+ font-weight: 700;
23
+ color: #000000;
24
+ }
25
+ }
26
+
27
+ .header-bottom-section {
28
+ width: 100%;
29
+ background: linear-gradient(278deg, rgba(110, 192, 221, 0.71) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
30
+ padding: 5px 20px;
31
+ border-radius: 11px;
32
+
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: start;
36
+ color: #fff;
37
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
38
+ font-size: 14px;
39
+ font-weight: 500;
40
+
41
+ .icon {
42
+ width: 35px;
43
+ aspect-ratio: 1/1;
44
+ fill: #fff;
45
+ }
46
+
47
+ .home-icon {
48
+ width: 24px;
49
+ aspect-ratio: 1/1;
50
+ fill: #fff;
51
+ }
52
+
53
+ .iconn {
54
+ font-feature-settings: "kern";
55
+ font-size: 16px;
56
+ margin: 0 8px;
57
+ color: #fff;
58
+ }
59
+
60
+ .right-section {
61
+ display: flex;
62
+ gap: 10px;
63
+ align-items: center;
64
+ justify-content: center;
65
+ padding-left: 20px;
66
+ }
67
+
68
+ .left-section {
69
+ display: flex;
70
+ gap: 10px;
71
+ align-items: center;
72
+ justify-content: center;
73
+ border-right: 1px solid #fff;
74
+ padding-right: 20px;
75
+ }
76
+ }
77
+ }