@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.
- package/README.md +29 -51
- package/dist/index.css +636 -731
- package/dist/index.js +2576 -3178
- package/package.json +2 -2
- package/src/Auxiliary.svelte +2 -13
- package/src/Buttons.svelte +62 -52
- package/src/Calendar.svelte +9 -3
- package/src/lib/a11y.js +2 -2
- package/src/lib/attachments.js +61 -0
- package/src/lib/chunks.js +117 -0
- package/src/lib/components/BaseDay.svelte +50 -0
- package/src/lib/components/BaseEvent.svelte +3 -3
- package/src/lib/components/ColHead.svelte +34 -0
- package/src/lib/components/DayHeader.svelte +14 -0
- package/src/lib/components/InteractableEvent.svelte +1 -3
- package/src/lib/components/index.js +3 -0
- package/src/lib/date.js +1 -1
- package/src/lib/dom.js +0 -4
- package/src/lib/events.js +10 -134
- package/src/lib/index.js +3 -2
- package/src/lib/{times.js → slots.js} +14 -19
- package/src/lib/stores.js +0 -33
- package/src/lib/utils.js +11 -2
- package/src/lib/view.js +0 -4
- package/src/plugins/day-grid/Day.svelte +36 -129
- package/src/plugins/day-grid/Event.svelte +42 -41
- package/src/plugins/day-grid/Popup.svelte +65 -48
- package/src/plugins/day-grid/View.svelte +76 -4
- package/src/plugins/day-grid/index.js +5 -5
- package/src/plugins/day-grid/lib.js +61 -0
- package/src/plugins/day-grid/stores.js +2 -20
- package/src/plugins/interaction/Action.svelte +44 -43
- package/src/plugins/interaction/Auxiliary.svelte +4 -4
- package/src/plugins/interaction/Pointer.svelte +8 -12
- package/src/plugins/interaction/Resizer.svelte +2 -2
- package/src/plugins/interaction/lib/utils.js +1 -5
- package/src/plugins/list/Day.svelte +8 -24
- package/src/plugins/list/View.svelte +39 -2
- package/src/plugins/resource-time-grid/Label.svelte +2 -2
- package/src/plugins/resource-time-grid/View.svelte +55 -83
- package/src/plugins/resource-time-grid/index.js +19 -10
- package/src/plugins/resource-time-grid/lib.js +31 -0
- package/src/plugins/resource-time-grid/options.js +10 -0
- package/src/plugins/resource-time-grid/stores.js +34 -0
- package/src/plugins/resource-timeline/Day.svelte +10 -73
- package/src/plugins/resource-timeline/Event.svelte +14 -23
- package/src/plugins/resource-timeline/Header.svelte +5 -5
- package/src/plugins/resource-timeline/Label.svelte +4 -12
- package/src/plugins/resource-timeline/NowIndicator.svelte +33 -28
- package/src/plugins/resource-timeline/View.svelte +129 -14
- package/src/plugins/resource-timeline/index.js +26 -23
- package/src/plugins/resource-timeline/lib.js +115 -118
- package/src/plugins/resource-timeline/stores.js +11 -7
- package/src/plugins/time-grid/AllDayEvent.svelte +31 -0
- package/src/plugins/time-grid/Day.svelte +11 -99
- package/src/plugins/time-grid/Event.svelte +18 -20
- package/src/plugins/time-grid/NowIndicator.svelte +35 -10
- package/src/plugins/time-grid/View.svelte +129 -35
- package/src/plugins/time-grid/index.js +10 -8
- package/src/plugins/time-grid/lib.js +142 -0
- package/src/plugins/time-grid/options.js +57 -0
- package/src/plugins/time-grid/stores.js +41 -8
- package/src/storage/options.js +4 -39
- package/src/storage/state.js +1 -4
- package/src/storage/stores.js +43 -12
- package/src/styles/days.css +91 -0
- package/src/styles/events.css +180 -0
- package/src/styles/index.css +126 -0
- package/src/styles/now-indicator.css +35 -0
- package/src/styles/popup.css +30 -0
- package/src/styles/sidebar.css +60 -0
- package/src/styles/slots.css +42 -0
- package/src/styles/theme.css +68 -0
- package/src/styles/toolbar.css +88 -0
- package/src/lib/actions.js +0 -52
- package/src/plugins/day-grid/Body.svelte +0 -54
- package/src/plugins/day-grid/Header.svelte +0 -20
- package/src/plugins/day-grid/Week.svelte +0 -60
- package/src/plugins/list/Body.svelte +0 -44
- package/src/plugins/resource-timeline/Body.svelte +0 -67
- package/src/plugins/resource-timeline/Days.svelte +0 -72
- package/src/plugins/resource-timeline/Sidebar.svelte +0 -35
- package/src/plugins/time-grid/Body.svelte +0 -43
- package/src/plugins/time-grid/Section.svelte +0 -29
- package/src/plugins/time-grid/all-day/Day.svelte +0 -65
- package/src/plugins/time-grid/all-day/Event.svelte +0 -37
- package/src/plugins/time-grid/all-day/Week.svelte +0 -65
- package/src/plugins/time-grid/utils.js +0 -58
- package/src/styles/day-grid.scss +0 -51
- package/src/styles/index.scss +0 -553
- package/src/styles/theme.scss +0 -95
- package/src/styles/time-grid.scss +0 -83
- package/src/styles/timeline.scss +0 -152
package/dist/index.css
CHANGED
|
@@ -1,780 +1,685 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* EventCalendar
|
|
2
|
+
* EventCalendar v5.0.1
|
|
3
3
|
* https://github.com/vkurko/calendar
|
|
4
4
|
*/
|
|
5
5
|
.ec {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
.ec-dark
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
.ec-timeline .ec-main {
|
|
74
|
-
display: flex;
|
|
75
|
-
flex-direction: column;
|
|
76
|
-
min-width: 0;
|
|
77
|
-
position: relative;
|
|
78
|
-
}
|
|
79
|
-
.ec-timeline .ec-content {
|
|
80
|
-
flex-direction: column;
|
|
81
|
-
}
|
|
82
|
-
.ec-timeline .ec-body {
|
|
83
|
-
flex: 1 1 auto;
|
|
84
|
-
overflow: auto;
|
|
85
|
-
}
|
|
86
|
-
.ec-timeline .ec-body .ec-content {
|
|
87
|
-
min-height: 100%;
|
|
88
|
-
min-width: max-content;
|
|
89
|
-
position: relative;
|
|
90
|
-
}
|
|
91
|
-
.ec-timeline .ec-body .ec-days {
|
|
92
|
-
flex-shrink: 0;
|
|
93
|
-
}
|
|
94
|
-
.ec-timeline .ec-body .ec-days:not(:last-child) {
|
|
95
|
-
flex-grow: 0;
|
|
96
|
-
}
|
|
97
|
-
.ec-timeline .ec-header {
|
|
98
|
-
overflow: hidden;
|
|
99
|
-
}
|
|
100
|
-
.ec-timeline .ec-header .ec-days {
|
|
101
|
-
min-width: max-content;
|
|
102
|
-
}
|
|
103
|
-
.ec-timeline .ec-header .ec-day {
|
|
104
|
-
flex-basis: auto;
|
|
105
|
-
display: flex;
|
|
106
|
-
flex-direction: column;
|
|
107
|
-
}
|
|
108
|
-
.ec-timeline .ec-header .ec-day:first-child .ec-day-head,
|
|
109
|
-
.ec-timeline .ec-header .ec-day:first-child .ec-time:first-child {
|
|
110
|
-
border: none;
|
|
111
|
-
}
|
|
112
|
-
.ec-timeline .ec-day {
|
|
113
|
-
border: none;
|
|
114
|
-
}
|
|
115
|
-
.ec-timeline .ec-day-head {
|
|
116
|
-
border-style: none none none solid;
|
|
117
|
-
}
|
|
118
|
-
.ec-timeline .ec-times {
|
|
119
|
-
display: flex;
|
|
120
|
-
border-top: 1px solid var(--ec-border-color);
|
|
121
|
-
}
|
|
122
|
-
.ec-timeline .ec-time {
|
|
123
|
-
border-left: 1px solid var(--ec-border-color);
|
|
124
|
-
box-sizing: border-box;
|
|
125
|
-
font-size: 0.95em;
|
|
126
|
-
min-height: 24px;
|
|
127
|
-
overflow: hidden;
|
|
128
|
-
text-overflow: ellipsis;
|
|
129
|
-
}
|
|
130
|
-
.ec-timeline .ec-time.ec-minor {
|
|
131
|
-
visibility: hidden;
|
|
132
|
-
}
|
|
133
|
-
.ec-timeline .ec-time, .ec-timeline .ec-line {
|
|
134
|
-
width: 72px;
|
|
135
|
-
}
|
|
136
|
-
.ec-timeline .ec-events {
|
|
137
|
-
position: relative;
|
|
138
|
-
height: 100%;
|
|
139
|
-
margin: 0;
|
|
140
|
-
}
|
|
141
|
-
.ec-timeline .ec-event {
|
|
142
|
-
position: absolute;
|
|
143
|
-
}
|
|
144
|
-
.ec-timeline .ec-bg-event {
|
|
145
|
-
height: 100%;
|
|
146
|
-
z-index: auto;
|
|
147
|
-
}
|
|
148
|
-
.ec-timeline .ec-lines {
|
|
149
|
-
display: flex;
|
|
150
|
-
}
|
|
151
|
-
.ec-timeline .ec-line:not(:first-child):after {
|
|
152
|
-
content: "";
|
|
153
|
-
position: absolute;
|
|
154
|
-
height: 100%;
|
|
155
|
-
border-left: 1px solid var(--ec-border-color);
|
|
156
|
-
pointer-events: none;
|
|
157
|
-
}
|
|
158
|
-
.ec-timeline .ec-line.ec-minor:after {
|
|
159
|
-
border-left-style: dotted;
|
|
160
|
-
}
|
|
161
|
-
.ec-timeline .ec-sidebar {
|
|
162
|
-
padding: 0;
|
|
163
|
-
border: 1px solid var(--ec-border-color);
|
|
164
|
-
border-right-style: none;
|
|
6
|
+
color-scheme: light;
|
|
7
|
+
|
|
8
|
+
/* Main colors */
|
|
9
|
+
--ec-color-400: oklch(70.8% 0 0);
|
|
10
|
+
--ec-color-300: oklch(87% 0 0);
|
|
11
|
+
--ec-color-200: oklch(92.2% 0 0);
|
|
12
|
+
--ec-color-100: oklch(97% 0 0);
|
|
13
|
+
--ec-color-50: oklch(98.5% 0 0);
|
|
14
|
+
|
|
15
|
+
/* General props */
|
|
16
|
+
--ec-bg-color: #fff;
|
|
17
|
+
--ec-text-color: currentcolor;
|
|
18
|
+
--ec-border-color: var(--ec-color-300);
|
|
19
|
+
|
|
20
|
+
/* Buttons */
|
|
21
|
+
--ec-button-bg-color: var(--ec-bg-color);
|
|
22
|
+
--ec-button-border-color: var(--ec-border-color);
|
|
23
|
+
--ec-button-text-color: var(--ec-text-color);
|
|
24
|
+
--ec-button-active-bg-color: var(--ec-color-200);
|
|
25
|
+
--ec-button-active-border-color: var(--ec-color-400);
|
|
26
|
+
--ec-button-active-text-color: var(--ec-button-text-color);
|
|
27
|
+
|
|
28
|
+
/* Days */
|
|
29
|
+
--ec-today-bg-color: oklch(98.7% 0.026 102.212);
|
|
30
|
+
--ec-highlight-color: oklch(98.4% 0.019 200.873);
|
|
31
|
+
|
|
32
|
+
/* Events */
|
|
33
|
+
--ec-event-bg-color: oklch(70.7% 0.165 254.624);
|
|
34
|
+
--ec-event-text-color: #fff;
|
|
35
|
+
--ec-bg-event-color: var(--ec-color-300);
|
|
36
|
+
--ec-bg-event-opacity: 0.3;
|
|
37
|
+
--ec-event-col-gap: .375rem;
|
|
38
|
+
|
|
39
|
+
/* Now Indicator */
|
|
40
|
+
--ec-now-indicator-color: oklch(63.7% 0.237 25.331);
|
|
41
|
+
|
|
42
|
+
/* Popup */
|
|
43
|
+
--ec-popup-bg-color: var(--ec-bg-color);
|
|
44
|
+
|
|
45
|
+
.ec-dark & {
|
|
46
|
+
color-scheme: dark;
|
|
47
|
+
--ec-color-400: oklch(43.9% 0 0);
|
|
48
|
+
--ec-color-300: oklch(37.1% 0 0);
|
|
49
|
+
--ec-color-200: oklch(26.9% 0 0);
|
|
50
|
+
--ec-color-100: oklch(20.5% 0 0);
|
|
51
|
+
--ec-color-50: oklch(14.5% 0 0);
|
|
52
|
+
--ec-bg-color: var(--ec-color-100);
|
|
53
|
+
--ec-today-bg-color: oklch(28.6% 0.066 53.813);
|
|
54
|
+
--ec-highlight-color: oklch(30.2% 0.056 229.695);
|
|
55
|
+
--ec-bg-event-opacity: 0.5;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@media (prefers-color-scheme: dark) {
|
|
59
|
+
.ec-auto-dark & {
|
|
60
|
+
color-scheme: dark;
|
|
61
|
+
--ec-color-400: oklch(43.9% 0 0);
|
|
62
|
+
--ec-color-300: oklch(37.1% 0 0);
|
|
63
|
+
--ec-color-200: oklch(26.9% 0 0);
|
|
64
|
+
--ec-color-100: oklch(20.5% 0 0);
|
|
65
|
+
--ec-color-50: oklch(14.5% 0 0);
|
|
66
|
+
--ec-bg-color: var(--ec-color-100);
|
|
67
|
+
--ec-today-bg-color: oklch(28.6% 0.066 53.813);
|
|
68
|
+
--ec-highlight-color: oklch(30.2% 0.056 229.695);
|
|
69
|
+
--ec-bg-event-opacity: 0.5;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
165
72
|
}
|
|
166
|
-
.ec-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.ec-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
.ec-time-grid .ec-time {
|
|
215
|
-
position: relative;
|
|
216
|
-
line-height: 24px;
|
|
217
|
-
top: -12px;
|
|
218
|
-
text-align: right;
|
|
219
|
-
}
|
|
220
|
-
.ec-time-grid .ec-time.ec-minor {
|
|
221
|
-
visibility: hidden;
|
|
222
|
-
}
|
|
223
|
-
.ec-time-grid .ec-header .ec-time,
|
|
224
|
-
.ec-time-grid .ec-all-day .ec-time {
|
|
225
|
-
visibility: hidden;
|
|
226
|
-
overflow-y: hidden;
|
|
227
|
-
height: 0;
|
|
228
|
-
}
|
|
229
|
-
.ec-time-grid .ec-time,
|
|
230
|
-
.ec-time-grid .ec-line {
|
|
231
|
-
height: 24px;
|
|
232
|
-
}
|
|
233
|
-
.ec-time-grid .ec-lines {
|
|
234
|
-
width: 8px;
|
|
235
|
-
}
|
|
236
|
-
.ec-time-grid .ec-line:not(:first-child):after {
|
|
237
|
-
content: "";
|
|
238
|
-
position: absolute;
|
|
239
|
-
width: 100%;
|
|
240
|
-
border-bottom: 1px solid var(--ec-border-color);
|
|
241
|
-
pointer-events: none;
|
|
242
|
-
}
|
|
243
|
-
.ec-time-grid .ec-line.ec-minor:after {
|
|
244
|
-
border-bottom-style: dotted;
|
|
245
|
-
}
|
|
246
|
-
.ec-time-grid .ec-sidebar-title {
|
|
247
|
-
visibility: hidden;
|
|
248
|
-
overflow-y: hidden;
|
|
249
|
-
height: 0;
|
|
250
|
-
text-align: right;
|
|
251
|
-
}
|
|
252
|
-
.ec-time-grid .ec-all-day .ec-sidebar-title {
|
|
253
|
-
visibility: visible;
|
|
254
|
-
height: auto;
|
|
255
|
-
padding: 8px 0;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.ec-day-grid .ec-body {
|
|
259
|
-
flex: 1 1 auto;
|
|
260
|
-
}
|
|
261
|
-
.ec-day-grid .ec-body .ec-day {
|
|
262
|
-
min-height: 5em;
|
|
263
|
-
position: relative;
|
|
264
|
-
}
|
|
265
|
-
.ec-day-grid .ec-content {
|
|
266
|
-
flex-direction: column;
|
|
267
|
-
height: 100%;
|
|
268
|
-
}
|
|
269
|
-
.ec-day-grid .ec-uniform .ec-content {
|
|
270
|
-
overflow: hidden;
|
|
271
|
-
}
|
|
272
|
-
.ec-day-grid .ec-uniform .ec-days {
|
|
273
|
-
flex: 1 1 0%;
|
|
274
|
-
min-height: 0;
|
|
275
|
-
}
|
|
276
|
-
.ec-day-grid .ec-uniform .ec-day {
|
|
277
|
-
min-height: 0;
|
|
278
|
-
}
|
|
279
|
-
.ec-day-grid .ec-day:first-child {
|
|
280
|
-
border-left: none;
|
|
281
|
-
}
|
|
282
|
-
.ec-day-grid .ec-day-head {
|
|
283
|
-
display: flex;
|
|
284
|
-
flex-direction: row-reverse;
|
|
285
|
-
justify-content: space-between;
|
|
286
|
-
border: none;
|
|
287
|
-
padding: 4px 4px 3px;
|
|
288
|
-
}
|
|
289
|
-
.ec-day-grid .ec-day-foot {
|
|
290
|
-
position: absolute;
|
|
291
|
-
bottom: 0;
|
|
292
|
-
padding: 2px;
|
|
293
|
-
font-size: 0.85em;
|
|
294
|
-
}
|
|
295
|
-
.ec-day-grid .ec-day-foot a {
|
|
296
|
-
cursor: pointer;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/* Grid */
|
|
300
|
-
.ec-days,
|
|
301
|
-
.ec-day,
|
|
302
|
-
.ec-resource {
|
|
303
|
-
flex: 1 1 0;
|
|
304
|
-
min-width: 0;
|
|
305
|
-
max-width: 100%;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.ec {
|
|
309
|
-
display: flex;
|
|
310
|
-
flex-direction: column;
|
|
311
|
-
color: var(--ec-text-color);
|
|
312
|
-
background-color: var(--ec-bg-color);
|
|
313
|
-
-webkit-tap-highlight-color: transparent;
|
|
314
|
-
/* Scrollbar */
|
|
315
|
-
}
|
|
316
|
-
.ec ::-webkit-scrollbar {
|
|
317
|
-
background-color: transparent;
|
|
318
|
-
}
|
|
319
|
-
.ec ::-webkit-scrollbar-thumb {
|
|
320
|
-
border: 4px solid transparent;
|
|
321
|
-
box-shadow: none;
|
|
322
|
-
background-color: var(--ec-border-color);
|
|
323
|
-
background-clip: padding-box;
|
|
324
|
-
border-radius: 8px;
|
|
325
|
-
min-height: 40px;
|
|
326
|
-
}
|
|
327
|
-
.ec :hover::-webkit-scrollbar-thumb {
|
|
328
|
-
background-color: var(--ec-accent-color);
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.ec-hidden-scroll {
|
|
332
|
-
display: none;
|
|
333
|
-
overflow-y: scroll;
|
|
334
|
-
visibility: hidden;
|
|
335
|
-
flex-shrink: 0;
|
|
73
|
+
.ec-day {
|
|
74
|
+
--ec-day-bg-color: var(--ec-bg-color);
|
|
75
|
+
background-color: var(--ec-day-bg-color);
|
|
76
|
+
|
|
77
|
+
&.ec-today {
|
|
78
|
+
--ec-day-bg-color: var(--ec-today-bg-color);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.ec-highlight {
|
|
82
|
+
--ec-day-bg-color: var(--ec-highlight-color);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ec-time-grid .ec-body & {
|
|
86
|
+
background-image:
|
|
87
|
+
linear-gradient(var(--ec-day-bg-color) 1px, transparent 1px),
|
|
88
|
+
linear-gradient(var(--ec-border-color) 1px, transparent 1px),
|
|
89
|
+
linear-gradient(to right, var(--ec-day-bg-color) 1px, transparent 1px),
|
|
90
|
+
linear-gradient(var(--ec-border-color) 1px, transparent 1px);
|
|
91
|
+
background-size:
|
|
92
|
+
100% 100%,
|
|
93
|
+
100% calc(var(--ec-slot-height) * var(--ec-slot-label-periodicity)),
|
|
94
|
+
2px 100%,
|
|
95
|
+
100% var(--ec-slot-height);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ec-timeline:not(.ec-month-view) .ec-body & {
|
|
99
|
+
background-image:
|
|
100
|
+
linear-gradient(to right, var(--ec-day-bg-color) 1px, transparent 1px),
|
|
101
|
+
linear-gradient(to right, var(--ec-border-color) 1px, transparent 1px),
|
|
102
|
+
linear-gradient(var(--ec-day-bg-color) 1px, transparent 1px),
|
|
103
|
+
linear-gradient(to right, var(--ec-border-color) 1px, transparent 1px);
|
|
104
|
+
background-size:
|
|
105
|
+
100% 100%,
|
|
106
|
+
calc(var(--ec-slot-width) * var(--ec-slot-label-periodicity)) 100%,
|
|
107
|
+
100% 2px,
|
|
108
|
+
var(--ec-slot-width) 100%;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.ec-day-grid & {
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
justify-content: space-between;
|
|
115
|
+
min-block-size: 5em;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.ec-day-grid .ec-uniform & {
|
|
119
|
+
min-block-size: auto;
|
|
120
|
+
}
|
|
336
121
|
}
|
|
337
|
-
.ec-
|
|
338
|
-
|
|
122
|
+
.ec-day-head {
|
|
123
|
+
display: flex;
|
|
124
|
+
flex-direction: row-reverse;
|
|
125
|
+
justify-content: space-between;
|
|
126
|
+
padding: .375rem;
|
|
127
|
+
|
|
128
|
+
.ec-day.ec-other-month & time {
|
|
129
|
+
opacity: .3;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.ec-list & {
|
|
133
|
+
background-color: var(--ec-day-bg-color);
|
|
134
|
+
border-block-end: 1px solid var(--ec-border-color);
|
|
135
|
+
flex-direction: unset;
|
|
136
|
+
margin: 0 0 -1px;
|
|
137
|
+
padding: .5em 1.5em;
|
|
138
|
+
position: sticky;
|
|
139
|
+
inset-block-start: 0;
|
|
140
|
+
z-index: 2;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
.ec-day-foot {
|
|
144
|
+
padding: .18rem;
|
|
145
|
+
font-size: .85em;
|
|
146
|
+
|
|
147
|
+
a {
|
|
148
|
+
cursor: pointer;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
.ec-disabled {
|
|
152
|
+
position: relative;
|
|
153
|
+
&:after {
|
|
154
|
+
content: '';
|
|
155
|
+
position: absolute;
|
|
156
|
+
inset: 0 0 0 0;
|
|
157
|
+
background-color: var(--ec-bg-event-color);
|
|
158
|
+
opacity: var(--ec-bg-event-opacity);
|
|
159
|
+
}
|
|
339
160
|
}
|
|
340
|
-
|
|
341
161
|
/* Toolbar */
|
|
342
162
|
.ec-toolbar {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
163
|
+
display: flex;
|
|
164
|
+
justify-content: space-between;
|
|
165
|
+
align-items: center;
|
|
166
|
+
margin-block-end: 1em;
|
|
167
|
+
|
|
168
|
+
> * {
|
|
169
|
+
display: inline-flex;
|
|
170
|
+
flex-wrap: wrap;
|
|
171
|
+
column-gap: .75rem;
|
|
172
|
+
row-gap: .5rem;
|
|
173
|
+
}
|
|
354
174
|
}
|
|
355
|
-
.ec-toolbar > * > *:not(:last-child) {
|
|
356
|
-
margin-right: 0.75em;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
175
|
.ec-title {
|
|
360
|
-
|
|
176
|
+
margin: 0;
|
|
361
177
|
}
|
|
362
|
-
|
|
363
178
|
.ec-button {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
margin-right: 0.25em;
|
|
384
|
-
width: 1.25em;
|
|
385
|
-
}
|
|
386
|
-
.ec-expander .ec-button {
|
|
387
|
-
line-height: normal;
|
|
388
|
-
padding: 0;
|
|
389
|
-
aspect-ratio: 1;
|
|
390
|
-
height: 1.25em;
|
|
179
|
+
background-color: var(--ec-button-bg-color);
|
|
180
|
+
border: 1px solid var(--ec-button-border-color);
|
|
181
|
+
padding: .375rem .75rem;
|
|
182
|
+
font-size: 1rem;
|
|
183
|
+
line-height: 1.5;
|
|
184
|
+
border-radius: .25rem;
|
|
185
|
+
|
|
186
|
+
&:not(:disabled) {
|
|
187
|
+
color: var(--ec-button-text-color);
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&:not(:disabled):hover,
|
|
192
|
+
&.ec-active {
|
|
193
|
+
background-color: var(--ec-button-active-bg-color);
|
|
194
|
+
border-color: var(--ec-button-active-border-color);
|
|
195
|
+
color: var(--ec-button-active-text-color);
|
|
196
|
+
z-index: 1; /* make all borders visible */
|
|
197
|
+
}
|
|
391
198
|
}
|
|
392
|
-
|
|
393
199
|
.ec-button-group {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
.ec-button-group .ec-button:not(:first-child) {
|
|
397
|
-
border-top-left-radius: 0;
|
|
398
|
-
border-bottom-left-radius: 0;
|
|
399
|
-
margin-left: -1px;
|
|
400
|
-
}
|
|
401
|
-
.ec-button-group .ec-button:not(:last-child) {
|
|
402
|
-
border-top-right-radius: 0;
|
|
403
|
-
border-bottom-right-radius: 0;
|
|
404
|
-
}
|
|
200
|
+
display: inline-flex;
|
|
201
|
+
vertical-align: top;
|
|
405
202
|
|
|
406
|
-
.ec-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
content: "";
|
|
412
|
-
position: relative;
|
|
413
|
-
width: 0.5em;
|
|
414
|
-
height: 0.5em;
|
|
415
|
-
border-top: 2px solid currentcolor;
|
|
416
|
-
border-right: 2px solid currentcolor;
|
|
417
|
-
display: inline-block;
|
|
418
|
-
}
|
|
419
|
-
.ec-icon.ec-prev:after {
|
|
420
|
-
transform: rotate(-135deg) translate(-2px, 2px);
|
|
421
|
-
}
|
|
422
|
-
.ec-icon.ec-next:after {
|
|
423
|
-
transform: rotate(45deg) translate(-2px, 2px);
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/* Header */
|
|
427
|
-
.ec-header,
|
|
428
|
-
.ec-all-day,
|
|
429
|
-
.ec-body,
|
|
430
|
-
.ec-days,
|
|
431
|
-
.ec-day,
|
|
432
|
-
.ec-day-head {
|
|
433
|
-
border: 1px solid var(--ec-border-color);
|
|
434
|
-
}
|
|
203
|
+
.ec-button:not(:first-child) {
|
|
204
|
+
border-start-start-radius: 0;
|
|
205
|
+
border-end-start-radius: 0;
|
|
206
|
+
margin-inline-start: -1px;
|
|
207
|
+
}
|
|
435
208
|
|
|
436
|
-
.ec-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
}
|
|
440
|
-
.ec-header .ec-resource {
|
|
441
|
-
flex-direction: column;
|
|
209
|
+
.ec-button:not(:last-child) {
|
|
210
|
+
border-start-end-radius: 0;
|
|
211
|
+
border-end-end-radius: 0;
|
|
212
|
+
}
|
|
442
213
|
}
|
|
443
|
-
.ec-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
overflow-x: hidden;
|
|
474
|
-
overflow-y: auto;
|
|
475
|
-
}
|
|
476
|
-
.ec:not(.ec-list) .ec-body {
|
|
477
|
-
border-top: none;
|
|
214
|
+
.ec-icon {
|
|
215
|
+
display: inline-block;
|
|
216
|
+
inline-size: 1em;
|
|
217
|
+
|
|
218
|
+
&.ec-prev:after,
|
|
219
|
+
&.ec-next:after {
|
|
220
|
+
content: '';
|
|
221
|
+
position: relative;
|
|
222
|
+
inline-size: .5em;
|
|
223
|
+
block-size: .5em;
|
|
224
|
+
border-block-start: 2px solid currentcolor;
|
|
225
|
+
border-inline-end: 2px solid currentcolor;
|
|
226
|
+
display: inline-block;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&.ec-prev:after {
|
|
230
|
+
inset-inline-start: 3px;
|
|
231
|
+
rotate: -135deg;
|
|
232
|
+
}
|
|
233
|
+
[dir="rtl"] &.ec-prev:after {
|
|
234
|
+
rotate: 135deg;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&.ec-next:after {
|
|
238
|
+
inset-inline-start: -3px;
|
|
239
|
+
rotate: 45deg;
|
|
240
|
+
}
|
|
241
|
+
[dir="rtl"] &.ec-next:after {
|
|
242
|
+
rotate: -45deg;
|
|
243
|
+
}
|
|
478
244
|
}
|
|
479
|
-
|
|
480
245
|
.ec-sidebar {
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
246
|
+
position: sticky;
|
|
247
|
+
inset-inline-start: 0;
|
|
248
|
+
z-index: 1;
|
|
249
|
+
background-color: var(--ec-bg-color);
|
|
250
|
+
border-inline-end: 1px solid var(--ec-border-color);
|
|
251
|
+
margin-inline-end: -1px;
|
|
252
|
+
text-align: end;
|
|
253
|
+
overflow: clip;
|
|
254
|
+
|
|
255
|
+
.ec-header & {
|
|
256
|
+
padding-block: .375rem;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.ec-time-grid & {
|
|
260
|
+
padding-inline: .75rem;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.ec-time-grid .ec-body & {
|
|
264
|
+
background-image:
|
|
265
|
+
linear-gradient(to left, transparent .375rem, var(--ec-bg-color) .375rem),
|
|
266
|
+
linear-gradient(var(--ec-bg-color) 1px, transparent 1px),
|
|
267
|
+
linear-gradient(var(--ec-border-color) 1px, transparent 1px),
|
|
268
|
+
linear-gradient(to right, var(--ec-bg-color) 1px, transparent 1px),
|
|
269
|
+
linear-gradient(var(--ec-border-color) 1px, transparent 1px);
|
|
270
|
+
background-size:
|
|
271
|
+
100% 100%,
|
|
272
|
+
100% 100%,
|
|
273
|
+
100% calc(var(--ec-slot-height) * var(--ec-slot-label-periodicity)),
|
|
274
|
+
2px 100%,
|
|
275
|
+
100% var(--ec-slot-height);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.ec-timeline .ec-body & {
|
|
279
|
+
grid-area: 1 / 1 / -1 / 2;
|
|
280
|
+
display: grid;
|
|
281
|
+
grid-template-rows: subgrid;
|
|
282
|
+
background-color: var(--ec-border-color);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
.ec-row-head {
|
|
286
|
+
display: flex;
|
|
287
|
+
background-color: var(--ec-bg-color);
|
|
288
|
+
padding: .375em .75rem;
|
|
289
|
+
min-block-size: 1.5em;
|
|
487
290
|
}
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.ec-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
517
|
-
.ec-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
|
|
291
|
+
.ec-expander {
|
|
292
|
+
inline-size: 1.25em;
|
|
293
|
+
margin-inline-end: .25em;
|
|
294
|
+
margin-block-start: -1px;
|
|
295
|
+
|
|
296
|
+
.ec-button {
|
|
297
|
+
line-height: normal;
|
|
298
|
+
padding: 0;
|
|
299
|
+
aspect-ratio: 1;
|
|
300
|
+
block-size: 1.25em;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
.ec-slot {
|
|
304
|
+
white-space: nowrap;
|
|
305
|
+
|
|
306
|
+
.ec-time-grid & {
|
|
307
|
+
block-size: calc(var(--ec-slot-height) * var(--ec-slot-label-periodicity));
|
|
308
|
+
position: relative;
|
|
309
|
+
inset-block-start: -.5em;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.ec-timeline & {
|
|
313
|
+
grid-column: span var(--ec-slot-label-periodicity);
|
|
314
|
+
font-size: .95em;
|
|
315
|
+
padding: .18rem 0;
|
|
316
|
+
overflow: clip;
|
|
317
|
+
text-overflow: ellipsis;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
.ec-slots {
|
|
321
|
+
display: grid;
|
|
322
|
+
grid-auto-flow: column;
|
|
323
|
+
grid-auto-columns: var(--ec-slot-width);
|
|
324
|
+
text-align: center;
|
|
325
|
+
|
|
326
|
+
--ec-day-bg-color: var(--ec-bg-color);
|
|
327
|
+
background-color: var(--ec-day-bg-color);
|
|
328
|
+
|
|
329
|
+
&.ec-today {
|
|
330
|
+
--ec-day-bg-color: var(--ec-today-bg-color);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
&.ec-highlight {
|
|
334
|
+
--ec-day-bg-color: var(--ec-highlight-color);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
background-image:
|
|
338
|
+
linear-gradient(to right, var(--ec-day-bg-color) 1px, transparent 1px),
|
|
339
|
+
linear-gradient(to right, var(--ec-border-color) 1px, transparent 1px);
|
|
340
|
+
background-size:
|
|
341
|
+
100% 100%,
|
|
342
|
+
calc(var(--ec-slot-width) * var(--ec-slot-label-periodicity)) 100%;
|
|
535
343
|
}
|
|
344
|
+
.ec-events {
|
|
345
|
+
grid-area: 1 / 2 / -1 / -1;
|
|
346
|
+
display: grid;
|
|
347
|
+
grid-template: subgrid / subgrid;
|
|
348
|
+
isolation: isolate;
|
|
349
|
+
pointer-events: none;
|
|
536
350
|
|
|
537
|
-
.ec-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
margin: -1px 0 0;
|
|
541
|
-
padding: 8px 14px;
|
|
542
|
-
position: sticky;
|
|
543
|
-
top: 0;
|
|
544
|
-
z-index: 2;
|
|
545
|
-
}
|
|
546
|
-
.ec-list .ec-day.ec-today .ec-day-head:before {
|
|
547
|
-
content: "";
|
|
548
|
-
position: absolute;
|
|
549
|
-
inset: 0;
|
|
550
|
-
z-index: -1;
|
|
551
|
-
background-color: var(--ec-today-bg-color);
|
|
552
|
-
}
|
|
553
|
-
.ec-list .ec-day:first-child .ec-day-head {
|
|
554
|
-
border-top: none;
|
|
555
|
-
}
|
|
556
|
-
.ec-list .ec-day-side {
|
|
557
|
-
float: right;
|
|
351
|
+
.ec-day-grid & {
|
|
352
|
+
grid-column-start: 1;
|
|
353
|
+
}
|
|
558
354
|
}
|
|
559
|
-
.ec-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
355
|
+
.ec-event {
|
|
356
|
+
display: flex;
|
|
357
|
+
position: relative;
|
|
358
|
+
padding: 2px;
|
|
359
|
+
color: var(--ec-event-text-color);
|
|
360
|
+
box-sizing: border-box;
|
|
361
|
+
box-shadow: 0 0 1px 0 var(--ec-border-color);
|
|
362
|
+
background-color: var(--ec-event-bg-color);
|
|
363
|
+
border-radius: 3px;
|
|
364
|
+
font-size: .85em;
|
|
365
|
+
line-height: 1.5;
|
|
366
|
+
z-index: 1;
|
|
367
|
+
pointer-events: all;
|
|
368
|
+
inline-size: calc(100% - var(--ec-event-col-gap));
|
|
369
|
+
|
|
370
|
+
.ec-time-grid & {
|
|
371
|
+
grid-row: 1;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
.ec-day-grid &,
|
|
375
|
+
.ec-all-day &,
|
|
376
|
+
.ec-timeline & {
|
|
377
|
+
block-size: fit-content;
|
|
378
|
+
margin-block-end: var(--ec-event-col-gap);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.ec-list & {
|
|
382
|
+
flex-direction: row;
|
|
383
|
+
padding: .5em 1.5em;
|
|
384
|
+
color: inherit;
|
|
385
|
+
background-color: var(--ec-day-bg-color);
|
|
386
|
+
border-radius: 0;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
&.ec-preview {
|
|
390
|
+
z-index: 1000;
|
|
391
|
+
user-select: none;
|
|
392
|
+
opacity: .8;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
&.ec-pointer {
|
|
396
|
+
color: inherit;
|
|
397
|
+
pointer-events: none;
|
|
398
|
+
user-select: none;
|
|
399
|
+
z-index: 0;
|
|
400
|
+
box-shadow: none;
|
|
401
|
+
}
|
|
566
402
|
}
|
|
567
|
-
.ec-
|
|
568
|
-
|
|
403
|
+
.ec-bg-event {
|
|
404
|
+
grid-row: 1;
|
|
405
|
+
position: relative;
|
|
406
|
+
background-color: var(--ec-bg-event-color);
|
|
407
|
+
opacity: var(--ec-bg-event-opacity);
|
|
569
408
|
}
|
|
570
|
-
.ec-
|
|
571
|
-
|
|
409
|
+
.ec-draggable {
|
|
410
|
+
cursor: pointer;
|
|
411
|
+
user-select: none;
|
|
572
412
|
}
|
|
573
|
-
|
|
574
|
-
.
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
color: var(--ec-event-text-color);
|
|
578
|
-
box-sizing: border-box;
|
|
579
|
-
box-shadow: 0 0 1px 0 var(--ec-border-color);
|
|
580
|
-
background-color: var(--ec-event-bg-color);
|
|
581
|
-
border-radius: 3px;
|
|
582
|
-
font-size: 0.85em;
|
|
583
|
-
line-height: 1.5;
|
|
584
|
-
z-index: 1;
|
|
585
|
-
}
|
|
586
|
-
.ec-day-grid .ec-event, .ec-all-day .ec-event {
|
|
587
|
-
position: relative;
|
|
588
|
-
}
|
|
589
|
-
.ec-list .ec-event {
|
|
590
|
-
flex-direction: row;
|
|
591
|
-
padding: 8px 14px;
|
|
592
|
-
color: inherit;
|
|
593
|
-
background-color: transparent;
|
|
594
|
-
border-radius: 0;
|
|
595
|
-
}
|
|
596
|
-
.ec-event.ec-preview {
|
|
597
|
-
position: absolute;
|
|
598
|
-
z-index: 1000;
|
|
599
|
-
width: 100%;
|
|
600
|
-
user-select: none;
|
|
601
|
-
opacity: 0.8;
|
|
602
|
-
}
|
|
603
|
-
.ec-event.ec-pointer {
|
|
604
|
-
color: inherit;
|
|
605
|
-
pointer-events: none;
|
|
606
|
-
user-select: none;
|
|
607
|
-
position: absolute;
|
|
608
|
-
z-index: 0;
|
|
609
|
-
box-shadow: none;
|
|
610
|
-
display: flex;
|
|
413
|
+
.ec-ghost {
|
|
414
|
+
opacity: .5;
|
|
415
|
+
user-select: none;
|
|
416
|
+
pointer-events: none;
|
|
611
417
|
}
|
|
612
|
-
|
|
613
418
|
.ec-event-body {
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
}
|
|
618
|
-
.ec-day-grid .ec-event-body, .ec-all-day .ec-event-body, .ec-timeline .ec-event-body {
|
|
619
|
-
flex-direction: row;
|
|
620
|
-
}
|
|
419
|
+
display: flex;
|
|
420
|
+
flex-direction: column;
|
|
421
|
+
inline-size: 100%;
|
|
621
422
|
|
|
423
|
+
.ec-day-grid &,
|
|
424
|
+
.ec-all-day &,
|
|
425
|
+
.ec-timeline & {
|
|
426
|
+
flex-direction: row;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
622
429
|
.ec-event-tag {
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
430
|
+
inline-size: 4px;
|
|
431
|
+
border-radius: 2px;
|
|
432
|
+
margin-inline-end: 8px;
|
|
626
433
|
}
|
|
627
|
-
|
|
628
434
|
.ec-event-time {
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
.ec-day-grid
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
435
|
+
overflow: hidden;
|
|
436
|
+
white-space: nowrap;
|
|
437
|
+
margin: 0 0 1px 0;
|
|
438
|
+
flex-shrink: 0;
|
|
439
|
+
max-block-size: 100%;
|
|
440
|
+
|
|
441
|
+
.ec-day-grid &,
|
|
442
|
+
.ec-timeline & {
|
|
443
|
+
margin: 0 3px 0 0;
|
|
444
|
+
max-inline-size: 100%;
|
|
445
|
+
text-overflow: ellipsis;
|
|
446
|
+
}
|
|
639
447
|
}
|
|
640
|
-
|
|
641
448
|
.ec-event-title {
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
.ec-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
449
|
+
overflow: hidden;
|
|
450
|
+
margin: 0;
|
|
451
|
+
font-weight: inherit;
|
|
452
|
+
|
|
453
|
+
.ec-time-grid & {
|
|
454
|
+
position: sticky;
|
|
455
|
+
inset-block-start: var(--ec-header-height);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.ec-day-grid &,
|
|
459
|
+
.ec-all-day &,
|
|
460
|
+
.ec-timeline & {
|
|
461
|
+
min-block-size: 1.5em;
|
|
462
|
+
white-space: nowrap;
|
|
463
|
+
text-overflow: ellipsis;
|
|
464
|
+
position: sticky;
|
|
465
|
+
inset-inline-start: calc(var(--ec-sidebar-width) + .18em);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.ec-list & {
|
|
469
|
+
font-size: 1rem;
|
|
470
|
+
}
|
|
650
471
|
}
|
|
651
|
-
.ec-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
.ec-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.ec-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
472
|
+
.ec-resizer {
|
|
473
|
+
position: absolute;
|
|
474
|
+
user-select: none;
|
|
475
|
+
|
|
476
|
+
.ec-time-grid .ec-body & {
|
|
477
|
+
inset: auto 0 0 0;
|
|
478
|
+
block-size: 50%;
|
|
479
|
+
max-block-size: 8px;
|
|
480
|
+
cursor: ns-resize;
|
|
481
|
+
|
|
482
|
+
&.ec-start {
|
|
483
|
+
inset: 0 0 auto 0;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
.ec-day-grid &,
|
|
487
|
+
.ec-all-day &,
|
|
488
|
+
.ec-timeline & {
|
|
489
|
+
inset: 0 0 0 auto;
|
|
490
|
+
inline-size: 50%;
|
|
491
|
+
max-inline-size: 8px;
|
|
492
|
+
cursor: ew-resize;
|
|
493
|
+
|
|
494
|
+
&.ec-start {
|
|
495
|
+
inset: 0 auto 0 0;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
672
498
|
}
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
position: absolute;
|
|
676
|
-
background-color: var(--ec-bg-event-color);
|
|
677
|
-
opacity: var(--ec-bg-event-opacity);
|
|
499
|
+
.ec-dragging, .ec-dragging * {
|
|
500
|
+
cursor: pointer!important;
|
|
678
501
|
}
|
|
679
|
-
.ec-
|
|
680
|
-
|
|
681
|
-
z-index: auto;
|
|
502
|
+
.ec-resizing-y, .ec-resizing-y * {
|
|
503
|
+
cursor: ns-resize!important;
|
|
682
504
|
}
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
white-space: nowrap;
|
|
505
|
+
.ec-resizing-x, .ec-resizing-x * {
|
|
506
|
+
cursor: ew-resize!important;
|
|
686
507
|
}
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
display: flex;
|
|
692
|
-
flex-direction: column;
|
|
693
|
-
width: 110%;
|
|
694
|
-
min-width: 180px;
|
|
695
|
-
z-index: 1010;
|
|
696
|
-
padding: 8px 10px 14px;
|
|
697
|
-
background-color: var(--ec-popup-bg-color);
|
|
698
|
-
border: 1px solid var(--ec-border-color);
|
|
699
|
-
border-radius: 6px;
|
|
700
|
-
outline: 1px solid transparent;
|
|
701
|
-
box-shadow: 0 1px 3px 0 hsla(var(--ec-hs), 50%, 0.15), 0 4px 8px 3px hsla(var(--ec-hs), 50%, 0.15);
|
|
702
|
-
}
|
|
703
|
-
.ec-popup .ec-day-head {
|
|
704
|
-
text-align: left;
|
|
705
|
-
display: flex;
|
|
706
|
-
justify-content: space-between;
|
|
707
|
-
}
|
|
708
|
-
.ec-popup .ec-day-head a {
|
|
709
|
-
cursor: pointer;
|
|
710
|
-
font-size: 1.5em;
|
|
711
|
-
line-height: 0.8;
|
|
712
|
-
}
|
|
713
|
-
.ec-popup .ec-events {
|
|
714
|
-
margin: 0;
|
|
715
|
-
min-height: 0;
|
|
716
|
-
overflow: auto;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
.ec-extra {
|
|
720
|
-
position: relative;
|
|
721
|
-
height: 100%;
|
|
722
|
-
overflow: hidden;
|
|
723
|
-
margin-left: -6.5px;
|
|
724
|
-
user-select: none;
|
|
508
|
+
.ec-no-events {
|
|
509
|
+
text-align: center;
|
|
510
|
+
padding: 5em 0;
|
|
511
|
+
background-color: var(--ec-bg-color);
|
|
725
512
|
}
|
|
726
|
-
|
|
727
513
|
.ec-now-indicator {
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
514
|
+
grid-row: 2;
|
|
515
|
+
position: relative;
|
|
516
|
+
pointer-events: none;
|
|
517
|
+
will-change: inset;
|
|
518
|
+
|
|
519
|
+
.ec-time-grid & {
|
|
520
|
+
inline-size: 100%;
|
|
521
|
+
block-size: 0;
|
|
522
|
+
border-block-start: var(--ec-now-indicator-color) solid 2px;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.ec-timeline & {
|
|
526
|
+
inline-size: 0;
|
|
527
|
+
border-inline-start: var(--ec-now-indicator-color) solid 2px;
|
|
528
|
+
|
|
529
|
+
&:before {
|
|
530
|
+
inset-block-start: calc(var(--ec-header-height) - 6.5px);
|
|
531
|
+
z-index: 2;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
&:before {
|
|
536
|
+
background: var(--ec-now-indicator-color);
|
|
537
|
+
border-radius: 50%;
|
|
538
|
+
content: "";
|
|
539
|
+
display: block;
|
|
540
|
+
block-size: 12px;
|
|
541
|
+
inline-size: 12px;
|
|
542
|
+
margin: -7px 0 0 -7px;
|
|
543
|
+
position: sticky;
|
|
544
|
+
inset-inline-start: calc(var(--ec-sidebar-width) - 6.5px);
|
|
545
|
+
z-index: 1;
|
|
546
|
+
}
|
|
739
547
|
}
|
|
740
|
-
.ec-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
548
|
+
.ec-popup {
|
|
549
|
+
position: relative;
|
|
550
|
+
display: flex;
|
|
551
|
+
flex-direction: column;
|
|
552
|
+
block-size: max-content;
|
|
553
|
+
inline-size: 110%;
|
|
554
|
+
min-block-size: 6em;
|
|
555
|
+
min-inline-size: 10em;
|
|
556
|
+
padding: .375rem .75rem .75rem;
|
|
557
|
+
background-color: var(--ec-popup-bg-color);
|
|
558
|
+
border: 1px solid var(--ec-border-color);
|
|
559
|
+
border-radius: .25rem;
|
|
560
|
+
box-shadow: var(--ec-color-300) 0 10px 15px -3px, var(--ec-color-300) 0 4px 6px -4px;
|
|
561
|
+
|
|
562
|
+
.ec-day-head {
|
|
563
|
+
flex-direction: row;
|
|
564
|
+
padding-inline: 0;
|
|
565
|
+
|
|
566
|
+
a {
|
|
567
|
+
cursor: pointer;
|
|
568
|
+
font-size: 1.5em;
|
|
569
|
+
line-height: .8;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.ec-events {
|
|
574
|
+
--ec-event-col-gap: 0;
|
|
575
|
+
display: block;
|
|
576
|
+
}
|
|
751
577
|
}
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
578
|
+
.ec {
|
|
579
|
+
display: flex;
|
|
580
|
+
flex-direction: column;
|
|
581
|
+
}
|
|
582
|
+
.ec-main {
|
|
583
|
+
display: grid;
|
|
584
|
+
gap: 1px;
|
|
585
|
+
background-color: var(--ec-border-color);
|
|
586
|
+
border: 1px solid var(--ec-border-color);
|
|
587
|
+
overflow: auto;
|
|
588
|
+
/*scrollbar-width: thin;*/
|
|
589
|
+
|
|
590
|
+
.ec-time-grid & {
|
|
591
|
+
grid-template-columns: max-content repeat(var(--ec-grid-cols), var(--ec-col-width));
|
|
592
|
+
grid-template-rows: repeat(2, max-content);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.ec-day-grid & {
|
|
596
|
+
--ec-row-height: auto;
|
|
597
|
+
grid-template-columns: repeat(var(--ec-grid-cols), minmax(0, 1fr));
|
|
598
|
+
grid-template-rows: max-content repeat(var(--ec-grid-rows), var(--ec-row-height));
|
|
599
|
+
|
|
600
|
+
&.ec-uniform {
|
|
601
|
+
--ec-row-height: minmax(0, 1fr);
|
|
602
|
+
overflow: hidden;
|
|
603
|
+
flex-grow: 1;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.ec-timeline & {
|
|
608
|
+
grid-template-columns: max-content repeat(var(--ec-grid-cols), min-content);
|
|
609
|
+
grid-template-rows: max-content repeat(calc(var(--ec-grid-rows) - 1), auto) minmax(auto, 1fr);
|
|
610
|
+
flex-grow: 1;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
.ec-timeline.ec-month-view & {
|
|
614
|
+
grid-template-columns: max-content repeat(var(--ec-grid-cols), var(--ec-col-width));
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.ec-list & {
|
|
618
|
+
|
|
619
|
+
}
|
|
756
620
|
}
|
|
757
|
-
.ec-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
621
|
+
.ec-header {
|
|
622
|
+
grid-area: 1 / 1 / 2 / -1;
|
|
623
|
+
display: grid;
|
|
624
|
+
grid-template-columns: subgrid;
|
|
625
|
+
gap: 1px;
|
|
626
|
+
background-color: var(--ec-border-color);
|
|
627
|
+
position: sticky;
|
|
628
|
+
inset-block-start: 0;
|
|
629
|
+
z-index: 2;
|
|
630
|
+
border-block-end: 1px solid var(--ec-border-color);
|
|
631
|
+
margin-block-end: -1px;
|
|
632
|
+
}
|
|
633
|
+
.ec-grid {
|
|
634
|
+
grid-area: 1 / 1 / -1 / -1;
|
|
635
|
+
display: grid;
|
|
636
|
+
grid-template-columns: subgrid;
|
|
637
|
+
gap: 1px;
|
|
638
|
+
|
|
639
|
+
.ec-body & {
|
|
640
|
+
grid-template-rows: subgrid;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.ec-time-grid &,
|
|
644
|
+
.ec-timeline & {
|
|
645
|
+
grid-column-start: 2;
|
|
646
|
+
}
|
|
764
647
|
}
|
|
765
|
-
.ec-
|
|
766
|
-
|
|
767
|
-
|
|
648
|
+
.ec-all-day {
|
|
649
|
+
grid-area: 2 / 1 / auto / -1;
|
|
650
|
+
display: grid;
|
|
651
|
+
grid-template-columns: subgrid;
|
|
652
|
+
min-block-size: var(--ec-slot-height);
|
|
653
|
+
}
|
|
654
|
+
.ec-col-group {
|
|
655
|
+
grid-column: span var(--ec-col-group-span);
|
|
656
|
+
}
|
|
657
|
+
.ec-col-group,
|
|
658
|
+
.ec-col-head {
|
|
659
|
+
text-align: center;
|
|
660
|
+
padding: .375rem .18em;
|
|
661
|
+
background-color: var(--ec-bg-color);
|
|
662
|
+
overflow: clip;
|
|
663
|
+
text-overflow: ellipsis;
|
|
664
|
+
|
|
665
|
+
&.ec-today {
|
|
666
|
+
background-color: var(--ec-today-bg-color);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
&.ec-highlight {
|
|
670
|
+
background-color: var(--ec-highlight-color);
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
.ec-col-group > *,
|
|
674
|
+
.ec-timeline .ec-col-head > * {
|
|
675
|
+
position: sticky;
|
|
676
|
+
inset-inline-start: calc(var(--ec-sidebar-width) + .18em);
|
|
768
677
|
}
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
678
|
+
.ec-body {
|
|
679
|
+
grid-area: 2 / 1 / -1 / -1;
|
|
680
|
+
display: grid;
|
|
681
|
+
grid-template: subgrid / subgrid;
|
|
772
682
|
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
cursor: ns-resize !important;
|
|
683
|
+
.ec-hidden {
|
|
684
|
+
visibility: hidden;
|
|
776
685
|
}
|
|
777
|
-
|
|
778
|
-
.ec-resizing-x, .ec-resizing-x * {
|
|
779
|
-
cursor: ew-resize !important;
|
|
780
|
-
}
|