akfatimeline 1.0.2 → 1.0.5

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 (63) hide show
  1. package/.babelrc +5 -3
  2. package/CHANGELOG.md +35 -0
  3. package/dist/Timeline.js +3277 -1
  4. package/dist/dist/components/Timeline/DatePickerComponent.js +17 -0
  5. package/dist/dist/components/Timeline/DragAndDropHandler.js +35 -0
  6. package/dist/dist/components/Timeline/EventTooltip.js +206 -0
  7. package/dist/dist/components/Timeline/Indicator.js +29 -0
  8. package/dist/dist/components/Timeline/MasterHeader.js +68 -0
  9. package/dist/dist/components/Timeline/Resources.js +53 -0
  10. package/dist/dist/components/Timeline/ResourcesHeader.js +14 -0
  11. package/dist/dist/components/Timeline/Timeline.css +616 -0
  12. package/dist/dist/components/Timeline/Timeline.js +304 -0
  13. package/dist/dist/components/Timeline/TimelineCell.js +8 -0
  14. package/dist/dist/components/Timeline/TimelineContent.js +447 -0
  15. package/dist/dist/components/Timeline/TimelineEvents.js +114 -0
  16. package/dist/dist/components/Timeline/TimelineHeader.js +43 -0
  17. package/dist/dist/components/Timeline/TimelineMonthContainer.js +29 -0
  18. package/dist/dist/components/Timeline/TimelineResources.js +16 -0
  19. package/dist/dist/hooks/useDragAndDrop.js +80 -0
  20. package/dist/dist/hooks/useEventDragDrop.js +126 -0
  21. package/dist/dist/hooks/useExtendEvent.js +28 -0
  22. package/dist/dist/utils/HorizontalVirtualScroll.js +0 -0
  23. package/dist/dist/utils/dateUtils.js +36 -0
  24. package/dist/dist/utils/filterTimelineData.js +21 -0
  25. package/dist/dist/utils/timelineUtils.js +40 -0
  26. package/package.json +2 -1
  27. package/public/dist/Timeline.js +3277 -0
  28. package/public/dist/dist/components/Timeline/DatePickerComponent.js +17 -0
  29. package/public/dist/dist/components/Timeline/DragAndDropHandler.js +35 -0
  30. package/public/dist/dist/components/Timeline/EventTooltip.js +206 -0
  31. package/public/dist/dist/components/Timeline/Indicator.js +29 -0
  32. package/public/dist/dist/components/Timeline/MasterHeader.js +68 -0
  33. package/public/dist/dist/components/Timeline/Resources.js +53 -0
  34. package/public/dist/dist/components/Timeline/ResourcesHeader.js +14 -0
  35. package/public/dist/dist/components/Timeline/Timeline.css +616 -0
  36. package/public/dist/dist/components/Timeline/Timeline.js +304 -0
  37. package/public/dist/dist/components/Timeline/TimelineCell.js +8 -0
  38. package/public/dist/dist/components/Timeline/TimelineContent.js +447 -0
  39. package/public/dist/dist/components/Timeline/TimelineEvents.js +114 -0
  40. package/public/dist/dist/components/Timeline/TimelineHeader.js +43 -0
  41. package/public/dist/dist/components/Timeline/TimelineMonthContainer.js +29 -0
  42. package/public/dist/dist/components/Timeline/TimelineResources.js +16 -0
  43. package/public/dist/dist/hooks/useDragAndDrop.js +80 -0
  44. package/public/dist/dist/hooks/useEventDragDrop.js +126 -0
  45. package/public/dist/dist/hooks/useExtendEvent.js +28 -0
  46. package/public/dist/dist/utils/HorizontalVirtualScroll.js +0 -0
  47. package/public/dist/dist/utils/dateUtils.js +36 -0
  48. package/public/dist/dist/utils/filterTimelineData.js +21 -0
  49. package/public/dist/dist/utils/timelineUtils.js +40 -0
  50. package/public/index kutuphane /304/261c/304/261n.html" +43 -0
  51. package/public/index tasarim icin.html +20 -0
  52. package/src/App.js +161 -154
  53. package/src/components/Timeline/DatePickerComponent.js +17 -0
  54. package/src/components/Timeline/EventTooltip.js +1 -1
  55. package/src/components/Timeline/Indicator.js +1 -2
  56. package/src/components/Timeline/MasterHeader.js +36 -23
  57. package/src/components/Timeline/Timeline.css +90 -8
  58. package/src/components/Timeline/Timeline.js +71 -44
  59. package/src/components/Timeline/TimelineContent.js +154 -129
  60. package/src/hooks/useEventDragDrop.js +22 -16
  61. package/webpack.config.js +25 -7
  62. package/src/App copy.js +0 -185
  63. package/src/components/Timeline/TimelineContent copy.js +0 -421
@@ -0,0 +1,616 @@
1
+ /* src/components/Timeline/Timeline.css */
2
+ @import "flatpickr/dist/themes/material_green.css";
3
+
4
+ /*
5
+ Temel: "sales sayfası" temasıyla uyumlu renkler,
6
+ light vs. dark tanımları
7
+ */
8
+
9
+ :root {
10
+ /* Light Tema Varsayılan Renkler */
11
+ --background-color: #f5f5f2; /* Açık tema arka plan */
12
+ --text-color: #666; /* Açık tema yazı rengi */
13
+ --border-color: #bbb; /* Daha yumuşak border */
14
+
15
+ /* Header */
16
+ --header-background-color: #f5f5f2; /* Üst header, tablo header */
17
+ --header-text-color: #666;
18
+
19
+ /* Resources */
20
+ --resource-background-color: #f5f5f2;
21
+ --resource-text-color: #666;
22
+ --group-header-background-color: #dadada;
23
+
24
+ /* Timeline */
25
+ --timeline-header-background-color: #f5f5f2;
26
+ --timeline-cell-border-color: #ccc;
27
+ --timeline-event-background-color: #fff;
28
+ --timeline-event-border-color: #666;
29
+ --timeline-event-text-color: #666;
30
+
31
+ /* Scrollbar */
32
+ --scrollbar-thumb-background: #aaa;
33
+ --scrollbar-thumb-hover-background: #888;
34
+
35
+ --resource-width: 150px;
36
+ --cell-height: 40px;
37
+ --header-height: 60px;
38
+ --time-slot-height: 20px;
39
+ --container-height: 480px;
40
+
41
+ --timeline-new-event-background-color: #ff5722;
42
+ --timeline-new-event-text-color: #fff;
43
+
44
+ --timeline-event-background-color: #ff7f50;
45
+ --timeline-event-text-color: #fff;
46
+ --timeline-event-border-color: #fff;
47
+
48
+ --timeline-cell-selected-bg: rgba(25,118,210,0.2);
49
+
50
+ user-select: none; /* Metin seçimini engelle */
51
+ }
52
+
53
+ /* Koyu Tema */
54
+ .dark-mode {
55
+ /* Koyu tema */
56
+ --background-color: #16202a; /* Koyu tema arka plan */
57
+ --text-color: #ddd; /* Koyu tema yazı rengi */
58
+ --border-color: #444;
59
+
60
+ --header-background-color: #16202a;
61
+ --header-text-color: #bbb;
62
+
63
+ --resource-background-color: #16202a;
64
+ --resource-text-color: #bbb;
65
+ --group-header-background-color: #0d141b;
66
+
67
+ --timeline-header-background-color: #16202a;
68
+ --timeline-cell-border-color: #444;
69
+ --timeline-event-background-color: #2a2a2a;
70
+ --timeline-event-border-color: #222;
71
+ --timeline-event-text-color: #ddd;
72
+
73
+ --scrollbar-thumb-background: #555;
74
+ --scrollbar-thumb-hover-background: #888;
75
+
76
+ --timeline-new-event-background-color: #a83e20;
77
+ --timeline-new-event-text-color: #eee;
78
+
79
+ --timeline-event-background-color: #a83e20;
80
+ --timeline-event-text-color: #fff;
81
+ --timeline-event-border-color: #222;
82
+
83
+ --timeline-cell-selected-bg: rgba(76,175,80,0.2);
84
+ }
85
+
86
+ /* Genel Timeline Konteyner */
87
+ .timeline-container {
88
+ display: flex;
89
+ flex-direction: column;
90
+ width: 100%;
91
+ height: 100%;
92
+ border: 1px solid var(--border-color);
93
+ border-radius: 8px;
94
+ overflow: hidden;
95
+ box-sizing: border-box;
96
+ background-color: var(--background-color);
97
+ color: var(--text-color);
98
+ }
99
+
100
+ /* Master Header */
101
+ .timeline-master-header {
102
+ width: 100%;
103
+ background-color: var(--header-background-color);
104
+ color: var(--header-text-color);
105
+ border-bottom: 1px solid var(--border-color);
106
+ z-index: 10;
107
+ padding: 10px;
108
+ box-sizing: border-box;
109
+ }
110
+
111
+ /* Timeline Body */
112
+ .timeline-body {
113
+ display: flex;
114
+ flex: 1;
115
+ }
116
+
117
+ /* Sol Kısım: Resources */
118
+ .timeline-resources-container {
119
+ width: var(--resource-width);
120
+ display: flex;
121
+ flex-direction: column;
122
+ border-right: 1px solid var(--border-color);
123
+ position: sticky;
124
+ left: 0;
125
+ top: var(--header-height);
126
+ z-index: 2;
127
+ background-color: var(--resource-background-color);
128
+ overflow-y: auto;
129
+ }
130
+
131
+ /* Resources Header */
132
+ .resources-header {
133
+ background-color: var(--header-background-color);
134
+ color: var(--resource-text-color);
135
+ text-align: center;
136
+ width: var(--resource-width);
137
+ font-weight: bold;
138
+ display: flex;
139
+ flex-direction: column;
140
+ justify-content: center;
141
+ align-items: center;
142
+ height: calc(var(--header-height) * 2); /* Üst üste iki header yüksekliği */
143
+ border-right: 1px solid var(--border-color);
144
+ box-sizing: border-box;
145
+ }
146
+
147
+ /* Grup Başlığı Hücreleri */
148
+ .group-header-row {
149
+ display: flex;
150
+ height: var(--cell-height);
151
+ background-color: var(--group-header-background-color);
152
+ color: var(--resource-text-color);
153
+ font-weight: bold;
154
+ }
155
+
156
+ .group-header-cell {
157
+ flex: 1;
158
+ border: 1px solid var(--border-color);
159
+ text-align: center;
160
+ background-color: var(--group-header-background-color);
161
+ color: var(--resource-text-color);
162
+ height: var(--cell-height);
163
+ display: flex;
164
+ align-items: center;
165
+ justify-content: center;
166
+ }
167
+
168
+ /* Resource Grupları */
169
+ .resource-group {
170
+ display: flex;
171
+ flex-direction: column;
172
+ }
173
+
174
+ /* Resource Grup Header */
175
+ .resource-group-header {
176
+ background-color: var(--group-header-background-color);
177
+ color: var(--resource-text-color);
178
+ font-weight: bold;
179
+ height: var(--cell-height);
180
+ box-sizing: border-box;
181
+ display: flex;
182
+ align-items: center;
183
+ justify-content: space-between;
184
+ padding: 0 0px;
185
+ cursor: pointer;
186
+ border: 1px solid var(--border-color);
187
+ }
188
+
189
+ /* Resource Hücreleri */
190
+ .resource-cell {
191
+ padding: 0;
192
+ text-align: left;
193
+ background-color: var(--resource-background-color);
194
+ color: var(--resource-text-color);
195
+ height: var(--cell-height);
196
+ display: flex;
197
+ align-items: center;
198
+ border: 0.3px solid var(--border-color);
199
+ box-sizing: border-box;
200
+ }
201
+
202
+ /* Sağ Kısım: Timeline */
203
+ .timeline-scrollable-container {
204
+ flex: 1;
205
+ overflow-x: auto;
206
+ overflow-y: hidden;
207
+ display: flex;
208
+ flex-direction: column;
209
+ position: relative;
210
+ }
211
+
212
+ /* Header ve Content Wrapper */
213
+ .timeline-header-content-wrapper {
214
+ display: flex;
215
+ flex-direction: column;
216
+ }
217
+
218
+ /* Timeline Header */
219
+ .timeline-header {
220
+ display: flex;
221
+ background-color: var(--timeline-header-background-color);
222
+ color: var(--header-text-color);
223
+ position: sticky;
224
+ top: 0;
225
+ z-index: 2;
226
+ height: var(--header-height);
227
+ overflow: hidden;
228
+ box-sizing: border-box;
229
+ }
230
+
231
+ /* Timeline Content */
232
+ .timeline-content {
233
+ display: flex;
234
+ flex-direction: column;
235
+ }
236
+
237
+ /* Grup Container */
238
+ .group-container {
239
+ display: flex;
240
+ flex-direction: column;
241
+ }
242
+
243
+ /* Resource Satırları */
244
+ .resource-row {
245
+ display: flex;
246
+ box-sizing: border-box;
247
+ position: relative;
248
+ height: var(--cell-height);
249
+ border: 1px solid var(--border-color);
250
+ margin-top: -1px;
251
+ overflow: hidden;
252
+ }
253
+
254
+ /* Timeline Hücreleri */
255
+ .timeline-cell {
256
+ flex: 1;
257
+ border: 1px solid var(--timeline-cell-border-color);
258
+ height: 100%;
259
+ box-sizing: border-box;
260
+ }
261
+
262
+ /* Hücre Seçili Durumu */
263
+ .timeline-cell.selected {
264
+ background-color: rgba(25, 118, 210, 0.2); /* satır içi/hover */
265
+ }
266
+
267
+ /* Event Stilleri */
268
+ .event {
269
+ position: absolute;
270
+ background-color: var(--timeline-event-background-color);
271
+ color: var(--timeline-event-text-color);
272
+ font-size: 12px;
273
+ padding: 2px 5px;
274
+ border-radius: 4px;
275
+ text-align: left;
276
+ display: flex;
277
+ flex-direction: column;
278
+ justify-content: center;
279
+ box-sizing: border-box;
280
+ z-index: 10;
281
+ overflow: hidden;
282
+ text-overflow: ellipsis;
283
+ white-space: nowrap;
284
+ border: 1px solid var(--timeline-event-border-color);
285
+ cursor: pointer;
286
+ }
287
+
288
+ /* Event Time Stili */
289
+ .event-time {
290
+ font-size: 10px;
291
+ margin-top: 2px;
292
+ }
293
+
294
+ /* Scrollbar için */
295
+ .timeline-scrollable-container::-webkit-scrollbar {
296
+ height: 10px;
297
+ }
298
+
299
+ .timeline-scrollable-container::-webkit-scrollbar-thumb {
300
+ background: var(--scrollbar-thumb-background);
301
+ border-radius: 5px;
302
+ }
303
+
304
+ .timeline-scrollable-container::-webkit-scrollbar-thumb:hover {
305
+ background: var(--scrollbar-thumb-hover-background);
306
+ }
307
+
308
+ .resources-header {
309
+ background-color: var(--header-background-color);
310
+ color: var(--resource-text-color);
311
+ text-align: center;
312
+ width: var(--resource-width);
313
+ font-weight: bold;
314
+ display: flex;
315
+ flex-direction: column;
316
+ justify-content: center;
317
+ align-items: center;
318
+ height: 80px;
319
+ border-right: 1px solid var(--border-color);
320
+ box-sizing: border-box;
321
+ }
322
+
323
+ /* TimelineHeader Container */
324
+ .timeline-header-container {
325
+ flex: 1;
326
+ display: flex;
327
+ flex-direction: column;
328
+ }
329
+
330
+ /* Ay + Yıl satırı */
331
+ .timeline-header-month-row {
332
+ display: flex;
333
+ background-color: var(--header-background-color);
334
+ color: var(--header-text-color);
335
+ font-weight: bold;
336
+ font-size: 16px;
337
+ height: 40px;
338
+ line-height: 40px;
339
+ border-bottom: 1px solid var(--border-color);
340
+ }
341
+
342
+ /* Ay + Yıl hücreleri */
343
+ .timeline-header-month-cell {
344
+ text-align: center;
345
+ display: flex;
346
+ align-items: center;
347
+ justify-content: center;
348
+ /* border-right => dynamic, inline style if needed */
349
+ box-sizing: border-box;
350
+ }
351
+
352
+ /* Günlük Hücreler (tarih satırı) */
353
+ .timeline-header-day-row {
354
+ display: flex;
355
+ background-color: var(--timeline-header-background-color);
356
+ color: var(--header-text-color);
357
+ /* border-bottom: 1px solid var(--border-color); if needed */
358
+ }
359
+
360
+ /* Günlük hücre (her gün) */
361
+ .timeline-header-day-cell {
362
+ height: 40px;
363
+ line-height: 40px;
364
+ font-size: 14px;
365
+ white-space: nowrap;
366
+ overflow: hidden;
367
+ text-overflow: ellipsis;
368
+ text-align: center;
369
+ box-sizing: border-box;
370
+ }
371
+
372
+
373
+ /* src/components/Timeline/Timeline.css */
374
+ /* Ekleme: MasterHeader stili */
375
+
376
+ /* Kapsayıcı */
377
+ .master-header-container {
378
+ display: flex;
379
+ align-items: center;
380
+ justify-content: space-between; /* Butonlar solda, select sağda */
381
+ padding: 10px;
382
+ background-color: var(--header-background-color);
383
+ color: var(--header-text-color);
384
+ }
385
+
386
+ .master-header-buttons {
387
+ display: flex; /* Yan yana dizilim */
388
+ align-items: center; /* Dikey hizalama */
389
+ }
390
+
391
+ .master-header-btn {
392
+ background-color: transparent;
393
+ color: var(--header-text-color);
394
+ border: 1px solid var(--border-color);
395
+ border-radius: 4px;
396
+ padding: 6px 12px;
397
+ margin-right: 10px; /* Butonlar arasında mesafe */
398
+ cursor: pointer;
399
+ font-size: 14px;
400
+ transition: background-color 0.2s ease, color 0.2s ease;
401
+ }
402
+
403
+ .master-header-btn:hover {
404
+ background-color: rgba(25, 118, 210, 0.2); /* Açık tema hover */
405
+ }
406
+
407
+ .dark-mode .master-header-btn:hover {
408
+ background-color: rgba(76, 175, 80, 0.2); /* Koyu tema hover */
409
+ }
410
+
411
+ .master-header-btn:focus {
412
+ outline: none;
413
+ }
414
+
415
+
416
+
417
+ /* Tarih seçici (Date Picker) */
418
+ .master-header-date-picker {
419
+ background-color: transparent;
420
+ color: var(--header-text-color);
421
+ border: 1px solid var(--border-color);
422
+ border-radius: 4px;
423
+ padding: 5px 12px;
424
+ margin-right: 10px; /* Butonlar arasında mesafe */
425
+ cursor: pointer;
426
+ font-size: 14px;
427
+ transition: background-color 0.2s ease, color 0.2s ease;
428
+ }
429
+
430
+ .master-header-date-picker:hover {
431
+ background-color: rgba(25, 118, 210, 0.2); /* Açık tema hover */
432
+ }
433
+
434
+ .dark-mode .master-header-date-picker:hover {
435
+ background-color: rgba(76, 175, 80, 0.2); /* Koyu tema hover */
436
+ }
437
+
438
+ .master-header-date-picker:focus {
439
+ outline: none;
440
+ }
441
+
442
+ /* Select */
443
+ .master-header-select {
444
+ margin-left: auto; /* Sağa yaslamak için */
445
+ background-color: transparent;
446
+ color: var(--header-text-color);
447
+ border: 1px solid var(--border-color);
448
+ border-radius: 4px;
449
+ padding: 4px 8px;
450
+ font-size: 14px;
451
+ cursor: pointer;
452
+ }
453
+
454
+ .master-header-select:focus {
455
+ outline: none;
456
+ }
457
+
458
+ /* Flatpickr Takvim Kutusu */
459
+ .flatpickr-calendar {
460
+ background-color: var(--background-color);
461
+ color: var(--text-color);
462
+ border: 1px solid var(--border-color);
463
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Gölge efekti */
464
+ }
465
+
466
+
467
+ /* Flatpickr Günü */
468
+ .flatpickr-day {
469
+ background-color: var(--background-color); /* Arka plan rengi */
470
+ color: var(--text-color); /* Yazı rengi */
471
+ border-radius: 4px; /* Köşeleri yuvarlat */
472
+ cursor: pointer;
473
+ }
474
+
475
+ .flatpickr-day:hover {
476
+ background-color: rgba(25, 118, 210, 0.2); /* Hover efekti */
477
+ }
478
+
479
+ .dark-mode .flatpickr-day:hover {
480
+ background-color: rgba(76, 175, 80, 0.2); /* Koyu tema hover efekti */
481
+ }
482
+
483
+ /* Seçili Gün */
484
+ .flatpickr-day.selected {
485
+ background-color: #4caf50; /* Seçili gün rengi */
486
+ color: white; /* Seçili gün yazı rengi */
487
+ }
488
+
489
+ /* Flatpickr Ay ve Yıl */
490
+ .flatpickr-months .flatpickr-month {
491
+ background-color: var(--background-color);
492
+ color: var(--text-color);
493
+ }
494
+
495
+ /* Flatpickr Ay İleri ve Geri Düğmeleri */
496
+ .flatpickr-prev-month, .flatpickr-next-month {
497
+ color: var(--text-color);
498
+ cursor: pointer;
499
+ }
500
+
501
+ /* Koyu Tema Örnekleri */
502
+ .dark-mode .flatpickr-calendar {
503
+ background-color: #1f2937; /* Koyu tema arka plan */
504
+ color: #ffffff; /* Koyu tema yazı rengi */
505
+ }
506
+
507
+ .dark-mode .flatpickr-day.selected {
508
+ background-color: #4caf50;
509
+ color: white;
510
+ }
511
+
512
+
513
+ /* Container */
514
+ .timeline-content-container {
515
+ position: relative;
516
+ width: 100%;
517
+ height: auto; /* or as needed */
518
+ display: flex;
519
+ flex-direction: column;
520
+ }
521
+
522
+ /* Group container */
523
+ .timeline-group-container {
524
+ margin-bottom: 0px;
525
+ display: flex;
526
+ flex-direction: column;
527
+ }
528
+
529
+ /* Group header row */
530
+ .timeline-group-header-row {
531
+ display: flex;
532
+ margin-top: -0.08rem;
533
+ }
534
+
535
+ .timeline-group-header-cell {
536
+ flex: 1;
537
+ height: 2.58rem;
538
+ background-color: var(--group-header-background-color);
539
+ border: 1px solid var(--border-color);
540
+
541
+ box-sizing: border-box;
542
+ display: flex;
543
+ align-items: center;
544
+ justify-content: center;
545
+ }
546
+
547
+ /* Resource row */
548
+ .timeline-resource-row {
549
+ display: flex;
550
+ position: relative;
551
+ height: var(--cell-height, 40px);
552
+ border: 1px solid var(--border-color);
553
+ box-sizing: border-box;
554
+ }
555
+
556
+ /* Each day cell */
557
+ .timeline-cell {
558
+ flex: 1;
559
+ height: 100%;
560
+ position: relative;
561
+ border-left: 1px solid var(--border-color);
562
+ border-right: 1px solid var(--border-color);
563
+ box-sizing: border-box;
564
+ cursor: pointer;
565
+ }
566
+
567
+ /* "selected" day cell */
568
+ .timeline-cell.selected {
569
+ background-color: var(--timeline-cell-selected-bg, rgba(25,118,210,0.2));
570
+ }
571
+
572
+ /* Event */
573
+ .timeline-event {
574
+ position: absolute;
575
+ background-color: var(--timeline-event-background-color, #0093ce);
576
+ color: var(--timeline-event-text-color, #fff);
577
+ font-size: 14px;
578
+ padding: 5px;
579
+ border-radius: 20px;
580
+ box-sizing: border-box;
581
+ z-index: 10;
582
+ overflow: hidden;
583
+ text-overflow: ellipsis;
584
+ white-space: nowrap;
585
+ border: 1px solid var(--timeline-event-border-color, #fff);
586
+ top: 5px; /* or a variable offset if you want */
587
+ /* "left" and "width" are inline from JS */
588
+ }
589
+
590
+ /* Extend handle */
591
+ .timeline-event-extend-handle {
592
+ position: absolute;
593
+ right: 0;
594
+ top: 0;
595
+ width: 10px;
596
+ height: 100%;
597
+ background-color: rgba(0,0,0,0.2);
598
+ cursor: col-resize;
599
+ z-index: 20;
600
+ }
601
+
602
+ /* Temp event (while creating) */
603
+ .timeline-temp-event {
604
+ position: absolute;
605
+ background-color: var(--timeline-new-event-background-color, #0093ce);
606
+ color: var(--timeline-new-event-text-color, #fff);
607
+ opacity: 0.7;
608
+ border-radius: 20px;
609
+ z-index: 9;
610
+ display: flex;
611
+ align-items: center;
612
+ justify-content: center;
613
+ font-size: 14px;
614
+ /* "left"/"width" from JS: " ...calculatePosition(tempEvent, dates)" */
615
+ top: 5px;
616
+ }