@djb25/digit-ui-css 1.0.5 → 1.0.6

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