07e6cff64258b20568972cc7e96565a1e95261c3.svn-base 5.4 KB

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