@itcase/gantt-old 0.0.0-stage → 1.2.1
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.
- package/README.md +0 -3
- package/dist/css/components/Chart/Chart.css +15 -0
- package/dist/css/components/Dependencies/Dependence.css +6 -0
- package/dist/css/components/Divider/Divider.css +94 -0
- package/dist/css/components/EmployeesList/EmployeesList.css +41 -0
- package/dist/css/components/GroupBar/GroupBar.css +20 -0
- package/dist/css/components/Header/Header.css +55 -0
- package/dist/css/components/InvalidTaskBar/InvalidTaskBar.css +23 -0
- package/dist/css/components/Scale/Scale.css +62 -0
- package/dist/css/components/ScrollBar/ScrollBar.css +16 -0
- package/dist/css/components/ScrollTop/ScrollTop.css +16 -0
- package/dist/css/components/SelectionIndicator/SelectionIndicator.css +7 -0
- package/dist/css/components/TableBody/RowToggler.css +25 -0
- package/dist/css/components/TableInterval/TableInterval.css +65 -0
- package/dist/css/components/TableTask/TableTask.css +41 -0
- package/dist/css/components/TaskBar/TaskBar.css +96 -0
- package/dist/css/components/TaskBarThumb/TaskBarThumb.css +35 -0
- package/dist/css/components/TimeIndicator/TimeIndicator.css +18 -0
- package/dist/css/components/Today/Today.css +13 -0
- package/dist/css/styles/main.css +758 -0
- package/dist/css/styles/mediaqueries.css +66 -0
- package/dist/css/styles/mixin_elevation.css +33 -0
- package/dist/css/styles/mixin_fill-gradient.css +23 -0
- package/dist/css/styles/mixin_global.css +54 -0
- package/dist/esm/index.js +3592 -0
- package/dist/types/components/BarList/BarList.d.ts +3 -0
- package/dist/types/components/BarList/index.d.ts +2 -0
- package/dist/types/components/BarThumbList/BarThumbList.d.ts +3 -0
- package/dist/types/components/BarThumbList/index.d.ts +2 -0
- package/dist/types/components/Chart/Chart.d.ts +3 -0
- package/dist/types/components/Chart/index.d.ts +2 -0
- package/dist/types/components/ContextMenu/index.d.ts +2 -0
- package/dist/types/components/Dependencies/Dependence.d.ts +7 -0
- package/dist/types/components/Dependencies/Dependencies.d.ts +3 -0
- package/dist/types/components/Dependencies/index.d.ts +2 -0
- package/dist/types/components/Divider/Divider.d.ts +3 -0
- package/dist/types/components/Divider/index.d.ts +2 -0
- package/dist/types/components/DragGroupOverlay/DragGroupOverlay.d.ts +6 -0
- package/dist/types/components/DragGroupOverlay/dragGroupOverlay.interface.d.ts +8 -0
- package/dist/types/components/DragGroupOverlay/index.d.ts +2 -0
- package/dist/types/components/DragPlaceOverlay/DragPlaceOverlay.d.ts +6 -0
- package/dist/types/components/DragPlaceOverlay/dragPlaceOverlay.interface.d.ts +6 -0
- package/dist/types/components/DragPlaceOverlay/index.d.ts +2 -0
- package/dist/types/components/DragPresent/DragPresent.d.ts +3 -0
- package/dist/types/components/DragPresent/index.d.ts +2 -0
- package/dist/types/components/DragResize/AutoScroller.d.ts +22 -0
- package/dist/types/components/DragResize/DragResize.d.ts +30 -0
- package/dist/types/components/DragResize/index.d.ts +2 -0
- package/dist/types/components/DragTaskOverlay/DragTaskOverlay.d.ts +6 -0
- package/dist/types/components/DragTaskOverlay/DragTaskOverlay.interface.d.ts +7 -0
- package/dist/types/components/DragTaskOverlay/index.d.ts +2 -0
- package/dist/types/components/Draggable/Draggable.d.ts +21 -0
- package/dist/types/components/Draggable/DraggableOverlay.d.ts +9 -0
- package/dist/types/components/Draggable/draggable-svg.d.ts +9 -0
- package/dist/types/components/Draggable/index.d.ts +3 -0
- package/dist/types/components/EmployeesList/EmployeesList.d.ts +6 -0
- package/dist/types/components/EmployeesList/EmployeesList.interface.d.ts +13 -0
- package/dist/types/components/EmployeesList/index.d.ts +2 -0
- package/dist/types/components/Gantt/Gantt.d.ts +59 -0
- package/dist/types/components/GroupBar/GroupBar.d.ts +7 -0
- package/dist/types/components/GroupBar/index.d.ts +2 -0
- package/dist/types/components/GroupContainer/GroupContainer.d.ts +14 -0
- package/dist/types/components/GroupContainer/index.d.ts +3 -0
- package/dist/types/components/Header/Header.d.ts +3 -0
- package/dist/types/components/Header/index.d.ts +2 -0
- package/dist/types/components/InvalidTaskBar/InvalidTaskBar.d.ts +7 -0
- package/dist/types/components/InvalidTaskBar/index.d.ts +2 -0
- package/dist/types/components/Item/Item.d.ts +37 -0
- package/dist/types/components/Item/components/Action/Action.d.ts +9 -0
- package/dist/types/components/Item/components/Action/index.d.ts +2 -0
- package/dist/types/components/Item/components/Handle/Handle.d.ts +3 -0
- package/dist/types/components/Item/components/Handle/index.d.ts +1 -0
- package/dist/types/components/Item/components/Remove/Remove.d.ts +2 -0
- package/dist/types/components/Item/components/Remove/index.d.ts +1 -0
- package/dist/types/components/Item/components/index.d.ts +3 -0
- package/dist/types/components/Item/index.d.ts +3 -0
- package/dist/types/components/MultipleContainers/MultipleContainers.d.ts +5 -0
- package/dist/types/components/MultipleContainers/index.d.ts +2 -0
- package/dist/types/components/MultipleContainers/multipleContainers.interface.d.ts +26 -0
- package/dist/types/components/MultipleContainers/multipleContainersKeyboardCoordinates.d.ts +2 -0
- package/dist/types/components/PlaceContainer/PlaceContainer.d.ts +15 -0
- package/dist/types/components/PlaceContainer/index.d.ts +3 -0
- package/dist/types/components/Scale/Scale.d.ts +6 -0
- package/dist/types/components/Scale/index.d.ts +2 -0
- package/dist/types/components/ScrollBar/ScrollBar.d.ts +3 -0
- package/dist/types/components/ScrollBar/index.d.ts +2 -0
- package/dist/types/components/ScrollTop/ScrollTop.d.ts +3 -0
- package/dist/types/components/ScrollTop/index.d.ts +2 -0
- package/dist/types/components/SelectionIndicator/SelectionIndicator.d.ts +3 -0
- package/dist/types/components/SelectionIndicator/index.d.ts +2 -0
- package/dist/types/components/SortableContainer/SortableContainer.d.ts +13 -0
- package/dist/types/components/SortableContainer/index.d.ts +2 -0
- package/dist/types/components/SortableItem/SortableItem.d.ts +3 -0
- package/dist/types/components/SortableItem/index.d.ts +2 -0
- package/dist/types/components/SortableItem/sortableItem.interface.d.ts +20 -0
- package/dist/types/components/SortablePlace/SortablePlace.d.ts +16 -0
- package/dist/types/components/SortablePlace/index.d.ts +2 -0
- package/dist/types/components/Table/Table.d.ts +5 -0
- package/dist/types/components/Table/index.d.ts +2 -0
- package/dist/types/components/TableBody/RowToggler.d.ts +9 -0
- package/dist/types/components/TableBody/TableBody.d.ts +3 -0
- package/dist/types/components/TableBody/index.d.ts +2 -0
- package/dist/types/components/TableInterval/TableInterval.d.ts +3 -0
- package/dist/types/components/TableInterval/index.d.ts +2 -0
- package/dist/types/components/TableTask/TableTask.d.ts +3 -0
- package/dist/types/components/TableTask/index.d.ts +2 -0
- package/dist/types/components/TaskBar/TaskBar.d.ts +7 -0
- package/dist/types/components/TaskBar/index.d.ts +2 -0
- package/dist/types/components/TaskBarThumb/TaskBarThumb.d.ts +7 -0
- package/dist/types/components/TaskBarThumb/index.d.ts +2 -0
- package/dist/types/components/TimeIndicator/TimeIndicator.d.ts +3 -0
- package/dist/types/components/TimeIndicator/index.d.ts +2 -0
- package/dist/types/components/Today/Today.d.ts +3 -0
- package/dist/types/components/Today/index.d.ts +2 -0
- package/dist/types/config/constants.d.ts +7 -0
- package/dist/types/context/GanttContext.d.ts +44 -0
- package/dist/types/hooks/useDragResize.d.ts +10 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/locales/index.d.ts +1 -0
- package/dist/types/locales/ru-ru.d.ts +2 -0
- package/dist/types/locales/types.d.ts +31 -0
- package/dist/types/providers/TasksPropsProvider.d.ts +3 -0
- package/dist/types/store/GanttStore.d.ts +181 -0
- package/dist/types/types/types.d.ts +262 -0
- package/dist/types/utils/index.d.ts +12 -0
- package/package.json +106 -4
package/README.md
CHANGED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
.gantt__divider {
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: 102px;
|
|
4
|
+
bottom: 0;
|
|
5
|
+
cursor: col-resize;
|
|
6
|
+
&:hover {
|
|
7
|
+
hr {
|
|
8
|
+
border-color: #cae3b6;
|
|
9
|
+
&::before {
|
|
10
|
+
background: #74b43d;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
& .gantt__divider-icon-wrapper {
|
|
14
|
+
background-color: #cae3b6;
|
|
15
|
+
border-color: #cae3b6;
|
|
16
|
+
border-top: 0;
|
|
17
|
+
border-bottom: 0;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
&::after {
|
|
20
|
+
width: 2px;
|
|
21
|
+
height: 30px;
|
|
22
|
+
position: absolute;
|
|
23
|
+
content: '';
|
|
24
|
+
right: -3px;
|
|
25
|
+
background-color: transparent;
|
|
26
|
+
}
|
|
27
|
+
& .gantt__divider-arrow::after,
|
|
28
|
+
& .gantt__divider-arrow::before {
|
|
29
|
+
background-color: #fff;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
& > hr {
|
|
34
|
+
width: 0;
|
|
35
|
+
height: 100%;
|
|
36
|
+
margin: 0;
|
|
37
|
+
border: none;
|
|
38
|
+
border-right: 1px solid #e5e5e5;
|
|
39
|
+
}
|
|
40
|
+
& > &-icon-wrapper {
|
|
41
|
+
width: 14px;
|
|
42
|
+
height: 30px;
|
|
43
|
+
border: 1px solid #fff;
|
|
44
|
+
border-radius: 0 4px 4px 0;
|
|
45
|
+
border-left: 0;
|
|
46
|
+
position: absolute;
|
|
47
|
+
display: flex;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
align-items: center;
|
|
50
|
+
left: 1px;
|
|
51
|
+
top: 50%;
|
|
52
|
+
transform: translateY(-50%);
|
|
53
|
+
background-color: #d9d9d9;
|
|
54
|
+
}
|
|
55
|
+
&-arrow::before {
|
|
56
|
+
bottom: -1px;
|
|
57
|
+
transform: rotate(30deg);
|
|
58
|
+
}
|
|
59
|
+
&-arrow::after {
|
|
60
|
+
top: -1px;
|
|
61
|
+
transform: rotate(-30deg);
|
|
62
|
+
}
|
|
63
|
+
&-arrow::after,
|
|
64
|
+
&-arrow::before {
|
|
65
|
+
width: 2px;
|
|
66
|
+
height: 8px;
|
|
67
|
+
border-radius: 1px;
|
|
68
|
+
position: relative;
|
|
69
|
+
content: '';
|
|
70
|
+
display: block;
|
|
71
|
+
background-color: #fff;
|
|
72
|
+
}
|
|
73
|
+
&-arrow&-reverse::before {
|
|
74
|
+
transform: rotate(-30deg);
|
|
75
|
+
}
|
|
76
|
+
&-arrow&-reverse::after {
|
|
77
|
+
transform: rotate(30deg);
|
|
78
|
+
}
|
|
79
|
+
&-only > hr {
|
|
80
|
+
border-color: #a7add0;
|
|
81
|
+
&::before {
|
|
82
|
+
width: 2px;
|
|
83
|
+
height: 26px;
|
|
84
|
+
background: #a7add0;
|
|
85
|
+
border-top: 7px solid white;
|
|
86
|
+
border-bottom: 7px solid white;
|
|
87
|
+
position: absolute;
|
|
88
|
+
content: '';
|
|
89
|
+
top: 50%;
|
|
90
|
+
z-index: 2;
|
|
91
|
+
transform: translateY(-50%);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.employees-list {
|
|
2
|
+
margin: 0 4px 0 4px;
|
|
3
|
+
display: flex;
|
|
4
|
+
&__item {
|
|
5
|
+
min-width: 20px;
|
|
6
|
+
min-height: 20px;
|
|
7
|
+
max-width: 20px;
|
|
8
|
+
max-height: 20px;
|
|
9
|
+
margin: 0 -4px;
|
|
10
|
+
border-radius: 10px;
|
|
11
|
+
position: relative;
|
|
12
|
+
z-index: 1;
|
|
13
|
+
transition: all 0.3s ease;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
&:hover {
|
|
16
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
|
|
17
|
+
z-index: 2;
|
|
18
|
+
transition: all 0.3s ease;
|
|
19
|
+
}
|
|
20
|
+
&-image {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
background: #ececec;
|
|
24
|
+
border-radius: 10px;
|
|
25
|
+
}
|
|
26
|
+
&-text {
|
|
27
|
+
min-width: 20px;
|
|
28
|
+
min-height: 20px;
|
|
29
|
+
max-width: 20px;
|
|
30
|
+
max-height: 20px;
|
|
31
|
+
font-size: 10px;
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
color: #000;
|
|
34
|
+
background: #ececec;
|
|
35
|
+
border-radius: 10px;
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
align-items: center;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.gantt__groupbar {
|
|
2
|
+
position: absolute;
|
|
3
|
+
display: flex;
|
|
4
|
+
left: 0;
|
|
5
|
+
top: 0;
|
|
6
|
+
&-item {
|
|
7
|
+
position: relative;
|
|
8
|
+
top: -12px;
|
|
9
|
+
&-text {
|
|
10
|
+
font-size: 10px;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
color: #000;
|
|
13
|
+
text-align: center;
|
|
14
|
+
line-height: 14px;
|
|
15
|
+
padding: 0 0 0 20px;
|
|
16
|
+
font-family: 'Wix Madefor Display', sans-serif;
|
|
17
|
+
text-wrap: nowrap;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.gantt {
|
|
2
|
+
&__header {
|
|
3
|
+
padding: 8px 16px;
|
|
4
|
+
grid-column: 2 / span 2;
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: flex-end;
|
|
7
|
+
align-items: center;
|
|
8
|
+
font-family: 'Wix Madefor Display', sans-serif;
|
|
9
|
+
gap: 24px;
|
|
10
|
+
}
|
|
11
|
+
&__period {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
transition: color 0.2s;
|
|
15
|
+
gap: 10px;
|
|
16
|
+
&-text {
|
|
17
|
+
font-size: 12px;
|
|
18
|
+
font-weight: 400;
|
|
19
|
+
color: #000;
|
|
20
|
+
line-height: 16px;
|
|
21
|
+
}
|
|
22
|
+
&-menu {
|
|
23
|
+
background: #fff;
|
|
24
|
+
padding: 0;
|
|
25
|
+
margin: 0;
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
position: relative;
|
|
28
|
+
display: flex;
|
|
29
|
+
list-style: none;
|
|
30
|
+
gap: 8px;
|
|
31
|
+
&-item {
|
|
32
|
+
font-size: 14px;
|
|
33
|
+
color: #000;
|
|
34
|
+
line-height: 18px;
|
|
35
|
+
padding: 3px 10px;
|
|
36
|
+
border: 1px solid #d9d9d9;
|
|
37
|
+
border-radius: 6px;
|
|
38
|
+
position: relative;
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
transition: background 0.2s ease;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
background-color: #fff;
|
|
44
|
+
&:hover {
|
|
45
|
+
background-color: #f7f7f7;
|
|
46
|
+
}
|
|
47
|
+
&.gantt__period-selected {
|
|
48
|
+
color: #fff;
|
|
49
|
+
background-color: #74b43d;
|
|
50
|
+
border: none;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.gantt__invalid-taskbar {
|
|
2
|
+
width: 100vw;
|
|
3
|
+
position: absolute;
|
|
4
|
+
left: 0;
|
|
5
|
+
&-block {
|
|
6
|
+
width: 16px;
|
|
7
|
+
height: 9px;
|
|
8
|
+
min-width: 8px;
|
|
9
|
+
border: 1px solid;
|
|
10
|
+
border-radius: 2px;
|
|
11
|
+
position: absolute;
|
|
12
|
+
left: 0;
|
|
13
|
+
z-index: 1;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
}
|
|
16
|
+
&-date {
|
|
17
|
+
font-size: 12px;
|
|
18
|
+
color: #262626;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: -6px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.gantt__scale {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
gap: 8px;
|
|
7
|
+
display: none;
|
|
8
|
+
font-family: 'Wix Madefor Display', sans-serif;
|
|
9
|
+
&-text {
|
|
10
|
+
font-size: 12px;
|
|
11
|
+
font-weight: 400;
|
|
12
|
+
color: #000;
|
|
13
|
+
line-height: 16px;
|
|
14
|
+
&-fixed {
|
|
15
|
+
width: 31px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
&-container {
|
|
19
|
+
position: relative;
|
|
20
|
+
}
|
|
21
|
+
&-steps {
|
|
22
|
+
width: 200px;
|
|
23
|
+
position: relative;
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: space-between;
|
|
26
|
+
}
|
|
27
|
+
&-step {
|
|
28
|
+
width: 8px;
|
|
29
|
+
height: 8px;
|
|
30
|
+
background: #d9d9d9;
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
transition: background 1s;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
&-step.selected {
|
|
36
|
+
background: #74b43d;
|
|
37
|
+
}
|
|
38
|
+
&-step.completed {
|
|
39
|
+
background: #74b43d;
|
|
40
|
+
}
|
|
41
|
+
&-progress {
|
|
42
|
+
width: 100%;
|
|
43
|
+
height: 2px;
|
|
44
|
+
background: #d9d9d9;
|
|
45
|
+
position: absolute;
|
|
46
|
+
left: 0;
|
|
47
|
+
top: 50%;
|
|
48
|
+
z-index: 0;
|
|
49
|
+
transform: translate(0%, -50%);
|
|
50
|
+
}
|
|
51
|
+
&-percent {
|
|
52
|
+
width: 0;
|
|
53
|
+
height: 2px;
|
|
54
|
+
background: #74b43d;
|
|
55
|
+
position: absolute;
|
|
56
|
+
left: 0;
|
|
57
|
+
top: 50%;
|
|
58
|
+
z-index: 1;
|
|
59
|
+
transform: translate(0%, -50%);
|
|
60
|
+
transition: width 1s;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.gantt__scrollbar {
|
|
2
|
+
height: 10px;
|
|
3
|
+
background: rgba(243, 244, 246, 0.62);
|
|
4
|
+
position: absolute;
|
|
5
|
+
left: 16px;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
&-thumb {
|
|
8
|
+
height: 8px;
|
|
9
|
+
margin: 1px 0;
|
|
10
|
+
border-radius: 30px;
|
|
11
|
+
position: absolute;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
background-color: #d9d9d9;
|
|
14
|
+
will-change: transform;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.gantt__scrolltop {
|
|
2
|
+
width: 0;
|
|
3
|
+
height: 0;
|
|
4
|
+
border-left: 20px solid transparent;
|
|
5
|
+
border-right: 20px solid transparent;
|
|
6
|
+
border-bottom: 35px solid #cae3b6;
|
|
7
|
+
position: absolute;
|
|
8
|
+
right: 24px;
|
|
9
|
+
bottom: 8px;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
&:hover {
|
|
12
|
+
border-left: 20px solid transparent;
|
|
13
|
+
border-right: 20px solid transparent;
|
|
14
|
+
border-bottom: 35px solid #74b43d;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.gantt__row-toggler {
|
|
2
|
+
width: 24px;
|
|
3
|
+
color: #d9d9d9;
|
|
4
|
+
position: relative;
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
z-index: 5;
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
&:hover {
|
|
11
|
+
color: #8c8c8c;
|
|
12
|
+
}
|
|
13
|
+
& > i {
|
|
14
|
+
width: 20px;
|
|
15
|
+
height: 20px;
|
|
16
|
+
background: white;
|
|
17
|
+
}
|
|
18
|
+
& > i > svg {
|
|
19
|
+
transition: transform 218ms;
|
|
20
|
+
fill: currentcolor;
|
|
21
|
+
}
|
|
22
|
+
&-collapsed > i > svg {
|
|
23
|
+
transform: rotate(-90deg);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.gantt__table-interval {
|
|
2
|
+
height: 60px;
|
|
3
|
+
background: #fff;
|
|
4
|
+
border-left: 1px solid #e5e5e5;
|
|
5
|
+
border-top: 1px solid #e5e5e5;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
cursor: ew-resize;
|
|
10
|
+
user-select: none;
|
|
11
|
+
&-label {
|
|
12
|
+
width: 100%;
|
|
13
|
+
padding: 2px 0;
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
align-items: center;
|
|
17
|
+
}
|
|
18
|
+
&-render-chunk {
|
|
19
|
+
background: #fff;
|
|
20
|
+
pointer-events: none;
|
|
21
|
+
user-select: none;
|
|
22
|
+
will-change: transform;
|
|
23
|
+
}
|
|
24
|
+
&-major {
|
|
25
|
+
height: 20px;
|
|
26
|
+
text-align: left;
|
|
27
|
+
border-top: 1px solid #e5e5e5;
|
|
28
|
+
border-right: 1px solid #e5e5e5;
|
|
29
|
+
border-bottom: 1px solid #e5e5e5;
|
|
30
|
+
position: absolute;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
&-label {
|
|
35
|
+
font-size: 12px;
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
color: #000;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
line-height: 16px;
|
|
40
|
+
padding: 0 0 0 8px;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
font-family: 'Wix Madefor Display', sans-serif;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
&-minor {
|
|
46
|
+
height: 20px;
|
|
47
|
+
text-align: center;
|
|
48
|
+
padding: 2px;
|
|
49
|
+
border-right: 1px solid #e5e5e5;
|
|
50
|
+
position: absolute;
|
|
51
|
+
display: flex;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
align-items: center;
|
|
54
|
+
top: 20px;
|
|
55
|
+
&-label {
|
|
56
|
+
font-size: 12px;
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
line-height: 16px;
|
|
59
|
+
font-family: 'Wix Madefor Display', sans-serif;
|
|
60
|
+
}
|
|
61
|
+
&-today {
|
|
62
|
+
background-color: #eaf4e2;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.gantt__table-task {
|
|
2
|
+
background: #fff;
|
|
3
|
+
border-top: 1px solid #e5e5e5;
|
|
4
|
+
position: relative;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
&-row {
|
|
7
|
+
width: 100%;
|
|
8
|
+
display: grid;
|
|
9
|
+
transition: height 0.3s;
|
|
10
|
+
grid-template-columns: 72px minmax(144px, 1fr) minmax(80px, 120px) 120px 96px;
|
|
11
|
+
& > div {
|
|
12
|
+
width: auto !important;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
&-cell {
|
|
16
|
+
position: relative;
|
|
17
|
+
display: flex;
|
|
18
|
+
&-text {
|
|
19
|
+
width: 100%;
|
|
20
|
+
min-height: 60px;
|
|
21
|
+
font-size: 0.75rem;
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
color: #000;
|
|
24
|
+
line-height: 1rem;
|
|
25
|
+
padding: 0 8px;
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
user-select: none;
|
|
29
|
+
}
|
|
30
|
+
&-icon {
|
|
31
|
+
width: 14px;
|
|
32
|
+
height: 14px;
|
|
33
|
+
}
|
|
34
|
+
&:last-child {
|
|
35
|
+
width: 16px !important;
|
|
36
|
+
position: absolute;
|
|
37
|
+
right: 0;
|
|
38
|
+
top: 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
.gantt__taskbar {
|
|
2
|
+
position: absolute;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
left: 0;
|
|
6
|
+
top: -6px;
|
|
7
|
+
z-index: 1;
|
|
8
|
+
&-loading {
|
|
9
|
+
position: absolute;
|
|
10
|
+
inset: 0 0 0 0;
|
|
11
|
+
z-index: 9;
|
|
12
|
+
cursor: not-allowed;
|
|
13
|
+
}
|
|
14
|
+
&-bar {
|
|
15
|
+
height: 20px;
|
|
16
|
+
line-height: 8px;
|
|
17
|
+
border-radius: 8px;
|
|
18
|
+
position: relative;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
&-invalid-date-range {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
&-resize-bg {
|
|
25
|
+
border: 1px solid #e5e5e5;
|
|
26
|
+
border-radius: 8px;
|
|
27
|
+
position: absolute;
|
|
28
|
+
box-shadow: 0 2px 4px 0 #74b43d;
|
|
29
|
+
left: 0;
|
|
30
|
+
background-color: #fff;
|
|
31
|
+
&-compact {
|
|
32
|
+
height: 20px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
&-resize-handle {
|
|
36
|
+
width: 14px;
|
|
37
|
+
height: 14px;
|
|
38
|
+
background: transparent;
|
|
39
|
+
position: absolute;
|
|
40
|
+
left: 10px;
|
|
41
|
+
top: 8px;
|
|
42
|
+
z-index: 3;
|
|
43
|
+
&-disabled {
|
|
44
|
+
cursor: not-allowed !important;
|
|
45
|
+
}
|
|
46
|
+
&-left {
|
|
47
|
+
cursor: col-resize;
|
|
48
|
+
&::before {
|
|
49
|
+
left: 4px;
|
|
50
|
+
}
|
|
51
|
+
&::after {
|
|
52
|
+
right: 4px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
&-right {
|
|
56
|
+
cursor: col-resize;
|
|
57
|
+
&::before {
|
|
58
|
+
left: 4px;
|
|
59
|
+
}
|
|
60
|
+
&::after {
|
|
61
|
+
right: 4px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&-date-text {
|
|
67
|
+
font-size: 12px;
|
|
68
|
+
font-weight: 400;
|
|
69
|
+
color: #000;
|
|
70
|
+
white-space: nowrap;
|
|
71
|
+
line-height: 16px;
|
|
72
|
+
margin: 0 0 0 8px;
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
gap: 4px;
|
|
76
|
+
font-family: 'Wix Madefor Display', sans-serif;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&-label {
|
|
80
|
+
height: 16px;
|
|
81
|
+
max-width: 200px;
|
|
82
|
+
font-size: 12px;
|
|
83
|
+
font-weight: 400;
|
|
84
|
+
color: #747474;
|
|
85
|
+
white-space: nowrap;
|
|
86
|
+
line-height: 16px;
|
|
87
|
+
position: absolute;
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
top: -18px;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
font-family: 'Wix Madefor Display', sans-serif;
|
|
92
|
+
text-overflow: ellipsis;
|
|
93
|
+
word-break: keep-all;
|
|
94
|
+
user-select: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.gantt__taskbar-thumb {
|
|
2
|
+
max-width: 200px;
|
|
3
|
+
font-size: 12px;
|
|
4
|
+
color: #595959;
|
|
5
|
+
white-space: nowrap;
|
|
6
|
+
line-height: 16px;
|
|
7
|
+
padding: 0 16px 0 0;
|
|
8
|
+
position: absolute;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
z-index: 2;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
text-overflow: ellipsis;
|
|
15
|
+
word-break: keep-all;
|
|
16
|
+
user-select: none;
|
|
17
|
+
&-left {
|
|
18
|
+
transform: translate(0);
|
|
19
|
+
}
|
|
20
|
+
&-right {
|
|
21
|
+
transform: translate(-100%);
|
|
22
|
+
}
|
|
23
|
+
&-circle-left {
|
|
24
|
+
width: 10px;
|
|
25
|
+
height: 10px;
|
|
26
|
+
margin: 0 10px 0 0;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
}
|
|
29
|
+
&-circle-right {
|
|
30
|
+
width: 10px;
|
|
31
|
+
height: 10px;
|
|
32
|
+
margin: 0 0 0 10px;
|
|
33
|
+
border-radius: 50%;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.gantt__time-indicator {
|
|
2
|
+
padding: 0 4px;
|
|
3
|
+
border: none;
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
align-self: center;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
vertical-align: middle;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
background-color: #74b43d;
|
|
10
|
+
outline: 0;
|
|
11
|
+
user-select: none;
|
|
12
|
+
&-text {
|
|
13
|
+
font-size: 12px;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
color: #fff;
|
|
16
|
+
line-height: 16px;
|
|
17
|
+
}
|
|
18
|
+
}
|