@egovernments/digit-ui-health-css 0.2.80 → 0.2.81
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 +375 -10
- package/dist/index.min.css +2 -2
- package/package.json +1 -1
- package/src/pages/employee/campaign.scss +302 -1
- package/src/pages/employee/index.scss +7 -1
package/package.json
CHANGED
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
border-radius: 1rem;
|
|
258
258
|
background-color: white;
|
|
259
259
|
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
|
|
260
|
-
margin:
|
|
260
|
+
margin: 5px auto; /* updated margin since we added page no */
|
|
261
261
|
font-family: Arial, sans-serif;
|
|
262
262
|
scrollbar-width: thin; /* Firefox */
|
|
263
263
|
scrollbar-color: #d6d5d4 #fafafa; /* Firefox */
|
|
@@ -531,8 +531,29 @@
|
|
|
531
531
|
.digit-toggle-toolbar {
|
|
532
532
|
margin-top: 1rem;
|
|
533
533
|
margin-bottom: 0.5rem;
|
|
534
|
+
max-width: 90%;
|
|
535
|
+
> *:first-child label {
|
|
536
|
+
border-top-left-radius: 0.5rem;
|
|
537
|
+
border-bottom-left-radius: 0.5rem;
|
|
538
|
+
}
|
|
539
|
+
> *:last-child label {
|
|
540
|
+
border-top-right-radius: 0.5rem;
|
|
541
|
+
border-bottom-right-radius: 0.5rem;
|
|
542
|
+
}
|
|
534
543
|
}
|
|
535
544
|
}
|
|
545
|
+
|
|
546
|
+
.digit-toggle-toolbar{&.app-config-tab{
|
|
547
|
+
max-width: 90%;
|
|
548
|
+
> *:first-child label {
|
|
549
|
+
border-top-left-radius: 0.5rem;
|
|
550
|
+
border-bottom-left-radius: 0.5rem;
|
|
551
|
+
}
|
|
552
|
+
> *:last-child label {
|
|
553
|
+
border-top-right-radius: 0.5rem;
|
|
554
|
+
border-bottom-right-radius: 0.5rem;
|
|
555
|
+
}
|
|
556
|
+
}}
|
|
536
557
|
.module-description {
|
|
537
558
|
flex-grow: 1;
|
|
538
559
|
margin: 0 0 1rem 0;
|
|
@@ -540,6 +561,286 @@
|
|
|
540
561
|
font-size: theme(digitv2.fontSize.heading-s);
|
|
541
562
|
color: theme(digitv2.lightTheme.text-color-secondary);
|
|
542
563
|
}
|
|
564
|
+
.camp-drawer-caption{
|
|
565
|
+
font-size: 1rem !important;
|
|
566
|
+
font-weight: 400 !important;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.camp-app-help-tutorial-popup{
|
|
570
|
+
bottom: 0;
|
|
571
|
+
top: 62vh !important;
|
|
572
|
+
width: 100%;
|
|
573
|
+
max-width:90% !important;
|
|
574
|
+
overflow: hidden !important;
|
|
575
|
+
.digit-popup-children-wrap{
|
|
576
|
+
overflow: hidden!important;
|
|
577
|
+
}
|
|
578
|
+
.tutorial-wrapper {
|
|
579
|
+
display: flex;
|
|
580
|
+
flex-direction: column;
|
|
581
|
+
gap: 1rem;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.tutorial-row {
|
|
585
|
+
display: flex;
|
|
586
|
+
flex-direction: row;
|
|
587
|
+
overflow-x: auto;
|
|
588
|
+
gap: 1rem;
|
|
589
|
+
padding-bottom: 1rem;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.tutorial-card {
|
|
593
|
+
flex: 0 0 auto;
|
|
594
|
+
width: 16rem;
|
|
595
|
+
min-height: 10rem;
|
|
596
|
+
background: #ffffff;
|
|
597
|
+
border-radius: 0.75rem;
|
|
598
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
599
|
+
display: flex;
|
|
600
|
+
flex-direction: column;
|
|
601
|
+
align-items: center;
|
|
602
|
+
justify-content: center;
|
|
603
|
+
padding: 1rem;
|
|
604
|
+
text-align: center;
|
|
605
|
+
cursor: pointer;
|
|
606
|
+
transition: transform 0.2s ease-in-out;
|
|
607
|
+
|
|
608
|
+
&:hover {
|
|
609
|
+
transform: translateY(-4px);
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.tutorial-icon {
|
|
614
|
+
background-color: #f0f0f0;
|
|
615
|
+
border-radius: 50%;
|
|
616
|
+
width: 3rem;
|
|
617
|
+
height: 3rem;
|
|
618
|
+
display: flex;
|
|
619
|
+
align-items: center;
|
|
620
|
+
justify-content: center;
|
|
621
|
+
margin-bottom: 0.75rem;
|
|
622
|
+
font-size: 1.5rem;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.tutorial-title {
|
|
626
|
+
font-size: 0.95rem;
|
|
627
|
+
font-weight: 500;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
@keyframes fadeIn {
|
|
634
|
+
from {
|
|
635
|
+
background-color: rgba(0, 0, 0, 0);
|
|
636
|
+
}
|
|
637
|
+
to {
|
|
638
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
@keyframes fadeOut {
|
|
643
|
+
from {
|
|
644
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
645
|
+
}
|
|
646
|
+
to {
|
|
647
|
+
background-color: rgba(0, 0, 0, 0);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
@keyframes slideInUp {
|
|
652
|
+
from {
|
|
653
|
+
transform: translateY(100%);
|
|
654
|
+
opacity: 0;
|
|
655
|
+
}
|
|
656
|
+
to {
|
|
657
|
+
transform: translateY(0);
|
|
658
|
+
opacity: 1;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
@keyframes slideOutDown {
|
|
663
|
+
from {
|
|
664
|
+
transform: translateY(0);
|
|
665
|
+
opacity: 1;
|
|
666
|
+
}
|
|
667
|
+
to {
|
|
668
|
+
transform: translateY(100%);
|
|
669
|
+
opacity: 0;
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.tutorial-overlay {
|
|
674
|
+
position: fixed;
|
|
675
|
+
inset: 0;
|
|
676
|
+
z-index: 2999;
|
|
677
|
+
animation-duration: 0.3s;
|
|
678
|
+
animation-fill-mode: forwards;
|
|
679
|
+
display: flex;
|
|
680
|
+
justify-content: center;
|
|
681
|
+
align-items: flex-end;
|
|
682
|
+
|
|
683
|
+
&.fade-in {
|
|
684
|
+
animation-name: fadeIn;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
&.fade-out {
|
|
688
|
+
animation-name: fadeOut;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.tutorial-drawer {
|
|
693
|
+
position: fixed;
|
|
694
|
+
bottom: 0;
|
|
695
|
+
right: 0;
|
|
696
|
+
width: calc(100vw - 4rem);
|
|
697
|
+
border-radius:1rem 1rem 0rem 0rem;
|
|
698
|
+
background: #ffffff;
|
|
699
|
+
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
|
|
700
|
+
padding: 1rem;
|
|
701
|
+
z-index: 1000;
|
|
702
|
+
display: flex;
|
|
703
|
+
flex-direction: column;
|
|
704
|
+
animation-duration: 0.3s;
|
|
705
|
+
animation-fill-mode: forwards;
|
|
706
|
+
|
|
707
|
+
&.slide-in {
|
|
708
|
+
animation-name: slideInUp;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
&.slide-out {
|
|
712
|
+
animation-name: slideOutDown;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.tutorial-header {
|
|
717
|
+
display: flex;
|
|
718
|
+
justify-content: space-between;
|
|
719
|
+
align-items: center;
|
|
720
|
+
font-weight: 600;
|
|
721
|
+
font-size: 1.5rem;
|
|
722
|
+
padding: 0.5rem;
|
|
723
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
724
|
+
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.tutorial-close {
|
|
728
|
+
background: none;
|
|
729
|
+
border: none;
|
|
730
|
+
font-size: 1.25rem;
|
|
731
|
+
cursor: pointer;
|
|
732
|
+
line-height: 1;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.tutorial-row {
|
|
736
|
+
display: flex;
|
|
737
|
+
flex-direction: row;
|
|
738
|
+
overflow-x: auto;
|
|
739
|
+
gap: 1rem;
|
|
740
|
+
padding: 0.25rem;
|
|
741
|
+
|
|
742
|
+
/* Optional mobile smooth scrolling */
|
|
743
|
+
scroll-behavior: smooth;
|
|
744
|
+
-webkit-overflow-scrolling: touch;
|
|
745
|
+
scrollbar-width:thin;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.tutorial-card {
|
|
749
|
+
flex: 0 0 auto;
|
|
750
|
+
width: 18rem;
|
|
751
|
+
min-height: 10rem;
|
|
752
|
+
background: #ffffff;
|
|
753
|
+
border-radius: 0.5rem;
|
|
754
|
+
box-shadow: none;
|
|
755
|
+
padding: 1rem;
|
|
756
|
+
display: flex;
|
|
757
|
+
flex-direction: column;
|
|
758
|
+
overflow: hidden;
|
|
759
|
+
cursor: pointer;
|
|
760
|
+
transition: transform 0.2s ease-in-out;
|
|
761
|
+
box-shadow: 0px 2px 4px 0px #00000026;
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
&:hover {
|
|
766
|
+
transform: translateY(-4px);
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.tutorial-card-image {
|
|
770
|
+
height: 5rem;
|
|
771
|
+
background-color: #f5f5f5;
|
|
772
|
+
display: flex;
|
|
773
|
+
align-items: center;
|
|
774
|
+
justify-content: center;
|
|
775
|
+
padding: 1rem;
|
|
776
|
+
img{
|
|
777
|
+
max-width: 5rem;
|
|
778
|
+
max-height: 4rem;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.tutorial-card-content {
|
|
783
|
+
margin: 1rem 0rem;
|
|
784
|
+
display: flex;
|
|
785
|
+
flex-direction: column;
|
|
786
|
+
gap: 0.25rem;
|
|
787
|
+
|
|
788
|
+
.tutorial-card-title {
|
|
789
|
+
font-weight: 500;
|
|
790
|
+
color: theme(digitv2.lightTheme.primary-2)
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.tutorial-card-subtext {
|
|
794
|
+
font-size: 0.9rem;
|
|
795
|
+
color: #555;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.tutorial-card-link {
|
|
799
|
+
margin-top: 0.5rem;
|
|
800
|
+
font-size: 0.875rem;
|
|
801
|
+
color: theme(digitv2.lightTheme.primary);
|
|
802
|
+
display: flex;
|
|
803
|
+
align-items: center;
|
|
804
|
+
gap: 0.25rem;
|
|
805
|
+
|
|
806
|
+
.arrow {
|
|
807
|
+
font-weight: bold;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
.tutorial-icon {
|
|
815
|
+
background-color: #f0f0f0;
|
|
816
|
+
border-radius: 50%;
|
|
817
|
+
width: 3rem;
|
|
818
|
+
height: 3rem;
|
|
819
|
+
display: flex;
|
|
820
|
+
align-items: center;
|
|
821
|
+
justify-content: center;
|
|
822
|
+
margin-bottom: 0.75rem;
|
|
823
|
+
font-size: 1.5rem;
|
|
824
|
+
|
|
825
|
+
@media (max-width: 480px) {
|
|
826
|
+
width: 2.5rem;
|
|
827
|
+
height: 2.5rem;
|
|
828
|
+
font-size: 1.25rem;
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
.tutorial-title {
|
|
833
|
+
font-size: 0.95rem;
|
|
834
|
+
font-weight: 500;
|
|
835
|
+
|
|
836
|
+
@media (max-width: 480px) {
|
|
837
|
+
font-size: 0.85rem;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.camp-help-button-app-configuration-redesign{
|
|
842
|
+
margin-right: 24rem;
|
|
843
|
+
}
|
|
543
844
|
.boldLabel{
|
|
544
845
|
.digit-header-content{
|
|
545
846
|
font-weight: 700;
|
|
@@ -1004,6 +1004,10 @@ tbody {
|
|
|
1004
1004
|
display: flex;
|
|
1005
1005
|
align-items: baseline;
|
|
1006
1006
|
gap: 1rem;
|
|
1007
|
+
.app-config-header-group{
|
|
1008
|
+
display: flex;
|
|
1009
|
+
column-gap:inherit;
|
|
1010
|
+
}
|
|
1007
1011
|
}
|
|
1008
1012
|
.appConfigLabelField-label-container {
|
|
1009
1013
|
width: 100%;
|
|
@@ -1088,5 +1092,7 @@ tbody {
|
|
|
1088
1092
|
}
|
|
1089
1093
|
.app-config-drawer-subheader{
|
|
1090
1094
|
@extend .typography.caption-s;
|
|
1091
|
-
color: theme(digitv2.lightTheme.primary-2)
|
|
1095
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
1096
|
+
display: flex;
|
|
1097
|
+
align-items: baseline;
|
|
1092
1098
|
}
|