@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,548 @@
1
+ /* TODO: convert using tailwind */
2
+ .employee {
3
+ .breadcrumb {
4
+ @apply ml-sm mb-lg;
5
+ }
6
+ .ground-container {
7
+ margin-bottom: 56px;
8
+ @apply flex flex-col;
9
+ }
10
+ .card-home {
11
+ font-size: 16px;
12
+ padding: 0 0 16px 0;
13
+ width: 92vw;
14
+ display: inline-block;
15
+ margin: 8px auto;
16
+ }
17
+ .home-action-cards {
18
+ height: auto !important;
19
+ min-height: 263px;
20
+ }
21
+ .topbar {
22
+ position: fixed;
23
+ top: 0;
24
+ width: 100%;
25
+ padding: 16px 24px;
26
+ background: white;
27
+ box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
28
+ z-index: 9999;
29
+
30
+ img {
31
+ display: inline;
32
+
33
+ &.city {
34
+ margin-right: 8px;
35
+ height: 48px;
36
+ width: 48px;
37
+ }
38
+
39
+ &.state {
40
+ height: 20px;
41
+ max-height: 20px;
42
+ width: auto;
43
+ }
44
+ }
45
+
46
+ .ulb {
47
+ font-weight: bold;
48
+ }
49
+
50
+ .right {
51
+ float: right;
52
+ margin-top: 12px;
53
+
54
+ .user-img-txt {
55
+ background: #f47738;
56
+ padding: 10px 15px;
57
+ border-radius: 50%;
58
+ color: white;
59
+ font-weight: 700;
60
+ }
61
+ }
62
+ }
63
+
64
+ .main {
65
+ padding-top: 88px;
66
+ }
67
+
68
+ .loginContainer {
69
+ padding-top: 88px;
70
+ }
71
+
72
+ .react-time-picker {
73
+ width: 100%;
74
+ }
75
+
76
+ .react-time-picker__wrapper {
77
+ border: 1px solid #464646;
78
+ }
79
+
80
+ .react-time-picker__clock {
81
+ display: none;
82
+ }
83
+
84
+ .react-time-picker__inputGroup__leadingZero {
85
+ padding-right: 8px;
86
+ display: inline !important;
87
+ }
88
+
89
+ .react-time-picker__inputGroup__input {
90
+ padding: 0;
91
+ min-width: none;
92
+ outline: none !important;
93
+ border: none !important;
94
+ }
95
+
96
+ .react-time-picker__wrapper {
97
+ padding-left: 8px;
98
+ }
99
+ }
100
+
101
+ @media (min-width: 780px) {
102
+ .employeeCard {
103
+ margin-bottom: 16px !important;
104
+ margin-left: 0px !important;
105
+ margin-right: 16px !important;
106
+ }
107
+
108
+ .shadow-border-radius {
109
+ box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
110
+ border-radius: 4px;
111
+ }
112
+
113
+ .no-padding {
114
+ padding: 0px !important;
115
+ margin: 0px !important;
116
+ }
117
+ }
118
+
119
+ .toast-success {
120
+ bottom: 55px !important;
121
+ border-radius: 0px;
122
+ }
123
+
124
+ .citizen {
125
+ .main {
126
+ padding-top: 82px;
127
+ min-height: calc(100vh - 90px);
128
+ }
129
+ }
130
+ .citizen,
131
+ .employee {
132
+ .sidebar {
133
+ position: fixed;
134
+ left: 0;
135
+ background: #22394d;
136
+ height: 100%;
137
+ color: #ffffff;
138
+ margin-top: 80px;
139
+ z-index: 10;
140
+ transition: 0.3s ease all;
141
+ white-space: nowrap;
142
+ height: calc(100vh - 36px);
143
+ padding-bottom: 5rem;
144
+
145
+ .actions {
146
+ cursor: pointer;
147
+ display: flex;
148
+ align-items: center;
149
+ .tooltip {
150
+ margin-left: 16px;
151
+ }
152
+ }
153
+
154
+ svg {
155
+ width: 24px;
156
+ height: 24px;
157
+ fill: #ffffff;
158
+ }
159
+ a {
160
+ display: flex;
161
+ }
162
+ .sidebar-link {
163
+ display: flex;
164
+ color: #ffffff;
165
+ justify-content: space-between;
166
+ align-items: center;
167
+ padding: 20px;
168
+ font-size: 14px;
169
+ &.active {
170
+ color: #f47738 !important;
171
+
172
+ border-right: 4px solid #f47738;
173
+ svg {
174
+ fill: #f47738 !important;
175
+ }
176
+ }
177
+ .employee-search-input {
178
+ border: none;
179
+ outline: none;
180
+ background-color: rgba(0, 0, 0, 0);
181
+ margin-left: 13px;
182
+ }
183
+ .custom-link {
184
+ .tooltip {
185
+ margin-left: 16px;
186
+ span {
187
+ margin-left: unset !important;
188
+ left: unset !important;
189
+ }
190
+ }
191
+ }
192
+
193
+ svg {
194
+ fill: #ffffff !important;
195
+ width: 21px;
196
+ height: 21px;
197
+ }
198
+
199
+ &:hover {
200
+ color: #f47738 !important;
201
+ background-color: #486480;
202
+
203
+ cursor: pointer;
204
+ svg {
205
+ fill: #f47738 !important;
206
+ }
207
+ }
208
+ .search-icon-wrapper {
209
+ svg {
210
+ fill: #ffffff !important;
211
+ width: 21px;
212
+ height: 21px;
213
+ path {
214
+ fill: #ffffff !important;
215
+ }
216
+ }
217
+ }
218
+ }
219
+ .dropdown-link {
220
+ height: 40px;
221
+ display: flex;
222
+ margin-left: 40px;
223
+ align-items: center;
224
+ text-decoration: none;
225
+ color: #ffffff;
226
+ font-size: 14px;
227
+ .actions {
228
+ .tooltiptext {
229
+ left: unset;
230
+ right: 1%;
231
+ }
232
+ }
233
+ svg {
234
+ width: 20px;
235
+ height: 20px;
236
+ fill: #ffffff;
237
+ }
238
+ &:hover {
239
+ color: #fe7a51 !important;
240
+ background-color: #486480;
241
+ cursor: pointer;
242
+ svg {
243
+ fill: #fe7a51 !important;
244
+ }
245
+ }
246
+ &.active {
247
+ color: #f47738 !important;
248
+
249
+ border-right: 4px solid #f47738;
250
+ svg {
251
+ fill: #f47738 !important;
252
+ }
253
+ }
254
+ }
255
+ span {
256
+ margin-left: 16px;
257
+ text-overflow: ellipsis;
258
+ overflow: hidden;
259
+ white-space: nowrap;
260
+ }
261
+ }
262
+
263
+ .wrapperStyles {
264
+ margin-top: -5px;
265
+ padding-left: 20px;
266
+ padding-top: 10px;
267
+
268
+ .containerStyles {
269
+ border: 1px solid #505a5f;
270
+ padding: 16px;
271
+ margin-bottom: 20px;
272
+ }
273
+
274
+ &.leftBorder {
275
+ border-left: 2px solid rgba(0, 0, 0, 0.12);
276
+ }
277
+ }
278
+
279
+ .rowContainerStyles {
280
+ @apply flex flex-col;
281
+ }
282
+
283
+ .tableContainerStyles {
284
+ border: 1px solid #505a5f;
285
+ padding: 16px;
286
+ margin-bottom: 20px;
287
+ }
288
+
289
+ .historyTables {
290
+ display: grid;
291
+ grid-template-rows: 100px 100px;
292
+ grid-template-columns: repeat(5, minmax(100px, 1fr));
293
+ }
294
+
295
+ .historyContent {
296
+ margin: 0 10px;
297
+ position: relative;
298
+ padding-bottom: 5px;
299
+ }
300
+
301
+ .historyCheckpoint {
302
+ background-color: #fe7a51;
303
+ border-radius: 100%;
304
+ width: 18px;
305
+ height: 18px;
306
+ display: inline-block;
307
+ position: relative;
308
+ left: -9px;
309
+ top: 4px;
310
+
311
+ &.zIndex {
312
+ z-index: 10;
313
+ }
314
+ }
315
+
316
+ .historyTableDateLabel {
317
+ color: rgba(0, 0, 0, 0.87);
318
+ font-size: 16px;
319
+ font-weight: 700;
320
+ line-height: 17px;
321
+ text-align: left;
322
+ display: inline-block;
323
+ padding-top: 5px;
324
+ }
325
+
326
+ .bottomMargin {
327
+ margin-bottom: 0px;
328
+ }
329
+
330
+ .historyTableDate {
331
+ color: rgba(0, 0, 0, 0.87);
332
+ font-size: 19px;
333
+ font-weight: 400;
334
+ line-height: 17px;
335
+ text-align: left;
336
+ display: inline-block;
337
+ padding-top: 10px;
338
+ }
339
+
340
+ .historyHorizontalBar {
341
+ background-color: rgba(0, 0, 0, 0.12);
342
+ width: auto;
343
+ height: 2px;
344
+ margin-left: 16px;
345
+ }
346
+
347
+ .smallText {
348
+ font-weight: 500;
349
+ font-size: 14px;
350
+ }
351
+ }
352
+
353
+ .citizen {
354
+ .sidebar {
355
+ margin-top: 54px;
356
+ min-width: 200px;
357
+ .actions {
358
+ display: flex;
359
+ align-items: center;
360
+ gap: 10px;
361
+ }
362
+ }
363
+ }
364
+
365
+ .link {
366
+ @apply text-primary-main cursor-pointer;
367
+
368
+ :hover {
369
+ @apply text-primary-dark;
370
+ }
371
+ }
372
+
373
+ .RightMostTopBarOptions {
374
+ @apply flex;
375
+ .EventNotificationWrapper {
376
+ @apply relative cursor-pointer ml-md;
377
+ span {
378
+ top: -10px;
379
+ right: -10px;
380
+ @apply absolute bg-error h-5 w-5 rounded-full text-center;
381
+ p {
382
+ line-height: 20px;
383
+ }
384
+ }
385
+ }
386
+ .select-wrap {
387
+ margin-bottom: unset;
388
+ svg {
389
+ fill: #ffffff;
390
+ }
391
+ }
392
+ }
393
+
394
+ @media (min-width: 640px) {
395
+ .employee {
396
+ .ground-container {
397
+ @apply block;
398
+ }
399
+ .breadcrumb {
400
+ @apply mb-lg;
401
+ margin-left: 0;
402
+ }
403
+ .card-home {
404
+ width: 270px;
405
+ margin-right: 10px;
406
+ margin-bottom: 10px;
407
+ }
408
+ .card-home-hrms {
409
+ width: 405px;
410
+ padding: 0px;
411
+ margin-right: 16px;
412
+ margin-bottom: 16px;
413
+ }
414
+ .main {
415
+ display: flex;
416
+ flex-direction: column;
417
+ margin-left: 55px;
418
+ width: calc(100%-55px);
419
+ }
420
+ .citizen-home-container {
421
+ display: flex;
422
+ flex-direction: unset !important;
423
+ width: unset !important;
424
+ margin-left: unset !important;
425
+ padding-top: 58px;
426
+ }
427
+ }
428
+
429
+ .citizen {
430
+ .main {
431
+ width: 100%;
432
+ padding-top: 58px;
433
+ height: 100%;
434
+ display: flex;
435
+ justify-content: center;
436
+ }
437
+
438
+ .center-container {
439
+ }
440
+ }
441
+ }
442
+
443
+ .fullWidth {
444
+ width: 100%;
445
+ }
446
+
447
+ .multi-select-container {
448
+ .disposal-text {
449
+ @apply font-bold;
450
+ }
451
+
452
+ .disposal-info {
453
+ @apply my-md ml-sm;
454
+ }
455
+
456
+ .disposal-action-bar {
457
+ @apply flex justify-between items-center;
458
+ }
459
+ }
460
+
461
+ @screen dt {
462
+ .d-grid {
463
+ display: grid;
464
+ grid-template-columns: 250px 250px 250px 250px;
465
+ column-gap: 10px;
466
+ row-gap: 2px;
467
+ margin-left: -12px;
468
+ }
469
+ }
470
+
471
+ .m-auto {
472
+ margin: auto !important;
473
+ }
474
+
475
+ .mb-50 {
476
+ margin-bottom: 50px;
477
+ }
478
+ .mb-25 {
479
+ margin-bottom: 25px;
480
+ }
481
+
482
+ .back-wrapper {
483
+ display: flex;
484
+ justify-content: space-between;
485
+
486
+ .top-back-btn {
487
+ margin-bottom: 0px;
488
+ color: #ffffff;
489
+ margin-right: 1em;
490
+ & svg {
491
+ fill: #ffffff;
492
+ }
493
+ }
494
+ .hambuger-back-wrapper {
495
+ display: flex;
496
+ @media (min-width: 780px) {
497
+ .hamburger-span {
498
+ display: none;
499
+ }
500
+ }
501
+ }
502
+ }
503
+
504
+ @screen dt {
505
+ .back-wrapper {
506
+ margin-right: 2rem;
507
+ margin-left: 2rem;
508
+ }
509
+ }
510
+
511
+ .user-profile {
512
+ @media (min-width: 780px) {
513
+ width: calc(100% - 219px);
514
+ margin-left: 16px;
515
+ margin-right: 16px;
516
+ }
517
+ }
518
+
519
+ .status-row-radio-wrapper {
520
+ margin-right: 1rem;
521
+ input[type="radio"] {
522
+ margin-right: 1rem;
523
+ }
524
+ }
525
+ .total-value-wrapper {
526
+ display: flex;
527
+ flex-direction: column;
528
+ }
529
+
530
+ .total-wrapper {
531
+ margin: 1rem 0;
532
+ display: grid;
533
+ grid-template-columns: 1fr 1fr;
534
+ font-weight: bolder;
535
+ }
536
+
537
+ .total-wrapper .label {
538
+ text-align: left;
539
+ }
540
+
541
+ .total-wrapper .value {
542
+ text-align: right;
543
+ }
544
+
545
+ .bannerCard .language-button-container button {
546
+ width: 7rem;
547
+ height: 2.5rem;
548
+ }