fullcalendar-timegrid.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. @charset "UTF-8";
  2. /* TimeGridView all-day area
  3. --------------------------------------------------------------------------------------------------*/
  4. .fc-timeGrid-view .fc-day-grid {
  5. position: relative;
  6. z-index: 2;
  7. /* so the "more.." popover will be over the time grid */
  8. }
  9. .fc-timeGrid-view .fc-day-grid .fc-row {
  10. min-height: 3em;
  11. /* all-day section will never get shorter than this */
  12. }
  13. .fc-timeGrid-view .fc-day-grid .fc-row .fc-content-skeleton {
  14. padding-bottom: 1em;
  15. /* give space underneath events for clicking/selecting days */
  16. }
  17. /* TimeGrid axis running down the side (for both the all-day area and the slot area)
  18. --------------------------------------------------------------------------------------------------*/
  19. .fc .fc-axis {
  20. /* .fc to overcome default cell styles */
  21. vertical-align: middle;
  22. padding: 0 4px;
  23. white-space: nowrap;
  24. }
  25. .fc-ltr .fc-axis {
  26. text-align: right;
  27. }
  28. .fc-rtl .fc-axis {
  29. text-align: left;
  30. }
  31. /* TimeGrid Structure
  32. --------------------------------------------------------------------------------------------------*/
  33. .fc-time-grid-container,
  34. .fc-time-grid {
  35. /* so slats/bg/content/etc positions get scoped within here */
  36. position: relative;
  37. z-index: 1;
  38. }
  39. .fc-time-grid {
  40. min-height: 100%;
  41. /* so if height setting is 'auto', .fc-bg stretches to fill height */
  42. }
  43. .fc-time-grid table {
  44. /* don't put outer borders on slats/bg/content/etc */
  45. border: 0 hidden transparent;
  46. }
  47. .fc-time-grid > .fc-bg {
  48. z-index: 1;
  49. }
  50. .fc-time-grid .fc-slats,
  51. .fc-time-grid > hr {
  52. /* the <hr> TimeGridView injects when grid is shorter than scroller */
  53. position: relative;
  54. z-index: 2;
  55. }
  56. .fc-time-grid .fc-content-col {
  57. position: relative;
  58. /* because now-indicator lives directly inside */
  59. }
  60. .fc-time-grid .fc-content-skeleton {
  61. position: absolute;
  62. z-index: 3;
  63. top: 0;
  64. left: 0;
  65. right: 0;
  66. }
  67. /* divs within a cell within the fc-content-skeleton */
  68. .fc-time-grid .fc-business-container {
  69. position: relative;
  70. z-index: 1;
  71. }
  72. .fc-time-grid .fc-bgevent-container {
  73. position: relative;
  74. z-index: 2;
  75. }
  76. .fc-time-grid .fc-highlight-container {
  77. position: relative;
  78. z-index: 3;
  79. }
  80. .fc-time-grid .fc-event-container {
  81. position: relative;
  82. z-index: 4;
  83. }
  84. .fc-time-grid .fc-now-indicator-line {
  85. z-index: 5;
  86. }
  87. .fc-time-grid .fc-mirror-container {
  88. /* also is fc-event-container */
  89. position: relative;
  90. z-index: 6;
  91. }
  92. /* TimeGrid Slats (lines that run horizontally)
  93. --------------------------------------------------------------------------------------------------*/
  94. .fc-time-grid .fc-slats td {
  95. height: 1.5em;
  96. border-bottom: 0;
  97. /* each cell is responsible for its top border */
  98. }
  99. .fc-time-grid .fc-slats .fc-minor td {
  100. border-top-style: dotted;
  101. }
  102. /* TimeGrid Highlighting Slots
  103. --------------------------------------------------------------------------------------------------*/
  104. .fc-time-grid .fc-highlight-container {
  105. /* a div within a cell within the fc-highlight-skeleton */
  106. position: relative;
  107. /* scopes the left/right of the fc-highlight to be in the column */
  108. }
  109. .fc-time-grid .fc-highlight {
  110. position: absolute;
  111. left: 0;
  112. right: 0;
  113. /* top and bottom will be in by JS */
  114. }
  115. /* TimeGrid Event Containment
  116. --------------------------------------------------------------------------------------------------*/
  117. .fc-ltr .fc-time-grid .fc-event-container {
  118. /* space on the sides of events for LTR (default) */
  119. margin: 0 2.5% 0 2px;
  120. }
  121. .fc-rtl .fc-time-grid .fc-event-container {
  122. /* space on the sides of events for RTL */
  123. margin: 0 2px 0 2.5%;
  124. }
  125. .fc-time-grid .fc-event,
  126. .fc-time-grid .fc-bgevent {
  127. position: absolute;
  128. z-index: 1;
  129. /* scope inner z-index's */
  130. }
  131. .fc-time-grid .fc-bgevent {
  132. /* background events always span full width */
  133. left: 0;
  134. right: 0;
  135. }
  136. /* TimeGrid Event Styling
  137. ----------------------------------------------------------------------------------------------------
  138. We use the full "fc-time-grid-event" class instead of using descendants because the event won't
  139. be a descendant of the grid when it is being dragged.
  140. */
  141. .fc-time-grid-event {
  142. margin-bottom: 1px;
  143. }
  144. .fc-time-grid-event-inset {
  145. -webkit-box-shadow: 0px 0px 0px 1px #fff;
  146. box-shadow: 0px 0px 0px 1px #fff;
  147. }
  148. .fc-time-grid-event.fc-not-start {
  149. /* events that are continuing from another day */
  150. /* replace space made by the top border with padding */
  151. border-top-width: 0;
  152. padding-top: 1px;
  153. /* remove top rounded corners */
  154. border-top-left-radius: 0;
  155. border-top-right-radius: 0;
  156. }
  157. .fc-time-grid-event.fc-not-end {
  158. /* replace space made by the top border with padding */
  159. border-bottom-width: 0;
  160. padding-bottom: 1px;
  161. /* remove bottom rounded corners */
  162. border-bottom-left-radius: 0;
  163. border-bottom-right-radius: 0;
  164. }
  165. .fc-time-grid-event .fc-content {
  166. overflow: hidden;
  167. max-height: 100%;
  168. }
  169. .fc-time-grid-event .fc-time,
  170. .fc-time-grid-event .fc-title {
  171. padding: 0 1px;
  172. }
  173. .fc-time-grid-event .fc-time {
  174. font-size: 0.85em;
  175. white-space: nowrap;
  176. }
  177. /* short mode, where time and title are on the same line */
  178. .fc-time-grid-event.fc-short .fc-content {
  179. /* don't wrap to second line (now that contents will be inline) */
  180. white-space: nowrap;
  181. }
  182. .fc-time-grid-event.fc-short .fc-time,
  183. .fc-time-grid-event.fc-short .fc-title {
  184. /* put the time and title on the same line */
  185. display: inline-block;
  186. vertical-align: top;
  187. }
  188. .fc-time-grid-event.fc-short .fc-time span {
  189. display: none;
  190. /* don't display the full time text... */
  191. }
  192. .fc-time-grid-event.fc-short .fc-time:before {
  193. content: attr(data-start);
  194. /* ...instead, display only the start time */
  195. }
  196. .fc-time-grid-event.fc-short .fc-time:after {
  197. content: " - ";
  198. /* seperate with a dash, wrapped in nbsp's */
  199. }
  200. .fc-time-grid-event.fc-short .fc-title {
  201. font-size: 0.85em;
  202. /* make the title text the same size as the time */
  203. padding: 0;
  204. /* undo padding from above */
  205. }
  206. /* resizer (cursor device) */
  207. .fc-time-grid-event.fc-allow-mouse-resize .fc-resizer {
  208. left: 0;
  209. right: 0;
  210. bottom: 0;
  211. height: 8px;
  212. overflow: hidden;
  213. line-height: 8px;
  214. font-size: 11px;
  215. font-family: monospace;
  216. text-align: center;
  217. cursor: s-resize;
  218. }
  219. .fc-time-grid-event.fc-allow-mouse-resize .fc-resizer:after {
  220. content: "=";
  221. }
  222. /* resizer (touch device) */
  223. .fc-time-grid-event.fc-selected .fc-resizer {
  224. /* 10x10 dot */
  225. border-radius: 5px;
  226. border-width: 1px;
  227. width: 8px;
  228. height: 8px;
  229. border-style: solid;
  230. border-color: inherit;
  231. background: #fff;
  232. /* horizontally center */
  233. left: 50%;
  234. margin-left: -5px;
  235. /* center on the bottom edge */
  236. bottom: -5px;
  237. }
  238. /* Now Indicator
  239. --------------------------------------------------------------------------------------------------*/
  240. .fc-time-grid .fc-now-indicator-line {
  241. border-top-width: 1px;
  242. left: 0;
  243. right: 0;
  244. }
  245. /* arrow on axis */
  246. .fc-time-grid .fc-now-indicator-arrow {
  247. margin-top: -5px;
  248. /* vertically center on top coordinate */
  249. }
  250. .fc-ltr .fc-time-grid .fc-now-indicator-arrow {
  251. left: 0;
  252. /* triangle pointing right... */
  253. border-width: 5px 0 5px 6px;
  254. border-top-color: transparent;
  255. border-bottom-color: transparent;
  256. }
  257. .fc-rtl .fc-time-grid .fc-now-indicator-arrow {
  258. right: 0;
  259. /* triangle pointing left... */
  260. border-width: 5px 6px 5px 0;
  261. border-top-color: transparent;
  262. border-bottom-color: transparent;
  263. }