@event-calendar/core 4.7.1 → 5.0.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.
Files changed (93) hide show
  1. package/README.md +29 -51
  2. package/dist/index.css +636 -731
  3. package/dist/index.js +2576 -3178
  4. package/package.json +2 -2
  5. package/src/Auxiliary.svelte +2 -13
  6. package/src/Buttons.svelte +62 -52
  7. package/src/Calendar.svelte +9 -3
  8. package/src/lib/a11y.js +2 -2
  9. package/src/lib/attachments.js +61 -0
  10. package/src/lib/chunks.js +117 -0
  11. package/src/lib/components/BaseDay.svelte +50 -0
  12. package/src/lib/components/BaseEvent.svelte +3 -3
  13. package/src/lib/components/ColHead.svelte +34 -0
  14. package/src/lib/components/DayHeader.svelte +14 -0
  15. package/src/lib/components/InteractableEvent.svelte +1 -3
  16. package/src/lib/components/index.js +3 -0
  17. package/src/lib/date.js +1 -1
  18. package/src/lib/dom.js +0 -4
  19. package/src/lib/events.js +10 -134
  20. package/src/lib/index.js +3 -2
  21. package/src/lib/{times.js → slots.js} +14 -19
  22. package/src/lib/stores.js +0 -33
  23. package/src/lib/utils.js +11 -2
  24. package/src/lib/view.js +0 -4
  25. package/src/plugins/day-grid/Day.svelte +36 -129
  26. package/src/plugins/day-grid/Event.svelte +42 -41
  27. package/src/plugins/day-grid/Popup.svelte +65 -48
  28. package/src/plugins/day-grid/View.svelte +76 -4
  29. package/src/plugins/day-grid/index.js +5 -5
  30. package/src/plugins/day-grid/lib.js +61 -0
  31. package/src/plugins/day-grid/stores.js +2 -20
  32. package/src/plugins/interaction/Action.svelte +44 -43
  33. package/src/plugins/interaction/Auxiliary.svelte +4 -4
  34. package/src/plugins/interaction/Pointer.svelte +8 -12
  35. package/src/plugins/interaction/Resizer.svelte +2 -2
  36. package/src/plugins/interaction/lib/utils.js +1 -5
  37. package/src/plugins/list/Day.svelte +8 -24
  38. package/src/plugins/list/View.svelte +39 -2
  39. package/src/plugins/resource-time-grid/Label.svelte +2 -2
  40. package/src/plugins/resource-time-grid/View.svelte +55 -83
  41. package/src/plugins/resource-time-grid/index.js +19 -10
  42. package/src/plugins/resource-time-grid/lib.js +31 -0
  43. package/src/plugins/resource-time-grid/options.js +10 -0
  44. package/src/plugins/resource-time-grid/stores.js +34 -0
  45. package/src/plugins/resource-timeline/Day.svelte +10 -73
  46. package/src/plugins/resource-timeline/Event.svelte +14 -23
  47. package/src/plugins/resource-timeline/Header.svelte +5 -5
  48. package/src/plugins/resource-timeline/Label.svelte +4 -12
  49. package/src/plugins/resource-timeline/NowIndicator.svelte +33 -28
  50. package/src/plugins/resource-timeline/View.svelte +129 -14
  51. package/src/plugins/resource-timeline/index.js +26 -23
  52. package/src/plugins/resource-timeline/lib.js +115 -118
  53. package/src/plugins/resource-timeline/stores.js +11 -7
  54. package/src/plugins/time-grid/AllDayEvent.svelte +31 -0
  55. package/src/plugins/time-grid/Day.svelte +11 -99
  56. package/src/plugins/time-grid/Event.svelte +18 -20
  57. package/src/plugins/time-grid/NowIndicator.svelte +35 -10
  58. package/src/plugins/time-grid/View.svelte +129 -35
  59. package/src/plugins/time-grid/index.js +10 -8
  60. package/src/plugins/time-grid/lib.js +142 -0
  61. package/src/plugins/time-grid/options.js +57 -0
  62. package/src/plugins/time-grid/stores.js +41 -8
  63. package/src/storage/options.js +4 -39
  64. package/src/storage/state.js +1 -4
  65. package/src/storage/stores.js +43 -12
  66. package/src/styles/days.css +91 -0
  67. package/src/styles/events.css +180 -0
  68. package/src/styles/index.css +126 -0
  69. package/src/styles/now-indicator.css +35 -0
  70. package/src/styles/popup.css +30 -0
  71. package/src/styles/sidebar.css +60 -0
  72. package/src/styles/slots.css +42 -0
  73. package/src/styles/theme.css +68 -0
  74. package/src/styles/toolbar.css +88 -0
  75. package/src/lib/actions.js +0 -52
  76. package/src/plugins/day-grid/Body.svelte +0 -54
  77. package/src/plugins/day-grid/Header.svelte +0 -20
  78. package/src/plugins/day-grid/Week.svelte +0 -60
  79. package/src/plugins/list/Body.svelte +0 -44
  80. package/src/plugins/resource-timeline/Body.svelte +0 -67
  81. package/src/plugins/resource-timeline/Days.svelte +0 -72
  82. package/src/plugins/resource-timeline/Sidebar.svelte +0 -35
  83. package/src/plugins/time-grid/Body.svelte +0 -43
  84. package/src/plugins/time-grid/Section.svelte +0 -29
  85. package/src/plugins/time-grid/all-day/Day.svelte +0 -65
  86. package/src/plugins/time-grid/all-day/Event.svelte +0 -37
  87. package/src/plugins/time-grid/all-day/Week.svelte +0 -65
  88. package/src/plugins/time-grid/utils.js +0 -58
  89. package/src/styles/day-grid.scss +0 -51
  90. package/src/styles/index.scss +0 -553
  91. package/src/styles/theme.scss +0 -95
  92. package/src/styles/time-grid.scss +0 -83
  93. package/src/styles/timeline.scss +0 -152
@@ -1,553 +0,0 @@
1
- @use "theme";
2
- @use "timeline";
3
- @use "time-grid";
4
- @use "day-grid";
5
-
6
- /* Grid */
7
- .ec-days,
8
- .ec-day,
9
- .ec-resource {
10
- flex: 1 1 0;
11
- min-width: 0;
12
- max-width: 100%;
13
- }
14
-
15
- .ec {
16
- display: flex;
17
- flex-direction: column;
18
- color: var(--ec-text-color);
19
- background-color: var(--ec-bg-color);
20
- -webkit-tap-highlight-color: transparent;
21
-
22
- /* Scrollbar */
23
- ::-webkit-scrollbar {
24
- background-color: transparent;
25
- }
26
-
27
- ::-webkit-scrollbar-thumb {
28
- border: 4px solid transparent;
29
- box-shadow: none;
30
- background-color: var(--ec-border-color);
31
- background-clip: padding-box;
32
- border-radius: 8px;
33
- min-height: 40px;
34
- }
35
-
36
- :hover::-webkit-scrollbar-thumb {
37
- background-color: var(--ec-accent-color);
38
- }
39
- }
40
-
41
- .ec-hidden-scroll {
42
- display: none;
43
- overflow-y: scroll;
44
- visibility: hidden;
45
- flex-shrink: 0;
46
-
47
- .ec-with-scroll & {
48
- display: block;
49
- }
50
- }
51
-
52
- /* Toolbar */
53
- .ec-toolbar {
54
- flex: 0 0 auto;
55
- display: flex;
56
- justify-content: space-between;
57
- align-items: center;
58
- margin-bottom: 1em;
59
-
60
- > * {
61
- margin-bottom: -.5em;
62
-
63
- > * {
64
- margin-bottom: .5em;
65
-
66
- &:not(:last-child) {
67
- margin-right: .75em;
68
- }
69
- }
70
- }
71
- }
72
-
73
- .ec-title {
74
- margin: 0;
75
- }
76
-
77
- .ec-button {
78
- background-color: var(--ec-button-bg-color);
79
- border: 1px solid var(--ec-button-border-color);
80
- padding: .375rem .75rem;
81
- font-size: 1rem;
82
- line-height: 1.5;
83
- border-radius: .25rem;
84
-
85
- &:not(:disabled) {
86
- color: var(--ec-button-text-color);
87
- cursor: pointer;
88
- }
89
-
90
- &:not(:disabled):hover,
91
- &.ec-active {
92
- background-color: var(--ec-button-active-bg-color);
93
- border-color: var(--ec-button-active-border-color);
94
- color: var(--ec-button-active-text-color);
95
- z-index: 1; // make all borders visible
96
- }
97
- }
98
-
99
- .ec-expander {
100
- margin-right: .25em;
101
- width: 1.25em;
102
-
103
- .ec-button {
104
- line-height: normal;
105
- padding: 0;
106
- aspect-ratio: 1;
107
- height: 1.25em;
108
- }
109
- }
110
-
111
- .ec-button-group {
112
- display: inline-flex;
113
-
114
- .ec-button:not(:first-child) {
115
- border-top-left-radius: 0;
116
- border-bottom-left-radius: 0;
117
- margin-left: -1px;
118
- }
119
-
120
- .ec-button:not(:last-child) {
121
- border-top-right-radius: 0;
122
- border-bottom-right-radius: 0;
123
- }
124
- }
125
-
126
- .ec-icon {
127
- display: inline-block;
128
- width: 1em;
129
-
130
- &.ec-prev:after,
131
- &.ec-next:after {
132
- content: '';
133
- position: relative;
134
- width: .5em;
135
- height: .5em;
136
- border-top: 2px solid currentcolor;
137
- border-right: 2px solid currentcolor;
138
- display: inline-block;
139
- }
140
-
141
- &.ec-prev:after {
142
- transform: rotate(-135deg) translate(-2px, 2px);
143
- }
144
-
145
- &.ec-next:after {
146
- transform: rotate(45deg) translate(-2px, 2px);
147
- }
148
- }
149
-
150
- /* Header */
151
- .ec-header,
152
- .ec-all-day,
153
- .ec-body,
154
- .ec-days,
155
- .ec-day,
156
- .ec-day-head {
157
- border: 1px solid var(--ec-border-color);
158
- }
159
-
160
- .ec-header {
161
- display: flex;
162
- flex-shrink: 0;
163
-
164
- .ec-resource {
165
- flex-direction: column;
166
-
167
- .ec-days {
168
- border-top-style: solid;
169
- }
170
- }
171
-
172
- .ec-days {
173
- border-bottom: none;
174
- }
175
-
176
- .ec-day {
177
- min-height: 24px;
178
- line-height: 24px;
179
- text-align: center;
180
- overflow: hidden;
181
- text-overflow: ellipsis;
182
- }
183
- }
184
-
185
- /* All Day */
186
- .ec-all-day {
187
- flex-shrink: 0;
188
- border-top: none;
189
-
190
- .ec-days {
191
- border-bottom: none;
192
- }
193
-
194
- .ec-day {
195
- padding-bottom: 4px;
196
- position: relative;
197
- }
198
- }
199
-
200
- /* Body */
201
- .ec-body {
202
- position: relative;
203
- overflow-x: hidden;
204
- overflow-y: auto;
205
-
206
- .ec:not(.ec-list) & {
207
- border-top: none;
208
- }
209
- }
210
-
211
- .ec-sidebar {
212
- flex: 0 0 auto;
213
- width: auto;
214
- max-width: 100%;
215
- padding: 0 4px 0 8px;
216
- display: flex;
217
- flex-direction: column;
218
- }
219
-
220
- .ec-content {
221
- display: flex;
222
-
223
- .ec-list & {
224
- flex-direction: column;
225
- }
226
- }
227
-
228
- .ec-resource {
229
- display: flex;
230
- }
231
-
232
- .ec-days {
233
- display: flex;
234
- border-style: none none solid;
235
-
236
- &:last-child {
237
- border-bottom: none;
238
- }
239
-
240
- .ec-day-grid &,
241
- .ec-resource & {
242
- flex: 1 0 auto;
243
- }
244
- }
245
-
246
- .ec-day {
247
- border-style: none none none solid;
248
-
249
- &.ec-today {
250
- background-color: var(--ec-today-bg-color);
251
- }
252
-
253
- &.ec-highlight {
254
- background-color: var(--ec-highlight-color);
255
- }
256
-
257
- &.ec-disabled {
258
- position: relative;
259
- &:after {
260
- content: '';
261
- position: absolute;
262
- inset: 0 0 0 0;
263
- background-color: var(--ec-bg-event-color);
264
- opacity: .3;
265
- }
266
- }
267
-
268
- &.ec-other-month .ec-day-head time {
269
- opacity: .3;
270
- }
271
-
272
- .ec-list & {
273
- border: none;
274
- }
275
- }
276
-
277
- .ec-list {
278
- .ec-day-head {
279
- background-color: var(--ec-list-day-bg-color);
280
- border-style: solid none;
281
- margin: -1px 0 0;
282
- padding: 8px 14px;
283
- position: sticky;
284
- top: 0;
285
- z-index: 2;
286
- }
287
- .ec-day.ec-today .ec-day-head:before {
288
- content: '';
289
- position: absolute;
290
- inset: 0;
291
- z-index: -1;
292
- background-color: var(--ec-today-bg-color);
293
- }
294
-
295
- .ec-day:first-child .ec-day-head {
296
- border-top: none;
297
- }
298
-
299
- .ec-day-side {
300
- float: right;
301
- }
302
-
303
- .ec-no-events {
304
- text-align: center;
305
- padding: 5em 0;
306
- }
307
- }
308
-
309
- .ec-events {
310
- margin: 0 6px 0 0;
311
-
312
- .ec-time-grid &,
313
- &.ec-preview {
314
- position: relative;
315
- }
316
-
317
- .ec-day-grid &,
318
- .ec-all-day & {
319
- display: flow-root;
320
- }
321
- }
322
-
323
- .ec-event {
324
- display: flex;
325
- padding: 2px;
326
- color: var(--ec-event-text-color);
327
- box-sizing: border-box;
328
- box-shadow: 0 0 1px 0 var(--ec-border-color);
329
- background-color: var(--ec-event-bg-color);
330
- border-radius: 3px;
331
- font-size: .85em;
332
- line-height: 1.5;
333
- z-index: 1; // put it above the pointer event (for multi-day events in month view)
334
-
335
- .ec-day-grid &,
336
- .ec-all-day & {
337
- position: relative;
338
- }
339
-
340
- .ec-list & {
341
- flex-direction: row;
342
- padding: 8px 14px;
343
- color: inherit;
344
- background-color: transparent;
345
- border-radius: 0;
346
- }
347
-
348
- &.ec-preview {
349
- position: absolute;
350
- z-index: 1000;
351
- width: 100%;
352
- user-select: none;
353
- opacity: .8;
354
- }
355
-
356
- &.ec-pointer {
357
- color: inherit;
358
- pointer-events: none;
359
- user-select: none;
360
- position: absolute;
361
- z-index: 0;
362
- box-shadow: none;
363
- display: flex;
364
- }
365
- }
366
-
367
- .ec-event-body {
368
- display: flex;
369
- flex-direction: column;
370
- width: 100%;
371
-
372
- .ec-day-grid &,
373
- .ec-all-day &,
374
- .ec-timeline & {
375
- flex-direction: row;
376
- }
377
- }
378
-
379
- .ec-event-tag {
380
- width: 4px;
381
- border-radius: 2px;
382
- margin-right: 8px;
383
- }
384
-
385
- .ec-event-time {
386
- overflow: hidden;
387
- white-space: nowrap;
388
- margin: 0 0 1px 0;
389
- flex-shrink: 0;
390
- max-height: 100%;
391
-
392
- .ec-day-grid &,
393
- .ec-timeline & {
394
- margin: 0 3px 0 0;
395
- max-width: 100%;
396
- text-overflow: ellipsis;
397
- }
398
- }
399
-
400
- .ec-event-title {
401
- overflow: hidden;
402
- margin: unset;
403
- font-weight: inherit;
404
-
405
- .ec-day-grid &,
406
- .ec-all-day &,
407
- .ec-timeline & {
408
- min-height: 1.5em;
409
- white-space: nowrap;
410
- text-overflow: ellipsis;
411
- }
412
-
413
- .ec-list & {
414
- font-size: 1rem;
415
- }
416
- }
417
-
418
- .ec-draggable {
419
- cursor: pointer;
420
- user-select: none;
421
- }
422
-
423
- .ec-ghost {
424
- opacity: .5;
425
- user-select: none;
426
- pointer-events: none;
427
- }
428
-
429
- .ec-bg-events {
430
- position: relative;
431
-
432
- .ec-day-grid &,
433
- .ec-all-day & {
434
- position: absolute;
435
- inset: 0;
436
- }
437
- }
438
-
439
- .ec-bg-event {
440
- position: absolute;
441
- background-color: var(--ec-bg-event-color);
442
- opacity: var(--ec-bg-event-opacity);
443
-
444
- .ec-day-grid &,
445
- .ec-all-day & {
446
- height: 100%;
447
- z-index: auto;
448
- }
449
- }
450
-
451
- .ec-time {
452
- white-space: nowrap;
453
- }
454
-
455
- .ec-popup {
456
- position: absolute;
457
- top: 0;
458
- display: flex;
459
- flex-direction: column;
460
- width: 110%;
461
- min-width: 180px;
462
- z-index: 1010;
463
- padding: 8px 10px 14px;
464
- background-color: var(--ec-popup-bg-color);
465
- border: 1px solid var(--ec-border-color);
466
- border-radius: 6px;
467
- outline: 1px solid transparent;
468
- box-shadow: 0 1px 3px 0 hsla(var(--ec-hs), 50%, .15), 0 4px 8px 3px hsla(var(--ec-hs), 50%, .15);
469
-
470
- .ec-day-head {
471
- text-align: left;
472
- display: flex;
473
- justify-content: space-between;
474
-
475
- a {
476
- cursor: pointer;
477
- font-size: 1.5em;
478
- line-height: .8;
479
- }
480
- }
481
-
482
- .ec-events {
483
- margin: 0;
484
- min-height: 0;
485
- overflow: auto;
486
- }
487
- }
488
-
489
- .ec-extra {
490
- position: relative;
491
- height: 100%;
492
- overflow: hidden;
493
- margin-left: -6.5px;
494
- user-select: none;
495
- }
496
-
497
- .ec-now-indicator {
498
- position: absolute;
499
- z-index: 1005;
500
- pointer-events: none;
501
- .ec-time-grid & {
502
- width: 100%;
503
- border-top: var(--ec-now-indicator-color) solid 2px;
504
- }
505
- .ec-timeline & {
506
- border-left: var(--ec-now-indicator-color) solid 2px;
507
- will-change: transform;
508
- }
509
-
510
- &:before {
511
- background: var(--ec-now-indicator-color);
512
- border-radius: 50%;
513
- content: "";
514
- display: block;
515
- height: 12px;
516
- margin-top: -7px;
517
- width: 12px;
518
- .ec-timeline & {
519
- margin-left: -7px;
520
- }
521
- }
522
- }
523
-
524
- .ec-resizer {
525
- position: absolute;
526
- user-select: none;
527
-
528
- .ec-day-grid &,
529
- .ec-all-day &,
530
- .ec-timeline & {
531
- top: 0;
532
- right: 0;
533
- bottom: 0;
534
- width: 50%;
535
- max-width: 8px;
536
- cursor: ew-resize;
537
-
538
- &.ec-start {
539
- right: auto;
540
- left: 0;
541
- }
542
- }
543
- }
544
-
545
- .ec-dragging, .ec-dragging * {
546
- cursor: pointer!important;
547
- }
548
- .ec-resizing-y, .ec-resizing-y * {
549
- cursor: ns-resize!important;
550
- }
551
- .ec-resizing-x, .ec-resizing-x * {
552
- cursor: ew-resize!important;
553
- }
@@ -1,95 +0,0 @@
1
- @mixin light-theme() {
2
- color-scheme: light;
3
- --ec-h: 0;
4
- --ec-s: 0%;
5
- //--ec-l-50: 97.30%;
6
- //--ec-l-100: 95.70%;
7
- //--ec-l-200: 93.70%;
8
- --ec-l-300: 91.00%;
9
- //--ec-l-400: 87.80%;
10
- --ec-l-500: 83.50%;
11
- --ec-l-600: 78.40%;
12
- --ec-l-700: 71.40%;
13
- //--ec-l-800: 62.40%;
14
- //--ec-l-900: 48.20%;
15
- //--ec-l-950: 13.30%;
16
- --ec-bg-fallback-color: #fff;
17
- }
18
-
19
- @mixin dark-theme() {
20
- color-scheme: dark;
21
- --ec-h: 215;
22
- --ec-s: 15%;
23
- //--ec-l-50: 5.10%;
24
- //--ec-l-100: 8.60%;
25
- //--ec-l-200: 13.30%;
26
- --ec-l-300: 25.50%;
27
- //--ec-l-400: 34.10%;
28
- --ec-l-500: 42.40%;
29
- --ec-l-600: 49.80%;
30
- --ec-l-700: 57.30%;
31
- //--ec-l-800: 64.70%;
32
- //--ec-l-900: 72.50%;
33
- //--ec-l-950: 80.40%;
34
- --ec-bg-fallback-color: #22272e;
35
- }
36
-
37
- .ec {
38
- /* HSL */
39
- @include light-theme;
40
- --ec-hs: var(--ec-h), var(--ec-s);
41
-
42
- /* Main color */
43
- //--ec-color-50: hsl(var(--ec-hs), var(--ec-l-50));
44
- //--ec-color-100: hsl(var(--ec-hs), var(--ec-l-100));
45
- //--ec-color-200: hsl(var(--ec-hs), var(--ec-l-200));
46
- --ec-color-300: hsl(var(--ec-hs), var(--ec-l-300));
47
- //--ec-color-400: hsl(var(--ec-hs), var(--ec-l-400));
48
- --ec-color-500: hsl(var(--ec-hs), var(--ec-l-500));
49
- --ec-color-600: hsl(var(--ec-hs), var(--ec-l-600));
50
- --ec-color-700: hsl(var(--ec-hs), var(--ec-l-700));
51
- //--ec-color-800: hsl(var(--ec-hs), var(--ec-l-800));
52
- //--ec-color-900: hsl(var(--ec-hs), var(--ec-l-900));
53
- //--ec-color-950: hsl(var(--ec-hs), var(--ec-l-950));
54
-
55
- /* General props */
56
- //--ec-bg-color: <color>; // can be set by the user
57
- //--ec-text-color: <color>; // can be set by the user
58
- --ec-border-color: var(--ec-color-500);
59
- --ec-accent-color: var(--ec-color-600);
60
-
61
- /* Buttons */
62
- --ec-button-bg-color: var(--ec-bg-color);
63
- --ec-button-border-color: var(--ec-color-600);
64
- --ec-button-text-color: var(--ec-text-color);
65
- --ec-button-active-bg-color: var(--ec-color-300);
66
- --ec-button-active-border-color: var(--ec-color-700);
67
- --ec-button-active-text-color: var(--ec-button-text-color);
68
-
69
- /* Events */
70
- --ec-event-bg-color: #039be5;
71
- --ec-event-text-color: #fff;
72
- --ec-bg-event-color: var(--ec-color-500);
73
- --ec-bg-event-opacity: 0.3;
74
-
75
- /* Days */
76
- --ec-list-day-bg-color: var(--ec-bg-color, var(--ec-bg-fallback-color));
77
- --ec-today-bg-color: rgba(255, 220, 40, .15);
78
- --ec-highlight-color: rgba(188, 232, 241, .3);
79
-
80
- /* Popup */
81
- --ec-popup-bg-color: var(--ec-bg-color, var(--ec-bg-fallback-color));
82
-
83
- /* Now Indicator */
84
- --ec-now-indicator-color: #ea4335;
85
-
86
- .ec-dark & {
87
- @include dark-theme;
88
- }
89
-
90
- @media (prefers-color-scheme: dark) {
91
- .ec-auto-dark & {
92
- @include dark-theme;
93
- }
94
- }
95
- }
@@ -1,83 +0,0 @@
1
- .ec-time-grid {
2
- .ec-body {
3
- .ec-event {
4
- position: absolute;
5
- }
6
-
7
- .ec-event-title {
8
- position: sticky;
9
- top: 0;
10
- }
11
-
12
- .ec-resizer {
13
- left: 0;
14
- right: 0;
15
- bottom: 0;
16
- height: 50%;
17
- max-height: 8px;
18
- cursor: ns-resize;
19
-
20
- &.ec-start {
21
- bottom: auto;
22
- top: 0;
23
- }
24
- }
25
- }
26
-
27
- .ec-bg-event {
28
- width: 100%;
29
- z-index: 1;
30
- }
31
-
32
- .ec-time {
33
- position: relative;
34
- line-height: 24px;
35
- top: -12px;
36
- text-align: right;
37
-
38
- &.ec-minor {
39
- visibility: hidden;
40
- }
41
- }
42
-
43
- .ec-header .ec-time ,
44
- .ec-all-day .ec-time {
45
- visibility: hidden;
46
- overflow-y: hidden;
47
- height: 0;
48
- }
49
-
50
- .ec-time,
51
- .ec-line {
52
- height: 24px;
53
- }
54
-
55
- .ec-lines {
56
- width: 8px;
57
- }
58
-
59
- .ec-line:not(:first-child):after {
60
- content: '';
61
- position: absolute;
62
- width: 100%;
63
- border-bottom: 1px solid var(--ec-border-color);
64
- pointer-events: none;
65
- }
66
-
67
- .ec-line.ec-minor:after {
68
- border-bottom-style: dotted;
69
- }
70
-
71
- .ec-sidebar-title {
72
- visibility: hidden;
73
- overflow-y: hidden;
74
- height: 0;
75
- text-align: right;
76
- }
77
-
78
- .ec-all-day .ec-sidebar-title {
79
- visibility: visible;
80
- height: auto;
81
- padding: 8px 0;
82
- }
83
- }