@egovernments/digit-ui-health-css 0.2.80 → 0.2.82

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.80",
3
+ "version": "0.2.82",
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;
@@ -257,7 +258,7 @@
257
258
  border-radius: 1rem;
258
259
  background-color: white;
259
260
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
260
- margin: 20px auto;
261
+ margin: 5px auto; /* updated margin since we added page no */
261
262
  font-family: Arial, sans-serif;
262
263
  scrollbar-width: thin; /* Firefox */
263
264
  scrollbar-color: #d6d5d4 #fafafa; /* Firefox */
@@ -483,6 +484,7 @@
483
484
  }
484
485
  .detail-header {
485
486
  font-size: theme(digitv2.fontSize.heading-m);
487
+ color: theme(digitv2.lightTheme.primary-2);
486
488
  }
487
489
  .details-desc {
488
490
  color: theme(digitv2.lightTheme.text-color-secondary);
@@ -531,8 +533,29 @@
531
533
  .digit-toggle-toolbar {
532
534
  margin-top: 1rem;
533
535
  margin-bottom: 0.5rem;
536
+ max-width: 90%;
537
+ > *:first-child label {
538
+ border-top-left-radius: 0.5rem;
539
+ border-bottom-left-radius: 0.5rem;
540
+ }
541
+ > *:last-child label {
542
+ border-top-right-radius: 0.5rem;
543
+ border-bottom-right-radius: 0.5rem;
544
+ }
534
545
  }
535
546
  }
547
+
548
+ .digit-toggle-toolbar{&.app-config-tab{
549
+ max-width: 90%;
550
+ > *:first-child label {
551
+ border-top-left-radius: 0.5rem;
552
+ border-bottom-left-radius: 0.5rem;
553
+ }
554
+ > *:last-child label {
555
+ border-top-right-radius: 0.5rem;
556
+ border-bottom-right-radius: 0.5rem;
557
+ }
558
+ }}
536
559
  .module-description {
537
560
  flex-grow: 1;
538
561
  margin: 0 0 1rem 0;
@@ -540,15 +563,6 @@
540
563
  font-size: theme(digitv2.fontSize.heading-s);
541
564
  color: theme(digitv2.lightTheme.text-color-secondary);
542
565
  }
543
- .boldLabel{
544
- .digit-header-content{
545
- font-weight: 700;
546
- }
547
- }
548
- .clickable:hover{
549
- border: 0.063rem solid theme(digitv2.lightTheme.primary);
550
- box-shadow: 0.063rem theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer1) theme(digitv2.spacers.spacer0) #00000029;
551
- }
552
566
  .name-container-popUp {
553
567
  margin-top: 0.8rem;
554
568
  margin-right: 0rem;
@@ -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
+ }
@@ -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
  }