Theme Inspinia
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

fullcalendar.css 23KB

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