UNPKG

14.6 kBCSSView Raw
1@charset "UTF-8";
2.cal-month-view .cal-header {
3 text-align: center;
4 font-weight: bolder;
5}
6.cal-month-view .cal-header .cal-cell {
7 padding: 5px 0;
8 overflow: hidden;
9 -o-text-overflow: ellipsis;
10 text-overflow: ellipsis;
11 display: block;
12 white-space: nowrap;
13}
14.cal-month-view .cal-days {
15 border: 1px solid;
16 border-bottom: 0;
17}
18.cal-month-view .cal-cell-top {
19 min-height: 78px;
20 -webkit-box-flex: 1;
21 -ms-flex: 1;
22 flex: 1;
23}
24.cal-month-view .cal-cell-row {
25 display: -webkit-box;
26 display: -ms-flexbox;
27 display: flex;
28}
29.cal-month-view .cal-cell {
30 float: left;
31 -webkit-box-flex: 1;
32 -ms-flex: 1;
33 flex: 1;
34 display: -webkit-box;
35 display: -ms-flexbox;
36 display: flex;
37 -webkit-box-orient: vertical;
38 -webkit-box-direction: normal;
39 -ms-flex-direction: column;
40 flex-direction: column;
41 -webkit-box-align: stretch;
42 -ms-flex-align: stretch;
43 align-items: stretch;
44}
45.cal-month-view .cal-cell .cal-event {
46 pointer-events: all !important;
47}
48.cal-month-view .cal-day-cell {
49 min-height: 100px;
50}
51.cal-month-view .cal-day-cell:not(:last-child) {
52 border-right: 1px solid;
53}
54[dir=rtl] .cal-month-view .cal-day-cell:not(:last-child) {
55 border-right: initial;
56 border-left: 1px solid;
57}
58.cal-month-view .cal-days .cal-cell-row {
59 border-bottom: 1px solid;
60}
61.cal-month-view .cal-day-badge {
62 margin-top: 18px;
63 margin-left: 10px;
64 display: inline-block;
65 min-width: 10px;
66 padding: 3px 7px;
67 font-size: 12px;
68 font-weight: 700;
69 line-height: 1;
70 text-align: center;
71 white-space: nowrap;
72 vertical-align: middle;
73 border-radius: 10px;
74 float: left;
75}
76.cal-month-view .cal-day-number {
77 font-size: 1.2em;
78 font-weight: 400;
79 opacity: 0.5;
80 margin-top: 15px;
81 margin-right: 15px;
82 float: right;
83 margin-bottom: 10px;
84}
85.cal-month-view .cal-events {
86 -webkit-box-flex: 1;
87 -ms-flex: 1;
88 flex: 1;
89 -webkit-box-align: end;
90 -ms-flex-align: end;
91 align-items: flex-end;
92 margin: 3px;
93 line-height: 10px;
94 display: -webkit-box;
95 display: -ms-flexbox;
96 display: flex;
97 -ms-flex-wrap: wrap;
98 flex-wrap: wrap;
99}
100.cal-month-view .cal-event {
101 width: 10px;
102 height: 10px;
103 border-radius: 50%;
104 display: inline-block;
105 margin: 2px;
106}
107.cal-month-view .cal-day-cell.cal-in-month.cal-has-events {
108 cursor: pointer;
109}
110.cal-month-view .cal-day-cell.cal-out-month .cal-day-number {
111 opacity: 0.1;
112 cursor: default;
113}
114.cal-month-view .cal-day-cell.cal-today .cal-day-number {
115 font-size: 1.9em;
116}
117.cal-month-view .cal-open-day-events {
118 padding: 15px;
119}
120.cal-month-view .cal-open-day-events .cal-event {
121 position: relative;
122 top: 2px;
123}
124.cal-month-view .cal-out-month .cal-day-badge,
125.cal-month-view .cal-out-month .cal-event {
126 opacity: 0.3;
127}
128.cal-month-view .cal-draggable {
129 cursor: move;
130}
131.cal-month-view .cal-drag-active * {
132 pointer-events: none;
133}
134.cal-month-view .cal-event-title {
135 cursor: pointer;
136}
137.cal-month-view .cal-event-title:hover {
138 text-decoration: underline;
139}
140
141.cal-month-view {
142 background-color: #fff;
143}
144.cal-month-view .cal-cell-row:hover {
145 background-color: #fafafa;
146}
147.cal-month-view .cal-cell-row .cal-cell:hover,
148.cal-month-view .cal-cell.cal-has-events.cal-open {
149 background-color: #ededed;
150}
151.cal-month-view .cal-days {
152 border-color: #e1e1e1;
153}
154.cal-month-view .cal-day-cell:not(:last-child) {
155 border-right-color: #e1e1e1;
156}
157[dir=rtl] .cal-month-view .cal-day-cell:not(:last-child) {
158 border-right-color: initial;
159 border-left-color: #e1e1e1;
160}
161.cal-month-view .cal-days .cal-cell-row {
162 border-bottom-color: #e1e1e1;
163}
164.cal-month-view .cal-day-badge {
165 background-color: #b94a48;
166 color: #fff;
167}
168.cal-month-view .cal-event {
169 background-color: #1e90ff;
170 border-color: #d1e8ff;
171 color: #fff;
172}
173.cal-month-view .cal-day-cell.cal-weekend .cal-day-number {
174 color: #8b0000;
175}
176.cal-month-view .cal-day-cell.cal-today {
177 background-color: #e8fde7;
178}
179.cal-month-view .cal-day-cell.cal-drag-over {
180 background-color: #e0e0e0 !important;
181}
182.cal-month-view .cal-open-day-events {
183 color: #fff;
184 background-color: #555;
185 -webkit-box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.5);
186 box-shadow: inset 0 0 15px 0 rgba(0, 0, 0, 0.5);
187}
188
189.cal-week-view {
190 /* stylelint-disable-next-line selector-type-no-unknown */
191}
192.cal-week-view * {
193 -webkit-box-sizing: border-box;
194 box-sizing: border-box;
195}
196.cal-week-view .cal-day-headers {
197 display: -webkit-box;
198 display: -ms-flexbox;
199 display: flex;
200 padding-left: 70px;
201 border: 1px solid;
202}
203[dir=rtl] .cal-week-view .cal-day-headers {
204 padding-left: initial;
205 padding-right: 70px;
206}
207.cal-week-view .cal-day-headers .cal-header {
208 -webkit-box-flex: 1;
209 -ms-flex: 1;
210 flex: 1;
211 text-align: center;
212 padding: 5px;
213}
214.cal-week-view .cal-day-headers .cal-header:not(:last-child) {
215 border-right: 1px solid;
216}
217[dir=rtl] .cal-week-view .cal-day-headers .cal-header:not(:last-child) {
218 border-right: initial;
219 border-left: 1px solid;
220}
221.cal-week-view .cal-day-headers .cal-header:first-child {
222 border-left: 1px solid;
223}
224[dir=rtl] .cal-week-view .cal-day-headers .cal-header:first-child {
225 border-left: initial;
226 border-right: 1px solid;
227}
228.cal-week-view .cal-day-headers span {
229 font-weight: 400;
230 opacity: 0.5;
231}
232.cal-week-view .cal-day-column {
233 -webkit-box-flex: 1;
234 -ms-flex-positive: 1;
235 flex-grow: 1;
236 border-left: solid 1px;
237}
238[dir=rtl] .cal-week-view .cal-day-column {
239 border-left: initial;
240 border-right: solid 1px;
241}
242.cal-week-view .cal-event {
243 font-size: 12px;
244 border: 1px solid;
245 direction: ltr;
246}
247.cal-week-view .cal-time-label-column {
248 width: 70px;
249 height: 100%;
250}
251.cal-week-view .cal-current-time-marker {
252 position: absolute;
253 width: 100%;
254 height: 2px;
255 z-index: 2;
256}
257.cal-week-view .cal-all-day-events {
258 border: solid 1px;
259 border-top: 0;
260 border-bottom-width: 3px;
261 padding-top: 3px;
262 position: relative;
263}
264.cal-week-view .cal-all-day-events .cal-day-columns {
265 height: 100%;
266 width: 100%;
267 display: -webkit-box;
268 display: -ms-flexbox;
269 display: flex;
270 position: absolute;
271 top: 0;
272 z-index: 0;
273}
274.cal-week-view .cal-all-day-events .cal-events-row {
275 position: relative;
276 height: 31px;
277 margin-left: 70px;
278}
279[dir=rtl] .cal-week-view .cal-all-day-events .cal-events-row {
280 margin-left: initial;
281 margin-right: 70px;
282}
283.cal-week-view .cal-all-day-events .cal-event-container {
284 display: inline-block;
285 position: absolute;
286}
287.cal-week-view .cal-all-day-events .cal-event-container.resize-active {
288 z-index: 1;
289 pointer-events: none;
290}
291.cal-week-view .cal-all-day-events .cal-event {
292 padding: 0 5px;
293 margin-left: 2px;
294 margin-right: 2px;
295 height: 28px;
296 line-height: 28px;
297}
298.cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event {
299 border-top-left-radius: 5px;
300 border-bottom-left-radius: 5px;
301}
302[dir=rtl] .cal-week-view .cal-all-day-events .cal-starts-within-week .cal-event {
303 border-top-left-radius: initial;
304 border-bottom-left-radius: initial;
305 border-top-right-radius: 5px !important;
306 border-bottom-right-radius: 5px !important;
307}
308.cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event {
309 border-top-right-radius: 5px;
310 border-bottom-right-radius: 5px;
311}
312[dir=rtl] .cal-week-view .cal-all-day-events .cal-ends-within-week .cal-event {
313 border-top-right-radius: initial;
314 border-bottom-right-radius: initial;
315 border-top-left-radius: 5px;
316 border-bottom-left-radius: 5px;
317}
318.cal-week-view .cal-all-day-events .cal-time-label-column {
319 display: -webkit-box;
320 display: -ms-flexbox;
321 display: flex;
322 -webkit-box-align: center;
323 -ms-flex-align: center;
324 align-items: center;
325 -webkit-box-pack: center;
326 -ms-flex-pack: center;
327 justify-content: center;
328 font-size: 14px;
329}
330.cal-week-view .cal-all-day-events .cal-resize-handle {
331 width: 6px;
332 height: 100%;
333 cursor: col-resize;
334 position: absolute;
335 top: 0;
336}
337.cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end {
338 right: 0;
339}
340[dir=rtl] .cal-week-view .cal-all-day-events .cal-resize-handle.cal-resize-handle-after-end {
341 right: initial;
342 left: 0;
343}
344.cal-week-view .cal-event,
345.cal-week-view .cal-header {
346 overflow: hidden;
347 -o-text-overflow: ellipsis;
348 text-overflow: ellipsis;
349 white-space: nowrap;
350}
351.cal-week-view .cal-drag-active {
352 pointer-events: none;
353 z-index: 1;
354}
355.cal-week-view .cal-drag-active * {
356 pointer-events: none;
357}
358.cal-week-view .cal-time-events {
359 position: relative;
360 border: solid 1px;
361 border-top: 0;
362 display: -webkit-box;
363 display: -ms-flexbox;
364 display: flex;
365}
366.cal-week-view .cal-time-events .cal-day-columns {
367 display: -webkit-box;
368 display: -ms-flexbox;
369 display: flex;
370 -webkit-box-flex: 1;
371 -ms-flex-positive: 1;
372 flex-grow: 1;
373}
374.cal-week-view .cal-time-events .cal-day-column {
375 position: relative;
376}
377.cal-week-view .cal-time-events .cal-events-container {
378 position: relative;
379}
380.cal-week-view .cal-time-events .cal-event-container {
381 position: absolute;
382 z-index: 1;
383}
384.cal-week-view .cal-time-events .cal-event {
385 width: calc(100% - 2px);
386 height: calc(100% - 2px);
387 margin: 1px;
388 padding: 0 5px;
389 line-height: 25px;
390}
391.cal-week-view .cal-time-events .cal-resize-handle {
392 width: 100%;
393 height: 4px;
394 cursor: row-resize;
395 position: absolute;
396}
397.cal-week-view .cal-time-events .cal-resize-handle.cal-resize-handle-after-end {
398 bottom: 0;
399}
400.cal-week-view .cal-hour-segment {
401 position: relative;
402}
403.cal-week-view .cal-hour-segment::after {
404 content: " ";
405}
406.cal-week-view .cal-event-container:not(.cal-draggable) {
407 cursor: pointer;
408}
409.cal-week-view .cal-draggable {
410 cursor: move;
411}
412.cal-week-view mwl-calendar-week-view-hour-segment,
413.cal-week-view .cal-hour-segment {
414 display: block;
415}
416.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment,
417.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment {
418 border-bottom: thin dashed;
419}
420.cal-week-view .cal-time {
421 font-weight: bold;
422 padding-top: 5px;
423 width: 70px;
424 text-align: center;
425}
426.cal-week-view .cal-hour-segment.cal-after-hour-start .cal-time {
427 display: none;
428}
429.cal-week-view .cal-starts-within-day .cal-event {
430 border-top-left-radius: 5px;
431 border-top-right-radius: 5px;
432}
433.cal-week-view .cal-ends-within-day .cal-event {
434 border-bottom-left-radius: 5px;
435 border-bottom-right-radius: 5px;
436}
437
438.cal-week-view {
439 background-color: #fff;
440 border-top: solid 1px #e1e1e1;
441}
442.cal-week-view .cal-day-headers {
443 border-color: #e1e1e1;
444 border-top: 0;
445}
446.cal-week-view .cal-day-headers .cal-header:not(:last-child) {
447 border-right-color: #e1e1e1;
448}
449[dir=rtl] .cal-week-view .cal-day-headers .cal-header:not(:last-child) {
450 border-right-color: initial;
451 border-left: solid 1px #e1e1e1 !important;
452}
453.cal-week-view .cal-day-headers .cal-header:first-child {
454 border-left-color: #e1e1e1;
455}
456[dir=rtl] .cal-week-view .cal-day-headers .cal-header:first-child {
457 border-left-color: initial;
458 border-right-color: #e1e1e1;
459}
460.cal-week-view .cal-day-headers .cal-header:hover,
461.cal-week-view .cal-day-headers .cal-drag-over {
462 background-color: #ededed;
463}
464.cal-week-view .cal-day-column {
465 border-left-color: #e1e1e1;
466}
467[dir=rtl] .cal-week-view .cal-day-column {
468 border-left-color: initial;
469 border-right-color: #e1e1e1;
470}
471.cal-week-view .cal-event {
472 background-color: #d1e8ff;
473 border-color: #1e90ff;
474 color: #1e90ff;
475}
476.cal-week-view .cal-all-day-events {
477 border-color: #e1e1e1;
478}
479.cal-week-view .cal-header.cal-today {
480 background-color: #e8fde7;
481}
482.cal-week-view .cal-header.cal-weekend span {
483 color: #8b0000;
484}
485.cal-week-view .cal-time-events {
486 border-color: #e1e1e1;
487}
488.cal-week-view .cal-time-events .cal-day-columns:not(.cal-resize-active) .cal-hour-segment:hover {
489 background-color: #ededed;
490}
491.cal-week-view .cal-hour-odd {
492 background-color: #fafafa;
493}
494.cal-week-view .cal-drag-over .cal-hour-segment {
495 background-color: #ededed;
496}
497.cal-week-view .cal-hour:not(:last-child) .cal-hour-segment,
498.cal-week-view .cal-hour:last-child :not(:last-child) .cal-hour-segment {
499 border-bottom-color: #e1e1e1;
500}
501.cal-week-view .cal-current-time-marker {
502 background-color: #ea4334;
503}
504
505.cal-day-view {
506 /* stylelint-disable-next-line selector-type-no-unknown */
507}
508.cal-day-view mwl-calendar-week-view-header {
509 display: none;
510}
511.cal-day-view .cal-events-container {
512 margin-left: 70px;
513}
514[dir=rtl] .cal-day-view .cal-events-container {
515 margin-left: initial;
516 margin-right: 70px;
517}
518.cal-day-view .cal-day-column {
519 border-left: 0;
520}
521.cal-day-view .cal-current-time-marker {
522 margin-left: 70px;
523 width: calc(100% - 70px);
524}
525[dir=rtl] .cal-day-view .cal-current-time-marker {
526 margin-left: initial;
527 margin-right: 70px;
528}
529
530.cal-tooltip {
531 position: absolute;
532 z-index: 1070;
533 display: block;
534 font-style: normal;
535 font-weight: normal;
536 letter-spacing: normal;
537 line-break: auto;
538 line-height: 1.5;
539 text-align: start;
540 text-decoration: none;
541 text-shadow: none;
542 text-transform: none;
543 white-space: normal;
544 word-break: normal;
545 word-spacing: normal;
546 font-size: 11px;
547 word-wrap: break-word;
548 opacity: 0.9;
549}
550
551.cal-tooltip.cal-tooltip-top {
552 padding: 5px 0;
553 margin-top: -3px;
554}
555
556.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow {
557 bottom: 0;
558 left: 50%;
559 margin-left: -5px;
560 border-width: 5px 5px 0;
561}
562
563.cal-tooltip.cal-tooltip-right {
564 padding: 0 5px;
565 margin-left: 3px;
566}
567
568.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow {
569 top: 50%;
570 left: 0;
571 margin-top: -5px;
572 border-width: 5px 5px 5px 0;
573}
574
575.cal-tooltip.cal-tooltip-bottom {
576 padding: 5px 0;
577 margin-top: 3px;
578}
579
580.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow {
581 top: 0;
582 left: 50%;
583 margin-left: -5px;
584 border-width: 0 5px 5px;
585}
586
587.cal-tooltip.cal-tooltip-left {
588 padding: 0 5px;
589 margin-left: -3px;
590}
591
592.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow {
593 top: 50%;
594 right: 0;
595 margin-top: -5px;
596 border-width: 5px 0 5px 5px;
597}
598
599.cal-tooltip-inner {
600 max-width: 200px;
601 padding: 3px 8px;
602 text-align: center;
603 border-radius: 0.25rem;
604}
605
606.cal-tooltip-arrow {
607 position: absolute;
608 width: 0;
609 height: 0;
610 border-color: transparent;
611 border-style: solid;
612}
613
614.cal-tooltip.cal-tooltip-top .cal-tooltip-arrow {
615 border-top-color: #000;
616}
617
618.cal-tooltip.cal-tooltip-right .cal-tooltip-arrow {
619 border-right-color: #000;
620}
621
622.cal-tooltip.cal-tooltip-bottom .cal-tooltip-arrow {
623 border-bottom-color: #000;
624}
625
626.cal-tooltip.cal-tooltip-left .cal-tooltip-arrow {
627 border-left-color: #000;
628}
629
630.cal-tooltip-inner {
631 color: #fff;
632 background-color: #000;
633}