@worktile/gantt 12.2.1 → 13.0.0-next.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 (106) hide show
  1. package/components/bar/bar-drag.d.ts +4 -2
  2. package/components/bar/bar.component.d.ts +4 -4
  3. package/components/bar/bar.component.scss +201 -0
  4. package/components/calendar/calendar.component.d.ts +3 -5
  5. package/components/calendar/calendar.component.scss +79 -0
  6. package/components/drag-backdrop/drag-backdrop.component.d.ts +1 -5
  7. package/components/drag-backdrop/drag-backdrop.component.scss +50 -0
  8. package/components/icon/icon.component.d.ts +2 -4
  9. package/components/icon/icon.component.scss +13 -0
  10. package/components/links/links.component.scss +29 -0
  11. package/components/main/gantt-main.component.d.ts +2 -3
  12. package/components/range/range.component.d.ts +2 -5
  13. package/components/range/range.component.scss +35 -0
  14. package/components/table/gantt-table.component.d.ts +2 -3
  15. package/components/table/gantt-table.component.scss +153 -0
  16. package/{esm2015/class/date-point.js → esm2020/class/date-point.mjs} +0 -0
  17. package/{esm2015/class/event.js → esm2020/class/event.mjs} +0 -0
  18. package/{esm2015/class/group.js → esm2020/class/group.mjs} +0 -0
  19. package/{esm2015/class/index.js → esm2020/class/index.mjs} +0 -0
  20. package/{esm2015/class/item.js → esm2020/class/item.mjs} +0 -0
  21. package/{esm2015/class/link.js → esm2020/class/link.mjs} +0 -0
  22. package/{esm2015/class/view-type.js → esm2020/class/view-type.mjs} +0 -0
  23. package/esm2020/components/bar/bar-drag.mjs +308 -0
  24. package/esm2020/components/bar/bar.component.mjs +101 -0
  25. package/esm2020/components/calendar/calendar.component.mjs +88 -0
  26. package/esm2020/components/drag-backdrop/drag-backdrop.component.mjs +13 -0
  27. package/esm2020/components/icon/icon.component.mjs +36 -0
  28. package/{esm2015/components/icon/icons.js → esm2020/components/icon/icons.mjs} +0 -0
  29. package/esm2020/components/links/lines/curve.mjs +95 -0
  30. package/{esm2015/components/links/lines/factory.js → esm2020/components/links/lines/factory.mjs} +0 -0
  31. package/{esm2015/components/links/lines/line.js → esm2020/components/links/lines/line.mjs} +0 -0
  32. package/{esm2015/components/links/lines/straight.js → esm2020/components/links/lines/straight.mjs} +0 -0
  33. package/esm2020/components/links/links.component.mjs +178 -0
  34. package/esm2020/components/main/gantt-main.component.mjs +49 -0
  35. package/esm2020/components/range/range.component.mjs +25 -0
  36. package/esm2020/components/table/gantt-table.component.mjs +163 -0
  37. package/{esm2015/gantt-abstract.js → esm2020/gantt-abstract.mjs} +0 -0
  38. package/esm2020/gantt-dom.service.mjs +117 -0
  39. package/esm2020/gantt-drag-container.mjs +78 -0
  40. package/esm2020/gantt-item-upper.mjs +58 -0
  41. package/esm2020/gantt-print.service.mjs +94 -0
  42. package/esm2020/gantt-upper.mjs +339 -0
  43. package/esm2020/gantt.component.mjs +150 -0
  44. package/{esm2015/gantt.config.js → esm2020/gantt.config.mjs} +0 -0
  45. package/{esm2015/gantt.module.js → esm2020/gantt.module.mjs} +4 -4
  46. package/{esm2015/gantt.pipe.js → esm2020/gantt.pipe.mjs} +9 -9
  47. package/{esm2015/gantt.styles.js → esm2020/gantt.styles.mjs} +0 -0
  48. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  49. package/esm2020/root.component.mjs +130 -0
  50. package/esm2020/table/gantt-column.component.mjs +36 -0
  51. package/esm2020/table/gantt-table.component.mjs +25 -0
  52. package/{esm2015/utils/date.js → esm2020/utils/date.mjs} +0 -0
  53. package/{esm2015/utils/helpers.js → esm2020/utils/helpers.mjs} +0 -0
  54. package/esm2020/utils/passive-listeners.mjs +30 -0
  55. package/esm2020/utils/set-style-with-vendor-prefix.mjs +15 -0
  56. package/{esm2015/views/day.js → esm2020/views/day.mjs} +1 -1
  57. package/{esm2015/views/factory.js → esm2020/views/factory.mjs} +0 -0
  58. package/{esm2015/views/month.js → esm2020/views/month.mjs} +0 -0
  59. package/{esm2015/views/quarter.js → esm2020/views/quarter.mjs} +0 -0
  60. package/{esm2015/views/view.js → esm2020/views/view.mjs} +5 -5
  61. package/{esm2015/views/week.js → esm2020/views/week.mjs} +0 -0
  62. package/{esm2015/views/year.js → esm2020/views/year.mjs} +0 -0
  63. package/{esm2015/worktile-gantt.js → esm2020/worktile-gantt.mjs} +0 -0
  64. package/fesm2015/worktile-gantt.mjs +3080 -0
  65. package/fesm2015/worktile-gantt.mjs.map +1 -0
  66. package/{fesm2015/worktile-gantt.js → fesm2020/worktile-gantt.mjs} +344 -288
  67. package/fesm2020/worktile-gantt.mjs.map +1 -0
  68. package/gantt-dom.service.d.ts +11 -4
  69. package/gantt-drag-container.d.ts +1 -1
  70. package/gantt-item-upper.d.ts +6 -6
  71. package/gantt-print.service.d.ts +1 -1
  72. package/gantt-upper.d.ts +6 -6
  73. package/gantt.component.d.ts +2 -4
  74. package/gantt.component.scss +83 -0
  75. package/package.json +23 -9
  76. package/root.component.d.ts +5 -3
  77. package/styles/index.scss +10 -0
  78. package/styles/variables.scss +46 -0
  79. package/table/gantt-column.component.d.ts +2 -3
  80. package/table/gantt-table.component.d.ts +2 -4
  81. package/utils/passive-listeners.d.ts +13 -0
  82. package/utils/set-style-with-vendor-prefix.d.ts +12 -0
  83. package/README.md +0 -24
  84. package/bundles/worktile-gantt.umd.js +0 -3622
  85. package/bundles/worktile-gantt.umd.js.map +0 -1
  86. package/esm2015/components/bar/bar-drag.js +0 -295
  87. package/esm2015/components/bar/bar.component.js +0 -98
  88. package/esm2015/components/calendar/calendar.component.js +0 -86
  89. package/esm2015/components/drag-backdrop/drag-backdrop.component.js +0 -21
  90. package/esm2015/components/icon/icon.component.js +0 -38
  91. package/esm2015/components/links/lines/curve.js +0 -96
  92. package/esm2015/components/links/links.component.js +0 -173
  93. package/esm2015/components/main/gantt-main.component.js +0 -53
  94. package/esm2015/components/range/range.component.js +0 -37
  95. package/esm2015/components/table/gantt-table.component.js +0 -163
  96. package/esm2015/gantt-dom.service.js +0 -103
  97. package/esm2015/gantt-drag-container.js +0 -77
  98. package/esm2015/gantt-item-upper.js +0 -58
  99. package/esm2015/gantt-print.service.js +0 -94
  100. package/esm2015/gantt-upper.js +0 -331
  101. package/esm2015/gantt.component.js +0 -155
  102. package/esm2015/root.component.js +0 -123
  103. package/esm2015/table/gantt-column.component.js +0 -37
  104. package/esm2015/table/gantt-table.component.js +0 -26
  105. package/fesm2015/worktile-gantt.js.map +0 -1
  106. package/main.bundle.scss +0 -687
package/main.bundle.scss DELETED
@@ -1,687 +0,0 @@
1
- // basic
2
- $gantt-color: #333 !default;
3
- $gantt-header-height: 44px !default;
4
- $gantt-border-color: #eee !default;
5
- $gantt-bg-color: #fff !default;
6
- $gantt-side-shadow: 12px 0 16px -10px rgba(0, 0, 0, 0.15) !default;
7
- $gantt-container-background-color: #fafafa !default;
8
- $gantt-item-height: 44px !default;
9
- $gantt-group-background-color: rgba(
10
- $color: #f3f3f3,
11
- $alpha: 0.5
12
- ) !default;
13
- $gantt-group-height: 44px !default;
14
- $gantt-table-td-padding: 0 15px !default;
15
-
16
- // calendar
17
- $gantt-date-primary-color: #888 !default;
18
- $gantt-date-primary-font-size: 14px !default;
19
- $gantt-date-primary-border: #ddd !default;
20
- $gantt-date-secondary-color: #333 !default;
21
- $gantt-date-secondary-font-size: 14px !default;
22
- $gantt-date-secondary-weekend-color: #aaa !default;
23
- $gantt-date-week-backdrop-bg: rgba(
24
- $color: #f3f3f3,
25
- $alpha: 0.5
26
- ) !default;
27
- $gantt-date-today-color: #ff9f73 !default;
28
- $gantt-date-today-text-color: #fff !default;
29
-
30
- // bar
31
- $gantt-bar-bg: #fff !default;
32
- $gantt-bar-layer-bg: #fff !default;
33
- $gantt-bar-handle-color: #cacaca !default;
34
- $gantt-bar-handle-height: 12px !default;
35
- $gantt-bar-background-color: #348fe4 !default;
36
-
37
- // drag
38
- $gantt-item-drag-mask-color: #348fe4 !default;
39
- $gantt-link-dragging-line-color: #348fe4 !default;
40
-
41
- // link
42
- $gantt-link-line-color: #348fe4 !default;
43
-
44
- // table
45
- $gantt-table-header-drag-line-width: 3px !default;
46
- $gantt-table-header-drag-line-color: #348fe4 !default;
47
-
48
- .gantt {
49
- width: 100%;
50
- height: 100%;
51
- background-color: $gantt-bg-color;
52
- position: relative;
53
- overflow: hidden;
54
- display: flex;
55
- color: $gantt-color;
56
- opacity: 0;
57
-
58
- svg {
59
- overflow: visible !important;
60
- }
61
-
62
- .gantt-side {
63
- border-right: 1px solid $gantt-border-color;
64
- position: relative;
65
- z-index: 3;
66
- // overflow-x: scroll;
67
- box-shadow: $gantt-side-shadow;
68
-
69
- .gantt-side-header {
70
- box-sizing: border-box;
71
- height: $gantt-header-height;
72
- }
73
-
74
- .gantt-side-container {
75
- height: 100%;
76
- background-color: $gantt-bg-color;
77
- overflow-y: auto;
78
-
79
- &::-webkit-scrollbar {
80
- display: none;
81
- }
82
- }
83
- }
84
-
85
- .gantt-container {
86
- flex: 1;
87
- position: relative;
88
- display: flex;
89
- overflow: hidden;
90
- background-color: $gantt-container-background-color;
91
- }
92
-
93
- .gantt-main-container {
94
- width: 100%;
95
- height: calc(100% - #{$gantt-header-height});
96
- flex: 1;
97
- position: absolute;
98
- top: $gantt-header-height;
99
- bottom: 0;
100
- left: 0;
101
- right: 0;
102
- overflow: auto;
103
- background-color: $gantt-container-background-color;
104
-
105
- .gantt-main-groups,
106
- .gantt-main-items {
107
- overflow: hidden;
108
- min-height: 100%;
109
- }
110
-
111
- .gantt-group {
112
- height: $gantt-group-height;
113
- background: $gantt-group-background-color;
114
- border-bottom: 1px solid $gantt-border-color;
115
- box-sizing: border-box;
116
- }
117
-
118
- .gantt-item {
119
- border-bottom: 1px solid $gantt-border-color;
120
- box-sizing: border-box;
121
- position: relative;
122
-
123
- &.gantt-main-item-active {
124
- background-color: rgba($color: $gantt-table-header-drag-line-color, $alpha: 0.1);
125
- }
126
- }
127
-
128
- }
129
- }
130
-
131
- .gantt-table {
132
- display: block;
133
- &-empty {
134
- height: 100%;
135
- position: relative;
136
- .gantt-table-body {
137
- position: absolute;
138
- text-align: center;
139
- top: 50%;
140
- left: 50%;
141
- transform: translate(-50%, -50%);
142
- margin-top: 22px;
143
- .empty-icon {
144
- svg {
145
- height: 78px;
146
- width: 78px;
147
- }
148
- }
149
- .empty-text {
150
- color: #cacaca;
151
- }
152
- }
153
- }
154
-
155
- &-drag-trigger {
156
- width: $gantt-table-header-drag-line-width;
157
- position: absolute;
158
- top: 0;
159
- right: 0;
160
- bottom: 0;
161
- cursor: ew-resize;
162
- z-index: 1;
163
-
164
- &:hover {
165
- background: $gantt-table-header-drag-line-color;
166
- z-index: 2;
167
- }
168
- }
169
-
170
- &-drag-auxiliary-line {
171
- width: $gantt-table-header-drag-line-width;
172
- background: $gantt-table-header-drag-line-color;
173
- position: absolute;
174
- top: 0;
175
- bottom: 0;
176
- z-index: 100;
177
- display: none;
178
- }
179
-
180
- .gantt-table-row {
181
- display: flex;
182
- box-sizing: border-box;
183
- border-bottom: 1px solid $gantt-border-color;
184
-
185
- .gantt-table-column {
186
- overflow: hidden;
187
- border-right: 1px solid $gantt-border-color;
188
- box-sizing: border-box;
189
- position: relative;
190
-
191
- &:last-child {
192
- border-right: none;
193
- }
194
- }
195
- }
196
-
197
- .gantt-table-header {
198
- text-align: center;
199
- position: sticky;
200
- top: 0;
201
- background: #fff;
202
- z-index: 2;
203
- height: $gantt-header-height;
204
- line-height: $gantt-header-height;
205
-
206
- .gantt-table-column {
207
- font-weight: 400;
208
- }
209
- }
210
-
211
- .gantt-table-body {
212
- .gantt-table-group {
213
- display: flex;
214
- height: $gantt-group-height;
215
- background: $gantt-group-background-color;
216
- padding: 0 10px;
217
- align-items: center;
218
- border-bottom: 1px solid $gantt-border-color;
219
- box-sizing: border-box;
220
- position: relative;
221
-
222
- .gantt-table-group-title {
223
- cursor: pointer;
224
-
225
- .expand-icon {
226
- color: #aaa;
227
- margin-right: 6px;
228
- }
229
- }
230
- }
231
-
232
- .gantt-table-item {
233
- cursor: pointer;
234
- &-first-level-group {
235
- background: $gantt-group-background-color;
236
- }
237
-
238
- &-with-group {
239
- .gantt-table-column {
240
- &:first-child {
241
- padding: 0 15px 0 32px;
242
- }
243
- }
244
- }
245
-
246
- .gantt-table-column {
247
- display: flex;
248
- padding: $gantt-table-td-padding;
249
-
250
- &:last-child {
251
- border-right: none;
252
- }
253
- }
254
-
255
- .gantt-table-column-content {
256
- flex: 1;
257
- position: relative;
258
- overflow: hidden;
259
- text-overflow: ellipsis;
260
- white-space: nowrap;
261
- }
262
-
263
- &:hover {
264
- background-color: $gantt-container-background-color;
265
- }
266
-
267
- &-active {
268
- background-color: rgba($color: $gantt-table-header-drag-line-color, $alpha: 0.1);
269
- &:hover {
270
- background-color: rgba($color: $gantt-table-header-drag-line-color, $alpha: 0.1);
271
- }
272
- }
273
- }
274
-
275
- .gantt-expand-icon {
276
- display: inline-block;
277
- width: 20px;
278
- color: #aaa;
279
- }
280
- }
281
- }
282
-
283
- .gantt-calendar-overlay {
284
- display: block;
285
- height: 100%;
286
- overflow: hidden;
287
-
288
- .gantt-calendar-today-overlay {
289
- position: relative;
290
- z-index: 2;
291
- .today-rect {
292
- width: 35px;
293
- height: 24px;
294
- position: absolute;
295
- background: $gantt-date-today-color;
296
- color: $gantt-date-today-text-color;
297
- text-align: center;
298
- border-radius: 4px;
299
- }
300
- .today-line {
301
- position: absolute;
302
- width: 3px;
303
- background: $gantt-date-today-color;
304
- transform: scaleX(0.5);
305
- transform-origin: 100% 0;
306
- margin-left: -2px;
307
- }
308
- }
309
-
310
- .gantt-calendar-overlay-main {
311
- position: relative;
312
- z-index: 1;
313
- background-color: $gantt-bg-color;
314
- }
315
-
316
- svg {
317
- overflow: visible;
318
- }
319
-
320
- line {
321
- shape-rendering: crispEdges;
322
- }
323
-
324
- .primary-text {
325
- fill: $gantt-date-primary-color;
326
- font-size: $gantt-date-primary-font-size;
327
- }
328
-
329
- .secondary-text {
330
- fill: $gantt-date-secondary-color;
331
- font-size: $gantt-date-secondary-font-size;
332
-
333
- &-weekend {
334
- fill: $gantt-date-secondary-weekend-color;
335
- }
336
- }
337
-
338
- .primary-text,
339
- .secondary-text {
340
- text-anchor: middle;
341
- }
342
-
343
- .primary-line {
344
- stroke: $gantt-date-primary-border;
345
- }
346
-
347
- .secondary-line {
348
- stroke-dasharray: 2px 5px;
349
- stroke: #cacaca;
350
- }
351
-
352
- .header-line {
353
- stroke: $gantt-border-color;
354
- }
355
-
356
- .secondary-backdrop {
357
- fill: $gantt-date-week-backdrop-bg;
358
- }
359
- }
360
-
361
- .gantt-drag-backdrop {
362
- position: absolute;
363
- top: 0;
364
- right: 0;
365
- bottom: 0;
366
- left: 0;
367
- z-index: 2;
368
- display: none;
369
- }
370
-
371
- .gantt-drag-mask {
372
- position: absolute;
373
- top: $gantt-header-height;
374
- z-index: 1;
375
- height: 100%;
376
- display: none;
377
- background: rgba($color: $gantt-item-drag-mask-color, $alpha: 0.05);
378
-
379
- .date-range {
380
- width: 100%;
381
- min-width: 120px;
382
- top: -23px;
383
- background: $gantt-item-drag-mask-color;
384
- line-height: 23px;
385
- border-radius: 4px;
386
- color: #fff;
387
- position: absolute;
388
- display: flex;
389
- justify-content: space-between;
390
- padding: 0 10px;
391
- box-sizing: border-box
392
- }
393
- }
394
-
395
- .gantt-link-drag-container {
396
- width: 100%;
397
- height: 1px;
398
- overflow: visible !important;
399
- position: absolute;
400
- top: 0;
401
- left: 0;
402
- z-index: 2000;
403
-
404
- .link-dragging-line {
405
- stroke: $gantt-link-dragging-line-color;
406
- stroke-width: 2px;
407
- }
408
- }
409
-
410
- $gantt-bar-layer-append-width: 32px;
411
- $gantt-bar-layer-append-height: 42px;
412
- $gantt-bar-link-height: 16px;
413
- $gantt-bar-link-handle-size: 16px;
414
- $gantt-bar-link-drop-border: 5px;
415
-
416
- @mixin link-handles {
417
- .link-handles {
418
- .handle {
419
- position: absolute;
420
- display: inline-block;
421
- cursor: pointer;
422
- width: $gantt-bar-link-height;
423
- height: $gantt-bar-link-height;
424
- display: flex;
425
- align-items: center;
426
- justify-content: center;
427
- z-index: 1001;
428
-
429
- &:first-child {
430
- left: 0;
431
- top: 0;
432
- }
433
-
434
- &:last-child {
435
- right: 0;
436
- bottom: 0;
437
- }
438
-
439
- .point {
440
- color: #348fe4;
441
- width: 10px;
442
- height: 10px;
443
- border-radius: 50%;
444
- background: #348fe4;
445
- transition: 0.3 ease;
446
-
447
- &:hover {
448
- width: 12px;
449
- height: 12px;
450
- }
451
- }
452
- }
453
- }
454
- }
455
-
456
- @mixin drag-handles {
457
- .drag-handles {
458
- background: $gantt-bar-layer-bg;
459
- width: 100%;
460
- height: calc(100% - #{$gantt-bar-link-height} * 2);
461
- position: absolute;
462
- border-radius: 4px;
463
- top: $gantt-bar-link-height;
464
- box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.15);
465
-
466
- .handle {
467
- width: 15px;
468
- height: 100%;
469
- position: absolute;
470
- cursor: col-resize;
471
- display: flex;
472
- align-items: center;
473
- justify-content: center;
474
-
475
- &:before,
476
- &:after {
477
- content: '';
478
- display: inline-block;
479
- width: 1px;
480
- height: $gantt-bar-handle-height;
481
- background: $gantt-bar-handle-color;
482
- }
483
-
484
- &::before {
485
- margin-right: 2px;
486
- }
487
-
488
- &:first-child {
489
- left: 0;
490
- }
491
-
492
- &:last-child {
493
- right: 0;
494
- }
495
- }
496
- }
497
- }
498
-
499
- @mixin active-bar {
500
- z-index: 1000;
501
-
502
- .gantt-bar-layer {
503
- display: block;
504
- z-index: 1;
505
- }
506
-
507
- .gantt-bar-content {
508
- z-index: 1;
509
- box-shadow: none;
510
- }
511
-
512
- .cdk-drag {
513
- transition: none;
514
- }
515
- }
516
-
517
- .gantt-bar {
518
- position: absolute;
519
- border-radius: 4px;
520
- z-index: 2;
521
- background: $gantt-bar-bg;
522
-
523
- .gantt-bar-layer {
524
- width: calc(100% + #{$gantt-bar-layer-append-width});
525
- height: calc(100% + #{$gantt-bar-layer-append-height});
526
- position: absolute;
527
- border-radius: 4px;
528
- left: $gantt-bar-layer-append-width / 2 * -1;
529
- top: $gantt-bar-layer-append-height / 2 * -1;
530
- display: none;
531
- @include drag-handles();
532
- @include link-handles();
533
- }
534
-
535
- .gantt-bar-border {
536
- width: calc(100% + #{$gantt-bar-link-drop-border} * 2);
537
- height: calc(100% + #{$gantt-bar-link-drop-border} * 2);
538
- position: absolute;
539
- border-radius: 4px;
540
- left: $gantt-bar-link-drop-border * -1;
541
- top: $gantt-bar-link-drop-border * -1;
542
- display: none;
543
- background: #fff;
544
- box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
545
- }
546
-
547
- .gantt-bar-content {
548
- width: 100%;
549
- height: 100%;
550
- position: absolute;
551
- cursor: pointer;
552
- box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
553
- border-radius: 4px;
554
- background: $gantt-bar-background-color;
555
- overflow: hidden;
556
- box-sizing: border-box;
557
-
558
- .gantt-bar-content-progress {
559
- position: absolute;
560
- left: 0;
561
- top: 0;
562
- height: 100%;
563
- }
564
-
565
- }
566
-
567
- &-active {
568
- @include active-bar();
569
- }
570
-
571
- &-single-drop-active {
572
- .gantt-bar-border {
573
- display: block;
574
- }
575
-
576
- .gantt-bar-content {
577
- box-shadow: none;
578
- }
579
- }
580
-
581
- &-drop-active {
582
- @include active-bar();
583
-
584
- .gantt-bar-layer {
585
- .link-handles {
586
- .handle {
587
- width: $gantt-bar-link-handle-size + 10px;
588
- height: 100%;
589
-
590
- &:first-child {
591
- left: -$gantt-bar-link-handle-size - 5px;
592
- }
593
-
594
- &:last-child {
595
- right: -$gantt-bar-link-handle-size - 5px;
596
- }
597
-
598
- &:hover {
599
- .point {
600
- width: 12px;
601
- height: 12px;
602
- }
603
- }
604
- }
605
- }
606
- }
607
- }
608
- }
609
-
610
- .gantt-range {
611
- position: absolute;
612
- z-index: 2;
613
- .gantt-range-main {
614
- height: 10px;
615
- background: #dfdfdf;
616
- border: 1px solid #888;
617
- border-radius: 4px 4px 0 0;
618
- box-sizing: border-box;
619
- position: relative;
620
- .gantt-range-main-progress {
621
- position: absolute;
622
- left: 0;
623
- top: 0;
624
- height: 100%;
625
- background: #888;
626
- }
627
- }
628
- .gantt-range-triangle {
629
- width: 0;
630
- height: 0;
631
- border-top: 7px solid #888;
632
- position: absolute;
633
- top: 10px;
634
-
635
- &.left {
636
- border-right: 6px solid transparent;
637
- left: 0;
638
- }
639
- &.right {
640
- border-left: 6px solid transparent;
641
- right: 0;
642
- }
643
- }
644
- }
645
-
646
- .gantt-icon {
647
- font-size: 1rem;
648
- line-height: 0;
649
-
650
- svg {
651
- width: 1em;
652
- height: 1em;
653
- fill: currentColor;
654
- vertical-align: -0.125em;
655
- background-repeat: no-repeat;
656
- }
657
-
658
- }
659
-
660
- .gantt-links-overlay {
661
- position: absolute;
662
- top: 0px;
663
- left: 0px;
664
- width: 100%;
665
- height: 100%;
666
- svg {
667
- overflow: visible;
668
- z-index: 2;
669
- position: absolute;
670
- }
671
- }
672
-
673
- .link-dragging-container {
674
- width: 100%;
675
- height: 1px;
676
- overflow: visible !important;
677
- position: absolute;
678
- top: $gantt-header-height;
679
- left: 0;
680
- z-index: 2000;
681
-
682
- .link-dragging-line {
683
- stroke: $gantt-link-line-color;
684
- stroke-width: 2px;
685
- }
686
- }
687
-