calendar.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. /* Full Calendar */
  2. .fc {
  3. text-align: left;
  4. direction: ltr;
  5. }
  6. .fc table {
  7. border-spacing: 0;
  8. border-collapse: collapse;
  9. }
  10. .fc td,
  11. .fc th {
  12. padding: 0;
  13. vertical-align: top;
  14. }
  15. /* Header
  16. ------------------------------------------------------------------------*/
  17. .fc-header td {
  18. white-space: nowrap;
  19. }
  20. .fc-header-left {
  21. width: 25%;
  22. text-align: left;
  23. }
  24. .fc-header-center {
  25. text-align: center;
  26. }
  27. .fc-header-right {
  28. width: 25%;
  29. text-align: right;
  30. }
  31. .fc-header-title {
  32. display: inline-block;
  33. vertical-align: top;
  34. }
  35. .fc-header-title h2 {
  36. font-size: 20px;
  37. margin-top: 7px;
  38. white-space: nowrap;
  39. }
  40. .fc .fc-header-space {
  41. padding-left: 10px;
  42. }
  43. .fc-header .fc-button {
  44. margin-bottom: 1em;
  45. vertical-align: top;
  46. }
  47. .fc-header .fc-button {
  48. margin-right: -1px;
  49. }
  50. .fc-header .fc-corner-right,
  51. .fc-header .ui-corner-right {
  52. margin-right: 0;
  53. }
  54. .fc-header .fc-state-hover,
  55. .fc-header .ui-state-hover {
  56. z-index: 2;
  57. }
  58. .fc-header .fc-state-down {
  59. z-index: 3;
  60. }
  61. .fc-header .fc-state-active,
  62. .fc-header .ui-state-active {
  63. z-index: 4;
  64. }
  65. .fc-content {
  66. position: relative;
  67. z-index: 1;
  68. clear: both;
  69. zoom: 1;
  70. }
  71. .fc-view {
  72. position: relative;
  73. overflow: hidden;
  74. width: 100%;
  75. }
  76. .fc-widget-header,
  77. .fc-widget-content {
  78. border-width: 1px;
  79. border-style: solid;
  80. }
  81. .fc-state-highlight {
  82. background: #fcf8e3;
  83. }
  84. .fc-cell-overlay {
  85. opacity: .3;
  86. background: #bce8f1;
  87. filter: alpha(opacity=30);
  88. }
  89. .fc-icon-left-single-arrow:after {
  90. content: '\f104';
  91. }
  92. .fc-icon-right-single-arrow:after {
  93. content: '\f105';
  94. }
  95. .fc-icon-left-double-arrow:after {
  96. content: '\f100';
  97. }
  98. .fc-icon-right-double-arrow:after {
  99. content: '\f101';
  100. }
  101. /* icon (for jquery ui) */
  102. .fc-button .ui-icon {
  103. position: relative;
  104. top: 50%;
  105. float: left;
  106. margin-top: -8px;
  107. }
  108. /* Global Event Styles
  109. ------------------------------------------------------------------------*/
  110. .fc-event-container > * {
  111. z-index: 8;
  112. }
  113. .fc-event-container > .ui-draggable-dragging,
  114. .fc-event-container > .ui-resizable-resizing {
  115. z-index: 9;
  116. }
  117. .fc-event {
  118. font-size: 11px;
  119. padding: 3px;
  120. cursor: default;
  121. }
  122. a.fc-event {
  123. text-decoration: none;
  124. }
  125. a.fc-event,
  126. .fc-event-draggable {
  127. cursor: pointer;
  128. }
  129. .fc-rtl .fc-event {
  130. text-align: right;
  131. }
  132. .fc-event-inner {
  133. overflow: hidden;
  134. width: 100%;
  135. height: 100%;
  136. }
  137. .fc-event-time,
  138. .fc-event-title {
  139. padding: 0 1px;
  140. }
  141. .fc .ui-resizable-handle {
  142. font-size: 300%;
  143. /* */
  144. line-height: 50%;
  145. /* */
  146. position: absolute;
  147. z-index: 99999;
  148. display: block;
  149. overflow: hidden;
  150. /* hacky spaces (IE6/7) */
  151. }
  152. .fc-event-hori {
  153. margin-bottom: 1px;
  154. border-width: 1px 0;
  155. }
  156. .fc-ltr .fc-event-hori.fc-event-start,
  157. .fc-rtl .fc-event-hori.fc-event-end {
  158. border-left-width: 1px;
  159. border-top-left-radius: 3px;
  160. border-bottom-left-radius: 3px;
  161. }
  162. .fc-ltr .fc-event-hori.fc-event-end,
  163. .fc-rtl .fc-event-hori.fc-event-start {
  164. border-right-width: 1px;
  165. border-top-right-radius: 3px;
  166. border-bottom-right-radius: 3px;
  167. }
  168. /* resizable */
  169. .fc-event-hori .ui-resizable-e {
  170. top: 0 !important;
  171. right: -3px !important;
  172. width: 7px !important;
  173. height: 100% !important;
  174. cursor: e-resize;
  175. }
  176. .fc-event-hori .ui-resizable-w {
  177. top: 0 !important;
  178. left: -3px !important;
  179. width: 7px !important;
  180. height: 100% !important;
  181. cursor: w-resize;
  182. }
  183. /* Reusable Separate-border Table
  184. ------------------------------------------------------------*/
  185. table.fc-border-separate {
  186. border-collapse: separate;
  187. }
  188. .fc-border-separate th,
  189. .fc-border-separate td {
  190. border-width: 1px 0 0 1px;
  191. }
  192. .fc-border-separate th.fc-last,
  193. .fc-border-separate td.fc-last {
  194. border-right-width: 1px;
  195. }
  196. .fc-border-separate tr.fc-last th,
  197. .fc-border-separate tr.fc-last td {
  198. border-bottom-width: 1px;
  199. }
  200. .fc-border-separate tbody tr.fc-first td,
  201. .fc-border-separate tbody tr.fc-first th {
  202. border-top-width: 0;
  203. }
  204. /* Month View, Basic Week View, Basic Day View
  205. ------------------------------------------------------------------------*/
  206. .fc-grid th {
  207. text-align: center;
  208. }
  209. .fc .fc-week-number {
  210. width: 22px;
  211. text-align: center;
  212. }
  213. .fc .fc-week-number div {
  214. padding: 0 2px;
  215. }
  216. .fc-grid .fc-day-number {
  217. float: right;
  218. padding: 0 2px;
  219. }
  220. .fc-grid .fc-other-month .fc-day-number {
  221. opacity: .3;
  222. filter: alpha(opacity=30);
  223. }
  224. .fc-grid .fc-day-content {
  225. clear: both;
  226. padding: 2px 2px 1px;
  227. }
  228. .fc-grid .fc-event-time {
  229. font-weight: bold;
  230. }
  231. .fc-rtl .fc-grid .fc-day-number {
  232. float: left;
  233. }
  234. .fc-rtl .fc-grid .fc-event-time {
  235. float: right;
  236. }
  237. .fc-agenda table {
  238. border-collapse: separate;
  239. }
  240. .fc-agenda-days th {
  241. text-align: center;
  242. }
  243. .fc-agenda .fc-agenda-axis {
  244. font-weight: normal;
  245. width: 50px;
  246. padding: 0 3px;
  247. text-align: right;
  248. vertical-align: middle;
  249. }
  250. .fc-agenda-slots .fc-agenda-axis {
  251. white-space: nowrap;
  252. }
  253. .fc-agenda .fc-week-number {
  254. font-weight: bold;
  255. }
  256. .fc-agenda .fc-day-content {
  257. padding: 2px 2px 1px;
  258. }
  259. .fc-agenda-days .fc-agenda-axis {
  260. border-right-width: 1px;
  261. }
  262. .fc-agenda-days .fc-col0 {
  263. border-left-width: 0;
  264. }
  265. /* all-day area */
  266. .fc-agenda-allday th {
  267. border-width: 0 1px;
  268. }
  269. .fc-agenda-allday .fc-day-content {
  270. min-height: 33px;
  271. }
  272. .fc-agenda-divider-inner {
  273. overflow: hidden;
  274. height: 2px;
  275. }
  276. .fc-widget-header .fc-agenda-divider-inner {
  277. background: #eee;
  278. }
  279. .fc-agenda-slots th {
  280. border-width: 1px 1px 0;
  281. }
  282. .fc-agenda-slots td {
  283. border-width: 1px 0 0;
  284. background: none;
  285. }
  286. .fc-agenda-slots td div {
  287. height: 20px;
  288. }
  289. .fc-agenda-slots tr.fc-slot0 th,
  290. .fc-agenda-slots tr.fc-slot0 td {
  291. border-top-width: 0;
  292. }
  293. .fc-agenda-slots tr.fc-minor th,
  294. .fc-agenda-slots tr.fc-minor td {
  295. border-top-style: dotted;
  296. }
  297. .fc-event-vert {
  298. border-width: 0 1px;
  299. }
  300. .fc-event-vert.fc-event-start {
  301. border-top-width: 1px;
  302. border-top-left-radius: 3px;
  303. border-top-right-radius: 3px;
  304. }
  305. .fc-event-vert.fc-event-end {
  306. border-bottom-width: 1px;
  307. border-bottom-right-radius: 3px;
  308. border-bottom-left-radius: 3px;
  309. }
  310. .fc-event-vert .fc-event-time {
  311. font-size: 10px;
  312. white-space: nowrap;
  313. }
  314. .fc-event-vert .fc-event-inner {
  315. position: relative;
  316. z-index: 2;
  317. }
  318. .fc-event-vert .fc-event-bg {
  319. position: absolute;
  320. z-index: 1;
  321. top: 0;
  322. left: 0;
  323. width: 100%;
  324. height: 100%;
  325. opacity: .25;
  326. background: #fff;
  327. filter: alpha(opacity=25);
  328. }
  329. .fc-event-vert .ui-resizable-s {
  330. font-family: monospace;
  331. font-size: 11px !important;
  332. line-height: 8px !important;
  333. bottom: 0 !important;
  334. overflow: hidden !important;
  335. width: 100% !important;
  336. height: 8px !important;
  337. cursor: s-resize;
  338. text-align: center;
  339. }