gantt-canvas-chart 1.0.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.
package/dist/index.css ADDED
@@ -0,0 +1,95 @@
1
+ /*!
2
+ * gantt-canvas-chart v1.0.0
3
+ * (c) 2025-present chandq
4
+ * Released under the MIT License.
5
+ */
6
+
7
+ /* Gantt chart */
8
+ .__gantt-chart-wrapper {
9
+ flex-grow: 1;
10
+ overflow: hidden;
11
+ position: relative;
12
+ background: white;
13
+ }
14
+
15
+ .__gantt-chart-container {
16
+ flex-grow: 1;
17
+ overflow: auto;
18
+ position: relative;
19
+ background: #ffffff;
20
+ height: 100%;
21
+ }
22
+
23
+ .__gantt-scroll-dummy {
24
+ position: absolute;
25
+ top: 0;
26
+ left: 0;
27
+ opacity: 0;
28
+ z-index: -1;
29
+ pointer-events: none;
30
+ }
31
+
32
+ /* Canvas layers */
33
+ .__gantt-header-canvas {
34
+ position: sticky;
35
+ top: 0;
36
+ left: 0;
37
+ z-index: 10;
38
+ background: #f8fafc;
39
+ border-bottom: 1px solid #e2e8f0;
40
+ }
41
+
42
+ .__gantt-main-canvas {
43
+ position: sticky;
44
+ top: 56px; /* Corresponds to header height */
45
+ left: 0;
46
+ z-index: 1;
47
+ }
48
+
49
+ /* Tooltip */
50
+ .__gantt-tooltip {
51
+ position: fixed;
52
+ display: none;
53
+ padding: 12px;
54
+ background: rgba(0, 0, 0, 0.85);
55
+ color: white;
56
+ border-radius: 6px;
57
+ font-size: 13px;
58
+ line-height: 1.6;
59
+ pointer-events: none;
60
+ z-index: 1000;
61
+ max-width: 300px;
62
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
63
+ }
64
+
65
+ .__gantt_tooltip-divider {
66
+ margin: 4px 0;
67
+ border-top: 1px solid #9ca3af;
68
+ }
69
+
70
+ .__gantt_tooltip-task {
71
+ margin: 4px 0;
72
+ }
73
+
74
+ .__gantt_tooltip-color-box {
75
+ margin-right: 4px;
76
+ }
77
+
78
+ .__gantt_tooltip-indent {
79
+ margin-left: 16px;
80
+ }
81
+
82
+ /* Scrollbar fine-tuning */
83
+ ::-webkit-scrollbar {
84
+ width: 6px;
85
+ height: 6px;
86
+ }
87
+
88
+ ::-webkit-scrollbar-thumb {
89
+ background: #cbd5e1;
90
+ border-radius: 3px;
91
+ }
92
+
93
+ ::-webkit-scrollbar-track {
94
+ background: transparent;
95
+ }