fullcalendar.css 25 KB

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