fullcalendar.css 22 KB

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