fullcalendar-old.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  1. /*
  2. * FullCalendar v1.5.3 Stylesheet
  3. *
  4. * Copyright (c) 2011 Adam Shaw
  5. * Dual licensed under the MIT and GPL licenses, located in
  6. * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
  7. *
  8. * Date: Mon Feb 6 22:40:40 2012 -0800
  9. *
  10. */
  11. .fc {
  12. direction: ltr;
  13. text-align: left;
  14. }
  15. .fc table {
  16. border-collapse: collapse;
  17. border-spacing: 0;
  18. }
  19. html .fc,
  20. .fc table {
  21. font-size: 1em;
  22. }
  23. .fc td,
  24. .fc th {
  25. padding: 0;
  26. vertical-align: top;
  27. }
  28. /* Header
  29. ------------------------------------------------------------------------*/
  30. .fc-header td {
  31. white-space: nowrap;
  32. }
  33. .fc-header-left {
  34. width: 25%;
  35. text-align: left;
  36. }
  37. .fc-header-center {
  38. text-align: center;
  39. }
  40. .fc-header-right {
  41. width: 25%;
  42. text-align: right;
  43. }
  44. .fc-header-title {
  45. display: inline-block;
  46. vertical-align: top;
  47. }
  48. .fc-header-title h2 {
  49. margin-top: 0;
  50. white-space: nowrap;
  51. }
  52. .fc .fc-header-space {
  53. padding-left: 10px;
  54. }
  55. .fc-header .fc-button {
  56. margin-bottom: 1em;
  57. vertical-align: top;
  58. }
  59. /* buttons edges butting together */
  60. .fc-header .fc-button {
  61. margin-right: -1px;
  62. }
  63. .fc-header .fc-corner-right {
  64. margin-right: 1px; /* back to normal */
  65. }
  66. .fc-header .ui-corner-right {
  67. margin-right: 0; /* back to normal */
  68. }
  69. /* button layering (for border precedence) */
  70. .fc-header .fc-state-hover,
  71. .fc-header .ui-state-hover {
  72. z-index: 2;
  73. }
  74. .fc-header .fc-state-down {
  75. z-index: 3;
  76. }
  77. .fc-header .fc-state-active,
  78. .fc-header .ui-state-active {
  79. z-index: 4;
  80. }
  81. /* Content
  82. ------------------------------------------------------------------------*/
  83. .fc table.fc-agenda-days thead,
  84. .fc table.fc-agenda-days thead tr{
  85. height: 25px;
  86. }
  87. .fc table.fc-agenda-days thead th{
  88. vertical-align: middle;
  89. }
  90. .fc-content {
  91. clear: both;
  92. }
  93. .fc-view {
  94. width: 100%; /* needed for view switching (when view is absolute) */
  95. overflow: hidden;
  96. }
  97. /* Cell Styles
  98. ------------------------------------------------------------------------*/
  99. .fc-widget-header, /* <th>, usually */
  100. .fc-widget-content { /* <td>, usually */
  101. border: 1px solid #ccc;
  102. }
  103. .fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
  104. background: #ffc;
  105. }
  106. .fc-cell-overlay { /* semi-transparent rectangle while dragging */
  107. background: #9cf;
  108. opacity: .2;
  109. filter: alpha(opacity=20); /* for IE */
  110. }
  111. /* Buttons
  112. ------------------------------------------------------------------------*/
  113. .fc-button {
  114. position: relative;
  115. display: inline-block;
  116. cursor: pointer;
  117. }
  118. .fc-state-default { /* non-theme */
  119. border-style: solid;
  120. border-width: 1px 0;
  121. }
  122. .fc-button-inner {
  123. position: relative;
  124. float: left;
  125. overflow: hidden;
  126. }
  127. .fc-state-default .fc-button-inner { /* non-theme */
  128. border-style: solid;
  129. border-width: 0 1px;
  130. }
  131. .fc-button-content {
  132. position: relative;
  133. float: left;
  134. height: 1.9em;
  135. line-height: 1.9em;
  136. padding: 0 .6em;
  137. white-space: nowrap;
  138. }
  139. /* icon (for jquery ui) */
  140. .fc-button-content .fc-icon-wrap {
  141. position: relative;
  142. float: left;
  143. top: 50%;
  144. }
  145. .fc-button-content .ui-icon {
  146. position: relative;
  147. float: left;
  148. margin-top: -50%;
  149. *margin-top: 0;
  150. *top: -50%;
  151. }
  152. /* gloss effect */
  153. .fc-state-default .fc-button-effect {
  154. position: absolute;
  155. top: 50%;
  156. left: 0;
  157. }
  158. .fc-state-default .fc-button-effect span {
  159. position: absolute;
  160. top: -100px;
  161. left: 0;
  162. width: 500px;
  163. height: 100px;
  164. border-width: 100px 0 0 1px;
  165. border-style: solid;
  166. border-color: #fff;
  167. background: #444;
  168. opacity: .09;
  169. filter: alpha(opacity=9);
  170. }
  171. /* button states (determines colors) */
  172. .fc-state-default,
  173. .fc-state-default .fc-button-inner {
  174. border-style: solid;
  175. border-color: #ccc #bbb #aaa;
  176. background: #F3F3F3;
  177. color: #000;
  178. }
  179. .fc-state-hover,
  180. .fc-state-hover .fc-button-inner {
  181. border-color: #999;
  182. }
  183. .fc-state-down,
  184. .fc-state-down .fc-button-inner {
  185. border-color: #555;
  186. background: #777;
  187. }
  188. .fc-state-active,
  189. .fc-state-active .fc-button-inner {
  190. border-color: #555;
  191. background: #777;
  192. color: #fff;
  193. }
  194. .fc-state-disabled,
  195. .fc-state-disabled .fc-button-inner {
  196. color: #999;
  197. border-color: #ddd;
  198. }
  199. .fc-state-disabled {
  200. cursor: default;
  201. }
  202. .fc-state-disabled .fc-button-effect {
  203. display: none;
  204. }
  205. /* Global Event Styles
  206. ------------------------------------------------------------------------*/
  207. .fc-event {
  208. border-style: solid;
  209. border-width: 0;
  210. font-size: .85em;
  211. cursor: default;
  212. }
  213. a.fc-event,
  214. .fc-event-draggable {
  215. cursor: pointer;
  216. }
  217. a.fc-event {
  218. text-decoration: none;
  219. }
  220. .fc-rtl .fc-event {
  221. text-align: right;
  222. }
  223. .fc-event-skin {
  224. border-color: #36c; /* default BORDER color */
  225. background-color: #36c; /* default BACKGROUND color */
  226. color: #fff; /* default TEXT color */
  227. }
  228. .fc-event-inner {
  229. position: relative;
  230. width: 100%;
  231. height: 100%;
  232. border-style: solid;
  233. border-width: 0;
  234. overflow: hidden;
  235. }
  236. .fc-event-time,
  237. .fc-event-title {
  238. padding: 0 1px;
  239. }
  240. .fc .ui-resizable-handle { /*** TODO: don't use ui-resizable anymore, change class ***/
  241. display: block;
  242. position: absolute;
  243. z-index: 99999;
  244. overflow: hidden; /* hacky spaces (IE6/7) */
  245. font-size: 300%; /* */
  246. line-height: 50%; /* */
  247. }
  248. /* Horizontal Events
  249. ------------------------------------------------------------------------*/
  250. .fc-event-hori {
  251. border-width: 1px 0;
  252. margin-bottom: 1px;
  253. }
  254. /* resizable */
  255. .fc-event-hori .ui-resizable-e {
  256. top: 0 !important; /* importants override pre jquery ui 1.7 styles */
  257. right: -3px !important;
  258. width: 7px !important;
  259. height: 100% !important;
  260. cursor: e-resize;
  261. }
  262. .fc-event-hori .ui-resizable-w {
  263. top: 0 !important;
  264. left: -3px !important;
  265. width: 7px !important;
  266. height: 100% !important;
  267. cursor: w-resize;
  268. }
  269. .fc-event-hori .ui-resizable-handle {
  270. _padding-bottom: 14px; /* IE6 had 0 height */
  271. }
  272. /* Fake Rounded Corners (for buttons and events)
  273. ------------------------------------------------------------*/
  274. .fc-corner-left {
  275. margin-left: 1px;
  276. }
  277. .fc-corner-left .fc-button-inner,
  278. .fc-corner-left .fc-event-inner {
  279. margin-left: -1px;
  280. }
  281. .fc-corner-right {
  282. margin-right: 1px;
  283. }
  284. .fc-corner-right .fc-button-inner,
  285. .fc-corner-right .fc-event-inner {
  286. margin-right: -1px;
  287. }
  288. .fc-corner-top {
  289. margin-top: 1px;
  290. }
  291. .fc-corner-top .fc-event-inner {
  292. margin-top: -1px;
  293. }
  294. .fc-corner-bottom {
  295. margin-bottom: 1px;
  296. }
  297. .fc-corner-bottom .fc-event-inner {
  298. margin-bottom: -1px;
  299. }
  300. /* Fake Rounded Corners SPECIFICALLY FOR EVENTS
  301. -----------------------------------------------------------------*/
  302. .fc-corner-left .fc-event-inner {
  303. border-left-width: 1px;
  304. }
  305. .fc-corner-right .fc-event-inner {
  306. border-right-width: 1px;
  307. }
  308. .fc-corner-top .fc-event-inner {
  309. border-top-width: 1px;
  310. }
  311. .fc-corner-bottom .fc-event-inner {
  312. border-bottom-width: 1px;
  313. }
  314. /* Reusable Separate-border Table
  315. ------------------------------------------------------------*/
  316. table.fc-border-separate {
  317. border-collapse: separate;
  318. }
  319. .fc-border-separate th,
  320. .fc-border-separate td {
  321. border-width: 1px 0 0 1px;
  322. }
  323. .fc-border-separate th.fc-last,
  324. .fc-border-separate td.fc-last {
  325. border-right-width: 1px;
  326. }
  327. .fc-border-separate tr.fc-last th,
  328. .fc-border-separate tr.fc-last td {
  329. border-bottom-width: 1px;
  330. }
  331. .fc-border-separate tbody tr.fc-first td,
  332. .fc-border-separate tbody tr.fc-first th {
  333. border-top-width: 0;
  334. }
  335. /* Month View, Basic Week View, Basic Day View
  336. ------------------------------------------------------------------------*/
  337. .fc-grid th {
  338. text-align: center;
  339. }
  340. .fc-grid .fc-day-number {
  341. float: right;
  342. padding: 0 2px;
  343. }
  344. .fc-grid .fc-other-month .fc-day-number {
  345. opacity: 0.3;
  346. filter: alpha(opacity=30); /* for IE */
  347. /* opacity with small font can sometimes look too faded
  348. might want to set the 'color' property instead
  349. making day-numbers bold also fixes the problem */
  350. }
  351. .fc-grid .fc-day-content {
  352. clear: both;
  353. padding: 2px 2px 1px; /* distance between events and day edges */
  354. }
  355. /* event styles */
  356. .fc-grid .fc-event-time {
  357. font-weight: bold;
  358. }
  359. /* right-to-left */
  360. .fc-rtl .fc-grid .fc-day-number {
  361. float: left;
  362. }
  363. .fc-rtl .fc-grid .fc-event-time {
  364. float: right;
  365. }
  366. /* Agenda Week View, Agenda Day View
  367. ------------------------------------------------------------------------*/
  368. .fc-agenda table {
  369. border-collapse: separate;
  370. }
  371. .fc-agenda-days th {
  372. text-align: center;
  373. }
  374. .fc-agenda .fc-agenda-axis {
  375. width: 50px;
  376. padding: 0 4px;
  377. vertical-align: middle;
  378. text-align: right;
  379. white-space: nowrap;
  380. font-weight: normal;
  381. }
  382. .fc-agenda .fc-day-content {
  383. padding: 2px 2px 1px;
  384. }
  385. /* make axis border take precedence */
  386. .fc-agenda-days .fc-agenda-axis {
  387. border-right-width: 1px;
  388. }
  389. .fc-agenda-days .fc-col0 {
  390. border-left-width: 0;
  391. }
  392. /* all-day area */
  393. .fc-agenda-allday th {
  394. border-width: 0 1px;
  395. }
  396. .fc-agenda-allday .fc-day-content {
  397. min-height: 34px; /* TODO: doesnt work well in quirksmode */
  398. _height: 34px;
  399. }
  400. /* divider (between all-day and slots) */
  401. .fc-agenda-divider-inner {
  402. height: 2px;
  403. overflow: hidden;
  404. }
  405. .fc-widget-header .fc-agenda-divider-inner {
  406. background: #eee;
  407. }
  408. /* slot rows */
  409. .fc-agenda-slots th {
  410. border-width: 1px 1px 0;
  411. }
  412. .fc-agenda-slots td {
  413. border-width: 1px 0 0;
  414. background: none;
  415. }
  416. .fc-agenda-slots td div {
  417. height: 20px;
  418. }
  419. .fc-agenda-slots tr.fc-slot0 th,
  420. .fc-agenda-slots tr.fc-slot0 td {
  421. border-top-width: 0;
  422. }
  423. .fc-agenda-slots tr.fc-minor th,
  424. .fc-agenda-slots tr.fc-minor td {
  425. border-top-style: dotted;
  426. }
  427. .fc-agenda-slots tr.fc-minor th.ui-widget-header {
  428. *border-top-style: solid; /* doesn't work with background in IE6/7 */
  429. }
  430. /* Vertical Events
  431. ------------------------------------------------------------------------*/
  432. .fc-event-vert {
  433. border-width: 0 1px;
  434. }
  435. .fc-event-vert .fc-event-head,
  436. .fc-event-vert .fc-event-content {
  437. position: relative;
  438. z-index: 2;
  439. width: 100%;
  440. overflow: hidden;
  441. }
  442. .fc-event-vert .fc-event-time {
  443. white-space: nowrap;
  444. font-size: 10px;
  445. }
  446. .fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
  447. position: absolute;
  448. z-index: 1;
  449. top: 0;
  450. left: 0;
  451. width: 100%;
  452. height: 100%;
  453. background: #fff;
  454. opacity: .3;
  455. filter: alpha(opacity=30);
  456. }
  457. .fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
  458. .fc-select-helper .fc-event-bg {
  459. display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
  460. }
  461. /* resizable */
  462. .fc-event-vert .ui-resizable-s {
  463. bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */
  464. width: 100% !important;
  465. height: 8px !important;
  466. overflow: hidden !important;
  467. line-height: 8px !important;
  468. font-size: 11px !important;
  469. font-family: monospace;
  470. text-align: center;
  471. cursor: s-resize;
  472. }
  473. .fc-agenda .ui-resizable-resizing { /* TODO: better selector */
  474. _overflow: hidden;
  475. }