@itcase/gantt-old 0.0.0-stage → 1.2.0

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 (126) hide show
  1. package/README.md +0 -3
  2. package/dist/css/components/Chart/Chart.css +15 -0
  3. package/dist/css/components/Dependencies/Dependence.css +6 -0
  4. package/dist/css/components/Divider/Divider.css +94 -0
  5. package/dist/css/components/EmployeesList/EmployeesList.css +41 -0
  6. package/dist/css/components/GroupBar/GroupBar.css +20 -0
  7. package/dist/css/components/Header/Header.css +55 -0
  8. package/dist/css/components/InvalidTaskBar/InvalidTaskBar.css +23 -0
  9. package/dist/css/components/Scale/Scale.css +62 -0
  10. package/dist/css/components/ScrollBar/ScrollBar.css +16 -0
  11. package/dist/css/components/ScrollTop/ScrollTop.css +16 -0
  12. package/dist/css/components/SelectionIndicator/SelectionIndicator.css +7 -0
  13. package/dist/css/components/TableBody/RowToggler.css +25 -0
  14. package/dist/css/components/TableInterval/TableInterval.css +65 -0
  15. package/dist/css/components/TableTask/TableTask.css +41 -0
  16. package/dist/css/components/TaskBar/TaskBar.css +96 -0
  17. package/dist/css/components/TaskBarThumb/TaskBarThumb.css +35 -0
  18. package/dist/css/components/TimeIndicator/TimeIndicator.css +18 -0
  19. package/dist/css/components/Today/Today.css +13 -0
  20. package/dist/css/styles/main.css +758 -0
  21. package/dist/css/styles/mediaqueries.css +66 -0
  22. package/dist/css/styles/mixin_elevation.css +33 -0
  23. package/dist/css/styles/mixin_fill-gradient.css +23 -0
  24. package/dist/css/styles/mixin_global.css +54 -0
  25. package/dist/esm/index.js +3592 -0
  26. package/dist/types/components/BarList/BarList.d.ts +3 -0
  27. package/dist/types/components/BarList/index.d.ts +2 -0
  28. package/dist/types/components/BarThumbList/BarThumbList.d.ts +3 -0
  29. package/dist/types/components/BarThumbList/index.d.ts +2 -0
  30. package/dist/types/components/Chart/Chart.d.ts +3 -0
  31. package/dist/types/components/Chart/index.d.ts +2 -0
  32. package/dist/types/components/ContextMenu/index.d.ts +2 -0
  33. package/dist/types/components/Dependencies/Dependence.d.ts +7 -0
  34. package/dist/types/components/Dependencies/Dependencies.d.ts +3 -0
  35. package/dist/types/components/Dependencies/index.d.ts +2 -0
  36. package/dist/types/components/Divider/Divider.d.ts +3 -0
  37. package/dist/types/components/Divider/index.d.ts +2 -0
  38. package/dist/types/components/DragGroupOverlay/DragGroupOverlay.d.ts +6 -0
  39. package/dist/types/components/DragGroupOverlay/dragGroupOverlay.interface.d.ts +8 -0
  40. package/dist/types/components/DragGroupOverlay/index.d.ts +2 -0
  41. package/dist/types/components/DragPlaceOverlay/DragPlaceOverlay.d.ts +6 -0
  42. package/dist/types/components/DragPlaceOverlay/dragPlaceOverlay.interface.d.ts +6 -0
  43. package/dist/types/components/DragPlaceOverlay/index.d.ts +2 -0
  44. package/dist/types/components/DragPresent/DragPresent.d.ts +3 -0
  45. package/dist/types/components/DragPresent/index.d.ts +2 -0
  46. package/dist/types/components/DragResize/AutoScroller.d.ts +22 -0
  47. package/dist/types/components/DragResize/DragResize.d.ts +30 -0
  48. package/dist/types/components/DragResize/index.d.ts +2 -0
  49. package/dist/types/components/DragTaskOverlay/DragTaskOverlay.d.ts +6 -0
  50. package/dist/types/components/DragTaskOverlay/DragTaskOverlay.interface.d.ts +7 -0
  51. package/dist/types/components/DragTaskOverlay/index.d.ts +2 -0
  52. package/dist/types/components/Draggable/Draggable.d.ts +21 -0
  53. package/dist/types/components/Draggable/DraggableOverlay.d.ts +9 -0
  54. package/dist/types/components/Draggable/draggable-svg.d.ts +9 -0
  55. package/dist/types/components/Draggable/index.d.ts +3 -0
  56. package/dist/types/components/EmployeesList/EmployeesList.d.ts +6 -0
  57. package/dist/types/components/EmployeesList/EmployeesList.interface.d.ts +13 -0
  58. package/dist/types/components/EmployeesList/index.d.ts +2 -0
  59. package/dist/types/components/Gantt/Gantt.d.ts +59 -0
  60. package/dist/types/components/GroupBar/GroupBar.d.ts +7 -0
  61. package/dist/types/components/GroupBar/index.d.ts +2 -0
  62. package/dist/types/components/GroupContainer/GroupContainer.d.ts +14 -0
  63. package/dist/types/components/GroupContainer/index.d.ts +3 -0
  64. package/dist/types/components/Header/Header.d.ts +3 -0
  65. package/dist/types/components/Header/index.d.ts +2 -0
  66. package/dist/types/components/InvalidTaskBar/InvalidTaskBar.d.ts +7 -0
  67. package/dist/types/components/InvalidTaskBar/index.d.ts +2 -0
  68. package/dist/types/components/Item/Item.d.ts +37 -0
  69. package/dist/types/components/Item/components/Action/Action.d.ts +9 -0
  70. package/dist/types/components/Item/components/Action/index.d.ts +2 -0
  71. package/dist/types/components/Item/components/Handle/Handle.d.ts +3 -0
  72. package/dist/types/components/Item/components/Handle/index.d.ts +1 -0
  73. package/dist/types/components/Item/components/Remove/Remove.d.ts +2 -0
  74. package/dist/types/components/Item/components/Remove/index.d.ts +1 -0
  75. package/dist/types/components/Item/components/index.d.ts +3 -0
  76. package/dist/types/components/Item/index.d.ts +3 -0
  77. package/dist/types/components/MultipleContainers/MultipleContainers.d.ts +5 -0
  78. package/dist/types/components/MultipleContainers/index.d.ts +2 -0
  79. package/dist/types/components/MultipleContainers/multipleContainers.interface.d.ts +26 -0
  80. package/dist/types/components/MultipleContainers/multipleContainersKeyboardCoordinates.d.ts +2 -0
  81. package/dist/types/components/PlaceContainer/PlaceContainer.d.ts +15 -0
  82. package/dist/types/components/PlaceContainer/index.d.ts +3 -0
  83. package/dist/types/components/Scale/Scale.d.ts +6 -0
  84. package/dist/types/components/Scale/index.d.ts +2 -0
  85. package/dist/types/components/ScrollBar/ScrollBar.d.ts +3 -0
  86. package/dist/types/components/ScrollBar/index.d.ts +2 -0
  87. package/dist/types/components/ScrollTop/ScrollTop.d.ts +3 -0
  88. package/dist/types/components/ScrollTop/index.d.ts +2 -0
  89. package/dist/types/components/SelectionIndicator/SelectionIndicator.d.ts +3 -0
  90. package/dist/types/components/SelectionIndicator/index.d.ts +2 -0
  91. package/dist/types/components/SortableContainer/SortableContainer.d.ts +13 -0
  92. package/dist/types/components/SortableContainer/index.d.ts +2 -0
  93. package/dist/types/components/SortableItem/SortableItem.d.ts +3 -0
  94. package/dist/types/components/SortableItem/index.d.ts +2 -0
  95. package/dist/types/components/SortableItem/sortableItem.interface.d.ts +20 -0
  96. package/dist/types/components/SortablePlace/SortablePlace.d.ts +16 -0
  97. package/dist/types/components/SortablePlace/index.d.ts +2 -0
  98. package/dist/types/components/Table/Table.d.ts +5 -0
  99. package/dist/types/components/Table/index.d.ts +2 -0
  100. package/dist/types/components/TableBody/RowToggler.d.ts +9 -0
  101. package/dist/types/components/TableBody/TableBody.d.ts +3 -0
  102. package/dist/types/components/TableBody/index.d.ts +2 -0
  103. package/dist/types/components/TableInterval/TableInterval.d.ts +3 -0
  104. package/dist/types/components/TableInterval/index.d.ts +2 -0
  105. package/dist/types/components/TableTask/TableTask.d.ts +3 -0
  106. package/dist/types/components/TableTask/index.d.ts +2 -0
  107. package/dist/types/components/TaskBar/TaskBar.d.ts +7 -0
  108. package/dist/types/components/TaskBar/index.d.ts +2 -0
  109. package/dist/types/components/TaskBarThumb/TaskBarThumb.d.ts +7 -0
  110. package/dist/types/components/TaskBarThumb/index.d.ts +2 -0
  111. package/dist/types/components/TimeIndicator/TimeIndicator.d.ts +3 -0
  112. package/dist/types/components/TimeIndicator/index.d.ts +2 -0
  113. package/dist/types/components/Today/Today.d.ts +3 -0
  114. package/dist/types/components/Today/index.d.ts +2 -0
  115. package/dist/types/config/constants.d.ts +7 -0
  116. package/dist/types/context/GanttContext.d.ts +44 -0
  117. package/dist/types/hooks/useDragResize.d.ts +10 -0
  118. package/dist/types/index.d.ts +5 -0
  119. package/dist/types/locales/index.d.ts +1 -0
  120. package/dist/types/locales/ru-ru.d.ts +2 -0
  121. package/dist/types/locales/types.d.ts +31 -0
  122. package/dist/types/providers/TasksPropsProvider.d.ts +3 -0
  123. package/dist/types/store/GanttStore.d.ts +181 -0
  124. package/dist/types/types/types.d.ts +262 -0
  125. package/dist/types/utils/index.d.ts +12 -0
  126. package/package.json +106 -4
@@ -0,0 +1,758 @@
1
+ .gantt__chart {
2
+ position: absolute;
3
+ overflow: hidden hidden;
4
+ &-svg-renderer {
5
+ position: absolute;
6
+ left: 0;
7
+ top: 0;
8
+ }
9
+ &-render-chunk {
10
+ position: absolute;
11
+ left: 0;
12
+ top: 0;
13
+ will-change: transform;
14
+ }
15
+ }
16
+
17
+ .task-dependency-line {
18
+ z-index: -1;
19
+ & .line {
20
+ stroke: #f87872;
21
+ }
22
+ }
23
+
24
+ .gantt__divider {
25
+ position: absolute;
26
+ top: 102px;
27
+ bottom: 0;
28
+ cursor: col-resize;
29
+ &:hover {
30
+ hr {
31
+ border-color: #cae3b6;
32
+ &::before {
33
+ background: #74b43d;
34
+ }
35
+ }
36
+ & .gantt__divider-icon-wrapper {
37
+ background-color: #cae3b6;
38
+ border-color: #cae3b6;
39
+ border-top: 0;
40
+ border-bottom: 0;
41
+ cursor: pointer;
42
+ &::after {
43
+ width: 2px;
44
+ height: 30px;
45
+ position: absolute;
46
+ content: '';
47
+ right: -3px;
48
+ background-color: transparent;
49
+ }
50
+ & .gantt__divider-arrow::after,
51
+ & .gantt__divider-arrow::before {
52
+ background-color: #fff;
53
+ }
54
+ }
55
+ }
56
+ & > hr {
57
+ width: 0;
58
+ height: 100%;
59
+ margin: 0;
60
+ border: none;
61
+ border-right: 1px solid #e5e5e5;
62
+ }
63
+ & > &-icon-wrapper {
64
+ width: 14px;
65
+ height: 30px;
66
+ border: 1px solid #fff;
67
+ border-radius: 0 4px 4px 0;
68
+ border-left: 0;
69
+ position: absolute;
70
+ display: flex;
71
+ justify-content: center;
72
+ align-items: center;
73
+ left: 1px;
74
+ top: 50%;
75
+ transform: translateY(-50%);
76
+ background-color: #d9d9d9;
77
+ }
78
+ &-arrow::before {
79
+ bottom: -1px;
80
+ transform: rotate(30deg);
81
+ }
82
+ &-arrow::after {
83
+ top: -1px;
84
+ transform: rotate(-30deg);
85
+ }
86
+ &-arrow::after,
87
+ &-arrow::before {
88
+ width: 2px;
89
+ height: 8px;
90
+ border-radius: 1px;
91
+ position: relative;
92
+ content: '';
93
+ display: block;
94
+ background-color: #fff;
95
+ }
96
+ &-arrow&-reverse::before {
97
+ transform: rotate(-30deg);
98
+ }
99
+ &-arrow&-reverse::after {
100
+ transform: rotate(30deg);
101
+ }
102
+ &-only > hr {
103
+ border-color: #a7add0;
104
+ &::before {
105
+ width: 2px;
106
+ height: 26px;
107
+ background: #a7add0;
108
+ border-top: 7px solid white;
109
+ border-bottom: 7px solid white;
110
+ position: absolute;
111
+ content: '';
112
+ top: 50%;
113
+ z-index: 2;
114
+ transform: translateY(-50%);
115
+ }
116
+ }
117
+ }
118
+
119
+ .employees-list {
120
+ margin: 0 4px 0 4px;
121
+ display: flex;
122
+ &__item {
123
+ min-width: 20px;
124
+ min-height: 20px;
125
+ max-width: 20px;
126
+ max-height: 20px;
127
+ margin: 0 -4px;
128
+ border-radius: 10px;
129
+ position: relative;
130
+ z-index: 1;
131
+ transition: all 0.3s ease;
132
+ cursor: pointer;
133
+ &:hover {
134
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
135
+ z-index: 2;
136
+ transition: all 0.3s ease;
137
+ }
138
+ &-image {
139
+ width: 100%;
140
+ height: 100%;
141
+ background: #ececec;
142
+ border-radius: 10px;
143
+ }
144
+ &-text {
145
+ min-width: 20px;
146
+ min-height: 20px;
147
+ max-width: 20px;
148
+ max-height: 20px;
149
+ font-size: 10px;
150
+ font-weight: 600;
151
+ color: #000;
152
+ background: #ececec;
153
+ border-radius: 10px;
154
+ display: flex;
155
+ justify-content: center;
156
+ align-items: center;
157
+ }
158
+ }
159
+ }
160
+
161
+ .gantt__groupbar {
162
+ position: absolute;
163
+ display: flex;
164
+ left: 0;
165
+ top: 0;
166
+ &-item {
167
+ position: relative;
168
+ top: -12px;
169
+ &-text {
170
+ font-size: 10px;
171
+ font-weight: 400;
172
+ color: #000;
173
+ text-align: center;
174
+ line-height: 14px;
175
+ padding: 0 0 0 20px;
176
+ font-family: 'Wix Madefor Display', sans-serif;
177
+ text-wrap: nowrap;
178
+ }
179
+ }
180
+ }
181
+
182
+ .gantt {
183
+ &__header {
184
+ padding: 8px 16px;
185
+ grid-column: 2 / span 2;
186
+ display: flex;
187
+ justify-content: flex-end;
188
+ align-items: center;
189
+ font-family: 'Wix Madefor Display', sans-serif;
190
+ gap: 24px;
191
+ }
192
+ &__period {
193
+ display: flex;
194
+ align-items: center;
195
+ transition: color 0.2s;
196
+ gap: 10px;
197
+ &-text {
198
+ font-size: 12px;
199
+ font-weight: 400;
200
+ color: #000;
201
+ line-height: 16px;
202
+ }
203
+ &-menu {
204
+ background: #fff;
205
+ padding: 0;
206
+ margin: 0;
207
+ border-radius: 4px;
208
+ position: relative;
209
+ display: flex;
210
+ list-style: none;
211
+ gap: 8px;
212
+ &-item {
213
+ font-size: 14px;
214
+ color: #000;
215
+ line-height: 18px;
216
+ padding: 3px 10px;
217
+ border: 1px solid #d9d9d9;
218
+ border-radius: 6px;
219
+ position: relative;
220
+ display: flex;
221
+ align-items: center;
222
+ transition: background 0.2s ease;
223
+ cursor: pointer;
224
+ background-color: #fff;
225
+ &:hover {
226
+ background-color: #f7f7f7;
227
+ }
228
+ &.gantt__period-selected {
229
+ color: #fff;
230
+ background-color: #74b43d;
231
+ border: none;
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+
238
+ .gantt__invalid-taskbar {
239
+ width: 100vw;
240
+ position: absolute;
241
+ left: 0;
242
+ &-block {
243
+ width: 16px;
244
+ height: 9px;
245
+ min-width: 8px;
246
+ border: 1px solid;
247
+ border-radius: 2px;
248
+ position: absolute;
249
+ left: 0;
250
+ z-index: 1;
251
+ cursor: pointer;
252
+ }
253
+ &-date {
254
+ font-size: 12px;
255
+ color: #262626;
256
+ white-space: nowrap;
257
+ position: absolute;
258
+ top: -6px;
259
+ }
260
+ }
261
+
262
+ .gantt__scale {
263
+ position: relative;
264
+ display: flex;
265
+ justify-content: center;
266
+ align-items: center;
267
+ gap: 8px;
268
+ display: none;
269
+ font-family: 'Wix Madefor Display', sans-serif;
270
+ &-text {
271
+ font-size: 12px;
272
+ font-weight: 400;
273
+ color: #000;
274
+ line-height: 16px;
275
+ &-fixed {
276
+ width: 31px;
277
+ }
278
+ }
279
+ &-container {
280
+ position: relative;
281
+ }
282
+ &-steps {
283
+ width: 200px;
284
+ position: relative;
285
+ display: flex;
286
+ justify-content: space-between;
287
+ }
288
+ &-step {
289
+ width: 8px;
290
+ height: 8px;
291
+ background: #d9d9d9;
292
+ border-radius: 50%;
293
+ transition: background 1s;
294
+ cursor: pointer;
295
+ }
296
+ &-step.selected {
297
+ background: #74b43d;
298
+ }
299
+ &-step.completed {
300
+ background: #74b43d;
301
+ }
302
+ &-progress {
303
+ width: 100%;
304
+ height: 2px;
305
+ background: #d9d9d9;
306
+ position: absolute;
307
+ left: 0;
308
+ top: 50%;
309
+ z-index: 0;
310
+ transform: translate(0%, -50%);
311
+ }
312
+ &-percent {
313
+ width: 0;
314
+ height: 2px;
315
+ background: #74b43d;
316
+ position: absolute;
317
+ left: 0;
318
+ top: 50%;
319
+ z-index: 1;
320
+ transform: translate(0%, -50%);
321
+ transition: width 1s;
322
+ }
323
+ }
324
+
325
+ .gantt__scrollbar {
326
+ height: 10px;
327
+ background: rgba(243, 244, 246, 0.62);
328
+ position: absolute;
329
+ left: 16px;
330
+ bottom: 0;
331
+ &-thumb {
332
+ height: 8px;
333
+ margin: 1px 0;
334
+ border-radius: 30px;
335
+ position: absolute;
336
+ cursor: pointer;
337
+ background-color: #d9d9d9;
338
+ will-change: transform;
339
+ }
340
+ }
341
+
342
+ .gantt__scrolltop {
343
+ width: 0;
344
+ height: 0;
345
+ border-left: 20px solid transparent;
346
+ border-right: 20px solid transparent;
347
+ border-bottom: 35px solid #cae3b6;
348
+ position: absolute;
349
+ right: 24px;
350
+ bottom: 8px;
351
+ cursor: pointer;
352
+ &:hover {
353
+ border-left: 20px solid transparent;
354
+ border-right: 20px solid transparent;
355
+ border-bottom: 35px solid #74b43d;
356
+ }
357
+ }
358
+
359
+ .gantt__selection-indicator {
360
+ width: 100%;
361
+ background: rgba(202, 227, 182, 0.2);
362
+ position: absolute;
363
+ z-index: 10;
364
+ pointer-events: none;
365
+ }
366
+
367
+ .gantt__row-toggler {
368
+ width: 24px;
369
+ color: #d9d9d9;
370
+ position: relative;
371
+ display: flex;
372
+ justify-content: center;
373
+ align-items: center;
374
+ z-index: 5;
375
+ cursor: pointer;
376
+ &:hover {
377
+ color: #8c8c8c;
378
+ }
379
+ & > i {
380
+ width: 20px;
381
+ height: 20px;
382
+ background: white;
383
+ }
384
+ & > i > svg {
385
+ transition: transform 218ms;
386
+ fill: currentcolor;
387
+ }
388
+ &-collapsed > i > svg {
389
+ transform: rotate(-90deg);
390
+ }
391
+ }
392
+
393
+ .gantt__table-interval {
394
+ height: 60px;
395
+ background: #fff;
396
+ border-left: 1px solid #e5e5e5;
397
+ border-top: 1px solid #e5e5e5;
398
+ overflow: hidden;
399
+ display: flex;
400
+ flex-direction: column;
401
+ cursor: ew-resize;
402
+ user-select: none;
403
+ &-label {
404
+ width: 100%;
405
+ padding: 2px 0;
406
+ display: flex;
407
+ justify-content: center;
408
+ align-items: center;
409
+ }
410
+ &-render-chunk {
411
+ background: #fff;
412
+ pointer-events: none;
413
+ user-select: none;
414
+ will-change: transform;
415
+ }
416
+ &-major {
417
+ height: 20px;
418
+ text-align: left;
419
+ border-top: 1px solid #e5e5e5;
420
+ border-right: 1px solid #e5e5e5;
421
+ border-bottom: 1px solid #e5e5e5;
422
+ position: absolute;
423
+ overflow: hidden;
424
+ display: flex;
425
+ align-items: center;
426
+ &-label {
427
+ font-size: 12px;
428
+ font-weight: 400;
429
+ color: #000;
430
+ white-space: nowrap;
431
+ line-height: 16px;
432
+ padding: 0 0 0 8px;
433
+ overflow: hidden;
434
+ font-family: 'Wix Madefor Display', sans-serif;
435
+ }
436
+ }
437
+ &-minor {
438
+ height: 20px;
439
+ text-align: center;
440
+ padding: 2px;
441
+ border-right: 1px solid #e5e5e5;
442
+ position: absolute;
443
+ display: flex;
444
+ justify-content: center;
445
+ align-items: center;
446
+ top: 20px;
447
+ &-label {
448
+ font-size: 12px;
449
+ font-weight: 400;
450
+ line-height: 16px;
451
+ font-family: 'Wix Madefor Display', sans-serif;
452
+ }
453
+ &-today {
454
+ background-color: #eaf4e2;
455
+ }
456
+ }
457
+ }
458
+
459
+ .gantt__table-task {
460
+ background: #fff;
461
+ border-top: 1px solid #e5e5e5;
462
+ position: relative;
463
+ overflow: hidden;
464
+ &-row {
465
+ width: 100%;
466
+ display: grid;
467
+ transition: height 0.3s;
468
+ grid-template-columns: 72px minmax(144px, 1fr) minmax(80px, 120px) 120px 96px;
469
+ & > div {
470
+ width: auto !important;
471
+ }
472
+ }
473
+ &-cell {
474
+ position: relative;
475
+ display: flex;
476
+ &-text {
477
+ width: 100%;
478
+ min-height: 60px;
479
+ font-size: 0.75rem;
480
+ font-weight: 400;
481
+ color: #000;
482
+ line-height: 1rem;
483
+ padding: 0 8px;
484
+ display: flex;
485
+ align-items: center;
486
+ user-select: none;
487
+ }
488
+ &-icon {
489
+ width: 14px;
490
+ height: 14px;
491
+ }
492
+ &:last-child {
493
+ width: 16px !important;
494
+ position: absolute;
495
+ right: 0;
496
+ top: 0;
497
+ }
498
+ }
499
+ }
500
+
501
+ .gantt__taskbar {
502
+ position: absolute;
503
+ display: flex;
504
+ align-items: center;
505
+ left: 0;
506
+ top: -6px;
507
+ z-index: 1;
508
+ &-loading {
509
+ position: absolute;
510
+ inset: 0 0 0 0;
511
+ z-index: 9;
512
+ cursor: not-allowed;
513
+ }
514
+ &-bar {
515
+ height: 20px;
516
+ line-height: 8px;
517
+ border-radius: 8px;
518
+ position: relative;
519
+ cursor: pointer;
520
+ }
521
+ &-invalid-date-range {
522
+ display: none;
523
+ }
524
+ &-resize-bg {
525
+ border: 1px solid #e5e5e5;
526
+ border-radius: 8px;
527
+ position: absolute;
528
+ box-shadow: 0 2px 4px 0 #74b43d;
529
+ left: 0;
530
+ background-color: #fff;
531
+ &-compact {
532
+ height: 20px;
533
+ }
534
+ }
535
+ &-resize-handle {
536
+ width: 14px;
537
+ height: 14px;
538
+ background: transparent;
539
+ position: absolute;
540
+ left: 10px;
541
+ top: 8px;
542
+ z-index: 3;
543
+ &-disabled {
544
+ cursor: not-allowed !important;
545
+ }
546
+ &-left {
547
+ cursor: col-resize;
548
+ &::before {
549
+ left: 4px;
550
+ }
551
+ &::after {
552
+ right: 4px;
553
+ }
554
+ }
555
+ &-right {
556
+ cursor: col-resize;
557
+ &::before {
558
+ left: 4px;
559
+ }
560
+ &::after {
561
+ right: 4px;
562
+ }
563
+ }
564
+ }
565
+
566
+ &-date-text {
567
+ font-size: 12px;
568
+ font-weight: 400;
569
+ color: #000;
570
+ white-space: nowrap;
571
+ line-height: 16px;
572
+ margin: 0 0 0 8px;
573
+ display: flex;
574
+ align-items: center;
575
+ gap: 4px;
576
+ font-family: 'Wix Madefor Display', sans-serif;
577
+ }
578
+
579
+ &-label {
580
+ height: 16px;
581
+ max-width: 200px;
582
+ font-size: 12px;
583
+ font-weight: 400;
584
+ color: #747474;
585
+ white-space: nowrap;
586
+ line-height: 16px;
587
+ position: absolute;
588
+ overflow: hidden;
589
+ top: -18px;
590
+ cursor: pointer;
591
+ font-family: 'Wix Madefor Display', sans-serif;
592
+ text-overflow: ellipsis;
593
+ word-break: keep-all;
594
+ user-select: none;
595
+ }
596
+ }
597
+
598
+ .gantt__taskbar-thumb {
599
+ max-width: 200px;
600
+ font-size: 12px;
601
+ color: #595959;
602
+ white-space: nowrap;
603
+ line-height: 16px;
604
+ padding: 0 16px 0 0;
605
+ position: absolute;
606
+ overflow: hidden;
607
+ display: flex;
608
+ align-items: center;
609
+ z-index: 2;
610
+ cursor: pointer;
611
+ text-overflow: ellipsis;
612
+ word-break: keep-all;
613
+ user-select: none;
614
+ &-left {
615
+ transform: translate(0);
616
+ }
617
+ &-right {
618
+ transform: translate(-100%);
619
+ }
620
+ &-circle-left {
621
+ width: 10px;
622
+ height: 10px;
623
+ margin: 0 10px 0 0;
624
+ border-radius: 50%;
625
+ }
626
+ &-circle-right {
627
+ width: 10px;
628
+ height: 10px;
629
+ margin: 0 0 0 10px;
630
+ border-radius: 50%;
631
+ }
632
+ }
633
+
634
+ .gantt__time-indicator {
635
+ padding: 0 4px;
636
+ border: none;
637
+ border-radius: 8px;
638
+ align-self: center;
639
+ box-sizing: border-box;
640
+ vertical-align: middle;
641
+ cursor: pointer;
642
+ background-color: #74b43d;
643
+ outline: 0;
644
+ user-select: none;
645
+ &-text {
646
+ font-size: 12px;
647
+ font-weight: 400;
648
+ color: #fff;
649
+ line-height: 16px;
650
+ }
651
+ }
652
+
653
+ .gantt__today {
654
+ width: 1px;
655
+ height: 1px;
656
+ font-size: 12px;
657
+ color: #fff;
658
+ text-align: center;
659
+ line-height: 1px;
660
+ background: #74b43d;
661
+ border-radius: 50%;
662
+ position: absolute;
663
+ top: 0;
664
+ pointer-events: none;
665
+ }
666
+
667
+ *,
668
+ *::before,
669
+ *::after {
670
+ box-sizing: border-box;
671
+ }
672
+
673
+ .gantt-body {
674
+ width: 100%;
675
+ height: 100%;
676
+ background: #fff;
677
+ border-bottom: 1px solid #e5e5e5;
678
+ position: relative;
679
+ display: flex;
680
+ flex-direction: column;
681
+ font-family: 'Wix Madefor Display', sans-serif;
682
+ header {
683
+ width: 100%;
684
+ border-bottom: 1px solid #e5e5e5;
685
+ position: relative;
686
+ overflow: hidden;
687
+ display: grid;
688
+ grid-template-columns: 1fr 1fr;
689
+ }
690
+ main {
691
+ width: 100%;
692
+ position: relative;
693
+ overflow: hidden auto;
694
+ display: flex;
695
+ flex: 1;
696
+ will-change: transform;
697
+ will-change: overflow;
698
+ user-select: none;
699
+ }
700
+ }
701
+
702
+ .container > div.selected {
703
+ background: #5f9efc !important;
704
+ }
705
+
706
+ .container {
707
+ width: 100vw;
708
+ height: 100vh;
709
+ background: #dbe9ff;
710
+ padding: 0.5rem;
711
+ border-radius: 0.5rem;
712
+ user-select: none;
713
+ }
714
+
715
+ .placeRow {
716
+ width: 100%;
717
+ min-height: 40px;
718
+ align-items: center;
719
+ display: grid;
720
+ grid-auto-flow: column;
721
+ background: #D9D9D9;
722
+ border-bottom: 1px solid #E5E5E5;
723
+ grid-template-columns: 1fr 40px;
724
+ max-width: none !important;
725
+ & > div:first-child {
726
+ max-width: none !important;
727
+ width: auto !important;
728
+ }
729
+ }
730
+
731
+ .groupRow {
732
+ width: 100%;
733
+ min-height: 40px;
734
+ align-items: center;
735
+ display: grid;
736
+ grid-auto-flow: column;
737
+ background: #F3F4F6;
738
+ border-bottom: 1px solid #E5E5E5;
739
+ max-width: none !important;
740
+ & > div:first-child {
741
+ max-width: none !important;
742
+ width: auto !important;
743
+ }
744
+ }
745
+
746
+ .taskRow {
747
+ width: 100%;
748
+ min-height: 40px;
749
+ align-items: center;
750
+ display: grid;
751
+ grid-auto-flow: column;
752
+ /* grid-template-columns: 72px minmax(120px, 1fr) minmax(80px, 160px) 120px 64px 40px; */
753
+ grid-template-columns: 72px minmax(144px, 1fr) minmax(80px, 120px) 120px 96px;
754
+ & > div:first-child {
755
+ max-width: none !important;
756
+ width: auto !important;
757
+ }
758
+ }