source: trunk/prototype/app/plugins/fullcalendar/fullcalendar.css @ 5341

Revision 5341, 11.1 KB checked in by wmerlotto, 12 years ago (diff)

Ticket #2434 - Commit inicial do novo módulo de agenda do Expresso - expressoCalendar

Line 
1/*
2 * FullCalendar v1.5 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: Sat Mar 19 18:59:37 2011 -0700
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 .fc-button-effect {
253        display: none;
254        }
255       
256       
257
258/* Global Event Styles
259------------------------------------------------------------------------*/
260         
261.fc-event {
262        border-style: solid;
263        border-width: 0;
264        font-size: .85em;
265        cursor: default;
266        }
267       
268a.fc-event,
269.fc-event-draggable {
270        cursor: pointer;
271        }
272       
273a.fc-event {
274        text-decoration: none;
275        }
276       
277.fc-rtl .fc-event {
278        text-align: right;
279        }
280       
281.fc-event-skin {
282        border-color: #36c;     /* default BORDER color */
283        background-color: #36c; /* default BACKGROUND color */
284        color: #fff;            /* default TEXT color */
285        }
286       
287.fc-event-inner {
288        position: relative;
289        width: 100%;
290        height: 100%;
291        border-style: solid;
292        border-width: 0;
293        }
294       
295.fc-event-time,
296.fc-event-title {
297        padding: 0 1px;
298        }
299       
300.fc .ui-resizable-handle { /*** TODO: don't use ui-resizable anymore, change class ***/
301        display: block;
302        position: absolute;
303        z-index: 99999;
304        overflow: hidden; /* hacky spaces (IE6/7) */
305        font-size: 300%;  /* */
306        line-height: 50%; /* */
307        }
308       
309       
310       
311/* Horizontal Events
312------------------------------------------------------------------------*/
313
314.fc-event-hori {
315        border-width: 1px 0;
316        margin-bottom: 1px;
317        }
318       
319/* resizable */
320       
321.fc-event-hori .ui-resizable-e {
322        top: 0           !important; /* importants override pre jquery ui 1.7 styles */
323        right: -3px      !important;
324        width: 7px       !important;
325        height: 100%     !important;
326        cursor: e-resize;
327        }
328       
329.fc-event-hori .ui-resizable-w {
330        top: 0           !important;
331        left: -3px       !important;
332        width: 7px       !important;
333        height: 100%     !important;
334        cursor: w-resize;
335        }
336       
337.fc-event-hori .ui-resizable-handle {
338        _padding-bottom: 14px; /* IE6 had 0 height */
339        }
340       
341       
342       
343/* Fake Rounded Corners (for buttons and events)
344------------------------------------------------------------*/
345       
346.fc-corner-left {
347        margin-left: 1px;
348        }
349       
350.fc-corner-left .fc-button-inner,
351.fc-corner-left .fc-event-inner {
352        margin-left: -1px;
353        }
354       
355.fc-corner-right {
356        margin-right: 1px;
357        }
358       
359.fc-corner-right .fc-button-inner,
360.fc-corner-right .fc-event-inner {
361        margin-right: -1px;
362        }
363       
364.fc-corner-top {
365        margin-top: 1px;
366        }
367       
368.fc-corner-top .fc-event-inner {
369        margin-top: -1px;
370        }
371       
372.fc-corner-bottom {
373        margin-bottom: 1px;
374        }
375       
376.fc-corner-bottom .fc-event-inner {
377        margin-bottom: -1px;
378        }
379       
380       
381       
382/* Fake Rounded Corners SPECIFICALLY FOR EVENTS
383-----------------------------------------------------------------*/
384       
385.fc-corner-left .fc-event-inner {
386        border-left-width: 1px;
387        }
388       
389.fc-corner-right .fc-event-inner {
390        border-right-width: 1px;
391        }
392       
393.fc-corner-top .fc-event-inner {
394        border-top-width: 1px;
395        }
396       
397.fc-corner-bottom .fc-event-inner {
398        border-bottom-width: 1px;
399        }
400       
401       
402       
403/* Reusable Separate-border Table
404------------------------------------------------------------*/
405
406table.fc-border-separate {
407        border-collapse: separate;
408        }
409       
410.fc-border-separate th,
411.fc-border-separate td {
412        border-width: 1px 0 0 1px;
413        }
414       
415.fc-border-separate th.fc-last,
416.fc-border-separate td.fc-last {
417        border-right-width: 1px;
418        }
419       
420.fc-border-separate tr.fc-last th,
421.fc-border-separate tr.fc-last td {
422        border-bottom-width: 1px;
423        }
424       
425.fc-border-separate tbody tr.fc-first td,
426.fc-border-separate tbody tr.fc-first th {
427        border-top-width: 0;
428        }
429       
430       
431
432/* Month View, Basic Week View, Basic Day View
433------------------------------------------------------------------------*/
434
435.fc-grid th {
436        text-align: center;
437        }
438       
439.fc-grid .fc-day-number {
440        float: right;
441        padding: 0 2px;
442        }
443       
444.fc-grid .fc-other-month .fc-day-number {
445        opacity: 0.3;
446        filter: alpha(opacity=30); /* for IE */
447        /* opacity with small font can sometimes look too faded
448           might want to set the 'color' property instead
449           making day-numbers bold also fixes the problem */
450        }
451       
452.fc-grid .fc-day-content {
453        clear: both;
454        padding: 2px 2px 1px; /* distance between events and day edges */
455        }
456       
457/* event styles */
458       
459.fc-grid .fc-event-time {
460        font-weight: bold;
461        }
462       
463/* right-to-left */
464       
465.fc-rtl .fc-grid .fc-day-number {
466        float: left;
467        }
468       
469.fc-rtl .fc-grid .fc-event-time {
470        float: right;
471        }
472       
473       
474
475/* Agenda Week View, Agenda Day View
476------------------------------------------------------------------------*/
477
478.fc-agenda table {
479        border-collapse: separate;
480        }
481       
482.fc-agenda-days th {
483        text-align: center;
484        }
485       
486.fc-agenda .fc-agenda-axis {
487        width: 50px;
488        padding: 0 4px;
489        vertical-align: middle;
490        text-align: right;
491        white-space: nowrap;
492        font-weight: normal;
493        }
494       
495.fc-agenda .fc-day-content {
496        padding: 2px 2px 1px;
497        }
498       
499/* make axis border take precedence */
500       
501.fc-agenda-days .fc-agenda-axis {
502        border-right-width: 1px;
503        }
504       
505.fc-agenda-days .fc-col0 {
506        border-left-width: 0;
507        }
508       
509/* all-day area */
510       
511.fc-agenda-allday th {
512        border-width: 0 1px;
513        }
514       
515.fc-agenda-allday .fc-day-content {
516        min-height: 34px; /* TODO: doesnt work well in quirksmode */
517        _height: 34px;
518        }
519       
520/* divider (between all-day and slots) */
521       
522.fc-agenda-divider-inner {
523        height: 2px;
524        overflow: hidden;
525        }
526       
527.fc-widget-header .fc-agenda-divider-inner {
528        background: #eee;
529        }
530       
531/* slot rows */
532       
533.fc-agenda-slots th {
534        border-width: 1px 1px 0;
535        }
536       
537.fc-agenda-slots td {
538        border-width: 1px 0 0;
539        background: none;
540        }
541       
542.fc-agenda-slots td div {
543        height: 20px;
544        }
545       
546.fc-agenda-slots tr.fc-slot0 th,
547.fc-agenda-slots tr.fc-slot0 td {
548        border-top-width: 0;
549        }
550
551.fc-agenda-slots tr.fc-minor th,
552.fc-agenda-slots tr.fc-minor td {
553        border-top-style: dotted;
554        }
555       
556.fc-agenda-slots tr.fc-minor th.ui-widget-header {
557        *border-top-style: solid; /* doesn't work with background in IE6/7 */
558        }
559       
560
561
562/* Vertical Events
563------------------------------------------------------------------------*/
564
565.fc-event-vert {
566        border-width: 0 1px;
567        }
568       
569.fc-event-vert .fc-event-head,
570.fc-event-vert .fc-event-content {
571        position: relative;
572        z-index: 2;
573        width: 100%;
574        overflow: hidden;
575        }
576       
577.fc-event-vert .fc-event-time {
578        white-space: nowrap;
579        font-size: 10px;
580        }
581       
582.fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay  */
583        position: absolute;
584        z-index: 1;
585        top: 0;
586        left: 0;
587        width: 100%;
588        height: 100%;
589        background: #fff;
590        opacity: .3;
591        filter: alpha(opacity=30);
592        }
593       
594.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
595.fc-select-helper .fc-event-bg {
596        display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
597        }
598       
599/* resizable */
600       
601.fc-event-vert .ui-resizable-s {
602        bottom: 0        !important; /* importants override pre jquery ui 1.7 styles */
603        width: 100%      !important;
604        height: 8px      !important;
605        overflow: hidden !important;
606        line-height: 8px !important;
607        font-size: 11px  !important;
608        font-family: monospace;
609        text-align: center;
610        cursor: s-resize;
611        }
612       
613.fc-agenda .ui-resizable-resizing { /* TODO: better selector */
614        _overflow: hidden;
615        }
616       
617.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; }
618
619
620/*year view*/
621.fc-year-main-table{
622        border-spacing: 5px !important;
623}
624/* k */
625/*.fc-year-monthly-td
626{
627        border: thin #0f0f0f solid !important;
628}*/
629.fc-year-monthly-header{
630        border: thin #f0f0f0 solid !important;
631}
632.fc-year-have-event{
633        background: #9cf;
634}
635
636.fc-year-monthly-td table {
637        padding:10px;
638}
639/* k */
640
641
642.fc-year-monthly-td table .fc-day {
643        opacity:0;
644        filter:alpha(opacity=0); /* For IE8 and earlier */
645}
Note: See TracBrowser for help on using the repository browser.