Theme Inspinia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fullcalendar.print.css 5.3KB

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