@egovernments/digit-ui-health-css 0.3.1 → 0.3.3

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.
@@ -0,0 +1,110 @@
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
+ align-items: center;
74
+
75
+
76
+ .digit-results-card-buttons-internal {
77
+ display: grid;
78
+ grid-auto-flow: column;
79
+ grid-auto-columns: 1fr;
80
+ gap: 1rem;
81
+ }
82
+ }
83
+
84
+ .digit-viewcard-field-pair {
85
+ &.digit-results-card-field-pair {
86
+ .digit-viewcard-label {
87
+ color: theme(digitv2.lightTheme.primary-2);
88
+ }
89
+
90
+ .digit-viewcard-value {
91
+ color: #787878;
92
+ }
93
+ }
94
+ }
95
+
96
+ .digit-viewcard-field-pair {
97
+ &.digit-results-status-card-field-pair {
98
+ align-items: center;
99
+ gap: 8.5rem;
100
+ flex-direction: unset;
101
+ .digit-viewcard-label {
102
+ color: theme(digitv2.lightTheme.primary-2);
103
+ width: unset;
104
+ }
105
+
106
+ .digit-viewcard-value {
107
+ color: #787878;
108
+ }
109
+ }
110
+ }
@@ -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
  }