fullcalendar.css 13 KB

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