fullcalendar.css 21 KB

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