@egovernments/digit-ui-components-css 0.0.2-beta.10 → 0.0.2-beta.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +88 -84
  2. package/README.md +80 -80
  3. package/dist/index.css +612 -26
  4. package/dist/index.min.css +2 -2
  5. package/package.json +69 -69
  6. package/src/digitv2/components/FormComposerV2.scss +118 -118
  7. package/src/digitv2/components/actionbarV2.scss +207 -0
  8. package/src/digitv2/components/backLinkV2.scss +36 -36
  9. package/src/digitv2/components/bodyContainerV2.scss +39 -39
  10. package/src/digitv2/components/breadcrumbV2.scss +56 -56
  11. package/src/digitv2/components/buttonsV2.scss +451 -426
  12. package/src/digitv2/components/cardV2.scss +497 -484
  13. package/src/digitv2/components/cardbasedoptionsV2.scss +46 -46
  14. package/src/digitv2/components/cardlabelV2.scss +7 -7
  15. package/src/digitv2/components/checkboxV2.scss +83 -83
  16. package/src/digitv2/components/chipV2.scss +129 -129
  17. package/src/digitv2/components/dividerV2.scss +10 -10
  18. package/src/digitv2/components/errorMessageV2.scss +20 -20
  19. package/src/digitv2/components/fieldV1.scss +96 -96
  20. package/src/digitv2/components/headerdropdownV2.scss +152 -0
  21. package/src/digitv2/components/infoCardV2.scss +139 -139
  22. package/src/digitv2/components/infobuttonV2.scss +75 -75
  23. package/src/digitv2/components/labelFieldPairV2.scss +66 -66
  24. package/src/digitv2/components/mobileNumberV2.scss +65 -65
  25. package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
  26. package/src/digitv2/components/panelCardV2.scss +160 -160
  27. package/src/digitv2/components/panelV2.scss +114 -114
  28. package/src/digitv2/components/popUpV2.scss +330 -319
  29. package/src/digitv2/components/radiobtnV2.scss +115 -115
  30. package/src/digitv2/components/selectDropdownV2.scss +364 -364
  31. package/src/digitv2/components/stepperV2.scss +147 -147
  32. package/src/digitv2/components/textInputV2.scss +462 -462
  33. package/src/digitv2/components/textareaV2.scss +99 -99
  34. package/src/digitv2/components/textblockV2.scss +46 -46
  35. package/src/digitv2/components/timelineV2.scss +171 -159
  36. package/src/digitv2/components/toastV2.scss +80 -80
  37. package/src/digitv2/components/toggleV2.scss +72 -72
  38. package/src/digitv2/components/topbarV2.scss +388 -0
  39. package/src/digitv2/components/treeSelectV2.scss +132 -132
  40. package/src/digitv2/components/uploaderV2.scss +556 -556
  41. package/src/digitv2/components/viewCardFieldPairV2.scss +44 -44
  42. package/src/digitv2/index.scss +169 -168
  43. package/src/digitv2/pages/employee/index.scss +1 -1
  44. package/src/digitv2/pages/employee/workbench.scss +615 -615
  45. package/src/digitv2/typography.scss +638 -638
  46. package/src/index.scss +681 -681
  47. package/src/pages/employee/index.scss +625 -625
  48. package/src/pages/employee/login.scss +220 -220
@@ -1,615 +1,615 @@
1
- @import url("../../index.scss");
2
-
3
- .bread-crumb.workbench-bredcrumb{
4
- a{
5
- color: theme(digitv2.lightTheme.primary-orange);
6
- }
7
- }
8
- .workbench{
9
- .workbench-create-form {
10
- display: inherit;
11
- padding-top: 1.5rem;
12
- .digit-form-composer-sub-header {
13
- @extend .typography.text-heading-m;
14
- padding-left: 1rem;
15
- @media (max-width: theme(digitv2.screens.mobile)) {
16
- padding-left: 0;
17
- }
18
- }
19
-
20
- form {
21
- #label_digit_root {
22
- display: none;
23
- }
24
-
25
- #digit_root {
26
- width: 100%;
27
-
28
- .field-wrapper {
29
- .form-group.field {
30
- display: flex;
31
- padding: 1em 0 0 1em;
32
-
33
- @media (max-width: theme(digitv2.screens.mobile)) {
34
- flex-direction: column;
35
- }
36
-
37
- &.field-error.has-error.has-danger {
38
- .control-label {
39
- @extend .alert-error;
40
- }
41
-
42
- .form-control {
43
- @extend .alert-error-border;
44
- }
45
-
46
- .card-label-error {
47
- display: inline;
48
- position: relative;
49
- margin: 0px;
50
- padding: 0px;
51
- top: -0.7rem;
52
- font-weight: normal;
53
-
54
- }
55
- }
56
-
57
- &.field-boolean.field-error.has-error.has-danger {
58
-
59
- .card-label-error {
60
- position: initial;
61
- display: block;
62
- margin-top: 0.5rem;
63
-
64
- }
65
- }
66
-
67
- .control-label {
68
- max-width: 12.5rem;
69
- margin-right: 2.5rem;
70
- @extend .card-label;
71
- display: inline-flex;
72
- /* align-self: center; */
73
- line-height: 3rem;
74
- @extend .typography.text-heading-s;
75
- /* web view*/
76
- @apply w-1/3;
77
-
78
- /* tablet view*/
79
-
80
- @media (max-width: theme(digitv2.screens.tablet)) {
81
- max-width: 11rem;
82
- margin-right: 1.5rem;
83
-
84
- }
85
-
86
- /* mobile view*/
87
-
88
- @media (max-width: theme(digitv2.screens.mobile)) {
89
- /*max-width: 10.2rem;*/
90
- @apply w-full;
91
-
92
- }
93
-
94
- }
95
-
96
- .all-input-field-wrapper {
97
-
98
- @apply w-3/5;
99
- @media (max-width: theme(digitv2.screens.mobile)) {
100
- @apply w-full;
101
- }
102
-
103
- .form-control {
104
- @extend .light-input-border;
105
- @extend .employee-card-input;
106
- font-style: inherit;
107
- font-family: inherit;
108
- /* web view*/
109
- max-width: 37.5rem;
110
- min-width: 20.5rem;
111
- margin-bottom: 1rem;
112
- /* tablet view*/
113
-
114
- @media (max-width: theme(digitv2.screens.tablet)) {
115
- max-width: 27.5rem;
116
- min-width: 12.5rem;
117
-
118
- }
119
-
120
- /* mobile view*/
121
-
122
- @media (max-width: theme(digitv2.screens.mobile)) {
123
- max-width: 20.5rem;
124
- min-width: 9.5rem;
125
- @apply w-full;
126
-
127
- }
128
-
129
- &.form-select {
130
- padding: 0%;
131
- border: 0px;
132
-
133
- .digit__control {
134
- @apply outline-none;
135
-
136
- .digit__value-container:in-range {
137
- border-color: unset;
138
- box-shadow: none;
139
- box-sizing: unset;
140
- @apply outline-none;
141
- }
142
- }
143
-
144
- .digit__control--is-focused {
145
- border-color: theme(digitv2.lightTheme.primary-orange) !important;
146
- box-shadow: none;
147
- box-sizing: unset;
148
- @apply outline-none;
149
- }
150
-
151
-
152
- .digit__control:hover {
153
-
154
- border-color: unset;
155
- box-shadow: none;
156
- box-sizing: unset;
157
- @apply outline-none;
158
- }
159
-
160
- .digit__control:focus {
161
- border-color: theme(digitv2.lightTheme.primary-orange);
162
-
163
- .digit__value-container:focus {
164
- border-color: theme(digitv2.lightTheme.primary-orange);
165
-
166
- }
167
- }
168
- }
169
-
170
- &.form-select:focus {
171
- @apply outline-none;
172
- border-color: theme(digitv2.lightTheme.primary-orange);
173
-
174
- }
175
- }
176
-
177
- .form-control:read-only {
178
- background-color: theme(digitv2.lightTheme.generic-background);
179
- color: theme(digitv2.lightTheme.text-secondary);
180
- }
181
-
182
- .form-control:focus {
183
-
184
- @apply outline-none;
185
- border-color: theme(digitv2.lightTheme.primary-orange);
186
- }
187
-
188
- textarea.form-control {
189
- height: 5rem;
190
- }
191
- }
192
-
193
- &.field-string {
194
- align-self: center;
195
- }
196
-
197
- &.field-boolean {
198
- padding-top: 0rem;
199
- padding-bottom: 1rem;
200
-
201
- .custom-checkbox {
202
- display: inline-flex;
203
- align-items: end;
204
-
205
- &.custom-checkbox-disabled {
206
- pointer-events: none;
207
- opacity: 0.6;
208
- }
209
-
210
- .custom-checkbox-label {
211
- @extend .typography.text-body-s;
212
- @apply pl-sm;
213
- }
214
- }
215
-
216
- .checkbox {
217
- width: 28rem;
218
-
219
- label {
220
- float: left;
221
-
222
- /* display: flex;
223
- flex-direction: row-reverse;
224
- */
225
- span {
226
- width: 17rem;
227
- display: none;
228
- @extend .card-label;
229
- }
230
-
231
- input[type="checkbox"] {
232
- @extend .light-input-border;
233
- @extend .employee-card-input;
234
- height: 1.5rem;
235
- /* @apply ml-sm;*/
236
- }
237
-
238
- input[type="checkbox"]#digit_root_active {
239
- accent-color: theme(digitv2.lightTheme.primary-orange);
240
- }
241
-
242
- input:checked,
243
- input:hover {
244
- @apply border-2;
245
- @extend .light-input-border;
246
- }
247
- }
248
- }
249
-
250
- .field-radio-group {
251
- display: inline-flex;
252
- height: 2.5rem;
253
- align-items: center;
254
-
255
- .radio {
256
- @apply mr-sm;
257
- }
258
- }
259
-
260
-
261
-
262
- }
263
-
264
-
265
-
266
- &.field-object>.control-label {
267
- margin-left: 0.5rem;
268
- }
269
-
270
- &.field-object {
271
- display: block;
272
- @extend .light-background;
273
- @extend .light-paper-border;
274
- padding: 1rem;
275
- margin: 1rem;
276
-
277
- .digit-expand-collapse-wrapper {
278
- margin-top: 0px;
279
- }
280
-
281
- .digit-icon-toggle {
282
- top: -1.5rem;
283
- right: 1.5em;
284
- }
285
-
286
- .object-wrapper {
287
- .array-remove-button-wrapper {
288
- position: relative;
289
- }
290
- }
291
-
292
- /* have to revisit for objects
293
- [id^="root_"] {
294
- @extend .light-background;
295
- }
296
- */
297
- }
298
-
299
- &.field-array {
300
- display: block;
301
- @extend .light-paper-secondary;
302
- @extend .light-paper-border;
303
- padding: 2rem;
304
- margin: 1rem;
305
- padding-top: 1rem;
306
-
307
- .array-wrapper .array-item {
308
- &.jk-array-objects>.array-remove-button-wrapper {
309
- display: block;
310
- }
311
-
312
- &.jk-array-objects {
313
- margin-bottom: 2rem;
314
-
315
- .array-children>span .form-group.field.field-object {
316
- padding-bottom: 3rem;
317
- }
318
-
319
- .array-obj {
320
- position: absolute;
321
- bottom: 1.5rem;
322
- left: 2rem;
323
-
324
- >.array-remove-button-wrapper {
325
- position: unset;
326
- }
327
- }
328
-
329
- }
330
-
331
- &.jk-array-of-non-objects>.array-remove-button-wrapper {
332
- display: inline;
333
- left: 38.5rem;
334
- right: unset;
335
- top: 0.7rem;
336
- }
337
-
338
- &.jk-array-of-non-objects .array-children {
339
- span .form-group {
340
- padding-left: 0%;
341
-
342
- .control-label {
343
- display: none;
344
- }
345
-
346
- }
347
- }
348
-
349
- /* it has been removed since we dont need diff color for array items @extend .light-background;*/
350
- position: relative;
351
-
352
- .field-object {
353
- margin-left: 0;
354
- margin-right: 0;
355
- }
356
-
357
-
358
- .array-remove-button-wrapper {
359
- position: absolute;
360
- right: 1.3em;
361
- top: 1.3em;
362
- background-color: inherit !important;
363
-
364
- .array-remove-button {
365
- cursor: pointer;
366
- background-color: inherit !important;
367
- @media (max-width: theme(digitv2.screens.mobile)) {
368
- padding:0px;
369
- }
370
- h2{
371
- @media (max-width: theme(digitv2.screens.mobile)) {
372
- display: none;
373
- }
374
- }
375
-
376
- }
377
- }
378
-
379
- span.all-input-field-wrapper {
380
- @apply w-3/5;
381
-
382
- .form-control {
383
- @apply w-full;
384
- }
385
- }
386
-
387
- .control-label {
388
- @apply w-1/3;
389
-
390
- }
391
- }
392
-
393
-
394
- .jk-digit-secondary-btn {
395
- height: 1.7em;
396
- margin-top: 0.5rem;
397
-
398
- @media (max-width: theme(digitv2.screens.mobile)) {
399
- height: auto;
400
- width: 100%;
401
- }
402
-
403
- h2 {
404
- font-size: 1rem;
405
- }
406
- }
407
-
408
- .all-input-field-wrapper {
409
- .card-label-error {
410
- position: unset !important;
411
- }
412
- }
413
-
414
- }
415
-
416
- .digit-expand-collapse-header {
417
- border: 0;
418
- background-color: inherit;
419
- padding: 0;
420
- }
421
- }
422
- }
423
- }
424
- }
425
-
426
- div.action-bar-wrap {
427
- @extend .action-bar-wrap;
428
-
429
- .submit-bar {
430
- @extend .submit-bar;
431
- cursor: pointer;
432
- @apply font-rc font-medium text-legend text-white leading-10;
433
- }
434
- }
435
- }
436
-
437
- .workbench-no-schema-found {
438
- @apply flex justify-items-center flex-col;
439
- align-items: center;
440
- }
441
-
442
- .jk-digit-loader {
443
- position: absolute;
444
- z-index: 10000;
445
- width: 100vw;
446
- background-color: rgba(189, 189, 189, 0.5);
447
- height: 100vh;
448
- left: 0;
449
- top: 0;
450
-
451
- .jk-spinner-wrapper {
452
- width: 100%;
453
- display: flex;
454
- align-items: center;
455
- justify-content: center;
456
- height: 100%;
457
-
458
- .jk-spinner {
459
- border: 0.4em solid #fe7a51;
460
- border-radius: 50%;
461
- border-top: 0.4em solid #ffffff;
462
- width: 4em;
463
- height: 4em;
464
- -webkit-animation: spin 2s linear infinite;
465
- /* Safari */
466
- animation: spin 1s linear infinite;
467
- }
468
- }
469
- }
470
-
471
- .jk-sm-inbox-loader {
472
- border: 0.2em solid #fe7a51;
473
- border-radius: 50%;
474
- border-top: 0.2em solid #ffffff;
475
- width: 2em;
476
- height: 2em;
477
- -webkit-animation: spin 2s linear infinite;
478
- /* Safari */
479
- animation: spin 1s linear infinite;
480
- }
481
-
482
- /* Safari */
483
- @-webkit-keyframes spin {
484
- 0% {
485
- -webkit-transform: rotate(0deg);
486
- }
487
-
488
- 100% {
489
- -webkit-transform: rotate(360deg);
490
- }
491
- }
492
-
493
- @keyframes spin {
494
- 0% {
495
- transform: rotate(0deg);
496
- }
497
-
498
- 100% {
499
- transform: rotate(360deg);
500
- }
501
- }
502
-
503
- .no-data-found {
504
- height: 100%;
505
- width: 100%;
506
- display: flex;
507
- flex-direction: column;
508
- justify-content: center;
509
- align-items: center;
510
-
511
- .digit-error-msg {
512
- margin-top: 2rem;
513
- }
514
- }
515
-
516
-
517
- .tooltip .tooltiptext {
518
-
519
- top: 2rem;
520
- left: 0;
521
- margin-left: 0rem;
522
- width: fit-content;
523
- height: max-content;
524
- white-space: normal;
525
-
526
- .tooltiptextvalue {
527
- font-size: 14px;
528
- font-weight: 400px;
529
- color: white;
530
- }
531
- }
532
- .employeeCard.manage-master-wrapper {
533
- width: 100%;
534
- display: flex;
535
- padding-top: 2.1rem;
536
- @media (max-width: theme(digitv2.screens.mobile)) {
537
- flex-direction: column;
538
- }
539
- .employee-select-wrap.form-field{
540
- @apply w-1/4;
541
- margin-right:1rem ;
542
- @media (max-width: theme(digitv2.screens.mobile)) {
543
- @apply w-full;
544
- }
545
- }
546
- }
547
-
548
- .table{
549
- padding-left:0.8rem ;
550
- padding-right:0.8rem ;
551
- &-row-mdms:hover{
552
- background-color: theme(digitv2.lightTheme.primary-orangebg); /* Change this to the desired hover color */
553
- cursor: pointer;
554
- }
555
- }
556
- }
557
-
558
- .header-btn{
559
- width: 12rem;
560
- }
561
-
562
- .drag-drop-container {
563
- background-color: #FAFAFA;
564
- border: 1.5px dashed #D6D5D4;
565
- border-radius: 5px;
566
- margin:-1rem 1rem 1rem 1rem;
567
- padding: 1rem 1rem 1rem 1rem;
568
- display: flex;
569
- align-items: center;
570
- flex-direction: column;
571
-
572
- .drag-drop-text {
573
- text-decoration: none;
574
- .browse-text {
575
- text-decoration: none;
576
- color: #F47738;
577
- transition: color 0.3s;
578
- }
579
- .browse-text:hover {
580
- color: #F47738;
581
- text-decoration: underline;
582
- cursor: pointer;
583
- }
584
- }
585
-
586
- }
587
-
588
- .uploaded-file-container {
589
- background-color: #FAFAFA;
590
- border: 1.5px solid #D6D5D4;
591
- border-radius: 5px;
592
- margin:0.5rem 1rem 2rem 1rem;
593
- display: flex;
594
- flex-direction: row;
595
- align-items: center;
596
- padding: 0.6rem;
597
- justify-content: space-between;
598
-
599
- .uploaded-file-container-sub {
600
- display: flex;
601
- align-items: center;
602
-
603
- .icon:hover {
604
- cursor: pointer;
605
- }
606
- }
607
- }
608
-
609
- button:hover {
610
- cursor: pointer;
611
- }
612
-
613
- .popup-header-fix {
614
- margin-top: -0.5rem !important;
615
- }
1
+ @import url("../../index.scss");
2
+
3
+ .bread-crumb.workbench-bredcrumb{
4
+ a{
5
+ color: theme(digitv2.lightTheme.primary-orange);
6
+ }
7
+ }
8
+ .workbench{
9
+ .workbench-create-form {
10
+ display: inherit;
11
+ padding-top: 1.5rem;
12
+ .digit-form-composer-sub-header {
13
+ @extend .typography.text-heading-m;
14
+ padding-left: 1rem;
15
+ @media (max-width: theme(digitv2.screens.mobile)) {
16
+ padding-left: 0;
17
+ }
18
+ }
19
+
20
+ form {
21
+ #label_digit_root {
22
+ display: none;
23
+ }
24
+
25
+ #digit_root {
26
+ width: 100%;
27
+
28
+ .field-wrapper {
29
+ .form-group.field {
30
+ display: flex;
31
+ padding: 1em 0 0 1em;
32
+
33
+ @media (max-width: theme(digitv2.screens.mobile)) {
34
+ flex-direction: column;
35
+ }
36
+
37
+ &.field-error.has-error.has-danger {
38
+ .control-label {
39
+ @extend .alert-error;
40
+ }
41
+
42
+ .form-control {
43
+ @extend .alert-error-border;
44
+ }
45
+
46
+ .card-label-error {
47
+ display: inline;
48
+ position: relative;
49
+ margin: 0px;
50
+ padding: 0px;
51
+ top: -0.7rem;
52
+ font-weight: normal;
53
+
54
+ }
55
+ }
56
+
57
+ &.field-boolean.field-error.has-error.has-danger {
58
+
59
+ .card-label-error {
60
+ position: initial;
61
+ display: block;
62
+ margin-top: 0.5rem;
63
+
64
+ }
65
+ }
66
+
67
+ .control-label {
68
+ max-width: 12.5rem;
69
+ margin-right: 2.5rem;
70
+ @extend .card-label;
71
+ display: inline-flex;
72
+ /* align-self: center; */
73
+ line-height: 3rem;
74
+ @extend .typography.text-heading-s;
75
+ /* web view*/
76
+ @apply w-1/3;
77
+
78
+ /* tablet view*/
79
+
80
+ @media (max-width: theme(digitv2.screens.tablet)) {
81
+ max-width: 11rem;
82
+ margin-right: 1.5rem;
83
+
84
+ }
85
+
86
+ /* mobile view*/
87
+
88
+ @media (max-width: theme(digitv2.screens.mobile)) {
89
+ /*max-width: 10.2rem;*/
90
+ @apply w-full;
91
+
92
+ }
93
+
94
+ }
95
+
96
+ .all-input-field-wrapper {
97
+
98
+ @apply w-3/5;
99
+ @media (max-width: theme(digitv2.screens.mobile)) {
100
+ @apply w-full;
101
+ }
102
+
103
+ .form-control {
104
+ @extend .light-input-border;
105
+ @extend .employee-card-input;
106
+ font-style: inherit;
107
+ font-family: inherit;
108
+ /* web view*/
109
+ max-width: 37.5rem;
110
+ min-width: 20.5rem;
111
+ margin-bottom: 1rem;
112
+ /* tablet view*/
113
+
114
+ @media (max-width: theme(digitv2.screens.tablet)) {
115
+ max-width: 27.5rem;
116
+ min-width: 12.5rem;
117
+
118
+ }
119
+
120
+ /* mobile view*/
121
+
122
+ @media (max-width: theme(digitv2.screens.mobile)) {
123
+ max-width: 20.5rem;
124
+ min-width: 9.5rem;
125
+ @apply w-full;
126
+
127
+ }
128
+
129
+ &.form-select {
130
+ padding: 0%;
131
+ border: 0px;
132
+
133
+ .digit__control {
134
+ @apply outline-none;
135
+
136
+ .digit__value-container:in-range {
137
+ border-color: unset;
138
+ box-shadow: none;
139
+ box-sizing: unset;
140
+ @apply outline-none;
141
+ }
142
+ }
143
+
144
+ .digit__control--is-focused {
145
+ border-color: theme(digitv2.lightTheme.primary-orange) !important;
146
+ box-shadow: none;
147
+ box-sizing: unset;
148
+ @apply outline-none;
149
+ }
150
+
151
+
152
+ .digit__control:hover {
153
+
154
+ border-color: unset;
155
+ box-shadow: none;
156
+ box-sizing: unset;
157
+ @apply outline-none;
158
+ }
159
+
160
+ .digit__control:focus {
161
+ border-color: theme(digitv2.lightTheme.primary-orange);
162
+
163
+ .digit__value-container:focus {
164
+ border-color: theme(digitv2.lightTheme.primary-orange);
165
+
166
+ }
167
+ }
168
+ }
169
+
170
+ &.form-select:focus {
171
+ @apply outline-none;
172
+ border-color: theme(digitv2.lightTheme.primary-orange);
173
+
174
+ }
175
+ }
176
+
177
+ .form-control:read-only {
178
+ background-color: theme(digitv2.lightTheme.generic-background);
179
+ color: theme(digitv2.lightTheme.text-secondary);
180
+ }
181
+
182
+ .form-control:focus {
183
+
184
+ @apply outline-none;
185
+ border-color: theme(digitv2.lightTheme.primary-orange);
186
+ }
187
+
188
+ textarea.form-control {
189
+ height: 5rem;
190
+ }
191
+ }
192
+
193
+ &.field-string {
194
+ align-self: center;
195
+ }
196
+
197
+ &.field-boolean {
198
+ padding-top: 0rem;
199
+ padding-bottom: 1rem;
200
+
201
+ .custom-checkbox {
202
+ display: inline-flex;
203
+ align-items: end;
204
+
205
+ &.custom-checkbox-disabled {
206
+ pointer-events: none;
207
+ opacity: 0.6;
208
+ }
209
+
210
+ .custom-checkbox-label {
211
+ @extend .typography.text-body-s;
212
+ @apply pl-sm;
213
+ }
214
+ }
215
+
216
+ .checkbox {
217
+ width: 28rem;
218
+
219
+ label {
220
+ float: left;
221
+
222
+ /* display: flex;
223
+ flex-direction: row-reverse;
224
+ */
225
+ span {
226
+ width: 17rem;
227
+ display: none;
228
+ @extend .card-label;
229
+ }
230
+
231
+ input[type="checkbox"] {
232
+ @extend .light-input-border;
233
+ @extend .employee-card-input;
234
+ height: 1.5rem;
235
+ /* @apply ml-sm;*/
236
+ }
237
+
238
+ input[type="checkbox"]#digit_root_active {
239
+ accent-color: theme(digitv2.lightTheme.primary-orange);
240
+ }
241
+
242
+ input:checked,
243
+ input:hover {
244
+ @apply border-2;
245
+ @extend .light-input-border;
246
+ }
247
+ }
248
+ }
249
+
250
+ .field-radio-group {
251
+ display: inline-flex;
252
+ height: 2.5rem;
253
+ align-items: center;
254
+
255
+ .radio {
256
+ @apply mr-sm;
257
+ }
258
+ }
259
+
260
+
261
+
262
+ }
263
+
264
+
265
+
266
+ &.field-object>.control-label {
267
+ margin-left: 0.5rem;
268
+ }
269
+
270
+ &.field-object {
271
+ display: block;
272
+ @extend .light-background;
273
+ @extend .light-paper-border;
274
+ padding: 1rem;
275
+ margin: 1rem;
276
+
277
+ .digit-expand-collapse-wrapper {
278
+ margin-top: 0px;
279
+ }
280
+
281
+ .digit-icon-toggle {
282
+ top: -1.5rem;
283
+ right: 1.5em;
284
+ }
285
+
286
+ .object-wrapper {
287
+ .array-remove-button-wrapper {
288
+ position: relative;
289
+ }
290
+ }
291
+
292
+ /* have to revisit for objects
293
+ [id^="root_"] {
294
+ @extend .light-background;
295
+ }
296
+ */
297
+ }
298
+
299
+ &.field-array {
300
+ display: block;
301
+ @extend .light-paper-secondary;
302
+ @extend .light-paper-border;
303
+ padding: 2rem;
304
+ margin: 1rem;
305
+ padding-top: 1rem;
306
+
307
+ .array-wrapper .array-item {
308
+ &.jk-array-objects>.array-remove-button-wrapper {
309
+ display: block;
310
+ }
311
+
312
+ &.jk-array-objects {
313
+ margin-bottom: 2rem;
314
+
315
+ .array-children>span .form-group.field.field-object {
316
+ padding-bottom: 3rem;
317
+ }
318
+
319
+ .array-obj {
320
+ position: absolute;
321
+ bottom: 1.5rem;
322
+ left: 2rem;
323
+
324
+ >.array-remove-button-wrapper {
325
+ position: unset;
326
+ }
327
+ }
328
+
329
+ }
330
+
331
+ &.jk-array-of-non-objects>.array-remove-button-wrapper {
332
+ display: inline;
333
+ left: 38.5rem;
334
+ right: unset;
335
+ top: 0.7rem;
336
+ }
337
+
338
+ &.jk-array-of-non-objects .array-children {
339
+ span .form-group {
340
+ padding-left: 0%;
341
+
342
+ .control-label {
343
+ display: none;
344
+ }
345
+
346
+ }
347
+ }
348
+
349
+ /* it has been removed since we dont need diff color for array items @extend .light-background;*/
350
+ position: relative;
351
+
352
+ .field-object {
353
+ margin-left: 0;
354
+ margin-right: 0;
355
+ }
356
+
357
+
358
+ .array-remove-button-wrapper {
359
+ position: absolute;
360
+ right: 1.3em;
361
+ top: 1.3em;
362
+ background-color: inherit !important;
363
+
364
+ .array-remove-button {
365
+ cursor: pointer;
366
+ background-color: inherit !important;
367
+ @media (max-width: theme(digitv2.screens.mobile)) {
368
+ padding:0px;
369
+ }
370
+ h2{
371
+ @media (max-width: theme(digitv2.screens.mobile)) {
372
+ display: none;
373
+ }
374
+ }
375
+
376
+ }
377
+ }
378
+
379
+ span.all-input-field-wrapper {
380
+ @apply w-3/5;
381
+
382
+ .form-control {
383
+ @apply w-full;
384
+ }
385
+ }
386
+
387
+ .control-label {
388
+ @apply w-1/3;
389
+
390
+ }
391
+ }
392
+
393
+
394
+ .jk-digit-secondary-btn {
395
+ height: 1.7em;
396
+ margin-top: 0.5rem;
397
+
398
+ @media (max-width: theme(digitv2.screens.mobile)) {
399
+ height: auto;
400
+ width: 100%;
401
+ }
402
+
403
+ h2 {
404
+ font-size: 1rem;
405
+ }
406
+ }
407
+
408
+ .all-input-field-wrapper {
409
+ .card-label-error {
410
+ position: unset !important;
411
+ }
412
+ }
413
+
414
+ }
415
+
416
+ .digit-expand-collapse-header {
417
+ border: 0;
418
+ background-color: inherit;
419
+ padding: 0;
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }
425
+
426
+ div.action-bar-wrap {
427
+ @extend .action-bar-wrap;
428
+
429
+ .submit-bar {
430
+ @extend .submit-bar;
431
+ cursor: pointer;
432
+ @apply font-rc font-medium text-legend text-white leading-10;
433
+ }
434
+ }
435
+ }
436
+
437
+ .workbench-no-schema-found {
438
+ @apply flex justify-items-center flex-col;
439
+ align-items: center;
440
+ }
441
+
442
+ .jk-digit-loader {
443
+ position: absolute;
444
+ z-index: 10000;
445
+ width: 100vw;
446
+ background-color: rgba(189, 189, 189, 0.5);
447
+ height: 100vh;
448
+ left: 0;
449
+ top: 0;
450
+
451
+ .jk-spinner-wrapper {
452
+ width: 100%;
453
+ display: flex;
454
+ align-items: center;
455
+ justify-content: center;
456
+ height: 100%;
457
+
458
+ .jk-spinner {
459
+ border: 0.4em solid #fe7a51;
460
+ border-radius: 50%;
461
+ border-top: 0.4em solid #ffffff;
462
+ width: 4em;
463
+ height: 4em;
464
+ -webkit-animation: spin 2s linear infinite;
465
+ /* Safari */
466
+ animation: spin 1s linear infinite;
467
+ }
468
+ }
469
+ }
470
+
471
+ .jk-sm-inbox-loader {
472
+ border: 0.2em solid #fe7a51;
473
+ border-radius: 50%;
474
+ border-top: 0.2em solid #ffffff;
475
+ width: 2em;
476
+ height: 2em;
477
+ -webkit-animation: spin 2s linear infinite;
478
+ /* Safari */
479
+ animation: spin 1s linear infinite;
480
+ }
481
+
482
+ /* Safari */
483
+ @-webkit-keyframes spin {
484
+ 0% {
485
+ -webkit-transform: rotate(0deg);
486
+ }
487
+
488
+ 100% {
489
+ -webkit-transform: rotate(360deg);
490
+ }
491
+ }
492
+
493
+ @keyframes spin {
494
+ 0% {
495
+ transform: rotate(0deg);
496
+ }
497
+
498
+ 100% {
499
+ transform: rotate(360deg);
500
+ }
501
+ }
502
+
503
+ .no-data-found {
504
+ height: 100%;
505
+ width: 100%;
506
+ display: flex;
507
+ flex-direction: column;
508
+ justify-content: center;
509
+ align-items: center;
510
+
511
+ .digit-error-msg {
512
+ margin-top: 2rem;
513
+ }
514
+ }
515
+
516
+
517
+ .tooltip .tooltiptext {
518
+
519
+ top: 2rem;
520
+ left: 0;
521
+ margin-left: 0rem;
522
+ width: fit-content;
523
+ height: max-content;
524
+ white-space: normal;
525
+
526
+ .tooltiptextvalue {
527
+ font-size: 14px;
528
+ font-weight: 400px;
529
+ color: white;
530
+ }
531
+ }
532
+ .employeeCard.manage-master-wrapper {
533
+ width: 100%;
534
+ display: flex;
535
+ padding-top: 2.1rem;
536
+ @media (max-width: theme(digitv2.screens.mobile)) {
537
+ flex-direction: column;
538
+ }
539
+ .employee-select-wrap.form-field{
540
+ @apply w-1/4;
541
+ margin-right:1rem ;
542
+ @media (max-width: theme(digitv2.screens.mobile)) {
543
+ @apply w-full;
544
+ }
545
+ }
546
+ }
547
+
548
+ .table{
549
+ padding-left:0.8rem ;
550
+ padding-right:0.8rem ;
551
+ &-row-mdms:hover{
552
+ background-color: theme(digitv2.lightTheme.primary-orangebg); /* Change this to the desired hover color */
553
+ cursor: pointer;
554
+ }
555
+ }
556
+ }
557
+
558
+ .header-btn{
559
+ width: 12rem;
560
+ }
561
+
562
+ .drag-drop-container {
563
+ background-color: #FAFAFA;
564
+ border: 1.5px dashed #D6D5D4;
565
+ border-radius: 5px;
566
+ margin:-1rem 1rem 1rem 1rem;
567
+ padding: 1rem 1rem 1rem 1rem;
568
+ display: flex;
569
+ align-items: center;
570
+ flex-direction: column;
571
+
572
+ .drag-drop-text {
573
+ text-decoration: none;
574
+ .browse-text {
575
+ text-decoration: none;
576
+ color: #F47738;
577
+ transition: color 0.3s;
578
+ }
579
+ .browse-text:hover {
580
+ color: #F47738;
581
+ text-decoration: underline;
582
+ cursor: pointer;
583
+ }
584
+ }
585
+
586
+ }
587
+
588
+ .uploaded-file-container {
589
+ background-color: #FAFAFA;
590
+ border: 1.5px solid #D6D5D4;
591
+ border-radius: 5px;
592
+ margin:0.5rem 1rem 2rem 1rem;
593
+ display: flex;
594
+ flex-direction: row;
595
+ align-items: center;
596
+ padding: 0.6rem;
597
+ justify-content: space-between;
598
+
599
+ .uploaded-file-container-sub {
600
+ display: flex;
601
+ align-items: center;
602
+
603
+ .icon:hover {
604
+ cursor: pointer;
605
+ }
606
+ }
607
+ }
608
+
609
+ button:hover {
610
+ cursor: pointer;
611
+ }
612
+
613
+ .popup-header-fix {
614
+ margin-top: -0.5rem !important;
615
+ }