@egovernments/digit-ui-health-css 0.2.81 → 0.2.83

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egovernments/digit-ui-health-css",
3
- "version": "0.2.81",
3
+ "version": "0.2.83",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "Jagankumar <jagan.kumar@egov.org.in>",
@@ -1,5 +1,6 @@
1
1
  @import url("../../index.scss");
2
2
  @import "../../typography.scss";
3
+ @import "./campaignCommon.scss";
3
4
 
4
5
  .summary-header {
5
6
  @extend .typography.text-heading-l;
@@ -251,7 +252,8 @@
251
252
  .app-preview {
252
253
  display: flex;
253
254
  width: 29rem;
254
- height: 40rem;
255
+ height: calc(100vh - 22rem);
256
+
255
257
  overflow-y: auto;
256
258
  border: 1px solid theme(digitv2.lightTheme.primary);
257
259
  border-radius: 1rem;
@@ -483,6 +485,7 @@
483
485
  }
484
486
  .detail-header {
485
487
  font-size: theme(digitv2.fontSize.heading-m);
488
+ color: theme(digitv2.lightTheme.primary-2);
486
489
  }
487
490
  .details-desc {
488
491
  color: theme(digitv2.lightTheme.text-color-secondary);
@@ -561,295 +564,6 @@
561
564
  font-size: theme(digitv2.fontSize.heading-s);
562
565
  color: theme(digitv2.lightTheme.text-color-secondary);
563
566
  }
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
- }
844
- .boldLabel{
845
- .digit-header-content{
846
- font-weight: 700;
847
- }
848
- }
849
- .clickable:hover{
850
- border: 0.063rem solid theme(digitv2.lightTheme.primary);
851
- box-shadow: 0.063rem theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer0) #00000029;
852
- }
853
567
  .name-container-popUp {
854
568
  margin-top: 0.8rem;
855
569
  margin-right: 0rem;
@@ -875,3 +589,20 @@
875
589
  font-weight: bold;
876
590
  text-wrap: nowrap;
877
591
  }
592
+
593
+
594
+ .app-config-version-tags{
595
+ display: flex;
596
+ align-items: flex-end;
597
+ margin-right: 24rem;
598
+ justify-content: center;
599
+ margin-top: 0.75rem;
600
+ margin-bottom: 0.5rem;
601
+
602
+ .app-config-placeholder-version-tag{
603
+ width: 30%;
604
+ }
605
+ .app-config-version-tag{
606
+ width: 40%;
607
+ }
608
+ }
@@ -0,0 +1,322 @@
1
+
2
+
3
+ .camp-drawer-caption{
4
+ font-size: 1rem !important;
5
+ font-weight: 400 !important;
6
+ }
7
+
8
+ .camp-app-help-tutorial-popup{
9
+ bottom: 0;
10
+ top: 62vh !important;
11
+ width: 100%;
12
+ max-width:90% !important;
13
+ overflow: hidden !important;
14
+ .digit-popup-children-wrap{
15
+ overflow: hidden!important;
16
+ }
17
+ .tutorial-wrapper {
18
+ display: flex;
19
+ flex-direction: column;
20
+ gap: 1rem;
21
+ }
22
+
23
+ .tutorial-row {
24
+ display: flex;
25
+ flex-direction: row;
26
+ overflow-x: auto;
27
+ gap: 1rem;
28
+ padding-bottom: 1rem;
29
+ }
30
+
31
+ .tutorial-card {
32
+ flex: 0 0 auto;
33
+ width: 16rem;
34
+ min-height: 10rem;
35
+ background: #ffffff;
36
+ border-radius: 0.75rem;
37
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
38
+ display: flex;
39
+ flex-direction: column;
40
+ align-items: center;
41
+ justify-content: center;
42
+ padding: 1rem;
43
+ text-align: center;
44
+ cursor: pointer;
45
+ transition: transform 0.2s ease-in-out;
46
+
47
+ &:hover {
48
+ transform: translateY(-4px);
49
+ }
50
+ }
51
+
52
+ .tutorial-icon {
53
+ background-color: #f0f0f0;
54
+ border-radius: 50%;
55
+ width: 3rem;
56
+ height: 3rem;
57
+ display: flex;
58
+ align-items: center;
59
+ justify-content: center;
60
+ margin-bottom: 0.75rem;
61
+ font-size: 1.5rem;
62
+ }
63
+
64
+ .tutorial-title {
65
+ font-size: 0.95rem;
66
+ font-weight: 500;
67
+ }
68
+
69
+ }
70
+
71
+
72
+ @keyframes fadeIn {
73
+ from {
74
+ background-color: rgba(0, 0, 0, 0);
75
+ }
76
+ to {
77
+ background-color: rgba(0, 0, 0, 0.3);
78
+ }
79
+ }
80
+
81
+ @keyframes fadeOut {
82
+ from {
83
+ background-color: rgba(0, 0, 0, 0.3);
84
+ }
85
+ to {
86
+ background-color: rgba(0, 0, 0, 0);
87
+ }
88
+ }
89
+
90
+ @keyframes slideInUp {
91
+ from {
92
+ transform: translateY(100%);
93
+ opacity: 0;
94
+ }
95
+ to {
96
+ transform: translateY(0);
97
+ opacity: 1;
98
+ }
99
+ }
100
+
101
+ @keyframes slideOutDown {
102
+ from {
103
+ transform: translateY(0);
104
+ opacity: 1;
105
+ }
106
+ to {
107
+ transform: translateY(100%);
108
+ opacity: 0;
109
+ }
110
+ }
111
+
112
+ .tutorial-overlay {
113
+ position: fixed;
114
+ inset: 0;
115
+ z-index: 2999;
116
+ animation-duration: 0.3s;
117
+ animation-fill-mode: forwards;
118
+ display: flex;
119
+ justify-content: center;
120
+ align-items: flex-end;
121
+
122
+ &.fade-in {
123
+ animation-name: fadeIn;
124
+ }
125
+
126
+ &.fade-out {
127
+ animation-name: fadeOut;
128
+ }
129
+ }
130
+
131
+ .tutorial-drawer {
132
+ position: fixed;
133
+ bottom: 0;
134
+ right: 0;
135
+ width: calc(100vw - 4rem);
136
+ border-radius:1rem 1rem 0rem 0rem;
137
+ background: #ffffff;
138
+ box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
139
+ padding: 1rem;
140
+ z-index: 1000;
141
+ display: flex;
142
+ flex-direction: column;
143
+ animation-duration: 0.3s;
144
+ animation-fill-mode: forwards;
145
+
146
+ &.slide-in {
147
+ animation-name: slideInUp;
148
+ }
149
+
150
+ &.slide-out {
151
+ animation-name: slideOutDown;
152
+ }
153
+ }
154
+
155
+ .tutorial-header {
156
+ display: flex;
157
+ justify-content: space-between;
158
+ align-items: center;
159
+ font-weight: 600;
160
+ font-size: 1.5rem;
161
+ padding: 0.5rem;
162
+ color: theme(digitv2.lightTheme.primary-2);
163
+
164
+ }
165
+
166
+ .tutorial-close {
167
+ background: none;
168
+ border: none;
169
+ font-size: 1.25rem;
170
+ cursor: pointer;
171
+ line-height: 1;
172
+ }
173
+
174
+ .tutorial-row {
175
+ display: flex;
176
+ flex-direction: row;
177
+ overflow-x: auto;
178
+ gap: 1rem;
179
+ padding: 0.25rem;
180
+
181
+ /* Optional mobile smooth scrolling */
182
+ scroll-behavior: smooth;
183
+ -webkit-overflow-scrolling: touch;
184
+ scrollbar-width:thin;
185
+ }
186
+
187
+ .tutorial-card {
188
+ flex: 0 0 auto;
189
+ width: 18rem;
190
+ min-height: 10rem;
191
+ background: #ffffff;
192
+ border-radius: 0.5rem;
193
+ box-shadow: none;
194
+ padding: 1rem;
195
+ display: flex;
196
+ flex-direction: column;
197
+ overflow: hidden;
198
+ cursor: pointer;
199
+ transition: transform 0.2s ease-in-out;
200
+ box-shadow: 0px 2px 4px 0px #00000026;
201
+
202
+
203
+
204
+ &:hover {
205
+ transform: translateY(-4px);
206
+ }
207
+
208
+ .tutorial-card-image {
209
+ height: 5rem;
210
+ background-color: #f5f5f5;
211
+ display: flex;
212
+ align-items: center;
213
+ justify-content: center;
214
+ padding: 1rem;
215
+ img{
216
+ max-width: 5rem;
217
+ max-height: 4rem;
218
+ }
219
+ }
220
+
221
+ .tutorial-card-content {
222
+ margin: 1rem 0rem;
223
+ display: flex;
224
+ flex-direction: column;
225
+ gap: 0.25rem;
226
+
227
+ .tutorial-card-title {
228
+ font-weight: 500;
229
+ color: theme(digitv2.lightTheme.primary-2)
230
+ }
231
+
232
+ .tutorial-card-subtext {
233
+ font-size: 0.9rem;
234
+ color: #555;
235
+ }
236
+
237
+ .tutorial-card-link {
238
+ margin-top: 0.5rem;
239
+ font-size: 0.875rem;
240
+ color: theme(digitv2.lightTheme.primary);
241
+ display: flex;
242
+ align-items: center;
243
+ gap: 0.25rem;
244
+
245
+ .arrow {
246
+ font-weight: bold;
247
+ }
248
+ }
249
+ }
250
+ }
251
+
252
+
253
+ .tutorial-icon {
254
+ background-color: #f0f0f0;
255
+ border-radius: 50%;
256
+ width: 3rem;
257
+ height: 3rem;
258
+ display: flex;
259
+ align-items: center;
260
+ justify-content: center;
261
+ margin-bottom: 0.75rem;
262
+ font-size: 1.5rem;
263
+
264
+ @media (max-width: 480px) {
265
+ width: 2.5rem;
266
+ height: 2.5rem;
267
+ font-size: 1.25rem;
268
+ }
269
+ }
270
+
271
+ .tutorial-title {
272
+ font-size: 0.95rem;
273
+ font-weight: 500;
274
+
275
+ @media (max-width: 480px) {
276
+ font-size: 0.85rem;
277
+ }
278
+ }
279
+
280
+ .camp-help-button-app-configuration-redesign{
281
+ margin-right: 24rem;
282
+ }
283
+ .boldLabel{
284
+ .digit-header-content{
285
+ font-weight: 700;
286
+ }
287
+ }
288
+ .clickable:hover{
289
+ border: 0.063rem solid theme(digitv2.lightTheme.primary);
290
+ box-shadow: 0.063rem theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer0) #00000029;
291
+ }
292
+
293
+ .cmn-help-info-card{
294
+ margin: 1.5rem 1rem;
295
+ max-width: 100%;
296
+ .cmn-help-info-card-elements-wrapper{
297
+ margin-bottom: 0.5rem;
298
+ flex-direction: column;
299
+ .digit-text-block-header-content {
300
+ flex-direction: column;
301
+ .digit-text-block-header{
302
+ line-height: 0.75rem;
303
+ font-weight:500;
304
+ font-size: 1.5rem;
305
+ }
306
+ }
307
+ ul,ol{
308
+ list-style:auto;
309
+ font-size: 1rem;
310
+ font-weight: 400;
311
+ margin-top: 0;
312
+ color: #787878;
313
+ font-weight: .875rem;
314
+ }
315
+
316
+ }
317
+
318
+ }
319
+
320
+ .digit-text-block-header-content {
321
+ flex-direction: column !important;
322
+ }