main.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. /* Scroller
  2. --------------------------------------------------------------------------------------------------*/
  3. .fc-scroller-clip {
  4. overflow: hidden;
  5. /* for clipping scrollbars */
  6. position: relative;
  7. /* so things like scrollfollowers can attach to this */
  8. }
  9. /* supresses rendering of native scrollbars */
  10. /* on .fc-scroller */
  11. .fc-no-scrollbars {
  12. background: rgba(255, 255, 255, 0);
  13. /* hack for dynamic DOM nodes (in Chrome OSX at least) */
  14. }
  15. .fc-no-scrollbars::-webkit-scrollbar {
  16. width: 0;
  17. height: 0;
  18. }
  19. .fc-scroller-canvas {
  20. position: relative;
  21. /* origin for bg */
  22. box-sizing: border-box;
  23. /* so that padding (for gutter) will be part of height */
  24. min-height: 100%;
  25. }
  26. .fc-scroller-canvas > .fc-bg {
  27. z-index: 1;
  28. /* make default? */
  29. }
  30. .fc-scroller-canvas > .fc-content {
  31. z-index: 2;
  32. /* make default? */
  33. position: relative;
  34. /* origin for inner content */
  35. border-style: solid;
  36. border-width: 0;
  37. }
  38. .fc-scroller-canvas.fc-gutter-left > .fc-content {
  39. border-left-width: 1px;
  40. margin-left: -1px;
  41. }
  42. .fc-scroller-canvas.fc-gutter-right > .fc-content {
  43. border-right-width: 1px;
  44. margin-right: -1px;
  45. }
  46. .fc-scroller-canvas.fc-gutter-top > .fc-content {
  47. border-top-width: 1px;
  48. margin-top: -1px;
  49. }
  50. /* content is responsible for bottom border */
  51. /* View Structure
  52. --------------------------------------------------------------------------------------------------*/
  53. .fc-rtl .fc-timeline {
  54. direction: rtl;
  55. }
  56. .fc-scrolled .fc-head .fc-scroller {
  57. z-index: 2;
  58. /* so drop shadow will go above body panes */
  59. }
  60. .fc-timeline.fc-scrolled .fc-head .fc-scroller {
  61. box-shadow: 0 3px 4px rgba(0, 0, 0, 0.075);
  62. }
  63. .fc-timeline .fc-body .fc-scroller {
  64. z-index: 1;
  65. }
  66. /*
  67. on most tables that expand to the edges, kill the outer border,
  68. because the container elements take care of it.
  69. example tables:
  70. .fc-scroller-canvas .fc-content table
  71. .fc-scroller-canvas .fc-bg .fc-slats table
  72. */
  73. .fc-timeline .fc-scroller-canvas > div > table,
  74. .fc-timeline .fc-scroller-canvas > div > div > table {
  75. border-style: hidden;
  76. }
  77. /*
  78. for resource rows (in both the spreadsheet and timeline areas),
  79. undo previous rule in order to always show last border.
  80. */
  81. .fc-timeline .fc-scroller-canvas > .fc-content > .fc-rows > table {
  82. border-bottom-style: none;
  83. }
  84. /* Table Cell Common
  85. --------------------------------------------------------------------------------------------------*/
  86. .fc-timeline th,
  87. .fc-timeline td {
  88. white-space: nowrap;
  89. }
  90. .fc-timeline .fc-cell-content {
  91. overflow: hidden;
  92. }
  93. .fc-timeline .fc-cell-text {
  94. display: inline-block;
  95. padding-left: 4px;
  96. padding-right: 4px;
  97. }
  98. /*
  99. Cells at the start of a week
  100. TODO: figure out better styling
  101. .fc-ltr .fc-timeline .fc-em-cell div {
  102. border-left: 3px solid #eee;
  103. height: 100%;
  104. }
  105. .fc-rtl .fc-timeline .fc-em-cell {
  106. border-right-width: 3px;
  107. }
  108. */
  109. /* head */
  110. .fc-timeline th {
  111. vertical-align: middle;
  112. }
  113. .fc-timeline .fc-head .fc-cell-content {
  114. padding-top: 3px;
  115. padding-bottom: 3px;
  116. }
  117. .fc-timeline .fc-head .fc-time-area .fc-cell-content {
  118. overflow: visible;
  119. }
  120. /* Time Area
  121. --------------------------------------------------------------------------------------------------*/
  122. .fc-time-area col {
  123. min-width: 2.2em;
  124. /* detected by JS */
  125. }
  126. /* head */
  127. .fc-ltr .fc-time-area .fc-chrono th {
  128. text-align: left;
  129. }
  130. .fc-rtl .fc-time-area .fc-chrono th {
  131. text-align: right;
  132. }
  133. /* body slats (vertical lines) */
  134. .fc-time-area .fc-slats {
  135. /* fc-bg is responsible for a lot of this now! */
  136. position: absolute;
  137. z-index: 1;
  138. top: 0;
  139. left: 0;
  140. right: 0;
  141. bottom: 0;
  142. }
  143. .fc-time-area .fc-slats table {
  144. height: 100%;
  145. }
  146. .fc-time-area .fc-slats .fc-minor {
  147. border-style: dotted;
  148. }
  149. .fc-time-area .fc-slats td {
  150. border-width: 0 1px;
  151. /* need to do this. sometimes -1 margin wouldn't hide the dotted */
  152. }
  153. .fc-ltr .fc-time-area .fc-slats td {
  154. border-right-width: 0;
  155. }
  156. .fc-rtl .fc-time-area .fc-slats td {
  157. border-left-width: 0;
  158. }
  159. /* body content containers
  160. can be within rows or directly within the pane's content
  161. */
  162. .fc-time-area .fc-bgevent-container,
  163. .fc-time-area .fc-highlight-container {
  164. position: absolute;
  165. z-index: 2;
  166. /* only for directly within pane. not for row. overridden later */
  167. top: 0;
  168. bottom: 0;
  169. width: 0;
  170. }
  171. .fc-ltr .fc-time-area .fc-mirror-container,
  172. .fc-ltr .fc-time-area .fc-bgevent-container,
  173. .fc-ltr .fc-time-area .fc-highlight-container {
  174. left: 0;
  175. }
  176. .fc-rtl .fc-time-area .fc-mirror-container,
  177. .fc-rtl .fc-time-area .fc-bgevent-container,
  178. .fc-rtl .fc-time-area .fc-highlight-container {
  179. right: 0;
  180. }
  181. .fc-time-area .fc-bgevent,
  182. .fc-time-area .fc-highlight {
  183. position: absolute;
  184. top: 0;
  185. bottom: 0;
  186. }
  187. /* Now Indicator
  188. --------------------------------------------------------------------------------------------------*/
  189. .fc-timeline .fc-now-indicator {
  190. /* both the arrow and the line */
  191. z-index: 3;
  192. /* one above scroller's fc-content */
  193. top: 0;
  194. }
  195. .fc-time-area .fc-now-indicator-arrow {
  196. margin: 0 -6px;
  197. /* 5, then one more to counteract scroller's negative margins */
  198. /* triangle pointing down... */
  199. border-width: 6px 5px 0 5px;
  200. border-left-color: transparent;
  201. border-right-color: transparent;
  202. }
  203. .fc-time-area .fc-now-indicator-line {
  204. margin: 0 -1px;
  205. /* counteract scroller's negative margins */
  206. bottom: 0;
  207. border-left-width: 1px;
  208. }
  209. /* Event Container
  210. --------------------------------------------------------------------------------------------------*/
  211. .fc-time-area .fc-event-container {
  212. position: relative;
  213. z-index: 2;
  214. /* above bgevent and highlight */
  215. width: 0;
  216. /* for event positioning. will end up on correct side based on dir */
  217. }
  218. .fc-time-area .fc-mirror-container {
  219. /* also an fc-event-container */
  220. position: absolute;
  221. z-index: 3;
  222. top: 0;
  223. }
  224. .fc-time-area .fc-event-container {
  225. padding-bottom: 8px;
  226. top: -1px;
  227. }
  228. .fc-time-area tr:first-child .fc-event-container {
  229. top: 0;
  230. }
  231. .fc-no-overlap .fc-time-area .fc-event-container {
  232. padding-bottom: 0;
  233. top: 0;
  234. }
  235. /* Time Grid Events
  236. --------------------------------------------------------------------------------------------------*/
  237. .fc-timeline-event {
  238. position: absolute;
  239. display: flex;
  240. border-radius: 0;
  241. padding: 2px 1px;
  242. margin-bottom: 1px;
  243. }
  244. .fc-no-overlap .fc-timeline-event {
  245. padding-top: 5px;
  246. padding-bottom: 5px;
  247. margin-bottom: 0;
  248. }
  249. .fc-ltr .fc-timeline-event {
  250. flex-direction: row;
  251. margin-right: 1px;
  252. }
  253. .fc-rtl .fc-timeline-event {
  254. margin-left: 1px;
  255. }
  256. .fc-timeline-event .fc-time-wrap {
  257. flex-shrink: 0;
  258. min-width: 0;
  259. }
  260. .fc-timeline-event .fc-title-wrap {
  261. flex-grow: 1;
  262. min-width: 0;
  263. }
  264. .fc-timeline-event .fc-time,
  265. .fc-timeline-event .fc-title {
  266. display: inline-block;
  267. vertical-align: top;
  268. max-width: 100%;
  269. padding: 0 2px;
  270. -webkit-box-sizing: border-box;
  271. -moz-box-sizing: border-box;
  272. box-sizing: border-box;
  273. white-space: nowrap;
  274. overflow: hidden;
  275. }
  276. .fc-timeline-event .fc-time {
  277. font-weight: bold;
  278. }
  279. .fc-timeline-event.fc-not-start:before,
  280. .fc-timeline-event.fc-not-end:after {
  281. content: "";
  282. align-self: center;
  283. width: 0;
  284. height: 0;
  285. margin: 0 1px;
  286. border: 5px solid #000;
  287. border-top-color: transparent;
  288. border-bottom-color: transparent;
  289. opacity: 0.5;
  290. }
  291. .fc-ltr .fc-timeline-event.fc-not-start:before,
  292. .fc-rtl .fc-timeline-event.fc-not-end:after {
  293. border-left: 0;
  294. }
  295. .fc-ltr .fc-timeline-event.fc-not-end:after,
  296. .fc-rtl .fc-timeline-event.fc-not-start:before {
  297. border-right: 0;
  298. }