@egovernments/digit-ui-health-css 0.2.77 → 0.2.79
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 +164 -18
- package/dist/index.min.css +2 -2
- package/package.json +1 -1
- package/src/index.scss +2 -1
- package/src/pages/employee/campaign.scss +54 -20
- package/src/pages/employee/index.scss +36 -2
- package/src/pages/employee/mycampaignsnew.scss +91 -0
package/package.json
CHANGED
package/src/index.scss
CHANGED
|
@@ -19,4 +19,5 @@
|
|
|
19
19
|
@import "./pages/employee/checklist.scss";
|
|
20
20
|
@import "./pages/employee/mapview.scss";
|
|
21
21
|
@import "./pages/employee/payment.scss";
|
|
22
|
-
@import "./pages/employee/healthdss.scss";
|
|
22
|
+
@import "./pages/employee/healthdss.scss";
|
|
23
|
+
@import "./pages/employee/mycampaignsnew.scss";
|
|
@@ -247,9 +247,10 @@
|
|
|
247
247
|
display: flex;
|
|
248
248
|
gap: 1rem;
|
|
249
249
|
}
|
|
250
|
+
|
|
250
251
|
.app-preview {
|
|
251
252
|
display: flex;
|
|
252
|
-
width:
|
|
253
|
+
width: 29rem;
|
|
253
254
|
height: 40rem;
|
|
254
255
|
overflow-y: auto;
|
|
255
256
|
border: 1px solid theme(digitv2.lightTheme.primary);
|
|
@@ -258,29 +259,64 @@
|
|
|
258
259
|
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
|
|
259
260
|
margin: 20px auto;
|
|
260
261
|
font-family: Arial, sans-serif;
|
|
262
|
+
scrollbar-width: thin; /* Firefox */
|
|
263
|
+
scrollbar-color: #d6d5d4 #fafafa; /* Firefox */
|
|
264
|
+
|
|
265
|
+
&::-webkit-scrollbar {
|
|
266
|
+
width: 5px;
|
|
267
|
+
background: #fafafa;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
&::-webkit-scrollbar-thumb {
|
|
271
|
+
background: #d6d5d4;
|
|
272
|
+
border-radius: 8px;
|
|
273
|
+
min-height: 40px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&::-webkit-scrollbar-track {
|
|
277
|
+
background: #fafafa;
|
|
278
|
+
border-radius: 8px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&::-webkit-scrollbar-button {
|
|
282
|
+
display: none !important;
|
|
283
|
+
height: 0 !important;
|
|
284
|
+
width: 0 !important;
|
|
285
|
+
}
|
|
286
|
+
|
|
261
287
|
.digit-card-component {
|
|
262
288
|
height: max-content;
|
|
263
|
-
|
|
264
|
-
|
|
289
|
+
|
|
290
|
+
.digit-description {
|
|
291
|
+
.digit-card-text {
|
|
265
292
|
margin-bottom: 0rem;
|
|
266
|
-
}
|
|
293
|
+
}
|
|
267
294
|
}
|
|
268
295
|
}
|
|
296
|
+
|
|
269
297
|
.digit-card-header {
|
|
270
298
|
color: #0b4b66;
|
|
271
299
|
font-size: 2rem;
|
|
272
300
|
font-weight: 700;
|
|
273
301
|
}
|
|
302
|
+
|
|
274
303
|
.digit-card-text {
|
|
275
304
|
color: #787878;
|
|
276
305
|
font-weight: 400;
|
|
277
306
|
font-size: 0.875rem;
|
|
278
307
|
line-height: 137%;
|
|
279
308
|
}
|
|
280
|
-
|
|
309
|
+
|
|
310
|
+
.app-card {
|
|
281
311
|
gap: 0.5rem;
|
|
312
|
+
&::-webkit-scrollbar-button {
|
|
313
|
+
display: none !important;
|
|
314
|
+
height: 0 !important;
|
|
315
|
+
width: 0 !important;
|
|
316
|
+
}
|
|
282
317
|
}
|
|
283
318
|
}
|
|
319
|
+
|
|
284
320
|
.mobile-top {
|
|
285
321
|
background-color: theme(digitv2.lightTheme.header-sidenav);
|
|
286
322
|
height: 4rem;
|
|
@@ -406,22 +442,21 @@
|
|
|
406
442
|
transition: box-shadow 0.3s ease-in-out;
|
|
407
443
|
background-color: #fff;
|
|
408
444
|
}
|
|
409
|
-
.disabledCard{
|
|
445
|
+
.disabledCard {
|
|
410
446
|
cursor: not-allowed;
|
|
411
447
|
border: 1.5px solid theme(digitv2.lightTheme.text-color-secondary);
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
}
|
|
448
|
+
.descStyle {
|
|
449
|
+
color: theme(digitv2.lightTheme.text-color-secondary);
|
|
450
|
+
}
|
|
451
|
+
svg {
|
|
452
|
+
fill: theme(digitv2.lightTheme.text-color-secondary);
|
|
453
|
+
}
|
|
419
454
|
}
|
|
420
455
|
|
|
421
|
-
.app-config-radio{
|
|
456
|
+
.app-config-radio {
|
|
422
457
|
display: flex;
|
|
423
458
|
margin-top: 1rem;
|
|
424
|
-
flex-direction:column;
|
|
459
|
+
flex-direction: column;
|
|
425
460
|
}
|
|
426
461
|
.create-campaign-card {
|
|
427
462
|
gap: 0;
|
|
@@ -457,7 +492,7 @@
|
|
|
457
492
|
}
|
|
458
493
|
.campaign-details-header {
|
|
459
494
|
display: flex;
|
|
460
|
-
justify-content: space-between
|
|
495
|
+
justify-content: space-between;
|
|
461
496
|
}
|
|
462
497
|
.campaign-view-tag {
|
|
463
498
|
margin-left: 1rem;
|
|
@@ -481,7 +516,7 @@
|
|
|
481
516
|
.date-selection {
|
|
482
517
|
width: 100% !important;
|
|
483
518
|
}
|
|
484
|
-
.beneficiary-selection-label{
|
|
519
|
+
.beneficiary-selection-label {
|
|
485
520
|
margin-bottom: 0rem;
|
|
486
521
|
}
|
|
487
522
|
.selected-card {
|
|
@@ -493,12 +528,11 @@
|
|
|
493
528
|
color: theme(digitv2.lightTheme.primary);
|
|
494
529
|
}
|
|
495
530
|
|
|
496
|
-
.hcm-app-features{
|
|
531
|
+
.hcm-app-features {
|
|
497
532
|
.digit-toggle-toolbar {
|
|
498
533
|
margin-top: 1rem;
|
|
499
534
|
margin-bottom: 0.5rem;
|
|
500
535
|
}
|
|
501
|
-
|
|
502
536
|
}
|
|
503
537
|
.module-description {
|
|
504
538
|
flex-grow: 1;
|
|
@@ -506,4 +540,4 @@
|
|
|
506
540
|
font-family: theme(digitv2.fontFamily.sans);
|
|
507
541
|
font-size: theme(digitv2.fontSize.heading-s);
|
|
508
542
|
color: theme(digitv2.lightTheme.text-color-secondary);
|
|
509
|
-
}
|
|
543
|
+
}
|
|
@@ -939,7 +939,7 @@ tbody {
|
|
|
939
939
|
min-width: 12.5rem;
|
|
940
940
|
}
|
|
941
941
|
.app-configuration-side-panel {
|
|
942
|
-
width:
|
|
942
|
+
width: 24rem;
|
|
943
943
|
background-color: #ffffff;
|
|
944
944
|
}
|
|
945
945
|
.appConfigHeaderLabelField {
|
|
@@ -980,10 +980,11 @@ tbody {
|
|
|
980
980
|
}
|
|
981
981
|
}
|
|
982
982
|
.appConfigLabelField-label {
|
|
983
|
+
@extend .typography.heading-s;
|
|
984
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
983
985
|
margin-bottom: 0.5rem;
|
|
984
986
|
font-size: 1rem;
|
|
985
987
|
font-weight: 700;
|
|
986
|
-
color: #787878;
|
|
987
988
|
}
|
|
988
989
|
.app-preview-action-button {
|
|
989
990
|
margin-top: auto;
|
|
@@ -1056,3 +1057,36 @@ tbody {
|
|
|
1056
1057
|
.app-preview-field-button {
|
|
1057
1058
|
width: 100%;
|
|
1058
1059
|
}
|
|
1060
|
+
|
|
1061
|
+
.drawer-toggle-field-container {
|
|
1062
|
+
display: flex;
|
|
1063
|
+
flex-direction: column;
|
|
1064
|
+
gap: 1rem;
|
|
1065
|
+
border: 1px solid #d6d5d4;
|
|
1066
|
+
background: #fafafa;
|
|
1067
|
+
border-radius: 0.5rem;
|
|
1068
|
+
padding: 1rem;
|
|
1069
|
+
.digit-switch-container {
|
|
1070
|
+
.digit-switch-label {
|
|
1071
|
+
@extend .typography.body-s;
|
|
1072
|
+
color: theme(digitv2.lightTheme.text-color-secondary);
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
.drawer-toggle-conditional-field {
|
|
1076
|
+
display: flex;
|
|
1077
|
+
flex-direction: column;
|
|
1078
|
+
gap: 0.1rem;
|
|
1079
|
+
.digit-header-content.label {
|
|
1080
|
+
@extend .typography.body-s;
|
|
1081
|
+
color: theme(digitv2.lightTheme.text-color-secondary);
|
|
1082
|
+
width: 100%;
|
|
1083
|
+
}
|
|
1084
|
+
.digit-field {
|
|
1085
|
+
width: 100%;
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
.app-config-drawer-subheader{
|
|
1090
|
+
@extend .typography.caption-s;
|
|
1091
|
+
color: theme(digitv2.lightTheme.primary-2)
|
|
1092
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.digit-results-card-component {
|
|
2
|
+
gap: 1.5rem;
|
|
3
|
+
box-shadow: 0rem 0.063rem 0.331rem 0rem #00000026;
|
|
4
|
+
border-bottom-left-radius: 0rem;
|
|
5
|
+
border-bottom-right-radius: 0rem;
|
|
6
|
+
|
|
7
|
+
.digit-results-card-heading-tags-wrapper {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
|
|
12
|
+
.digit-results-card-heading {
|
|
13
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
14
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
15
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
16
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
17
|
+
line-height: 1.14rem;
|
|
18
|
+
|
|
19
|
+
@media (max-aspect-ratio: 9/16) {
|
|
20
|
+
/* Media query for mobile */
|
|
21
|
+
font-size: theme(digitv2.fontSize.heading-m.mobile);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
25
|
+
/* Media query for tablets */
|
|
26
|
+
font-size: theme(digitv2.fontSize.heading-m.tablet);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (min-aspect-ratio: 3/4) {
|
|
30
|
+
/* Media query for desktop */
|
|
31
|
+
font-size: theme(digitv2.fontSize.heading-m.desktop);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.digit-results-card-tags {
|
|
36
|
+
display: flex;
|
|
37
|
+
gap: 1rem;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.digit-results-card-content {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: stretch;
|
|
44
|
+
|
|
45
|
+
.left-column,
|
|
46
|
+
.right-column {
|
|
47
|
+
flex: 1;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
gap: 1.5rem;
|
|
50
|
+
display: flex !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.right-column {
|
|
54
|
+
margin-left: 1.5rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.digit-divider {
|
|
58
|
+
width: 0rem;
|
|
59
|
+
border-color: #BFBFBF;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.digit-results-card-buttons {
|
|
65
|
+
padding: 1.5rem;
|
|
66
|
+
background: theme(digitv2.lightTheme.paper);
|
|
67
|
+
margin-top: -1.5rem;
|
|
68
|
+
box-shadow: 0rem 0rem 0.431rem 0rem #00000026;
|
|
69
|
+
border-bottom-right-radius: 0.5rem;
|
|
70
|
+
border-bottom-left-radius: 0.5rem;
|
|
71
|
+
display: flex;
|
|
72
|
+
justify-content: space-between;
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
.digit-results-card-buttons-internal {
|
|
76
|
+
display: flex;
|
|
77
|
+
gap: 1rem;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.digit-viewcard-field-pair {
|
|
82
|
+
&.digit-results-card-field-pair {
|
|
83
|
+
.digit-viewcard-label {
|
|
84
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.digit-viewcard-value {
|
|
88
|
+
color: #787878;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|