仰望星辰工作室

better-staridc-MNBT

better-staridc-MNBT/ imsetes/js/fullcalendar/core/main.css 26.4 KB · 1,045 行 原始文件
Z zfhsh first commit 2 个月前
1@charset "UTF-8";
2.fc {
3 direction: ltr;
4 text-align: left;
5}
6
7.fc-rtl {
8 text-align: right;
9}
10
11body .fc {
12 /* extra precedence to overcome jqui */
13 font-size: 1em;
14}
15
16/* Colors
17--------------------------------------------------------------------------------------------------*/
18.fc-highlight {
19 /* when user is selecting cells */
20 background: #bce8f1;
21 opacity: 0.3;
22}
23
24.fc-bgevent {
25 /* default look for background events */
26 background: #A8E79D;
27 opacity: 0.3;
28}
29
30.fc-nonbusiness {
31 /* default look for non-business-hours areas */
32 /* will inherit .fc-bgevent's styles */
33 background: #d7d7d7;
34}
35
36/* Popover
37--------------------------------------------------------------------------------------------------*/
38.fc-popover {
39 position: absolute;
40 box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
41}
42
43.fc-popover .fc-header {
44 /* TODO: be more consistent with fc-head/fc-body */
45 display: flex;
46 flex-direction: row;
47 justify-content: space-between;
48 align-items: center;
49 padding: 2px 4px;
50}
51
52.fc-rtl .fc-popover .fc-header {
53 flex-direction: row-reverse;
54}
55
56.fc-popover .fc-header .fc-title {
57 margin: 0 2px;
58}
59
60.fc-popover .fc-header .fc-close {
61 cursor: pointer;
62 opacity: 0.65;
63 font-size: 1.1em;
64}
65
66/* Misc Reusable Components
67--------------------------------------------------------------------------------------------------*/
68.fc-divider {
69 border-style: solid;
70 border-width: 1px;
71}
72
73hr.fc-divider {
74 height: 0;
75 margin: 0;
76 padding: 0 0 2px;
77 /* height is unreliable across browsers, so use padding */
78 border-width: 1px 0;
79}
80
81.fc-bg,
82.fc-bgevent-skeleton,
83.fc-highlight-skeleton,
84.fc-mirror-skeleton {
85 /* these element should always cling to top-left/right corners */
86 position: absolute;
87 top: 0;
88 left: 0;
89 right: 0;
90}
91
92.fc-bg {
93 bottom: 0;
94 /* strech bg to bottom edge */
95}
96
97.fc-bg table {
98 height: 100%;
99 /* strech bg to bottom edge */
100}
101
102/* Tables
103--------------------------------------------------------------------------------------------------*/
104.fc table {
105 width: 100%;
106 box-sizing: border-box;
107 /* fix scrollbar issue in firefox */
108 table-layout: fixed;
109 border-collapse: collapse;
110 border-spacing: 0;
111 font-size: 1em;
112 /* normalize cross-browser */
113}
114
115.fc th {
116 text-align: center;
117}
118
119.fc th,
120.fc td {
121 border-style: solid;
122 border-width: 1px;
123 padding: 0;
124 vertical-align: top;
125}
126
127.fc td.fc-today {
128 border-style: double;
129 /* overcome neighboring borders */
130}
131
132/* Internal Nav Links
133--------------------------------------------------------------------------------------------------*/
134a[data-goto] {
135 cursor: pointer;
136}
137
138a[data-goto]:hover {
139 text-decoration: underline;
140}
141
142/* Fake Table Rows
143--------------------------------------------------------------------------------------------------*/
144.fc .fc-row {
145 /* extra precedence to overcome themes forcing a 1px border */
146 /* no visible border by default. but make available if need be (scrollbar width compensation) */
147 border-style: solid;
148 border-width: 0;
149}
150
151.fc-row table {
152 /* don't put left/right border on anything within a fake row.
153 the outer tbody will worry about this */
154 border-left: 0 hidden transparent;
155 border-right: 0 hidden transparent;
156 /* no bottom borders on rows */
157 border-bottom: 0 hidden transparent;
158}
159
160.fc-row:first-child table {
161 border-top: 0 hidden transparent;
162 /* no top border on first row */
163}
164
165/* Day Row (used within the header and the DayGrid)
166--------------------------------------------------------------------------------------------------*/
167.fc-row {
168 position: relative;
169}
170
171.fc-row .fc-bg {
172 z-index: 1;
173}
174
175/* highlighting cells & background event skeleton */
176.fc-row .fc-bgevent-skeleton,
177.fc-row .fc-highlight-skeleton {
178 bottom: 0;
179 /* stretch skeleton to bottom of row */
180}
181
182.fc-row .fc-bgevent-skeleton table,
183.fc-row .fc-highlight-skeleton table {
184 height: 100%;
185 /* stretch skeleton to bottom of row */
186}
187
188.fc-row .fc-highlight-skeleton td,
189.fc-row .fc-bgevent-skeleton td {
190 border-color: transparent;
191}
192
193.fc-row .fc-bgevent-skeleton {
194 z-index: 2;
195}
196
197.fc-row .fc-highlight-skeleton {
198 z-index: 3;
199}
200
201/*
202row content (which contains day/week numbers and events) as well as "mirror" (which contains
203temporary rendered events).
204*/
205.fc-row .fc-content-skeleton {
206 position: relative;
207 z-index: 4;
208 padding-bottom: 2px;
209 /* matches the space above the events */
210}
211
212.fc-row .fc-mirror-skeleton {
213 z-index: 5;
214}
215
216.fc .fc-row .fc-content-skeleton table,
217.fc .fc-row .fc-content-skeleton td,
218.fc .fc-row .fc-mirror-skeleton td {
219 /* see-through to the background below */
220 /* extra precedence to prevent theme-provided backgrounds */
221 background: none;
222 /* in case <td>s are globally styled */
223 border-color: transparent;
224}
225
226.fc-row .fc-content-skeleton td,
227.fc-row .fc-mirror-skeleton td {
228 /* don't put a border between events and/or the day number */
229 border-bottom: 0;
230}
231
232.fc-row .fc-content-skeleton tbody td,
233.fc-row .fc-mirror-skeleton tbody td {
234 /* don't put a border between event cells */
235 border-top: 0;
236}
237
238/* Scrolling Container
239--------------------------------------------------------------------------------------------------*/
240.fc-scroller {
241 -webkit-overflow-scrolling: touch;
242}
243
244/* TODO: move to timegrid/daygrid */
245.fc-scroller > .fc-day-grid,
246.fc-scroller > .fc-time-grid {
247 position: relative;
248 /* re-scope all positions */
249 width: 100%;
250 /* hack to force re-sizing this inner element when scrollbars appear/disappear */
251}
252
253/* Global Event Styles
254--------------------------------------------------------------------------------------------------*/
255.fc-event {
256 position: relative;
257 /* for resize handle and other inner positioning */
258 display: block;
259 /* make the <a> tag block */
260 font-size: 0.85em;
261 line-height: 1.4;
262 border-radius: 2px;
263 border: 1px solid transparent;
264 -webkit-transition: 0s ease;
265 transition: 0s ease;
266}
267
268.fc-event,
269.fc-event-dot {
270 background-color: #007bff;
271 /* default BACKGROUND color */
272}
273
274.fc-event,
275.fc-event:hover {
276 color: #fff!important;
277 /* default TEXT color */
278 text-decoration: none;
279 /* if <a> has an href */
280}
281.fc-event:hover {
282 background-color: #52d3c7;
283}
284
285.fc-event[href],
286.fc-event.fc-draggable {
287 cursor: pointer;
288 /* give events with links and draggable events a hand mouse pointer */
289}
290
291.fc-not-allowed,
292.fc-not-allowed .fc-event {
293 /* to override an event's custom cursor */
294 cursor: not-allowed;
295}
296
297.fc-event .fc-content {
298 position: relative;
299 z-index: 2;
300}
301
302/* resizer (cursor AND touch devices) */
303.fc-event .fc-resizer {
304 position: absolute;
305 z-index: 4;
306}
307
308/* resizer (touch devices) */
309.fc-event .fc-resizer {
310 display: none;
311}
312
313.fc-event.fc-allow-mouse-resize .fc-resizer,
314.fc-event.fc-selected .fc-resizer {
315 /* only show when hovering or selected (with touch) */
316 display: block;
317}
318
319/* hit area */
320.fc-event.fc-selected .fc-resizer:before {
321 /* 40x40 touch area */
322 content: "";
323 position: absolute;
324 z-index: 9999;
325 /* user of this util can scope within a lower z-index */
326 top: 50%;
327 left: 50%;
328 width: 40px;
329 height: 40px;
330 margin-left: -20px;
331 margin-top: -20px;
332}
333
334/* Event Selection (only for touch devices)
335--------------------------------------------------------------------------------------------------*/
336.fc-event.fc-selected {
337 z-index: 9999 !important;
338 /* overcomes inline z-index */
339 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
340}
341
342.fc-event.fc-selected:after {
343 content: "";
344 position: absolute;
345 z-index: 1;
346 /* same z-index as fc-bg, behind text */
347 /* overcome the borders */
348 top: -1px;
349 right: -1px;
350 bottom: -1px;
351 left: -1px;
352 /* darkening effect */
353 background: #000;
354 opacity: 0.25;
355}
356
357/* Event Dragging
358--------------------------------------------------------------------------------------------------*/
359.fc-event.fc-dragging.fc-selected {
360 box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
361}
362
363.fc-event.fc-dragging:not(.fc-selected) {
364 opacity: 0.75;
365}
366
367/* Horizontal Events
368--------------------------------------------------------------------------------------------------*/
369/* bigger touch area when selected */
370.fc-h-event.fc-selected:before {
371 content: "";
372 position: absolute;
373 z-index: 3;
374 /* below resizers */
375 top: -10px;
376 bottom: -10px;
377 left: 0;
378 right: 0;
379}
380
381/* events that are continuing to/from another week. kill rounded corners and butt up against edge */
382.fc-ltr .fc-h-event.fc-not-start,
383.fc-rtl .fc-h-event.fc-not-end {
384 margin-left: 0;
385 border-left-width: 0;
386 padding-left: 1px;
387 /* replace the border with padding */
388 border-top-left-radius: 0;
389 border-bottom-left-radius: 0;
390}
391
392.fc-ltr .fc-h-event.fc-not-end,
393.fc-rtl .fc-h-event.fc-not-start {
394 margin-right: 0;
395 border-right-width: 0;
396 padding-right: 1px;
397 /* replace the border with padding */
398 border-top-right-radius: 0;
399 border-bottom-right-radius: 0;
400}
401
402/* resizer (cursor AND touch devices) */
403/* left resizer */
404.fc-ltr .fc-h-event .fc-start-resizer,
405.fc-rtl .fc-h-event .fc-end-resizer {
406 cursor: w-resize;
407 left: -1px;
408 /* overcome border */
409}
410
411/* right resizer */
412.fc-ltr .fc-h-event .fc-end-resizer,
413.fc-rtl .fc-h-event .fc-start-resizer {
414 cursor: e-resize;
415 right: -1px;
416 /* overcome border */
417}
418
419/* resizer (mouse devices) */
420.fc-h-event.fc-allow-mouse-resize .fc-resizer {
421 width: 7px;
422 top: -1px;
423 /* overcome top border */
424 bottom: -1px;
425 /* overcome bottom border */
426}
427
428/* resizer (touch devices) */
429.fc-h-event.fc-selected .fc-resizer {
430 /* 8x8 little dot */
431 border-radius: 4px;
432 border-width: 1px;
433 width: 6px;
434 height: 6px;
435 border-style: solid;
436 border-color: inherit;
437 background: #fff;
438 /* vertically center */
439 top: 50%;
440 margin-top: -4px;
441}
442
443/* left resizer */
444.fc-ltr .fc-h-event.fc-selected .fc-start-resizer,
445.fc-rtl .fc-h-event.fc-selected .fc-end-resizer {
446 margin-left: -4px;
447 /* centers the 8x8 dot on the left edge */
448}
449
450/* right resizer */
451.fc-ltr .fc-h-event.fc-selected .fc-end-resizer,
452.fc-rtl .fc-h-event.fc-selected .fc-start-resizer {
453 margin-right: -4px;
454 /* centers the 8x8 dot on the right edge */
455}
456
457/* DayGrid events
458----------------------------------------------------------------------------------------------------
459We use the full "fc-day-grid-event" class instead of using descendants because the event won't
460be a descendant of the grid when it is being dragged.
461*/
462.fc-day-grid-event {
463 margin: 1px 2px 0;
464 /* spacing between events and edges */
465 padding: 0 1px;
466}
467
468tr:first-child > td > .fc-day-grid-event {
469 margin-top: 2px;
470 /* a little bit more space before the first event */
471}
472
473.fc-mirror-skeleton tr:first-child > td > .fc-day-grid-event {
474 margin-top: 0;
475 /* except for mirror skeleton */
476}
477
478.fc-day-grid-event .fc-content {
479 /* force events to be one-line tall */
480 white-space: nowrap;
481 overflow: hidden;
482}
483
484.fc-day-grid-event .fc-time {
485 font-weight: bold;
486}
487
488/* resizer (cursor devices) */
489/* left resizer */
490.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer,
491.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer {
492 margin-left: -2px;
493 /* to the day cell's edge */
494}
495
496/* right resizer */
497.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer,
498.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer {
499 margin-right: -2px;
500 /* to the day cell's edge */
501}
502
503/* Event Limiting
504--------------------------------------------------------------------------------------------------*/
505/* "more" link that represents hidden events */
506a.fc-more {
507 margin: 1px 3px;
508 font-size: 0.85em;
509 cursor: pointer;
510 text-decoration: none;
511}
512
513a.fc-more:hover {
514 text-decoration: underline;
515}
516
517.fc-limited {
518 /* rows and cells that are hidden because of a "more" link */
519 display: none;
520}
521
522/* popover that appears when "more" link is clicked */
523.fc-day-grid .fc-row {
524 z-index: 1;
525 /* make the "more" popover one higher than this */
526}
527
528.fc-more-popover {
529 z-index: 2;
530 width: 220px;
531}
532
533.fc-more-popover .fc-event-container {
534 padding: 10px;
535}
536
537/* Now Indicator
538--------------------------------------------------------------------------------------------------*/
539.fc-now-indicator {
540 position: absolute;
541 border: 0 solid red;
542}
543
544/* Utilities
545--------------------------------------------------------------------------------------------------*/
546.fc-unselectable {
547 -webkit-user-select: none;
548 -khtml-user-select: none;
549 -moz-user-select: none;
550 -ms-user-select: none;
551 user-select: none;
552 -webkit-touch-callout: none;
553 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
554}
555
556/*
557TODO: more distinction between this file and common.css
558*/
559/* Colors
560--------------------------------------------------------------------------------------------------*/
561.fc-unthemed th,
562.fc-unthemed td,
563.fc-unthemed thead,
564.fc-unthemed tbody,
565.fc-unthemed .fc-divider,
566.fc-unthemed .fc-row,
567.fc-unthemed .fc-content,
568.fc-unthemed .fc-popover,
569.fc-unthemed .fc-list-view,
570.fc-unthemed .fc-list-heading td {
571 border-color: #eceeef;
572}
573
574.fc-unthemed .fc-popover {
575 background-color: #fff;
576}
577
578.fc-unthemed .fc-divider,
579.fc-unthemed .fc-popover .fc-header,
580.fc-unthemed .fc-list-heading td {
581 background: #eceeef;
582}
583
584.fc-unthemed td.fc-today {
585 background: #fcf8e3;
586}
587
588.fc-unthemed .fc-disabled-day {
589 background: #d7d7d7;
590 opacity: 0.3;
591}
592
593/* Icons
594--------------------------------------------------------------------------------------------------
595from https://feathericons.com/ and built with IcoMoon
596*/
597@font-face {
598 font-family: "fcicons";
599 src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcA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AAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype");
600 font-weight: normal;
601 font-style: normal;
602}
603.fc-icon {
604 /* use !important to prevent issues with browser extensions that change fonts */
605 font-family: "fcicons" !important;
606 speak: none;
607 font-style: normal;
608 font-weight: normal;
609 font-variant: normal;
610 text-transform: none;
611 line-height: 1;
612 /* Better Font Rendering =========== */
613 -webkit-font-smoothing: antialiased;
614 -moz-osx-font-smoothing: grayscale;
615}
616
617.fc-icon-chevron-left:before {
618 content: "";
619}
620
621.fc-icon-chevron-right:before {
622 content: "";
623}
624
625.fc-icon-chevrons-left:before {
626 content: "";
627}
628
629.fc-icon-chevrons-right:before {
630 content: "";
631}
632
633.fc-icon-minus-square:before {
634 content: "";
635}
636
637.fc-icon-plus-square:before {
638 content: "";
639}
640
641.fc-icon-x:before {
642 content: "";
643}
644
645.fc-icon {
646 display: inline-block;
647 width: 1em;
648 height: 1em;
649 text-align: center;
650}
651
652/* Buttons
653--------------------------------------------------------------------------------------------------
654Lots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css
655*/
656/* reset */
657.fc-button {
658 border-radius: 0;
659 overflow: visible;
660 text-transform: none;
661 margin: 0;
662 font-family: inherit;
663 font-size: inherit;
664 line-height: inherit;
665}
666
667.fc-button:focus {
668 outline: 1px dotted;
669 outline: 5px auto -webkit-focus-ring-color;
670}
671
672.fc-button {
673 -webkit-appearance: button;
674}
675
676.fc-button:not(:disabled) {
677 cursor: pointer;
678}
679
680.fc-button::-moz-focus-inner {
681 padding: 0;
682 border-style: none;
683}
684
685/* theme */
686.fc-button {
687 display: inline-block;
688 font-weight: 400;
689 color: #007bff;
690 text-align: center;
691 vertical-align: middle;
692 -webkit-user-select: none;
693 -moz-user-select: none;
694 -ms-user-select: none;
695 user-select: none;
696 background-color: transparent;
697 border: 1px solid transparent;
698 padding: 0.4em 0.65em;
699 font-size: 1em;
700 line-height: 1.5;
701 border-radius: 0.25em;
702}
703
704.fc-button:hover {
705 color: #007bff;
706 text-decoration: none;
707}
708
709.fc-button:focus {
710 outline: 0;
711}
712
713.fc-button:disabled {
714 opacity: 0.65;
715}
716
717/* "primary" coloring */
718.fc-button-primary {
719 color: #fff;
720 background-color: #007bff;
721 border-color: #007bff;
722}
723
724.fc-button-primary:hover {
725 color: #fff;
726 background-color: #52d3c7;
727 border-color: #52d3c7;
728}
729
730.fc-button-primary:disabled {
731 color: #fff;
732 background-color: #007bff;
733 border-color: #007bff;
734 opacity: 0.5
735}
736
737.fc-button-primary:not(:disabled):active,
738.fc-button-primary:not(:disabled).fc-button-active {
739 color: #fff;
740 background-color: #2ba99d;
741 border-color: #2ba99d;
742}
743
744/* icons within buttons */
745.fc-button .fc-icon {
746 vertical-align: middle;
747 font-size: 1.5em;
748}
749
750/* Buttons Groups
751--------------------------------------------------------------------------------------------------*/
752.fc-button-group {
753 position: relative;
754 display: -webkit-inline-box;
755 display: -ms-inline-flexbox;
756 display: inline-flex;
757 vertical-align: middle;
758}
759
760.fc-button-group > .fc-button {
761 position: relative;
762 -webkit-box-flex: 1;
763 -ms-flex: 1 1 auto;
764 flex: 1 1 auto;
765}
766
767.fc-button-group > .fc-button:hover {
768 z-index: 1;
769}
770
771.fc-button-group > .fc-button:focus,
772.fc-button-group > .fc-button:active,
773.fc-button-group > .fc-button.fc-button-active {
774 z-index: 1;
775}
776
777.fc-button-group > .fc-button:not(:first-child) {
778 margin-left: -1px;
779}
780
781.fc-button-group > .fc-button:not(:last-child) {
782 border-top-right-radius: 0;
783 border-bottom-right-radius: 0;
784}
785
786.fc-button-group > .fc-button:not(:first-child) {
787 border-top-left-radius: 0;
788 border-bottom-left-radius: 0;
789}
790
791/* Popover
792--------------------------------------------------------------------------------------------------*/
793.fc-unthemed .fc-popover {
794 border-width: 1px;
795 border-style: solid;
796}
797
798/* List View
799--------------------------------------------------------------------------------------------------*/
800.fc-unthemed .fc-list-item:hover td {
801 background-color: #f9fafb;
802}
803
804/* Toolbar
805--------------------------------------------------------------------------------------------------*/
806.fc-toolbar {
807 display: flex;
808 justify-content: space-between;
809 align-items: center;
810}
811
812.fc-toolbar.fc-header-toolbar {
813 margin-bottom: 1.5em;
814}
815
816.fc-toolbar.fc-footer-toolbar {
817 margin-top: 1.5em;
818}
819
820/* inner content */
821.fc-toolbar > * > :not(:first-child) {
822 margin-left: 0.75em;
823}
824
825.fc-toolbar h2 {
826 font-size: 1.75em;
827 margin: 0;
828}
829
830/* View Structure
831--------------------------------------------------------------------------------------------------*/
832.fc-view-container {
833 position: relative;
834}
835
836/* undo twitter bootstrap's box-sizing rules. normalizes positioning techniques */
837/* don't do this for the toolbar because we'll want bootstrap to style those buttons as some pt */
838.fc-view-container *,
839.fc-view-container *:before,
840.fc-view-container *:after {
841 -webkit-box-sizing: content-box;
842 -moz-box-sizing: content-box;
843 box-sizing: content-box;
844}
845
846.fc-view,
847.fc-view > table {
848 /* so dragged elements can be above the view's main element */
849 position: relative;
850 z-index: 1;
851}
852
853@media print {
854 .fc {
855 max-width: 100% !important;
856 }
857
858 /* Global Event Restyling
859 --------------------------------------------------------------------------------------------------*/
860 .fc-event {
861 background: #fff !important;
862 color: #000 !important;
863 page-break-inside: avoid;
864 }
865
866 .fc-event .fc-resizer {
867 display: none;
868 }
869
870 /* Table & Day-Row Restyling
871 --------------------------------------------------------------------------------------------------*/
872 .fc th,
873.fc td,
874.fc hr,
875.fc thead,
876.fc tbody,
877.fc-row {
878 border-color: #ccc !important;
879 background: #fff !important;
880 }
881
882 /* kill the overlaid, absolutely-positioned components */
883 /* common... */
884 .fc-bg,
885.fc-bgevent-skeleton,
886.fc-highlight-skeleton,
887.fc-mirror-skeleton,
888.fc-bgevent-container,
889.fc-business-container,
890.fc-highlight-container,
891.fc-mirror-container {
892 display: none;
893 }
894
895 /* don't force a min-height on rows (for DayGrid) */
896 .fc tbody .fc-row {
897 height: auto !important;
898 /* undo height that JS set in distributeHeight */
899 min-height: 0 !important;
900 /* undo the min-height from each view's specific stylesheet */
901 }
902
903 .fc tbody .fc-row .fc-content-skeleton {
904 position: static;
905 /* undo .fc-rigid */
906 padding-bottom: 0 !important;
907 /* use a more border-friendly method for this... */
908 }
909
910 .fc tbody .fc-row .fc-content-skeleton tbody tr:last-child td {
911 /* only works in newer browsers */
912 padding-bottom: 1em;
913 /* ...gives space within the skeleton. also ensures min height in a way */
914 }
915
916 .fc tbody .fc-row .fc-content-skeleton table {
917 /* provides a min-height for the row, but only effective for IE, which exaggerates this value,
918 making it look more like 3em. for other browers, it will already be this tall */
919 height: 1em;
920 }
921
922 /* Undo month-view event limiting. Display all events and hide the "more" links
923 --------------------------------------------------------------------------------------------------*/
924 .fc-more-cell,
925.fc-more {
926 display: none !important;
927 }
928
929 .fc tr.fc-limited {
930 display: table-row !important;
931 }
932
933 .fc td.fc-limited {
934 display: table-cell !important;
935 }
936
937 .fc-popover {
938 display: none;
939 /* never display the "more.." popover in print mode */
940 }
941
942 /* TimeGrid Restyling
943 --------------------------------------------------------------------------------------------------*/
944 /* undo the min-height 100% trick used to fill the container's height */
945 .fc-time-grid {
946 min-height: 0 !important;
947 }
948
949 /* don't display the side axis at all ("all-day" and time cells) */
950 .fc-timeGrid-view .fc-axis {
951 display: none;
952 }
953
954 /* don't display the horizontal lines */
955 .fc-slats,
956.fc-time-grid hr {
957 /* this hr is used when height is underused and needs to be filled */
958 display: none !important;
959 /* important overrides inline declaration */
960 }
961
962 /* let the container that holds the events be naturally positioned and create real height */
963 .fc-time-grid .fc-content-skeleton {
964 position: static;
965 }
966
967 /* in case there are no events, we still want some height */
968 .fc-time-grid .fc-content-skeleton table {
969 height: 4em;
970 }
971
972 /* kill the horizontal spacing made by the event container. event margins will be done below */
973 .fc-time-grid .fc-event-container {
974 margin: 0 !important;
975 }
976
977 /* TimeGrid *Event* Restyling
978 --------------------------------------------------------------------------------------------------*/
979 /* naturally position events, vertically stacking them */
980 .fc-time-grid .fc-event {
981 position: static !important;
982 margin: 3px 2px !important;
983 }
984
985 /* for events that continue to a future day, give the bottom border back */
986 .fc-time-grid .fc-event.fc-not-end {
987 border-bottom-width: 1px !important;
988 }
989
990 /* indicate the event continues via "..." text */
991 .fc-time-grid .fc-event.fc-not-end:after {
992 content: "...";
993 }
994
995 /* for events that are continuations from previous days, give the top border back */
996 .fc-time-grid .fc-event.fc-not-start {
997 border-top-width: 1px !important;
998 }
999
1000 /* indicate the event is a continuation via "..." text */
1001 .fc-time-grid .fc-event.fc-not-start:before {
1002 content: "...";
1003 }
1004
1005 /* time */
1006 /* undo a previous declaration and let the time text span to a second line */
1007 .fc-time-grid .fc-event .fc-time {
1008 white-space: normal !important;
1009 }
1010
1011 /* hide the the time that is normally displayed... */
1012 .fc-time-grid .fc-event .fc-time span {
1013 display: none;
1014 }
1015
1016 /* ...replace it with a more verbose version (includes AM/PM) stored in an html attribute */
1017 .fc-time-grid .fc-event .fc-time:after {
1018 content: attr(data-full);
1019 }
1020
1021 /* Vertical Scroller & Containers
1022 --------------------------------------------------------------------------------------------------*/
1023 /* kill the scrollbars and allow natural height */
1024 .fc-scroller,
1025.fc-day-grid-container,
1026.fc-time-grid-container {
1027 /* */
1028 overflow: visible !important;
1029 height: auto !important;
1030 }
1031
1032 /* kill the horizontal border/padding used to compensate for scrollbars */
1033 .fc-row {
1034 border: 0 !important;
1035 margin: 0 !important;
1036 }
1037
1038 /* Button Controls
1039 --------------------------------------------------------------------------------------------------*/
1040 .fc-button-group,
1041.fc button {
1042 display: none;
1043 /* don't display any button-related controls */
1044 }
1045}