fullcalendar.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  1. /*!
  2. * FullCalendar v1.6.4 Stylesheet
  3. * Docs & License: http://arshaw.com/fullcalendar/
  4. * (c) 2013 Adam Shaw
  5. */
  6. .fc {
  7. direction: ltr;
  8. text-align: left;
  9. margin-bottom: 20px;
  10. }
  11. .fc table {
  12. border-collapse: collapse;
  13. border-spacing: 0;
  14. }
  15. html .fc,
  16. .fc table {
  17. font-size: 1em;
  18. }
  19. .fc td,
  20. .fc th {
  21. padding: 0;
  22. vertical-align: top;
  23. }
  24. /* Header
  25. ------------------------------------------------------------------------*/
  26. .fc-header td {
  27. white-space: nowrap;
  28. }
  29. .fc-header-left {
  30. width: 25%;
  31. text-align: left;
  32. }
  33. .fc-header-center {
  34. text-align: center;
  35. }
  36. .fc-header-right {
  37. width: 25%;
  38. text-align: right;
  39. }
  40. .fc-header-title {
  41. display: inline-block;
  42. vertical-align: top;
  43. }
  44. .fc-header-title h2{margin-top: 0;white-space: nowrap; font-size: 12px; text-transform: uppercase; line-height: 25px; font-weight: bold;}
  45. .fc .fc-header-space {
  46. padding-left: 10px;
  47. }
  48. .fc-header .fc-button {
  49. margin-bottom: 1em;
  50. vertical-align: top;
  51. }
  52. /* buttons edges butting together */
  53. .fc-header .fc-button {
  54. margin-right: -1px;
  55. }
  56. .fc-header .fc-corner-right, /* non-theme */
  57. .fc-header .ui-corner-right { /* theme */
  58. margin-right: 0; /* back to normal */
  59. }
  60. /* button layering (for border precedence) */
  61. .fc-header .fc-state-hover,
  62. .fc-header .ui-state-hover {
  63. z-index: 2;
  64. }
  65. .fc-header .fc-state-down {
  66. z-index: 3;
  67. }
  68. .fc-header .fc-state-active,
  69. .fc-header .ui-state-active {
  70. z-index: 4;
  71. }
  72. /* Content
  73. ------------------------------------------------------------------------*/
  74. .fc-content {
  75. clear: both;
  76. zoom: 1; /* for IE7, gives accurate coordinates for [un]freezeContentHeight */
  77. }
  78. .fc-view {
  79. width: 100%;
  80. overflow: hidden;
  81. }
  82. /* Cell Styles
  83. ------------------------------------------------------------------------*/
  84. .fc-widget-header,
  85. .fc-widget-content {background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.5);}
  86. .fc-state-highlight{background: rgba(0,0,0,0.5);}
  87. .fc-cell-overlay{background: #bce8f1;opacity: .3;filter: alpha(opacity=30);}
  88. /* Buttons
  89. ------------------------------------------------------------------------*/
  90. .fc-button {
  91. position: relative;
  92. display: inline-block;
  93. padding: 0 .6em;
  94. overflow: hidden;
  95. height: 1.9em;
  96. line-height: 1.9em;
  97. white-space: nowrap;
  98. cursor: pointer;
  99. }
  100. .fc-state-default { /* non-theme */
  101. border: 1px solid;
  102. }
  103. .fc-state-default.fc-corner-left { /* non-theme */
  104. border-top-left-radius: 4px;
  105. border-bottom-left-radius: 4px;
  106. }
  107. .fc-state-default.fc-corner-right { /* non-theme */
  108. border-top-right-radius: 4px;
  109. border-bottom-right-radius: 4px;
  110. }
  111. /*
  112. Our default prev/next buttons use HTML entities like ‹ › « »
  113. and we'll try to make them look good cross-browser.
  114. */
  115. .fc-text-arrow {
  116. margin: 0 10px;
  117. font-size: 1.5em;
  118. font-family: "Courier New", Courier, monospace;
  119. vertical-align: baseline; /* for IE7 */
  120. line-height: 0px;
  121. }
  122. .fc-button-prev .fc-text-arrow,
  123. .fc-button-next .fc-text-arrow { /* for ‹ › */
  124. font-weight: bold;
  125. }
  126. /* icon (for jquery ui) */
  127. .fc-button .fc-icon-wrap {
  128. position: relative;
  129. float: left;
  130. top: 50%;
  131. }
  132. .fc-button .ui-icon {
  133. position: relative;
  134. float: left;
  135. margin-top: -50%;
  136. *margin-top: 0;
  137. *top: -50%;
  138. }
  139. /*
  140. button states
  141. borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
  142. */
  143. .fc-state-default {
  144. background: transparent;
  145. background-repeat: repeat-x;
  146. border-color: #FFF;
  147. color: #FFF;
  148. text-shadow: 0 1px 1px rgba(0, 0, 0, 0.75);
  149. }
  150. .fc-state-hover,
  151. .fc-state-down,
  152. .fc-state-active,
  153. .fc-state-disabled {color: #DDD;}
  154. .fc-state-hover {
  155. color: #FFF;
  156. text-decoration: none;
  157. background: rgba(0,0,0,0.2);
  158. }
  159. .fc-state-down,
  160. .fc-state-active {
  161. background: rgba(0,0,0,0.2);
  162. outline: 0;
  163. }
  164. .fc-state-disabled {
  165. cursor: default;
  166. background-image: none;
  167. opacity: 0.65;
  168. filter: alpha(opacity=65);
  169. box-shadow: none;
  170. }
  171. /* Global Event Styles
  172. ------------------------------------------------------------------------*/
  173. .fc-event-container > * {
  174. z-index: 8;
  175. }
  176. .fc-event-container > .ui-draggable-dragging,
  177. .fc-event-container > .ui-resizable-resizing {
  178. z-index: 9;
  179. }
  180. .fc-event{background-color: rgba(0,0,0,0.5);padding: 5px;color: #fff;font-size: 11px;cursor: default;}
  181. a.fc-event {
  182. text-decoration: none;
  183. }
  184. a.fc-event,
  185. .fc-event-draggable {
  186. cursor: pointer;
  187. }
  188. .fc-rtl .fc-event {
  189. text-align: right;
  190. }
  191. .fc-event-inner {
  192. width: 100%;
  193. height: 100%;
  194. overflow: hidden;
  195. }
  196. .fc-event-time,
  197. .fc-event-title {
  198. padding: 0 1px;
  199. }
  200. .fc .ui-resizable-handle {
  201. display: block;
  202. position: absolute;
  203. z-index: 99999;
  204. overflow: hidden; /* hacky spaces (IE6/7) */
  205. font-size: 300%; /* */
  206. line-height: 50%; /* */
  207. }
  208. /* Horizontal Events
  209. ------------------------------------------------------------------------*/
  210. .fc-event-hori {
  211. border-width: 1px 0;
  212. margin-bottom: 1px;
  213. }
  214. .fc-ltr .fc-event-hori.fc-event-start,
  215. .fc-rtl .fc-event-hori.fc-event-end {
  216. border-left-width: 1px;
  217. border-top-left-radius: 3px;
  218. border-bottom-left-radius: 3px;
  219. }
  220. .fc-ltr .fc-event-hori.fc-event-end,
  221. .fc-rtl .fc-event-hori.fc-event-start {
  222. border-right-width: 1px;
  223. border-top-right-radius: 3px;
  224. border-bottom-right-radius: 3px;
  225. }
  226. /* resizable */
  227. .fc-event-hori .ui-resizable-e {
  228. top: 0 !important; /* importants override pre jquery ui 1.7 styles */
  229. right: -3px !important;
  230. width: 7px !important;
  231. height: 100% !important;
  232. cursor: e-resize;
  233. }
  234. .fc-event-hori .ui-resizable-w {
  235. top: 0 !important;
  236. left: -3px !important;
  237. width: 7px !important;
  238. height: 100% !important;
  239. cursor: w-resize;
  240. }
  241. .fc-event-hori .ui-resizable-handle {
  242. _padding-bottom: 14px; /* IE6 had 0 height */
  243. }
  244. /* Reusable Separate-border Table
  245. ------------------------------------------------------------*/
  246. table.fc-border-separate {
  247. border-collapse: separate;
  248. }
  249. .fc-border-separate th,
  250. .fc-border-separate td {
  251. border-width: 1px 0 0 1px;
  252. }
  253. .fc-border-separate th.fc-last,
  254. .fc-border-separate td.fc-last {
  255. border-right-width: 1px;
  256. }
  257. .fc-border-separate tr.fc-last th,
  258. .fc-border-separate tr.fc-last td {
  259. border-bottom-width: 1px;
  260. }
  261. .fc-border-separate tbody tr.fc-first td,
  262. .fc-border-separate tbody tr.fc-first th {
  263. border-top-width: 0;
  264. }
  265. /* Month View, Basic Week View, Basic Day View
  266. ------------------------------------------------------------------------*/
  267. .fc-grid th {
  268. text-align: center;
  269. }
  270. .fc .fc-week-number {
  271. width: 22px;
  272. text-align: center;
  273. }
  274. .fc .fc-week-number div {
  275. padding: 0 2px;
  276. }
  277. .fc-grid .fc-day-number {
  278. float: right;
  279. padding: 0 2px;
  280. }
  281. .fc-grid .fc-other-month .fc-day-number {
  282. opacity: 0.3;
  283. filter: alpha(opacity=30); /* for IE */
  284. /* opacity with small font can sometimes look too faded
  285. might want to set the 'color' property instead
  286. making day-numbers bold also fixes the problem */
  287. }
  288. .fc-grid .fc-day-content {
  289. clear: both;
  290. padding: 2px 2px 1px; /* distance between events and day edges */
  291. }
  292. /* event styles */
  293. .fc-grid .fc-event-time {
  294. font-weight: bold;
  295. }
  296. /* right-to-left */
  297. .fc-rtl .fc-grid .fc-day-number {
  298. float: left;
  299. }
  300. .fc-rtl .fc-grid .fc-event-time {
  301. float: right;
  302. }
  303. /* Agenda Week View, Agenda Day View
  304. ------------------------------------------------------------------------*/
  305. .fc-agenda table {
  306. border-collapse: separate;
  307. }
  308. .fc-agenda-days th {
  309. text-align: center;
  310. }
  311. .fc-agenda .fc-agenda-axis {
  312. width: 50px;
  313. padding: 0 4px;
  314. vertical-align: middle;
  315. text-align: right;
  316. white-space: nowrap;
  317. font-weight: normal;
  318. }
  319. .fc-agenda .fc-week-number {
  320. font-weight: bold;
  321. }
  322. .fc-agenda .fc-day-content {
  323. padding: 2px 2px 1px;
  324. }
  325. /* make axis border take precedence */
  326. .fc-agenda-days .fc-agenda-axis {
  327. border-right-width: 1px;
  328. }
  329. .fc-agenda-days .fc-col0 {
  330. border-left-width: 0;
  331. }
  332. /* all-day area */
  333. .fc-agenda-allday th {
  334. border-width: 0 1px;
  335. }
  336. .fc-agenda-allday .fc-day-content {
  337. min-height: 34px; /* TODO: doesnt work well in quirksmode */
  338. _height: 34px;
  339. }
  340. /* divider (between all-day and slots) */
  341. .fc-agenda-divider-inner {
  342. height: 2px;
  343. overflow: hidden;
  344. }
  345. .fc-widget-header .fc-agenda-divider-inner {
  346. background: #eee;
  347. }
  348. /* slot rows */
  349. .fc-agenda-slots th {
  350. border-width: 1px 1px 0;
  351. }
  352. .fc-agenda-slots td {
  353. border-width: 1px 0 0;
  354. background: none;
  355. }
  356. .fc-agenda-slots td div {
  357. height: 20px;
  358. }
  359. .fc-agenda-slots tr.fc-slot0 th,
  360. .fc-agenda-slots tr.fc-slot0 td {
  361. border-top-width: 0;
  362. }
  363. .fc-agenda-slots tr.fc-minor th,
  364. .fc-agenda-slots tr.fc-minor td {
  365. border-top-style: dotted;
  366. }
  367. .fc-agenda-slots tr.fc-minor th.ui-widget-header {
  368. *border-top-style: solid; /* doesn't work with background in IE6/7 */
  369. }
  370. /* Vertical Events
  371. ------------------------------------------------------------------------*/
  372. .fc-event-vert {
  373. border-width: 0 1px;
  374. }
  375. .fc-event-vert.fc-event-start {
  376. border-top-width: 1px;
  377. border-top-left-radius: 3px;
  378. border-top-right-radius: 3px;
  379. }
  380. .fc-event-vert.fc-event-end {
  381. border-bottom-width: 1px;
  382. border-bottom-left-radius: 3px;
  383. border-bottom-right-radius: 3px;
  384. }
  385. .fc-event-vert .fc-event-time {
  386. white-space: nowrap;
  387. font-size: 10px;
  388. }
  389. .fc-event-vert .fc-event-inner {
  390. position: relative;
  391. z-index: 2;
  392. }
  393. .fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
  394. position: absolute;
  395. z-index: 1;
  396. top: 0;
  397. left: 0;
  398. width: 100%;
  399. height: 100%;
  400. background: #fff;
  401. opacity: .25;
  402. filter: alpha(opacity=25);
  403. }
  404. .fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
  405. .fc-select-helper .fc-event-bg {
  406. display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
  407. }
  408. /* resizable */
  409. .fc-event-vert .ui-resizable-s {
  410. bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */
  411. width: 100% !important;
  412. height: 8px !important;
  413. overflow: hidden !important;
  414. line-height: 8px !important;
  415. font-size: 11px !important;
  416. font-family: monospace;
  417. text-align: center;
  418. cursor: s-resize;
  419. }
  420. .fc-agenda .ui-resizable-resizing { /* TODO: better selector */
  421. _overflow: hidden;
  422. }