source: trunk/prototype/plugins/fullcalendar/fullcalendar.css @ 5529

Revision 5529, 11.2 KB checked in by acoutinho, 12 years ago (diff)

Ticket #2434 - Correcoes de bugs e atualizicao do fullcalendar

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