@egovernments/digit-ui-health-css 0.3.0 → 0.3.2

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.3.0",
3
+ "version": "0.3.2",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "Jagankumar <jagan.kumar@egov.org.in>",
@@ -66,4 +66,4 @@
66
66
  "digit-ui",
67
67
  "css"
68
68
  ]
69
- }
69
+ }
@@ -4,6 +4,7 @@
4
4
  .summary-header {
5
5
  @extend .typography.text-heading-l;
6
6
  font-size: 2.25rem;
7
+ margin-bottom: 1.5rem !important;
7
8
  }
8
9
  .date-field-container {
9
10
  display: grid;
@@ -135,8 +136,7 @@
135
136
  align-items: stretch;
136
137
  }
137
138
  .stepper-card {
138
- height: 39rem;
139
- margin-bottom: 1.5rem !important;
139
+ height: 37rem;
140
140
  padding-top: 0rem;
141
141
  }
142
142
  .stepper-subheader {
@@ -231,8 +231,8 @@
231
231
  }
232
232
  .data-mapping-filter-switch {
233
233
  float: right;
234
- margin-bottom: 1.5rem;
235
234
  margin-right: 5rem;
235
+ margin-bottom: 0rem;
236
236
  }
237
237
  .digit-label-field-pair.multiselect-label-field {
238
238
  > div:nth-of-type(1) {
@@ -294,4 +294,11 @@
294
294
  padding-top: 0 !important;
295
295
  overflow: visible;
296
296
  }
297
+ }
298
+ .rdt_TableBody {
299
+ border: 1px solid #ccc !important;
300
+ width: 100% !important;
301
+ }
302
+ .rdt_Table{
303
+ width: 100% !important;
297
304
  }
@@ -17,13 +17,13 @@
17
17
  padding: 1rem;
18
18
  margin-right: 1rem;
19
19
  margin-bottom: 1.5rem;
20
- .card-text {
20
+ .digit-card-text {
21
21
  margin: 0;
22
22
  font-weight: 700;
23
23
  }
24
24
  .header-container {
25
25
  display: flex;
26
- align-items: flex-end;
26
+ align-items: baseline;
27
27
  justify-content: space-between;
28
28
  }
29
29
  }
@@ -229,9 +229,19 @@
229
229
  margin-bottom: 1.5rem !important;
230
230
  }
231
231
 
232
+ .card-header-delivery{
233
+ display: flex;
234
+ justify-content: space-between;
235
+ margin-top: 1.5rem !important;
236
+ }
237
+
238
+ .deliveryType-labelfield{
239
+ margin-top: 0.565rem;
240
+ }
241
+
232
242
  .delivery-rule-container {
233
- padding-top: 0;
234
- .card-header {
243
+ margin-top: 1.5rem;
244
+ .digit-card-header {
235
245
  .title {
236
246
  margin: 0 !important;
237
247
  }
@@ -260,15 +270,17 @@
260
270
  }
261
271
  }
262
272
  .attribute-field-wrapper {
273
+ margin-top: 0rem;
263
274
  display: grid;
264
275
  grid-template-columns: 1fr 1fr 1fr 1fr;
265
276
  align-items: center;
266
277
  gap: 2.5rem;
267
- .label-field-pair {
278
+ .digit-label-field-pair {
268
279
  flex-direction: column;
269
280
  align-items: flex-start !important;
270
- .card-label.card-label-smaller {
281
+ .digit-card-label.card-label-smaller {
271
282
  font-weight: 700;
283
+ margin-bottom: 0rem;
272
284
  }
273
285
  .employee-select-wrap.form-field {
274
286
  width: 100%;
@@ -287,6 +299,7 @@
287
299
  .add-rule-btn {
288
300
  margin: auto;
289
301
  margin-bottom: 1rem;
302
+ margin-top: 1.5rem;
290
303
  h2 {
291
304
  font-family: Roboto;
292
305
  font-size: 1rem;
@@ -39,6 +39,7 @@
39
39
  margin-right: 0rem;
40
40
  padding-right: 0;
41
41
  margin-bottom: 0rem;
42
+ min-height: calc(100vh - 10em);
42
43
 
43
44
 
44
45
  .ground-container.digit-home-ground {
@@ -502,6 +503,7 @@ tbody {
502
503
  .loginFormStyleEmployee {
503
504
  .loginCardClassName {
504
505
  .digit-header-content {
506
+ margin-bottom: 1.5rem;
505
507
  &:not(label) {
506
508
  display: flex;
507
509
  justify-content: center;
@@ -630,7 +632,10 @@ tbody {
630
632
  border: 1px solid #d4351c;
631
633
  }
632
634
 
633
- .label-field-pair.delivery-type-radio {
635
+ .digit-label-field-pair.delivery-type-radio {
636
+ margin: 0rem;
637
+ margin-bottom: 0 !important;
638
+ margin-top: 0 !important;
634
639
  gap: 5rem;
635
640
 
636
641
  .digit-radio-options-wrap {
@@ -896,4 +901,4 @@ tbody {
896
901
  .digit-landing-page-card{
897
902
  min-width: fit-content;
898
903
  }
899
- }
904
+ }
@@ -39,73 +39,69 @@
39
39
  text-align: start;
40
40
  }
41
41
 
42
+ /* Main Wrapper */
42
43
  .custom-register-inbox-screen {
43
-
44
44
  width: 100%;
45
45
  display: flex;
46
46
  flex-direction: column;
47
47
  gap: 1.5rem;
48
48
  }
49
49
 
50
-
50
+ /* Row Section - Ensures Both Sections Have the Same Height */
51
51
  .custom-register-inbox-screen .inner-div-row-section {
52
-
53
52
  width: 100%;
54
53
  display: flex;
55
54
  flex-direction: row;
56
55
  gap: 1.5rem;
56
+ min-height: 80vh;
57
+ height: auto;
58
+ align-items: stretch;
59
+ /* Forces both sections to stay equal in height */
57
60
  }
58
61
 
62
+ /* Filter Section - Fixed to 30% Width */
59
63
  .custom-register-inbox-screen .custom-inbox-filter-section {
60
-
61
- width: 30%;
64
+ flex: 0 0 20%;
65
+ /* Fixes width to 30%, prevents unwanted expansion */
62
66
  display: flex;
63
67
  flex-direction: column;
64
- gap: 1.5rem;
65
- height: 80vh;
66
- }
67
-
68
-
69
- .custom-register-inbox-screen .custom-inbox-inner-filter-section {
70
-
71
- width: 100%;
72
- display: flex;
73
- flex-direction: row;
74
- height: 75vh;
68
+ height: 100%;
69
+ /* Ensures it stretches with table */
70
+ min-height: 100%;
75
71
  overflow-y: auto;
76
72
  }
77
73
 
78
-
79
-
80
-
74
+ /* Table Section - Takes Remaining 70% */
81
75
  .custom-register-inbox-screen .custom-inbox-outer-table-section {
82
-
83
- width: 100%;
76
+ flex: 1;
77
+ /* Takes remaining width (70%) */
84
78
  display: flex;
85
- flex-direction: row;
86
- gap: 1.5rem;
79
+ flex-direction: column;
80
+ height: 100%;
81
+ /* Matches filter height */
82
+ min-height: 100%;
83
+ overflow-y: auto;
87
84
  }
88
85
 
86
+ /* Inner Table Section */
89
87
  .custom-inbox-outer-table-section .inner-table-section {
90
-
91
88
  width: 100%;
92
89
  display: flex;
93
90
  flex-direction: column;
94
- height: 75vh;
95
- min-height: 75vh;
91
+ flex-grow: 1;
92
+ /* Makes sure table stretches */
96
93
  }
97
94
 
95
+ /* Table Card Override */
98
96
  .custom-inbox-outer-table-section .card-overide {
99
97
  max-width: 100%;
100
98
  overflow: auto;
101
99
  margin: 0px;
102
- height: 75vh;
100
+ flex-grow: 1;
101
+ /* Makes sure the table always fills height */
103
102
  }
104
103
 
105
-
106
-
107
-
108
-
104
+ /* Reset Proximity Icon */
109
105
  .on-icon-reset-proximity {
110
106
  border: 1px solid #e0e0e0;
111
107
  padding: 6px;
@@ -113,14 +109,12 @@
113
109
  cursor: pointer;
114
110
  }
115
111
 
116
-
112
+ /* Bill Inbox */
117
113
  .custom-bill-inbox {
118
114
  display: flex;
119
115
  flex-direction: column;
120
116
  gap: 1.5rem;
121
117
  margin-bottom: 2.5rem;
122
-
123
-
124
118
  }
125
119
 
126
120
  .bill-container {
@@ -141,7 +135,7 @@
141
135
  }
142
136
 
143
137
  .right-section {
144
- width: 100%;
138
+ flex: 1;
145
139
  display: flex;
146
140
  flex-direction: column;
147
141
  gap: 1.5rem;
@@ -152,4 +146,19 @@
152
146
  flex-direction: row;
153
147
  height: 60vh;
154
148
  overflow-y: auto;
149
+ }
150
+
151
+ .view-label-heading {
152
+ @extend .typography.heading-s;
153
+ color: theme(digitv2.lightTheme.text-primary);
154
+ width: 20%;
155
+ text-align: left;
156
+ white-space: pre-wrap;
157
+ word-wrap: break-word;
158
+ }
159
+
160
+ .view-label-text {
161
+ @extend .typography.body-s;
162
+ color: theme(digitv2.lightTheme.text-primary);
163
+ width: 80%;
155
164
  }