fullcalendar.css 22KB

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