fullcalendar.print.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. /*!
  2. * FullCalendar v3.10.2
  3. * Docs & License: https://fullcalendar.io/
  4. * (c) 2019 Adam Shaw
  5. */
  6. /*!
  7. * FullCalendar v3.10.2 Print Stylesheet
  8. * Docs & License: https://fullcalendar.io/
  9. * (c) 2019 Adam Shaw
  10. */
  11. /*
  12. * Include this stylesheet on your page to get a more printer-friendly calendar.
  13. * When including this stylesheet, use the media='print' attribute of the <link> tag.
  14. * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css.
  15. */
  16. .fc {
  17. max-width: 100% !important; }
  18. /* Global Event Restyling
  19. --------------------------------------------------------------------------------------------------*/
  20. .fc-event {
  21. background: #fff !important;
  22. color: #000 !important;
  23. page-break-inside: avoid; }
  24. .fc-event .fc-resizer {
  25. display: none; }
  26. /* Table & Day-Row Restyling
  27. --------------------------------------------------------------------------------------------------*/
  28. .fc th,
  29. .fc td,
  30. .fc hr,
  31. .fc thead,
  32. .fc tbody,
  33. .fc-row {
  34. border-color: #ccc !important;
  35. background: #fff !important; }
  36. /* kill the overlaid, absolutely-positioned components */
  37. /* common... */
  38. .fc-bg,
  39. .fc-bgevent-skeleton,
  40. .fc-highlight-skeleton,
  41. .fc-helper-skeleton,
  42. .fc-bgevent-container,
  43. .fc-business-container,
  44. .fc-highlight-container,
  45. .fc-helper-container {
  46. display: none; }
  47. /* don't force a min-height on rows (for DayGrid) */
  48. .fc tbody .fc-row {
  49. height: auto !important;
  50. /* undo height that JS set in distributeHeight */
  51. min-height: 0 !important;
  52. /* undo the min-height from each view's specific stylesheet */ }
  53. .fc tbody .fc-row .fc-content-skeleton {
  54. position: static;
  55. /* undo .fc-rigid */
  56. padding-bottom: 0 !important;
  57. /* use a more border-friendly method for this... */ }
  58. .fc tbody .fc-row .fc-content-skeleton tbody tr:last-child td {
  59. /* only works in newer browsers */
  60. padding-bottom: 1em;
  61. /* ...gives space within the skeleton. also ensures min height in a way */ }
  62. .fc tbody .fc-row .fc-content-skeleton table {
  63. /* provides a min-height for the row, but only effective for IE, which exaggerates this value,
  64. making it look more like 3em. for other browers, it will already be this tall */
  65. height: 1em; }
  66. /* Undo month-view event limiting. Display all events and hide the "more" links
  67. --------------------------------------------------------------------------------------------------*/
  68. .fc-more-cell,
  69. .fc-more {
  70. display: none !important; }
  71. .fc tr.fc-limited {
  72. display: table-row !important; }
  73. .fc td.fc-limited {
  74. display: table-cell !important; }
  75. .fc-popover {
  76. display: none;
  77. /* never display the "more.." popover in print mode */ }
  78. /* TimeGrid Restyling
  79. --------------------------------------------------------------------------------------------------*/
  80. /* undo the min-height 100% trick used to fill the container's height */
  81. .fc-time-grid {
  82. min-height: 0 !important; }
  83. /* don't display the side axis at all ("all-day" and time cells) */
  84. .fc-agenda-view .fc-axis {
  85. display: none; }
  86. /* don't display the horizontal lines */
  87. .fc-slats,
  88. .fc-time-grid hr {
  89. /* this hr is used when height is underused and needs to be filled */
  90. display: none !important;
  91. /* important overrides inline declaration */ }
  92. /* let the container that holds the events be naturally positioned and create real height */
  93. .fc-time-grid .fc-content-skeleton {
  94. position: static; }
  95. /* in case there are no events, we still want some height */
  96. .fc-time-grid .fc-content-skeleton table {
  97. height: 4em; }
  98. /* kill the horizontal spacing made by the event container. event margins will be done below */
  99. .fc-time-grid .fc-event-container {
  100. margin: 0 !important; }
  101. /* TimeGrid *Event* Restyling
  102. --------------------------------------------------------------------------------------------------*/
  103. /* naturally position events, vertically stacking them */
  104. .fc-time-grid .fc-event {
  105. position: static !important;
  106. margin: 3px 2px !important; }
  107. /* for events that continue to a future day, give the bottom border back */
  108. .fc-time-grid .fc-event.fc-not-end {
  109. border-bottom-width: 1px !important; }
  110. /* indicate the event continues via "..." text */
  111. .fc-time-grid .fc-event.fc-not-end:after {
  112. content: "..."; }
  113. /* for events that are continuations from previous days, give the top border back */
  114. .fc-time-grid .fc-event.fc-not-start {
  115. border-top-width: 1px !important; }
  116. /* indicate the event is a continuation via "..." text */
  117. .fc-time-grid .fc-event.fc-not-start:before {
  118. content: "..."; }
  119. /* time */
  120. /* undo a previous declaration and let the time text span to a second line */
  121. .fc-time-grid .fc-event .fc-time {
  122. white-space: normal !important; }
  123. /* hide the the time that is normally displayed... */
  124. .fc-time-grid .fc-event .fc-time span {
  125. display: none; }
  126. /* ...replace it with a more verbose version (includes AM/PM) stored in an html attribute */
  127. .fc-time-grid .fc-event .fc-time:after {
  128. content: attr(data-full); }
  129. /* Vertical Scroller & Containers
  130. --------------------------------------------------------------------------------------------------*/
  131. /* kill the scrollbars and allow natural height */
  132. .fc-scroller,
  133. .fc-day-grid-container,
  134. .fc-time-grid-container {
  135. /* */
  136. overflow: visible !important;
  137. height: auto !important; }
  138. /* kill the horizontal border/padding used to compensate for scrollbars */
  139. .fc-row {
  140. border: 0 !important;
  141. margin: 0 !important; }
  142. /* Button Controls
  143. --------------------------------------------------------------------------------------------------*/
  144. .fc-button-group,
  145. .fc button {
  146. display: none;
  147. /* don't display any button-related controls */ }