@egovernments/digit-ui-health-css 0.0.11

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,363 @@
1
+ .table {
2
+ @apply bg-white w-full;
3
+
4
+ thead {
5
+ th {
6
+ padding: 20px 18px;
7
+ @apply font-bold align-middle text-left;
8
+ &:first-child {
9
+ min-width: 256px;
10
+ }
11
+ }
12
+ }
13
+
14
+ tbody {
15
+ border: none;
16
+ padding: 0;
17
+ margin: 0;
18
+ td {
19
+ @apply border-border text-left align-middle;
20
+ padding: "20px 18px";
21
+ }
22
+ }
23
+ }
24
+
25
+ .pagination {
26
+ display: flex;
27
+ justify-content: flex-end;
28
+ background-color: rgba(255, 255, 255, var(--bg-opacity));
29
+ border-top: 1px solid rgb(214, 213, 212);
30
+ padding: 20px 40px 20px 0px;
31
+ color: rgb(80, 90, 95);
32
+
33
+ svg {
34
+ fill: #505a5f;
35
+ @apply ml-md;
36
+ }
37
+ }
38
+
39
+ .pagination button:nth-child(1) span::after {
40
+ content: "\f105";
41
+ }
42
+
43
+ .fullWidth {
44
+ width: 100% !important;
45
+ }
46
+
47
+ .customTable {
48
+ width: 100%;
49
+ th {
50
+ font-weight: bold;
51
+ }
52
+
53
+ th,
54
+ td {
55
+ text-align: left;
56
+ border-bottom: 1px solid #b1b4b6;
57
+ padding: 15px 10px;
58
+ }
59
+
60
+ tr:nth-child(odd) {
61
+ background-color: #eeeeee;
62
+ }
63
+ tr:nth-child(even) {
64
+ background-color: #fff;
65
+ }
66
+
67
+ thead {
68
+ tr:first-child {
69
+ background-color: unset;
70
+ }
71
+ }
72
+ }
73
+
74
+ .table-fixed-first-column {
75
+ thead {
76
+ th:first-child {
77
+ position: sticky;
78
+ background: #fff;
79
+ left: 0;
80
+ border-right: 1px solid #b1b4b6;
81
+ border-top-left-radius: 4px;
82
+ }
83
+ }
84
+ tbody {
85
+ td:first-child {
86
+ position: sticky;
87
+ background: #fff;
88
+ color: #f47738;
89
+ left: 0;
90
+ border-right: 1px solid #b1b4b6;
91
+ }
92
+ }
93
+ }
94
+ .table-fixed-column-common-pay {
95
+ thead {
96
+ th:first-child {
97
+ position: sticky;
98
+ background: rgb(238, 238, 238);
99
+ left: 0;
100
+ border-top-left-radius: 4px;
101
+ }
102
+ th:last-child {
103
+ position: sticky;
104
+ background: rgb(238, 238, 238);
105
+ right: 0;
106
+ border-top-left-radius: 4px;
107
+ }
108
+ }
109
+ tbody {
110
+ td:first-child {
111
+ position: sticky;
112
+ background: rgb(238, 238, 238);
113
+ left: 0;
114
+ }
115
+ td:last-child {
116
+ position: sticky;
117
+ background: rgb(238, 238, 238);
118
+ right: 0;
119
+ }
120
+ }
121
+ }
122
+
123
+ .table-fixed-first-second-column {
124
+ thead {
125
+ th:nth-child(2) {
126
+ position: sticky;
127
+ left: 0;
128
+ background-color: white;
129
+ }
130
+ }
131
+ tbody {
132
+ td:nth-child(2) {
133
+ position: sticky;
134
+ left: 0;
135
+ background-color: inherit;
136
+ }
137
+ }
138
+ }
139
+ .table-border-style {
140
+ border: 1px solid #b1b4b6;
141
+ border-radius: 4px;
142
+ border-spacing: 0;
143
+ border-collapse: separate;
144
+ }
145
+ .dss-table-wrapper {
146
+ width: 100%;
147
+ display: block;
148
+ overflow-x: auto;
149
+ table {
150
+ th {
151
+ .tooltip {
152
+ min-width: 80px;
153
+ }
154
+ }
155
+ tr {
156
+ td {
157
+ span {
158
+ white-space: pre;
159
+ min-width: 80px;
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+
166
+ .reports-table {
167
+ margin-top: 2rem;
168
+ thead {
169
+ th {
170
+ &:first-child {
171
+ min-width: unset;
172
+ }
173
+ }
174
+ }
175
+ }
176
+
177
+ .sub-work-table {
178
+ justify-content: center;
179
+ padding: 0;
180
+ border-collapse: collapse;
181
+ border: 1px solid #ddd;
182
+ td,
183
+ th {
184
+ color: #0b0c0c;
185
+ border: 1px solid #ddd;
186
+ padding: 12px;
187
+ }
188
+ tr:hover {
189
+ background-color: #efefef;
190
+ }
191
+ th {
192
+ padding: 10px;
193
+ text-align: center;
194
+ background-color: #efefef;
195
+ color: #0b0c0c;
196
+ }
197
+
198
+ tr {
199
+ td {
200
+ span:hover {
201
+ cursor: pointer;
202
+ }
203
+ }
204
+ }
205
+ }
206
+
207
+ .table-fixed-first-column-wage-seekers {
208
+ thead {
209
+ th:first-child {
210
+ position: sticky;
211
+ background: #fff;
212
+ left: 0;
213
+ border-right: 1px solid #b1b4b6;
214
+ border-top-left-radius: 4px;
215
+ }
216
+ }
217
+
218
+ tbody {
219
+ td:first-child {
220
+ position: sticky;
221
+ background: #fff;
222
+ left: 0;
223
+ border-right: 1px solid #b1b4b6;
224
+ }
225
+ }
226
+ }
227
+ .table-wrapper {
228
+ &.attendence-table {
229
+ display: block;
230
+ overflow-x: scroll;
231
+ }
232
+ .wage-seekers-table {
233
+ width: 100%;
234
+ justify-content: center;
235
+ padding: 0;
236
+ border-collapse: collapse;
237
+ border: 1px solid #ddd;
238
+
239
+ &.week-table {
240
+ border: 1px solid #A6A6A6;
241
+ thead {
242
+ background-color: #EEEEEE;
243
+ }
244
+ tbody tr {
245
+ border-bottom: 1px solid #ddd;
246
+ text-align: center;
247
+ }
248
+ tbody tr .total-attendence-label {
249
+ font-weight: bolder;
250
+ }
251
+ tbody tr td[data-radio-selection=last-radio] {
252
+ border: none;
253
+ }
254
+ tbody tr:nth-child(even) td[data-radio-selection=last-radio] {
255
+ border: none;
256
+ background-color: #EEEEEE;
257
+ }
258
+ tbody tr td:nth-child(11) {
259
+ border: none;
260
+ border-right: 1px solid #A6A6A6;
261
+ }
262
+ tbody tr td[colspan="4"] {
263
+ text-align: left;
264
+ }
265
+ tbody tr td[data-modified-amt=modified-amt] {
266
+ background-color: #F5F5F5;
267
+ }
268
+ tbody tr td[data-last-row-cell=last-row] {
269
+ font-weight: bolder;
270
+ border: none;
271
+ background-color: #EEEEEE;
272
+ }
273
+ tbody tr td[data-last-row-cell=last-row]:nth-child(1), :nth-child(11) {
274
+ border-right: 1px solid #ddd !important;
275
+ }
276
+ .modified-amount {
277
+ border: 1px solid;
278
+ padding: 5px;
279
+ }
280
+ }
281
+ td,
282
+ th {
283
+ color: #0b0c0c;
284
+ border: 1px solid #ddd;
285
+ padding: 12px;
286
+ }
287
+
288
+ tr:hover {
289
+ background-color: #efefef;
290
+ }
291
+
292
+ th {
293
+ padding: 10px;
294
+ text-align: center;
295
+ color: #0b0c0c;
296
+ }
297
+
298
+ tr {
299
+ td {
300
+ span:hover {
301
+ cursor: pointer;
302
+ }
303
+ }
304
+ }
305
+ }
306
+ }
307
+
308
+
309
+ .percent-input {
310
+ display: flex;
311
+ flex-direction: row;
312
+ /* This bit draws the box around it */
313
+
314
+ /* I've used padding so you can see the edges of the elements. */
315
+ padding: 4px;
316
+ input {
317
+ /* Tell the input to use all the available space */
318
+ flex-grow: 2;
319
+ /* And hide the input's outline, so the form looks like the outline */
320
+
321
+ height: 40px;
322
+ }
323
+ input:focus {
324
+ /* removing the input focus blue box. Put this on the form if you like. */
325
+ outline: none;
326
+ }
327
+ button {
328
+ /* Just a little styling to make it pretty */
329
+ border: 1px solid #505a5f;
330
+ background: #eeeeee;
331
+ color: white;
332
+ align-items: flex-start;
333
+ }
334
+ }
335
+
336
+ .contractor-table {
337
+ border-collapse: collapse;
338
+ width: 100%;
339
+ table,
340
+ th,
341
+ td {
342
+ border: 1.5px solid black;
343
+ }
344
+ th {
345
+ background-color: #ECECEC;
346
+ }
347
+ }
348
+
349
+ .column-attendence {
350
+ display: flex;
351
+ flex-direction: column;
352
+ justify-content: center;
353
+ }
354
+
355
+ .day-attendence {
356
+ margin-left: 0.3rem;
357
+ font-weight: 550;
358
+ }
359
+
360
+ .date-attendence {
361
+ opacity: 0.6;
362
+ font-weight: 200;
363
+ }
@@ -0,0 +1,103 @@
1
+ .upload-wrap {
2
+ @apply flex w-full h-40 bg-grey-light relative mb-lg px-sm border-border border-dashed;
3
+ max-width: 540px;
4
+
5
+ img {
6
+ display: block;
7
+ margin-top: 58px;
8
+ margin-left: calc(50% - 23px);
9
+ height: 42px;
10
+ width: 46px;
11
+ }
12
+
13
+ svg {
14
+ display: block;
15
+ margin-top: 58px;
16
+ margin-left: calc(50% - 23px);
17
+ height: 42px;
18
+ width: 46px;
19
+ }
20
+
21
+ input {
22
+ @apply absolute w-full h-full opacity-0 top-0;
23
+ }
24
+ }
25
+
26
+ .multi-upload-wrap {
27
+ @apply flex mb-lg;
28
+
29
+ div {
30
+ display: block;
31
+ position: relative;
32
+ background-color: #fafafa;
33
+ width: calc((100% - 16px) / 3);
34
+ margin-right: 8px;
35
+
36
+ .delete {
37
+ position: absolute;
38
+ height: 24px;
39
+ width: 24px;
40
+ border-radius: 100%;
41
+ top: 2px;
42
+ right: 2px;
43
+ }
44
+ }
45
+
46
+ .upload-img-container {
47
+ border: 1px dashed #d6d5d4;
48
+ margin: 0 !important;
49
+
50
+ img {
51
+ margin-left: auto;
52
+ margin-right: auto;
53
+ padding-top: calc(33% - 21px);
54
+ }
55
+
56
+ svg {
57
+ @apply flex;
58
+ margin: auto;
59
+ }
60
+
61
+ svg {
62
+ margin-left: auto;
63
+ margin-right: auto;
64
+ top: calc(50% - 21px);
65
+ position: relative;
66
+ }
67
+
68
+ input {
69
+ @apply absolute w-full h-full opacity-0 top-0;
70
+ }
71
+ }
72
+ }
73
+
74
+ .upload-file-max-width {
75
+ max-width: 540px;
76
+ }
77
+
78
+ .upload-file {
79
+ min-height: 56px;
80
+ &.upload-margin-bottom {
81
+ @apply mb-md;
82
+ }
83
+ @apply relative border-input-border w-full;
84
+
85
+ div {
86
+ @apply flex flex-row h-full items-center pl-md mt-sm flex-wrap;
87
+
88
+ .file-upload-status {
89
+ @apply text-body-s-dt ml-sm;
90
+ }
91
+ }
92
+ input {
93
+ width: 160px;
94
+ @apply absolute top-0 left-0 opacity-0 h-full;
95
+ }
96
+ }
97
+
98
+ @screen dt {
99
+ .multi-upload-wrap img {
100
+ width: 100%;
101
+ height: 158px;
102
+ }
103
+ }