1 | /* |
---|
2 | * FullCalendar v1.5.3 Stylesheet |
---|
3 | * |
---|
4 | * Copyright (c) 2011 Adam Shaw |
---|
5 | * Dual licensed under the MIT and GPL licenses, located in |
---|
6 | * MIT-LICENSE.txt and GPL-LICENSE.txt respectively. |
---|
7 | * |
---|
8 | * Date: Mon Feb 6 22:40:40 2012 -0800 |
---|
9 | * |
---|
10 | */ |
---|
11 | |
---|
12 | .fc { |
---|
13 | direction: ltr; |
---|
14 | text-align: left; |
---|
15 | } |
---|
16 | |
---|
17 | .fc table { |
---|
18 | border-collapse: collapse; |
---|
19 | border-spacing: 0; |
---|
20 | } |
---|
21 | |
---|
22 | html .fc, |
---|
23 | .fc table { |
---|
24 | font-size: 1em; |
---|
25 | } |
---|
26 | |
---|
27 | .fc td, |
---|
28 | .fc th { |
---|
29 | padding: 0; |
---|
30 | vertical-align: top; |
---|
31 | } |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | /* Header |
---|
36 | ------------------------------------------------------------------------*/ |
---|
37 | |
---|
38 | .fc-header td { |
---|
39 | white-space: nowrap; |
---|
40 | } |
---|
41 | |
---|
42 | .fc-header-left { |
---|
43 | width: 25%; |
---|
44 | text-align: left; |
---|
45 | } |
---|
46 | |
---|
47 | .fc-header-center { |
---|
48 | text-align: center; |
---|
49 | } |
---|
50 | |
---|
51 | .fc-header-right { |
---|
52 | width: 25%; |
---|
53 | text-align: right; |
---|
54 | } |
---|
55 | |
---|
56 | .fc-header-title { |
---|
57 | display: inline-block; |
---|
58 | vertical-align: top; |
---|
59 | } |
---|
60 | |
---|
61 | .fc-header-title h2 { |
---|
62 | margin-top: 0; |
---|
63 | white-space: nowrap; |
---|
64 | } |
---|
65 | |
---|
66 | .fc .fc-header-space { |
---|
67 | padding-left: 10px; |
---|
68 | } |
---|
69 | |
---|
70 | .fc-header .fc-button { |
---|
71 | margin-bottom: 1em; |
---|
72 | vertical-align: top; |
---|
73 | } |
---|
74 | |
---|
75 | /* buttons edges butting together */ |
---|
76 | |
---|
77 | .fc-header .fc-button { |
---|
78 | margin-right: -1px; |
---|
79 | } |
---|
80 | |
---|
81 | .fc-header .fc-corner-right { |
---|
82 | margin-right: 1px; /* back to normal */ |
---|
83 | } |
---|
84 | |
---|
85 | .fc-header .ui-corner-right { |
---|
86 | margin-right: 0; /* back to normal */ |
---|
87 | } |
---|
88 | |
---|
89 | /* button layering (for border precedence) */ |
---|
90 | |
---|
91 | .fc-header .fc-state-hover, |
---|
92 | .fc-header .ui-state-hover { |
---|
93 | z-index: 2; |
---|
94 | } |
---|
95 | |
---|
96 | .fc-header .fc-state-down { |
---|
97 | z-index: 3; |
---|
98 | } |
---|
99 | |
---|
100 | .fc-header .fc-state-active, |
---|
101 | .fc-header .ui-state-active { |
---|
102 | z-index: 4; |
---|
103 | } |
---|
104 | |
---|
105 | |
---|
106 | |
---|
107 | /* Content |
---|
108 | ------------------------------------------------------------------------*/ |
---|
109 | |
---|
110 | .fc-content { |
---|
111 | clear: both; |
---|
112 | } |
---|
113 | |
---|
114 | .fc-view { |
---|
115 | width: 100%; /* needed for view switching (when view is absolute) */ |
---|
116 | overflow: hidden; |
---|
117 | } |
---|
118 | |
---|
119 | |
---|
120 | |
---|
121 | /* Cell Styles |
---|
122 | ------------------------------------------------------------------------*/ |
---|
123 | |
---|
124 | .fc-widget-header, /* <th>, usually */ |
---|
125 | .fc-widget-content { /* <td>, usually */ |
---|
126 | border: 1px solid #ccc; |
---|
127 | } |
---|
128 | /* k - for year-type display */ |
---|
129 | .fc-year-main-table .fc-widget-content { |
---|
130 | border: none; |
---|
131 | } |
---|
132 | |
---|
133 | .fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */ |
---|
134 | background: #ffc; |
---|
135 | } |
---|
136 | |
---|
137 | .fc-cell-overlay { /* semi-transparent rectangle while dragging */ |
---|
138 | background: #9cf; |
---|
139 | opacity: .2; |
---|
140 | filter: alpha(opacity=20); /* for IE */ |
---|
141 | } |
---|
142 | |
---|
143 | |
---|
144 | |
---|
145 | /* Buttons |
---|
146 | ------------------------------------------------------------------------*/ |
---|
147 | |
---|
148 | .fc-button { |
---|
149 | position: relative; |
---|
150 | display: inline-block; |
---|
151 | cursor: pointer; |
---|
152 | } |
---|
153 | |
---|
154 | .fc-state-default { /* non-theme */ |
---|
155 | border-style: solid; |
---|
156 | border-width: 1px 0; |
---|
157 | } |
---|
158 | |
---|
159 | .fc-button-inner { |
---|
160 | position: relative; |
---|
161 | float: left; |
---|
162 | overflow: hidden; |
---|
163 | } |
---|
164 | |
---|
165 | .fc-state-default .fc-button-inner { /* non-theme */ |
---|
166 | border-style: solid; |
---|
167 | border-width: 0 1px; |
---|
168 | } |
---|
169 | |
---|
170 | .fc-button-content { |
---|
171 | position: relative; |
---|
172 | float: left; |
---|
173 | height: 1.9em; |
---|
174 | line-height: 1.9em; |
---|
175 | padding: 0 .6em; |
---|
176 | white-space: nowrap; |
---|
177 | } |
---|
178 | |
---|
179 | /* icon (for jquery ui) */ |
---|
180 | |
---|
181 | .fc-button-content .fc-icon-wrap { |
---|
182 | position: relative; |
---|
183 | float: left; |
---|
184 | top: 50%; |
---|
185 | } |
---|
186 | |
---|
187 | .fc-button-content .ui-icon { |
---|
188 | position: relative; |
---|
189 | float: left; |
---|
190 | margin-top: -50%; |
---|
191 | *margin-top: 0; |
---|
192 | *top: -50%; |
---|
193 | } |
---|
194 | |
---|
195 | /* gloss effect */ |
---|
196 | |
---|
197 | .fc-state-default .fc-button-effect { |
---|
198 | position: absolute; |
---|
199 | top: 50%; |
---|
200 | left: 0; |
---|
201 | } |
---|
202 | |
---|
203 | .fc-state-default .fc-button-effect span { |
---|
204 | position: absolute; |
---|
205 | top: -100px; |
---|
206 | left: 0; |
---|
207 | width: 500px; |
---|
208 | height: 100px; |
---|
209 | border-width: 100px 0 0 1px; |
---|
210 | border-style: solid; |
---|
211 | border-color: #fff; |
---|
212 | background: #444; |
---|
213 | opacity: .09; |
---|
214 | filter: alpha(opacity=9); |
---|
215 | } |
---|
216 | |
---|
217 | /* button states (determines colors) */ |
---|
218 | |
---|
219 | .fc-state-default, |
---|
220 | .fc-state-default .fc-button-inner { |
---|
221 | border-style: solid; |
---|
222 | border-color: #ccc #bbb #aaa; |
---|
223 | background: #F3F3F3; |
---|
224 | color: #000; |
---|
225 | } |
---|
226 | |
---|
227 | .fc-state-hover, |
---|
228 | .fc-state-hover .fc-button-inner { |
---|
229 | border-color: #999; |
---|
230 | } |
---|
231 | |
---|
232 | .fc-state-down, |
---|
233 | .fc-state-down .fc-button-inner { |
---|
234 | border-color: #555; |
---|
235 | background: #777; |
---|
236 | } |
---|
237 | |
---|
238 | .fc-state-active, |
---|
239 | .fc-state-active .fc-button-inner { |
---|
240 | border-color: #555; |
---|
241 | background: #777; |
---|
242 | color: #fff; |
---|
243 | } |
---|
244 | |
---|
245 | .fc-state-disabled, |
---|
246 | .fc-state-disabled .fc-button-inner { |
---|
247 | color: #999; |
---|
248 | border-color: #ddd; |
---|
249 | } |
---|
250 | |
---|
251 | .fc-state-disabled { |
---|
252 | cursor: default; |
---|
253 | } |
---|
254 | |
---|
255 | .fc-state-disabled .fc-button-effect { |
---|
256 | display: none; |
---|
257 | } |
---|
258 | |
---|
259 | |
---|
260 | |
---|
261 | /* Global Event Styles |
---|
262 | ------------------------------------------------------------------------*/ |
---|
263 | |
---|
264 | .fc-event { |
---|
265 | border-style: solid; |
---|
266 | border-width: 0; |
---|
267 | font-size: .85em; |
---|
268 | cursor: default; |
---|
269 | } |
---|
270 | |
---|
271 | a.fc-event, |
---|
272 | .fc-event-draggable { |
---|
273 | cursor: pointer; |
---|
274 | } |
---|
275 | |
---|
276 | a.fc-event { |
---|
277 | text-decoration: none; |
---|
278 | } |
---|
279 | |
---|
280 | .fc-rtl .fc-event { |
---|
281 | text-align: right; |
---|
282 | } |
---|
283 | |
---|
284 | .fc-event-skin { |
---|
285 | border-color: #36c; /* default BORDER color */ |
---|
286 | background-color: #36c; /* default BACKGROUND color */ |
---|
287 | color: #fff; /* default TEXT color */ |
---|
288 | } |
---|
289 | |
---|
290 | .fc-event-inner { |
---|
291 | position: relative; |
---|
292 | width: 100%; |
---|
293 | height: 100%; |
---|
294 | border-style: solid; |
---|
295 | border-width: 0; |
---|
296 | overflow: hidden; |
---|
297 | } |
---|
298 | |
---|
299 | .fc-event-time, |
---|
300 | .fc-event-title { |
---|
301 | padding: 0 1px; |
---|
302 | } |
---|
303 | |
---|
304 | .fc .ui-resizable-handle { /*** TODO: don't use ui-resizable anymore, change class ***/ |
---|
305 | display: block; |
---|
306 | position: absolute; |
---|
307 | z-index: 99999; |
---|
308 | overflow: hidden; /* hacky spaces (IE6/7) */ |
---|
309 | font-size: 300%; /* */ |
---|
310 | line-height: 50%; /* */ |
---|
311 | } |
---|
312 | |
---|
313 | |
---|
314 | |
---|
315 | /* Horizontal Events |
---|
316 | ------------------------------------------------------------------------*/ |
---|
317 | |
---|
318 | .fc-event-hori { |
---|
319 | border-width: 1px 0; |
---|
320 | margin-bottom: 1px; |
---|
321 | } |
---|
322 | |
---|
323 | /* resizable */ |
---|
324 | |
---|
325 | .fc-event-hori .ui-resizable-e { |
---|
326 | top: 0 !important; /* importants override pre jquery ui 1.7 styles */ |
---|
327 | right: -3px !important; |
---|
328 | width: 7px !important; |
---|
329 | height: 100% !important; |
---|
330 | cursor: e-resize; |
---|
331 | } |
---|
332 | |
---|
333 | .fc-event-hori .ui-resizable-w { |
---|
334 | top: 0 !important; |
---|
335 | left: -3px !important; |
---|
336 | width: 7px !important; |
---|
337 | height: 100% !important; |
---|
338 | cursor: w-resize; |
---|
339 | } |
---|
340 | |
---|
341 | .fc-event-hori .ui-resizable-handle { |
---|
342 | _padding-bottom: 14px; /* IE6 had 0 height */ |
---|
343 | } |
---|
344 | |
---|
345 | |
---|
346 | |
---|
347 | /* Fake Rounded Corners (for buttons and events) |
---|
348 | ------------------------------------------------------------*/ |
---|
349 | |
---|
350 | .fc-corner-left { |
---|
351 | margin-left: 1px; |
---|
352 | } |
---|
353 | |
---|
354 | .fc-corner-left .fc-button-inner, |
---|
355 | .fc-corner-left .fc-event-inner { |
---|
356 | margin-left: -1px; |
---|
357 | } |
---|
358 | |
---|
359 | .fc-corner-right { |
---|
360 | margin-right: 1px; |
---|
361 | } |
---|
362 | |
---|
363 | .fc-corner-right .fc-button-inner, |
---|
364 | .fc-corner-right .fc-event-inner { |
---|
365 | margin-right: -1px; |
---|
366 | } |
---|
367 | |
---|
368 | .fc-corner-top { |
---|
369 | margin-top: 1px; |
---|
370 | } |
---|
371 | |
---|
372 | .fc-corner-top .fc-event-inner { |
---|
373 | margin-top: -1px; |
---|
374 | } |
---|
375 | |
---|
376 | .fc-corner-bottom { |
---|
377 | margin-bottom: 1px; |
---|
378 | } |
---|
379 | |
---|
380 | .fc-corner-bottom .fc-event-inner { |
---|
381 | margin-bottom: -1px; |
---|
382 | } |
---|
383 | |
---|
384 | |
---|
385 | |
---|
386 | /* Fake Rounded Corners SPECIFICALLY FOR EVENTS |
---|
387 | -----------------------------------------------------------------*/ |
---|
388 | |
---|
389 | .fc-corner-left .fc-event-inner { |
---|
390 | border-left-width: 1px; |
---|
391 | } |
---|
392 | |
---|
393 | .fc-corner-right .fc-event-inner { |
---|
394 | border-right-width: 1px; |
---|
395 | } |
---|
396 | |
---|
397 | .fc-corner-top .fc-event-inner { |
---|
398 | border-top-width: 1px; |
---|
399 | } |
---|
400 | |
---|
401 | .fc-corner-bottom .fc-event-inner { |
---|
402 | border-bottom-width: 1px; |
---|
403 | } |
---|
404 | |
---|
405 | |
---|
406 | |
---|
407 | /* Reusable Separate-border Table |
---|
408 | ------------------------------------------------------------*/ |
---|
409 | |
---|
410 | table.fc-border-separate { |
---|
411 | border-collapse: separate; |
---|
412 | } |
---|
413 | |
---|
414 | .fc-border-separate th, |
---|
415 | .fc-border-separate td { |
---|
416 | border-width: 1px 0 0 1px; |
---|
417 | } |
---|
418 | |
---|
419 | .fc-border-separate th.fc-last, |
---|
420 | .fc-border-separate td.fc-last { |
---|
421 | border-right-width: 1px; |
---|
422 | } |
---|
423 | |
---|
424 | .fc-border-separate tr.fc-last th, |
---|
425 | .fc-border-separate tr.fc-last td { |
---|
426 | border-bottom-width: 1px; |
---|
427 | } |
---|
428 | |
---|
429 | .fc-border-separate tbody tr.fc-first td, |
---|
430 | .fc-border-separate tbody tr.fc-first th { |
---|
431 | border-top-width: 0; |
---|
432 | } |
---|
433 | |
---|
434 | |
---|
435 | |
---|
436 | /* Month View, Basic Week View, Basic Day View |
---|
437 | ------------------------------------------------------------------------*/ |
---|
438 | |
---|
439 | .fc-grid th { |
---|
440 | text-align: center; |
---|
441 | } |
---|
442 | |
---|
443 | .fc-grid .fc-day-number { |
---|
444 | float: right; |
---|
445 | padding: 0 2px; |
---|
446 | } |
---|
447 | |
---|
448 | .fc-grid .fc-other-month .fc-day-number { |
---|
449 | opacity: 0.3; |
---|
450 | filter: alpha(opacity=30); /* for IE */ |
---|
451 | /* opacity with small font can sometimes look too faded |
---|
452 | might want to set the 'color' property instead |
---|
453 | making day-numbers bold also fixes the problem */ |
---|
454 | } |
---|
455 | |
---|
456 | .fc-grid .fc-day-content { |
---|
457 | clear: both; |
---|
458 | padding: 2px 2px 1px; /* distance between events and day edges */ |
---|
459 | } |
---|
460 | |
---|
461 | /* event styles */ |
---|
462 | |
---|
463 | .fc-grid .fc-event-time { |
---|
464 | font-weight: bold; |
---|
465 | } |
---|
466 | |
---|
467 | /* right-to-left */ |
---|
468 | |
---|
469 | .fc-rtl .fc-grid .fc-day-number { |
---|
470 | float: left; |
---|
471 | } |
---|
472 | |
---|
473 | .fc-rtl .fc-grid .fc-event-time { |
---|
474 | float: right; |
---|
475 | } |
---|
476 | |
---|
477 | |
---|
478 | |
---|
479 | /* Agenda Week View, Agenda Day View |
---|
480 | ------------------------------------------------------------------------*/ |
---|
481 | |
---|
482 | .fc-agenda table { |
---|
483 | border-collapse: separate; |
---|
484 | } |
---|
485 | |
---|
486 | .fc-agenda-days th { |
---|
487 | text-align: center; |
---|
488 | } |
---|
489 | |
---|
490 | .fc-agenda .fc-agenda-axis { |
---|
491 | width: 50px; |
---|
492 | padding: 0 4px; |
---|
493 | vertical-align: middle; |
---|
494 | text-align: right; |
---|
495 | white-space: nowrap; |
---|
496 | font-weight: normal; |
---|
497 | } |
---|
498 | |
---|
499 | .fc-agenda .fc-day-content { |
---|
500 | padding: 2px 2px 1px; |
---|
501 | } |
---|
502 | |
---|
503 | /* make axis border take precedence */ |
---|
504 | |
---|
505 | .fc-agenda-days .fc-agenda-axis { |
---|
506 | border-right-width: 1px; |
---|
507 | } |
---|
508 | |
---|
509 | .fc-agenda-days .fc-col0 { |
---|
510 | border-left-width: 0; |
---|
511 | } |
---|
512 | |
---|
513 | /* all-day area */ |
---|
514 | |
---|
515 | .fc-agenda-allday th { |
---|
516 | border-width: 0 1px; |
---|
517 | } |
---|
518 | |
---|
519 | .fc-agenda-allday .fc-day-content { |
---|
520 | min-height: 34px; /* TODO: doesnt work well in quirksmode */ |
---|
521 | _height: 34px; |
---|
522 | } |
---|
523 | |
---|
524 | /* divider (between all-day and slots) */ |
---|
525 | |
---|
526 | .fc-agenda-divider-inner { |
---|
527 | height: 2px; |
---|
528 | overflow: hidden; |
---|
529 | } |
---|
530 | |
---|
531 | .fc-widget-header .fc-agenda-divider-inner { |
---|
532 | background: #eee; |
---|
533 | } |
---|
534 | |
---|
535 | /* slot rows */ |
---|
536 | |
---|
537 | .fc-agenda-slots th { |
---|
538 | border-width: 1px 1px 0; |
---|
539 | } |
---|
540 | |
---|
541 | .fc-agenda-slots td { |
---|
542 | border-width: 1px 0 0; |
---|
543 | background: none; |
---|
544 | } |
---|
545 | |
---|
546 | .fc-agenda-slots td div { |
---|
547 | height: 20px; |
---|
548 | } |
---|
549 | |
---|
550 | .fc-agenda-slots tr.fc-slot0 th, |
---|
551 | .fc-agenda-slots tr.fc-slot0 td { |
---|
552 | border-top-width: 0; |
---|
553 | } |
---|
554 | |
---|
555 | .fc-agenda-slots tr.fc-minor th, |
---|
556 | .fc-agenda-slots tr.fc-minor td { |
---|
557 | border-top-style: dotted; |
---|
558 | } |
---|
559 | |
---|
560 | .fc-agenda-slots tr.fc-minor th.ui-widget-header { |
---|
561 | *border-top-style: solid; /* doesn't work with background in IE6/7 */ |
---|
562 | } |
---|
563 | |
---|
564 | |
---|
565 | |
---|
566 | /* Vertical Events |
---|
567 | ------------------------------------------------------------------------*/ |
---|
568 | |
---|
569 | .fc-event-vert { |
---|
570 | border-width: 0 1px; |
---|
571 | } |
---|
572 | |
---|
573 | .fc-event-vert .fc-event-head, |
---|
574 | .fc-event-vert .fc-event-content { |
---|
575 | position: relative; |
---|
576 | z-index: 2; |
---|
577 | width: 100%; |
---|
578 | overflow: hidden; |
---|
579 | } |
---|
580 | |
---|
581 | .fc-event-vert .fc-event-time { |
---|
582 | white-space: nowrap; |
---|
583 | font-size: 10px; |
---|
584 | } |
---|
585 | |
---|
586 | .fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */ |
---|
587 | position: absolute; |
---|
588 | z-index: 1; |
---|
589 | top: 0; |
---|
590 | left: 0; |
---|
591 | width: 100%; |
---|
592 | height: 100%; |
---|
593 | background: #fff; |
---|
594 | opacity: .3; |
---|
595 | filter: alpha(opacity=30); |
---|
596 | } |
---|
597 | |
---|
598 | .fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */ |
---|
599 | .fc-select-helper .fc-event-bg { |
---|
600 | display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */ |
---|
601 | } |
---|
602 | |
---|
603 | /* resizable */ |
---|
604 | |
---|
605 | .fc-event-vert .ui-resizable-s { |
---|
606 | bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */ |
---|
607 | width: 100% !important; |
---|
608 | height: 8px !important; |
---|
609 | overflow: hidden !important; |
---|
610 | line-height: 8px !important; |
---|
611 | font-size: 11px !important; |
---|
612 | font-family: monospace; |
---|
613 | text-align: center; |
---|
614 | cursor: s-resize; |
---|
615 | } |
---|
616 | |
---|
617 | .fc-agenda .ui-resizable-resizing { /* TODO: better selector */ |
---|
618 | _overflow: hidden; |
---|
619 | } |
---|
620 | |
---|
621 | .ui-widget-overlay { background-color: #666666 /*url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat*/; opacity: .50;filter:Alpha(Opacity=50); height: 100%; width: 100%; position: absolute; top: 0; left: 0; } |
---|
622 | |
---|
623 | /*year view*/ |
---|
624 | .fc-year-main-table{ |
---|
625 | border-spacing: 5px !important; |
---|
626 | } |
---|
627 | /* k */ |
---|
628 | /*.fc-year-monthly-td |
---|
629 | { |
---|
630 | border: thin #0f0f0f solid !important; |
---|
631 | }*/ |
---|
632 | .fc-year-monthly-header{ |
---|
633 | border: thin #f0f0f0 solid !important; |
---|
634 | } |
---|
635 | .fc-year-have-event{ |
---|
636 | background: #9cf; |
---|
637 | } |
---|
638 | |
---|
639 | .fc-year-monthly-td table { |
---|
640 | padding:10px; |
---|
641 | } |
---|
642 | /* k */ |
---|
643 | |
---|
644 | |
---|
645 | |
---|
646 | .fc-year-monthly-td table .fc-day { |
---|
647 | opacity:0; |
---|
648 | filter:alpha(opacity=0); /* For IE8 and earlier */ |
---|
649 | } |
---|