开封利通水务前端

fullcalendar.css 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
  1. /*!
  2. * FullCalendar v1.6.0 Stylesheet
  3. * Docs & License: http://arshaw.com/fullcalendar/
  4. * (c) 2013 Adam Shaw
  5. */
  6. .fc {
  7. direction: ltr;
  8. text-align: left;
  9. }
  10. .fc table {
  11. border-collapse: collapse;
  12. border-spacing: 0;
  13. }
  14. html .fc,
  15. .fc table {
  16. font-size: 1em;
  17. }
  18. .fc td,
  19. .fc th {
  20. padding: 0;
  21. vertical-align: top;
  22. }
  23. /* Header
  24. ------------------------------------------------------------------------*/
  25. .fc-header td {
  26. white-space: nowrap;
  27. }
  28. .fc-header-left {
  29. width: 25%;
  30. text-align: left;
  31. }
  32. .fc-header-center {
  33. text-align: center;
  34. }
  35. .fc-header-right {
  36. width: 25%;
  37. text-align: right;
  38. }
  39. .fc-header-title {
  40. display: inline-block;
  41. vertical-align: top;
  42. }
  43. .fc-header-title h2 {
  44. margin-top: 0; font-size:16px;
  45. white-space: nowrap;
  46. }
  47. .fc .fc-header-space {
  48. padding-left: 10px;
  49. }
  50. .fc-header .fc-button {
  51. margin-bottom: 1em;
  52. vertical-align: top;
  53. }
  54. /* buttons edges butting together */
  55. .fc-header .fc-button {
  56. margin-right: -1px;
  57. }
  58. .fc-header .fc-corner-right, /* non-theme */
  59. .fc-header .ui-corner-right { /* theme */
  60. margin-right: 0; /* back to normal */
  61. }
  62. /* button layering (for border precedence) */
  63. .fc-header .fc-state-hover,
  64. .fc-header .ui-state-hover {
  65. z-index: 2;
  66. }
  67. .fc-header .fc-state-down {
  68. z-index: 3;
  69. }
  70. .fc-header .fc-state-active,
  71. .fc-header .ui-state-active {
  72. z-index: 4;
  73. }
  74. /* Content
  75. ------------------------------------------------------------------------*/
  76. .fc-content {
  77. clear: both;
  78. }
  79. .fc-view {
  80. width: 100%; /* needed for view switching (when view is absolute) */
  81. overflow: hidden;
  82. }
  83. /* Cell Styles
  84. ------------------------------------------------------------------------*/
  85. .fc-widget-header, /* <th>, usually */
  86. .fc-widget-content { /* <td>, usually */
  87. border: 1px solid #ddd;
  88. }
  89. .fc-widget-header{background:#f7f7f7}
  90. .fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
  91. background: #fcf8e3;
  92. }
  93. .fc-cell-overlay { /* semi-transparent rectangle while dragging */
  94. background: #bce8f1;
  95. opacity: .3;
  96. filter: alpha(opacity=30); /* for IE */
  97. }
  98. /* Buttons
  99. ------------------------------------------------------------------------*/
  100. .fc-button {
  101. position: relative;
  102. display: inline-block;
  103. padding: 0 .6em;
  104. overflow: hidden;
  105. height: 1.9em;
  106. line-height: 1.9em;
  107. white-space: nowrap;
  108. cursor: pointer;
  109. }
  110. .fc-state-default { /* non-theme */
  111. border: 1px solid;
  112. }
  113. .fc-state-default.fc-corner-left { /* non-theme */
  114. border-top-left-radius: 4px;
  115. border-bottom-left-radius: 4px;
  116. }
  117. .fc-state-default.fc-corner-right { /* non-theme */
  118. border-top-right-radius: 4px;
  119. border-bottom-right-radius: 4px;
  120. }
  121. /*
  122. Our default prev/next buttons use HTML entities like &lsaquo; &rsaquo; &laquo; &raquo;
  123. and we'll try to make them look good cross-browser.
  124. */
  125. .fc-text-arrow {
  126. margin: 0 .1em;
  127. font-size: 2em;
  128. font-family: "Courier New", Courier, monospace;
  129. vertical-align: baseline; /* for IE7 */
  130. }
  131. .fc-button-prev .fc-text-arrow,
  132. .fc-button-next .fc-text-arrow { /* for &lsaquo; &rsaquo; */
  133. font-weight: bold;
  134. }
  135. /* icon (for jquery ui) */
  136. .fc-button .fc-icon-wrap {
  137. position: relative;
  138. float: left;
  139. top: 50%;
  140. }
  141. .fc-button .ui-icon {
  142. position: relative;
  143. float: left;
  144. margin-top: -50%;
  145. *margin-top: 0;
  146. *top: -50%;
  147. }
  148. /*
  149. button states
  150. borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
  151. */
  152. .fc-state-default {
  153. background-color: #f5f5f5;
  154. background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  155. background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  156. background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  157. background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  158. background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  159. background-repeat: repeat-x;
  160. border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  161. border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  162. color: #333;
  163. text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  164. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  165. }
  166. .fc-state-hover,
  167. .fc-state-down,
  168. .fc-state-active,
  169. .fc-state-disabled {
  170. color: #333333;
  171. background-color: #e6e6e6;
  172. }
  173. .fc-state-hover {
  174. color: #333333;
  175. text-decoration: none;
  176. background-position: 0 -15px;
  177. -webkit-transition: background-position 0.1s linear;
  178. -moz-transition: background-position 0.1s linear;
  179. -o-transition: background-position 0.1s linear;
  180. transition: background-position 0.1s linear;
  181. }
  182. .fc-state-down,
  183. .fc-state-active {
  184. background-color: #cccccc;
  185. background-image: none;
  186. outline: 0;
  187. box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  188. }
  189. .fc-state-disabled {
  190. cursor: default;
  191. background-image: none;
  192. opacity: 0.65;
  193. filter: alpha(opacity=65);
  194. box-shadow: none;
  195. }
  196. /* Global Event Styles
  197. ------------------------------------------------------------------------*/
  198. .fc-event {
  199. border: 1px solid #3a87ad; /* default BORDER color */
  200. background-color: #3a87ad; /* default BACKGROUND color */
  201. color: #fff; /* default TEXT color */
  202. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  203. font-size: .85em;
  204. cursor: default;
  205. }
  206. a.fc-event {
  207. text-decoration: none;
  208. }
  209. a.fc-event,
  210. .fc-event-draggable {
  211. cursor: pointer;
  212. }
  213. .fc-rtl .fc-event {
  214. text-align: right;
  215. }
  216. .fc-event-inner {
  217. width: 100%;
  218. overflow: hidden;
  219. }
  220. .fc-event-time,
  221. .fc-event-title {
  222. padding: 0 1px;
  223. }
  224. .fc .ui-resizable-handle {
  225. display: block;
  226. position: absolute;
  227. z-index: 99999;
  228. overflow: hidden; /* hacky spaces (IE6/7) */
  229. font-size: 300%; /* */
  230. line-height: 50%; /* */
  231. }
  232. /* Horizontal Events
  233. ------------------------------------------------------------------------*/
  234. .fc-event-hori {
  235. border-width: 1px 0;
  236. margin-bottom: 1px;
  237. }
  238. .fc-ltr .fc-event-hori.fc-event-start,
  239. .fc-rtl .fc-event-hori.fc-event-end {
  240. border-left-width: 1px;
  241. border-top-left-radius: 3px;
  242. border-bottom-left-radius: 3px;
  243. }
  244. .fc-ltr .fc-event-hori.fc-event-end,
  245. .fc-rtl .fc-event-hori.fc-event-start {
  246. border-right-width: 1px;
  247. border-top-right-radius: 3px;
  248. border-bottom-right-radius: 3px;
  249. }
  250. /* resizable */
  251. .fc-event-hori .ui-resizable-e {
  252. top: 0 !important; /* importants override pre jquery ui 1.7 styles */
  253. right: -3px !important;
  254. width: 7px !important;
  255. height: 100% !important;
  256. cursor: e-resize;
  257. }
  258. .fc-event-hori .ui-resizable-w {
  259. top: 0 !important;
  260. left: -3px !important;
  261. width: 7px !important;
  262. height: 100% !important;
  263. cursor: w-resize;
  264. }
  265. .fc-event-hori .ui-resizable-handle {
  266. _padding-bottom: 14px; /* IE6 had 0 height */
  267. }
  268. /* Reusable Separate-border Table
  269. ------------------------------------------------------------*/
  270. table.fc-border-separate {
  271. border-collapse: separate;
  272. }
  273. .fc-border-separate th,
  274. .fc-border-separate td {
  275. border-width: 1px 0 0 1px;
  276. }
  277. .fc-border-separate th.fc-last,
  278. .fc-border-separate td.fc-last {
  279. border-right-width: 1px;
  280. }
  281. .fc-border-separate tr.fc-last th,
  282. .fc-border-separate tr.fc-last td {
  283. border-bottom-width: 1px;
  284. }
  285. .fc-border-separate tbody tr.fc-first td,
  286. .fc-border-separate tbody tr.fc-first th {
  287. border-top-width: 0;
  288. }
  289. /* Month View, Basic Week View, Basic Day View
  290. ------------------------------------------------------------------------*/
  291. .fc-grid th {
  292. text-align: center;
  293. }
  294. .fc .fc-week-number {
  295. width: 22px;
  296. text-align: center;
  297. }
  298. .fc .fc-week-number div {
  299. padding: 0 2px;
  300. }
  301. .fc-grid .fc-day-number {
  302. /*float: right;*/
  303. padding: 0 15px;
  304. position: relative;
  305. line-height: 35px;
  306. text-align: right;
  307. font-size: 30px;
  308. color: #fff;
  309. background: lightseagreen;
  310. }
  311. .fc-first .fc-day-header{
  312. line-height: 35px;
  313. font-size: 20px;
  314. }
  315. .fc-day-cnTerm,.fc-day-cnDate{
  316. text-align: right;
  317. /* margin-top: 5px; */
  318. font-size: 15px;
  319. padding-right: 15px;
  320. color: #000;
  321. font-weight: bold;
  322. }
  323. /*周六 周日*/
  324. .fc-sat .fc-day-number,.fc-sat .fc-day-cnDate,.fc-sun .fc-day-number,.fc-sun .fc-day-cnDate{
  325. color: #f8ac59;
  326. }
  327. .fc-sat .fc-day-cnTerm,.fc-sun .fc-day-cnTerm{
  328. color: #f8ac59;
  329. }
  330. .fc-first .fc-sat,.fc-first .fc-sun {
  331. color: #f8ac59;
  332. }
  333. .fc-grid .fc-day-number span.solarday{float:right;color:#999}
  334. .fc-grid .fc-day-number span.holiday{position:absolute; left:40%}
  335. .fc-grid .fc-other-month .fc-day-number {
  336. opacity: 0.3;
  337. filter: alpha(opacity=30); /* for IE */
  338. /* opacity with small font can sometimes look too faded
  339. might want to set the 'color' property instead
  340. making day-numbers bold also fixes the problem */
  341. }
  342. .fc-grid .fc-day-content {
  343. clear: both;
  344. padding: 2px 2px 1px; /* distance between events and day edges */
  345. }
  346. /* event styles */
  347. .fc-grid .fc-event-time {
  348. font-weight: bold;
  349. }
  350. /* right-to-left */
  351. .fc-rtl .fc-grid .fc-day-number {
  352. float: left;
  353. }
  354. .fc-rtl .fc-grid .fc-event-time {
  355. float: right;
  356. }
  357. /* Agenda Week View, Agenda Day View
  358. ------------------------------------------------------------------------*/
  359. .fc-agenda table {
  360. border-collapse: separate;
  361. }
  362. .fc-agenda-days th {
  363. text-align: center;
  364. }
  365. .fc-agenda .fc-agenda-axis {
  366. width: 50px;
  367. padding: 0 4px;
  368. vertical-align: middle;
  369. text-align: right;
  370. white-space: nowrap;
  371. font-weight: normal;
  372. }
  373. .fc-agenda .fc-week-number {
  374. font-weight: bold;
  375. }
  376. .fc-agenda .fc-day-content {
  377. padding: 2px 2px 1px;
  378. }
  379. /* make axis border take precedence */
  380. .fc-agenda-days .fc-agenda-axis {
  381. border-right-width: 1px;
  382. }
  383. .fc-agenda-days .fc-col0 {
  384. border-left-width: 0;
  385. }
  386. /* all-day area */
  387. .fc-agenda-allday th {
  388. border-width: 0 1px;
  389. }
  390. .fc-agenda-allday .fc-day-content {
  391. min-height: 34px; /* TODO: doesnt work well in quirksmode */
  392. _height: 34px;
  393. }
  394. /* divider (between all-day and slots) */
  395. .fc-agenda-divider-inner {
  396. height: 2px;
  397. overflow: hidden;
  398. }
  399. .fc-widget-header .fc-agenda-divider-inner {
  400. background: #eee;
  401. }
  402. /* slot rows */
  403. .fc-agenda-slots th {
  404. border-width: 1px 1px 0;
  405. }
  406. .fc-agenda-slots td {
  407. border-width: 1px 0 0;
  408. background: none;
  409. }
  410. .fc-agenda-slots td div {
  411. height: 20px;
  412. }
  413. .fc-agenda-slots tr.fc-slot0 th,
  414. .fc-agenda-slots tr.fc-slot0 td {
  415. border-top-width: 0;
  416. }
  417. .fc-agenda-slots tr.fc-minor th,
  418. .fc-agenda-slots tr.fc-minor td {
  419. border-top-style: dotted;
  420. }
  421. .fc-agenda-slots tr.fc-minor th.ui-widget-header {
  422. *border-top-style: solid; /* doesn't work with background in IE6/7 */
  423. }
  424. /* Vertical Events
  425. ------------------------------------------------------------------------*/
  426. .fc-event-vert {
  427. border-width: 0 1px;
  428. }
  429. .fc-event-vert.fc-event-start {
  430. border-top-width: 1px;
  431. border-top-left-radius: 3px;
  432. border-top-right-radius: 3px;
  433. }
  434. .fc-event-vert.fc-event-end {
  435. border-bottom-width: 1px;
  436. border-bottom-left-radius: 3px;
  437. border-bottom-right-radius: 3px;
  438. }
  439. .fc-event-vert .fc-event-time {
  440. white-space: nowrap;
  441. font-size: 10px;
  442. }
  443. .fc-event-vert .fc-event-inner {
  444. position: relative;
  445. z-index: 2;
  446. }
  447. .fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
  448. position: absolute;
  449. z-index: 1;
  450. top: 0;
  451. left: 0;
  452. width: 100%;
  453. height: 100%;
  454. background: #fff;
  455. opacity: .3;
  456. filter: alpha(opacity=30);
  457. }
  458. .fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
  459. .fc-select-helper .fc-event-bg {
  460. display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
  461. }
  462. /* resizable */
  463. .fc-event-vert .ui-resizable-s {
  464. bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */
  465. width: 100% !important;
  466. height: 8px !important;
  467. overflow: hidden !important;
  468. line-height: 8px !important;
  469. font-size: 11px !important;
  470. font-family: monospace;
  471. text-align: center;
  472. cursor: s-resize;
  473. }
  474. .fc-agenda .ui-resizable-resizing { /* TODO: better selector */
  475. _overflow: hidden;
  476. }