fullcalendar.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946
  1. /* @override http://macs.local/david/wp-content/themes/dw/css/fullcalendar.css */
  2. /*
  3. * FullCalendar v2.1.1 Stylesheet
  4. * Docs & License: http://arshaw.com/fullcalendar/
  5. * (c) 2013 Adam Shaw
  6. */
  7. .fc {
  8. direction: ltr;
  9. text-align: left;
  10. margin: 20px 0 0;
  11. }
  12. .fc-rtl {
  13. text-align: right;
  14. }
  15. body .fc { /* extra precedence to overcome jqui */
  16. font-size: 1em;
  17. }
  18. /* Colors
  19. --------------------------------------------------------------------------------------------------*/
  20. .fc-unthemed th,
  21. .fc-unthemed td,
  22. .fc-unthemed hr,
  23. .fc-unthemed thead,
  24. .fc-unthemed tbody,
  25. .fc-unthemed .fc-row,
  26. .fc-unthemed .fc-popover {
  27. border-color: #555;
  28. }
  29. .fc-unthemed .fc-popover {
  30. background-color: #fff;
  31. }
  32. .fc-unthemed hr,
  33. .fc-unthemed .fc-popover .fc-header {
  34. background: #eee;
  35. }
  36. .fc-unthemed .fc-popover .fc-header .fc-close {
  37. color: #666;
  38. }
  39. .fc-unthemed .fc-today {
  40. background: rgba(250, 250, 250, 0.2);
  41. }
  42. .fc-highlight { /* when user is selecting cells */
  43. background: #bce8f1;
  44. opacity: .3;
  45. filter: alpha(opacity=30); /* for IE */
  46. }
  47. /* Icons (inline elements with styled text that mock arrow icons)
  48. --------------------------------------------------------------------------------------------------*/
  49. .fc-icon {
  50. display: inline-block;
  51. font-size: 2em;
  52. line-height: .5em;
  53. height: .5em; /* will make the total height 1em */
  54. font-family: "Courier New", Courier, monospace;
  55. }
  56. .fc-icon-left-single-arrow:after {
  57. content: "\02039";
  58. font-weight: bold;
  59. }
  60. .fc-icon-right-single-arrow:after {
  61. content: "\0203A";
  62. font-weight: bold;
  63. }
  64. .fc-icon-left-double-arrow:after {
  65. content: "\000AB";
  66. }
  67. .fc-icon-right-double-arrow:after {
  68. content: "\000BB";
  69. }
  70. .fc-icon-x:after {
  71. content: "\000D7";
  72. }
  73. /* Buttons (styled <button> tags, normalized to work cross-browser)
  74. --------------------------------------------------------------------------------------------------*/
  75. .fc button {
  76. /* force height to include the border and padding */
  77. -moz-box-sizing: border-box;
  78. -webkit-box-sizing: border-box;
  79. box-sizing: border-box;
  80. /* dimensions */
  81. margin: 0;
  82. height: 2.1em;
  83. padding: 0 .6em;
  84. /* text & cursor */
  85. font-size: 1em; /* normalize */
  86. white-space: nowrap;
  87. cursor: pointer;
  88. }
  89. /* Firefox has an annoying inner border */
  90. .fc button::-moz-focus-inner { margin: 0; padding: 0; }
  91. .fc-state-default { /* non-theme */
  92. border: 1px solid;
  93. }
  94. .fc-state-default.fc-corner-left { /* non-theme */
  95. border-top-left-radius: 4px;
  96. border-bottom-left-radius: 4px;
  97. }
  98. .fc-state-default.fc-corner-right { /* non-theme */
  99. border-top-right-radius: 4px;
  100. border-bottom-right-radius: 4px;
  101. }
  102. /* icons in buttons */
  103. .fc button .fc-icon { /* non-theme */
  104. position: relative;
  105. top: .05em; /* seems to be a good adjustment across browsers */
  106. margin: 0 .1em;
  107. }
  108. /*
  109. button states
  110. borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
  111. */
  112. .fc-state-default {
  113. background-color: #f5f5f5;
  114. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  115. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  116. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  117. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  118. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  119. background-repeat: repeat-x;
  120. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  121. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  122. color: #333;
  123. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  124. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  125. }
  126. .fc-state-hover,
  127. .fc-state-down,
  128. .fc-state-active,
  129. .fc-state-disabled {
  130. color: #333333;
  131. background-color: #e6e6e6;
  132. }
  133. .fc-state-hover {
  134. color: #333333;
  135. text-decoration: none;
  136. background-position: 0 -15px;
  137. -webkit-transition: background-position 0.1s linear;
  138. -moz-transition: background-position 0.1s linear;
  139. -o-transition: background-position 0.1s linear;
  140. transition: background-position 0.1s linear;
  141. }
  142. .fc-state-down,
  143. .fc-state-active {
  144. background-color: #cccccc;
  145. background-image: none;
  146. box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  147. }
  148. .fc-state-disabled {
  149. cursor: default;
  150. background-image: none;
  151. opacity: 0.65;
  152. filter: alpha(opacity=65);
  153. box-shadow: none;
  154. }
  155. .fc-today-button {
  156. display: none;
  157. }
  158. /* Buttons Groups
  159. --------------------------------------------------------------------------------------------------*/
  160. .fc-button-group {
  161. display: inline-block;
  162. }
  163. /*
  164. every button that is not first in a button group should scootch over one pixel and cover the
  165. previous button's border...
  166. */
  167. .fc .fc-button-group > * { /* extra precedence b/c buttons have margin set to zero */
  168. float: left;
  169. margin: 0 0 0 -1px;
  170. }
  171. .fc .fc-button-group > :first-child { /* same */
  172. margin-left: 0;
  173. }
  174. /* Popover
  175. --------------------------------------------------------------------------------------------------*/
  176. .fc-popover {
  177. position: absolute;
  178. box-shadow: 0 2px 6px rgba(0,0,0,.15);
  179. }
  180. .fc-popover .fc-header {
  181. padding: 2px 4px;
  182. }
  183. .fc-popover .fc-header .fc-title {
  184. margin: 0 2px;
  185. }
  186. .fc-popover .fc-header .fc-close {
  187. cursor: pointer;
  188. }
  189. .fc-ltr .fc-popover .fc-header .fc-title,
  190. .fc-rtl .fc-popover .fc-header .fc-close {
  191. float: left;
  192. }
  193. .fc-rtl .fc-popover .fc-header .fc-title,
  194. .fc-ltr .fc-popover .fc-header .fc-close {
  195. float: right;
  196. }
  197. /* unthemed */
  198. .fc-unthemed .fc-popover {
  199. border-width: 1px;
  200. border-style: solid;
  201. }
  202. .fc-unthemed .fc-popover .fc-header .fc-close {
  203. font-size: 25px;
  204. margin-top: 4px;
  205. }
  206. /* jqui themed */
  207. .fc-popover > .ui-widget-header + .ui-widget-content {
  208. border-top: 0; /* where they meet, let the header have the border */
  209. }
  210. /* Misc Reusable Components
  211. --------------------------------------------------------------------------------------------------*/
  212. .fc hr {
  213. height: 0;
  214. margin: 0;
  215. padding: 0 0 2px; /* height is unreliable across browsers, so use padding */
  216. border-style: solid;
  217. border-width: 1px 0;
  218. }
  219. .fc-clear {
  220. clear: both;
  221. }
  222. .fc-bg,
  223. .fc-highlight-skeleton,
  224. .fc-helper-skeleton {
  225. /* these element should always cling to top-left/right corners */
  226. position: absolute;
  227. top: 0;
  228. left: 0;
  229. right: 0;
  230. }
  231. .fc-bg {
  232. bottom: 0; /* strech bg to bottom edge */
  233. }
  234. .fc-bg table {
  235. height: 100%; /* strech bg to bottom edge */
  236. }
  237. /* Tables
  238. --------------------------------------------------------------------------------------------------*/
  239. .fc table {
  240. width: 100%;
  241. table-layout: fixed;
  242. border-collapse: collapse;
  243. border-spacing: 0;
  244. font-size: 1em; /* normalize cross-browser */
  245. }
  246. .fc th {
  247. text-align: center;
  248. }
  249. .fc th,
  250. .fc td {
  251. border-style: solid;
  252. border-width: 1px;
  253. padding: 0;
  254. vertical-align: top;
  255. }
  256. .fc td.fc-today {
  257. border-style: double; /* overcome neighboring borders */
  258. border-bottom-color: #1d8;
  259. color: #1d8;
  260. }
  261. /* Fake Table Rows
  262. --------------------------------------------------------------------------------------------------*/
  263. .fc .fc-row { /* extra precedence to overcome themes w/ .ui-widget-content forcing a 1px border */
  264. /* no visible border by default. but make available if need be (scrollbar width compensation) */
  265. border-style: solid;
  266. border-width: 0;
  267. }
  268. .fc-row table {
  269. /* don't put left/right border on anything within a fake row.
  270. the outer tbody will worry about this */
  271. border-left: 0 hidden transparent;
  272. border-right: 0 hidden transparent;
  273. /* no bottom borders on rows */
  274. border-bottom: 0 hidden transparent;
  275. }
  276. .fc-row:first-child table {
  277. border-top: 0 hidden transparent; /* no top border on first row */
  278. }
  279. /* Day Row (used within the header and the DayGrid)
  280. --------------------------------------------------------------------------------------------------*/
  281. .fc-row {
  282. position: relative;
  283. }
  284. .fc-row .fc-bg {
  285. z-index: 1;
  286. }
  287. /* highlighting cells */
  288. .fc-row .fc-highlight-skeleton {
  289. z-index: 2;
  290. bottom: 0; /* stretch skeleton to bottom of row */
  291. }
  292. .fc-row .fc-highlight-skeleton table {
  293. height: 100%; /* stretch skeleton to bottom of row */
  294. }
  295. .fc-row .fc-highlight-skeleton td {
  296. border-color: transparent;
  297. }
  298. /*
  299. row content (which contains day/week numbers and events) as well as "helper" (which contains
  300. temporary rendered events).
  301. */
  302. .fc-row .fc-content-skeleton {
  303. position: relative;
  304. z-index: 3;
  305. padding-bottom: 2px; /* matches the space above the events */
  306. }
  307. .fc-row .fc-helper-skeleton {
  308. z-index: 4;
  309. }
  310. .fc-row .fc-content-skeleton td,
  311. .fc-row .fc-helper-skeleton td {
  312. /* see-through to the background below */
  313. background: none; /* in case <td>s are globally styled */
  314. border-color: transparent;
  315. /* don't put a border between events and/or the day number */
  316. border-bottom: 0;
  317. }
  318. .fc-row .fc-content-skeleton tbody td, /* cells with events inside (so NOT the day number cell) */
  319. .fc-row .fc-helper-skeleton tbody td {
  320. /* don't put a border between event cells */
  321. border-top: 0;
  322. }
  323. /* Scrolling Container
  324. --------------------------------------------------------------------------------------------------*/
  325. .fc-scroller { /* this class goes on elements for guaranteed vertical scrollbars */
  326. overflow-y: hidden;
  327. overflow-x: hidden;
  328. }
  329. .fc-scroller > * { /* we expect an immediate inner element */
  330. position: relative; /* re-scope all positions */
  331. width: 100%; /* hack to force re-sizing this inner element when scrollbars appear/disappear */
  332. overflow: hidden; /* don't let negative margins or absolute positioning create further scroll */
  333. }
  334. /* Global Event Styles
  335. --------------------------------------------------------------------------------------------------*/
  336. .fc-event {
  337. position: relative; /* for resize handle and other inner positioning */
  338. display: block; /* make the <a> tag block */
  339. font-size: .85em;
  340. line-height: 1.3;
  341. border-radius: 3px;
  342. border: 1px solid #1d8; /* default BORDER color */
  343. background-color: rgba(250, 250, 250, 0.1);
  344. font-weight: normal; /* undo jqui's ui-widget-header bold */
  345. }
  346. /* overpower some of bootstrap's and jqui's styles on <a> tags */
  347. .fc-event,
  348. .fc-event:hover,
  349. .ui-widget .fc-event {
  350. color: #fff; /* default TEXT color */
  351. text-decoration: none; /* if <a> has an href */
  352. }
  353. .fc-event[href],
  354. .fc-event.fc-draggable {
  355. cursor: pointer; /* give events with links and draggable events a hand mouse pointer */
  356. }
  357. /* DayGrid events
  358. ----------------------------------------------------------------------------------------------------
  359. We use the full "fc-day-grid-event" class instead of using descendants because the event won't
  360. be a descendant of the grid when it is being dragged.
  361. */
  362. .fc-day-grid-event {
  363. margin: 1px 2px 0; /* spacing between events and edges */
  364. padding: 0 1px;
  365. }
  366. /* events that are continuing to/from another week. kill rounded corners and butt up against edge */
  367. .fc-ltr .fc-day-grid-event.fc-not-start,
  368. .fc-rtl .fc-day-grid-event.fc-not-end {
  369. margin-left: 0;
  370. border-left-width: 0;
  371. padding-left: 1px; /* replace the border with padding */
  372. border-top-left-radius: 0;
  373. border-bottom-left-radius: 0;
  374. }
  375. .fc-ltr .fc-day-grid-event.fc-not-end,
  376. .fc-rtl .fc-day-grid-event.fc-not-start {
  377. margin-right: 0;
  378. border-right-width: 0;
  379. padding-right: 1px; /* replace the border with padding */
  380. border-top-right-radius: 0;
  381. border-bottom-right-radius: 0;
  382. }
  383. .fc-day-grid-event > .fc-content { /* force events to be one-line tall */
  384. white-space: nowrap;
  385. overflow: hidden;
  386. background: (250, 250, 250, 0.2);
  387. color: #1d8;
  388. }
  389. .fc-day-grid-event .fc-time {
  390. font-weight: bold;
  391. }
  392. /* resize handle (outside of fc-content, so can go outside of bounds) */
  393. .fc-day-grid-event .fc-resizer {
  394. position: absolute;
  395. top: 0;
  396. bottom: 0;
  397. width: 7px;
  398. }
  399. .fc-ltr .fc-day-grid-event .fc-resizer {
  400. right: -3px;
  401. cursor: e-resize;
  402. }
  403. .fc-rtl .fc-day-grid-event .fc-resizer {
  404. left: -3px;
  405. cursor: w-resize;
  406. }
  407. /* Event Limiting
  408. --------------------------------------------------------------------------------------------------*/
  409. /* "more" link that represents hidden events */
  410. a.fc-more {
  411. margin: 1px 3px;
  412. font-size: .85em;
  413. cursor: pointer;
  414. text-decoration: none;
  415. }
  416. a.fc-more:hover {
  417. text-decoration: underline;
  418. }
  419. .fc-limited { /* rows and cells that are hidden because of a "more" link */
  420. display: none;
  421. }
  422. /* popover that appears when "more" link is clicked */
  423. .fc-day-grid .fc-row {
  424. z-index: 1; /* make the "more" popover one higher than this */
  425. }
  426. .fc-more-popover {
  427. z-index: 2;
  428. width: 220px;
  429. }
  430. .fc-more-popover .fc-event-container {
  431. padding: 10px;
  432. }
  433. /* Toolbar
  434. --------------------------------------------------------------------------------------------------*/
  435. .fc-toolbar {
  436. text-align: center;
  437. margin-bottom: 1em;
  438. }
  439. .fc-toolbar .fc-left {
  440. float: left;
  441. }
  442. .fc-toolbar .fc-right {
  443. float: right;
  444. }
  445. .fc-toolbar .fc-center {
  446. display: inline-block;
  447. }
  448. /* the things within each left/right/center section */
  449. .fc .fc-toolbar > * > * { /* extra precedence to override button border margins */
  450. float: left;
  451. margin-left: .75em;
  452. }
  453. /* the first thing within each left/center/right section */
  454. .fc .fc-toolbar > * > :first-child { /* extra precedence to override button border margins */
  455. margin-left: 0;
  456. }
  457. /* title text */
  458. .fc-toolbar h2 {
  459. margin: 0;
  460. font-size: 21px;
  461. color: #777;
  462. }
  463. /* button layering (for border precedence) */
  464. .fc-toolbar button {
  465. position: relative;
  466. }
  467. .fc-toolbar .fc-state-hover,
  468. .fc-toolbar .ui-state-hover {
  469. z-index: 2;
  470. }
  471. .fc-toolbar .fc-state-down {
  472. z-index: 3;
  473. }
  474. .fc-toolbar .fc-state-active,
  475. .fc-toolbar .ui-state-active {
  476. z-index: 4;
  477. }
  478. .fc-toolbar button:focus {
  479. z-index: 5;
  480. }
  481. /* View Structure
  482. --------------------------------------------------------------------------------------------------*/
  483. /* undo twitter bootstrap's box-sizing rules. normalizes positioning techniques */
  484. /* don't do this for the toolbar because we'll want bootstrap to style those buttons as some pt */
  485. .fc-view-container *,
  486. .fc-view-container *:before,
  487. .fc-view-container *:after {
  488. -webkit-box-sizing: content-box;
  489. -moz-box-sizing: content-box;
  490. box-sizing: content-box;
  491. }
  492. .fc-view, /* scope positioning and z-index's for everything within the view */
  493. .fc-view > table { /* so dragged elements can be above the view's main element */
  494. position: relative;
  495. z-index: 1;
  496. }
  497. /* BasicView
  498. --------------------------------------------------------------------------------------------------*/
  499. /* day row structure */
  500. .fc-basicWeek-view .fc-content-skeleton,
  501. .fc-basicDay-view .fc-content-skeleton {
  502. /* we are sure there are no day numbers in these views, so... */
  503. padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
  504. padding-bottom: 1em; /* ensure a space at bottom of cell for user selecting/clicking */
  505. }
  506. .fc-basic-view tbody .fc-row {
  507. min-height: 4em; /* ensure that all rows are at least this tall */
  508. }
  509. /* a "rigid" row will take up a constant amount of height because content-skeleton is absolute */
  510. .fc-row.fc-rigid {
  511. overflow: hidden;
  512. }
  513. .fc-row.fc-rigid .fc-content-skeleton {
  514. position: absolute;
  515. top: 0;
  516. left: 0;
  517. right: 0;
  518. }
  519. /* week and day number styling */
  520. .fc-basic-view .fc-week-number,
  521. .fc-basic-view .fc-day-number {
  522. padding: 0 2px;
  523. }
  524. .fc-basic-view td.fc-week-number span,
  525. .fc-basic-view td.fc-day-number {
  526. padding-top: 2px;
  527. padding-bottom: 2px;
  528. }
  529. .fc-basic-view .fc-week-number {
  530. text-align: center;
  531. }
  532. .fc-basic-view .fc-week-number span {
  533. /* work around the way we do column resizing and ensure a minimum width */
  534. display: inline-block;
  535. min-width: 1.25em;
  536. }
  537. .fc-ltr .fc-basic-view .fc-day-number {
  538. text-align: right;
  539. }
  540. .fc-rtl .fc-basic-view .fc-day-number {
  541. text-align: left;
  542. }
  543. .fc-day-number.fc-other-month {
  544. opacity: 0.3;
  545. filter: alpha(opacity=30); /* for IE */
  546. /* opacity with small font can sometimes look too faded
  547. might want to set the 'color' property instead
  548. making day-numbers bold also fixes the problem */
  549. }
  550. /* AgendaView all-day area
  551. --------------------------------------------------------------------------------------------------*/
  552. .fc-agenda-view .fc-day-grid {
  553. position: relative;
  554. z-index: 2; /* so the "more.." popover will be over the time grid */
  555. }
  556. .fc-agenda-view .fc-day-grid .fc-row {
  557. min-height: 3em; /* all-day section will never get shorter than this */
  558. }
  559. .fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
  560. padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
  561. padding-bottom: 1em; /* give space underneath events for clicking/selecting days */
  562. }
  563. /* TimeGrid axis running down the side (for both the all-day area and the slot area)
  564. --------------------------------------------------------------------------------------------------*/
  565. .fc .fc-axis { /* .fc to overcome default cell styles */
  566. vertical-align: middle;
  567. padding: 0 4px;
  568. white-space: nowrap;
  569. }
  570. .fc-ltr .fc-axis {
  571. text-align: right;
  572. }
  573. .fc-rtl .fc-axis {
  574. text-align: left;
  575. }
  576. .ui-widget td.fc-axis {
  577. font-weight: normal; /* overcome jqui theme making it bold */
  578. }
  579. /* TimeGrid Structure
  580. --------------------------------------------------------------------------------------------------*/
  581. .fc-time-grid-container, /* so scroll container's z-index is below all-day */
  582. .fc-time-grid { /* so slats/bg/content/etc positions get scoped within here */
  583. position: relative;
  584. z-index: 1;
  585. }
  586. .fc-time-grid {
  587. min-height: 100%; /* so if height setting is 'auto', .fc-bg stretches to fill height */
  588. }
  589. .fc-time-grid table { /* don't put outer borders on slats/bg/content/etc */
  590. border: 0 hidden transparent;
  591. }
  592. .fc-time-grid > .fc-bg {
  593. z-index: 1;
  594. }
  595. .fc-time-grid .fc-slats,
  596. .fc-time-grid > hr { /* the <hr> AgendaView injects when grid is shorter than scroller */
  597. position: relative;
  598. z-index: 2;
  599. }
  600. .fc-time-grid .fc-highlight-skeleton {
  601. z-index: 3;
  602. }
  603. .fc-time-grid .fc-content-skeleton {
  604. position: absolute;
  605. z-index: 4;
  606. top: 0;
  607. left: 0;
  608. right: 0;
  609. }
  610. .fc-time-grid > .fc-helper-skeleton {
  611. z-index: 5;
  612. }
  613. /* TimeGrid Slats (lines that run horizontally)
  614. --------------------------------------------------------------------------------------------------*/
  615. .fc-slats td {
  616. height: 1.5em;
  617. border-bottom: 0; /* each cell is responsible for its top border */
  618. }
  619. .fc-slats .fc-minor td {
  620. border-top-style: dotted;
  621. }
  622. .fc-slats .ui-widget-content { /* for jqui theme */
  623. background: none; /* see through to fc-bg */
  624. }
  625. /* TimeGrid Highlighting Slots
  626. --------------------------------------------------------------------------------------------------*/
  627. .fc-time-grid .fc-highlight-container { /* a div within a cell within the fc-highlight-skeleton */
  628. position: relative; /* scopes the left/right of the fc-highlight to be in the column */
  629. }
  630. .fc-time-grid .fc-highlight {
  631. position: absolute;
  632. left: 0;
  633. right: 0;
  634. /* top and bottom will be in by JS */
  635. }
  636. /* TimeGrid Event Containment
  637. --------------------------------------------------------------------------------------------------*/
  638. .fc-time-grid .fc-event-container { /* a div within a cell within the fc-content-skeleton */
  639. position: relative;
  640. }
  641. .fc-ltr .fc-time-grid .fc-event-container { /* space on the sides of events for LTR (default) */
  642. margin: 0 2.5% 0 2px;
  643. }
  644. .fc-rtl .fc-time-grid .fc-event-container { /* space on the sides of events for RTL */
  645. margin: 0 2px 0 2.5%;
  646. }
  647. .fc-time-grid .fc-event {
  648. position: absolute;
  649. z-index: 1; /* scope inner z-index's */
  650. }
  651. /* TimeGrid Event Styling
  652. ----------------------------------------------------------------------------------------------------
  653. We use the full "fc-time-grid-event" class instead of using descendants because the event won't
  654. be a descendant of the grid when it is being dragged.
  655. */
  656. .fc-time-grid-event.fc-not-start { /* events that are continuing from another day */
  657. /* replace space made by the top border with padding */
  658. border-top-width: 0;
  659. padding-top: 1px;
  660. /* remove top rounded corners */
  661. border-top-left-radius: 0;
  662. border-top-right-radius: 0;
  663. }
  664. .fc-time-grid-event.fc-not-end {
  665. /* replace space made by the top border with padding */
  666. border-bottom-width: 0;
  667. padding-bottom: 1px;
  668. /* remove bottom rounded corners */
  669. border-bottom-left-radius: 0;
  670. border-bottom-right-radius: 0;
  671. }
  672. .fc-time-grid-event {
  673. overflow: hidden; /* don't let the bg flow over rounded corners */
  674. }
  675. .fc-time-grid-event > .fc-content { /* contains the time and title, but no bg and resizer */
  676. position: relative;
  677. z-index: 2; /* above the bg */
  678. }
  679. .fc-time-grid-event .fc-time,
  680. .fc-time-grid-event .fc-title {
  681. padding: 0 1px;
  682. }
  683. .fc-time-grid-event .fc-time {
  684. font-size: .85em;
  685. white-space: nowrap;
  686. }
  687. .fc-time-grid-event .fc-bg {
  688. z-index: 1;
  689. background: #fff;
  690. opacity: .25;
  691. filter: alpha(opacity=25); /* for IE */
  692. }
  693. /* short mode, where time and title are on the same line */
  694. .fc-time-grid-event.fc-short .fc-content {
  695. /* don't wrap to second line (now that contents will be inline) */
  696. white-space: nowrap;
  697. }
  698. .fc-time-grid-event.fc-short .fc-time,
  699. .fc-time-grid-event.fc-short .fc-title {
  700. /* put the time and title on the same line */
  701. display: inline-block;
  702. vertical-align: top;
  703. }
  704. .fc-time-grid-event.fc-short .fc-time span {
  705. display: none; /* don't display the full time text... */
  706. }
  707. .fc-time-grid-event.fc-short .fc-time:before {
  708. content: attr(data-start); /* ...instead, display only the start time */
  709. }
  710. .fc-time-grid-event.fc-short .fc-time:after {
  711. content: "\000A0-\000A0"; /* seperate with a dash, wrapped in nbsp's */
  712. }
  713. .fc-time-grid-event.fc-short .fc-title {
  714. font-size: .85em; /* make the title text the same size as the time */
  715. padding: 0; /* undo padding from above */
  716. }
  717. /* resizer */
  718. .fc-time-grid-event .fc-resizer {
  719. position: absolute;
  720. z-index: 3; /* above content */
  721. left: 0;
  722. right: 0;
  723. bottom: 0;
  724. height: 8px;
  725. overflow: hidden;
  726. line-height: 8px;
  727. font-size: 11px;
  728. font-family: monospace;
  729. text-align: center;
  730. cursor: s-resize;
  731. }
  732. .fc-time-grid-event .fc-resizer:after {
  733. content: "=";
  734. }