fullcalendar2-rails 2.0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/fullcalendar2-rails.gemspec +25 -0
- data/lib/fullcalendar2-rails.rb +8 -0
- data/lib/fullcalendar2-rails/.DS_Store +0 -0
- data/lib/fullcalendar2-rails/version.rb +5 -0
- data/vendor/assets/javascripts/fullcalendar.js +6934 -0
- data/vendor/assets/javascripts/gcal.js +100 -0
- data/vendor/assets/stylesheets/fullcalendar.css +601 -0
- data/vendor/assets/stylesheets/fullcalendar.print.css +32 -0
- metadata +103 -0
@@ -0,0 +1,100 @@
|
|
1
|
+
/*!
|
2
|
+
* FullCalendar v2.0.0-beta2 Google Calendar Plugin
|
3
|
+
* Docs & License: http://arshaw.com/fullcalendar/
|
4
|
+
* (c) 2013 Adam Shaw
|
5
|
+
*/
|
6
|
+
|
7
|
+
(function(factory) {
|
8
|
+
if (typeof define === 'function' && define.amd) {
|
9
|
+
define([ 'jquery' ], factory);
|
10
|
+
}
|
11
|
+
else {
|
12
|
+
factory(jQuery);
|
13
|
+
}
|
14
|
+
})(function($) {
|
15
|
+
|
16
|
+
|
17
|
+
var fc = $.fullCalendar;
|
18
|
+
var applyAll = fc.applyAll;
|
19
|
+
|
20
|
+
|
21
|
+
fc.sourceNormalizers.push(function(sourceOptions) {
|
22
|
+
if (sourceOptions.dataType == 'gcal' ||
|
23
|
+
sourceOptions.dataType === undefined &&
|
24
|
+
(sourceOptions.url || '').match(/^(http|https):\/\/www.google.com\/calendar\/feeds\//)) {
|
25
|
+
sourceOptions.dataType = 'gcal';
|
26
|
+
if (sourceOptions.editable === undefined) {
|
27
|
+
sourceOptions.editable = false;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
});
|
31
|
+
|
32
|
+
|
33
|
+
fc.sourceFetchers.push(function(sourceOptions, start, end, timezone) {
|
34
|
+
if (sourceOptions.dataType == 'gcal') {
|
35
|
+
return transformOptions(sourceOptions, start, end, timezone);
|
36
|
+
}
|
37
|
+
});
|
38
|
+
|
39
|
+
|
40
|
+
function transformOptions(sourceOptions, start, end, timezone) {
|
41
|
+
|
42
|
+
var success = sourceOptions.success;
|
43
|
+
var data = $.extend({}, sourceOptions.data || {}, {
|
44
|
+
singleevents: true,
|
45
|
+
'max-results': 9999
|
46
|
+
});
|
47
|
+
|
48
|
+
return $.extend({}, sourceOptions, {
|
49
|
+
url: sourceOptions.url.replace(/\/basic$/, '/full') + '?alt=json-in-script&callback=?',
|
50
|
+
dataType: 'jsonp',
|
51
|
+
data: data,
|
52
|
+
timezoneParam: 'ctz',
|
53
|
+
startParam: 'start-min',
|
54
|
+
endParam: 'start-max',
|
55
|
+
success: function(data) {
|
56
|
+
var events = [];
|
57
|
+
if (data.feed.entry) {
|
58
|
+
$.each(data.feed.entry, function(i, entry) {
|
59
|
+
|
60
|
+
var url;
|
61
|
+
$.each(entry.link, function(i, link) {
|
62
|
+
if (link.type == 'text/html') {
|
63
|
+
url = link.href;
|
64
|
+
if (timezone && timezone != 'local') {
|
65
|
+
url += (url.indexOf('?') == -1 ? '?' : '&') + 'ctz=' + encodeURIComponent(timezone);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
});
|
69
|
+
|
70
|
+
events.push({
|
71
|
+
id: entry.gCal$uid.value,
|
72
|
+
title: entry.title.$t,
|
73
|
+
start: entry.gd$when[0].startTime,
|
74
|
+
end: entry.gd$when[0].endTime,
|
75
|
+
url: url,
|
76
|
+
location: entry.gd$where[0].valueString,
|
77
|
+
description: entry.content.$t
|
78
|
+
});
|
79
|
+
|
80
|
+
});
|
81
|
+
}
|
82
|
+
var args = [events].concat(Array.prototype.slice.call(arguments, 1));
|
83
|
+
var res = applyAll(success, this, args);
|
84
|
+
if ($.isArray(res)) {
|
85
|
+
return res;
|
86
|
+
}
|
87
|
+
return events;
|
88
|
+
}
|
89
|
+
});
|
90
|
+
|
91
|
+
}
|
92
|
+
|
93
|
+
|
94
|
+
// legacy
|
95
|
+
fc.gcalFeed = function(url, sourceOptions) {
|
96
|
+
return $.extend({}, sourceOptions, { url: url, dataType: 'gcal' });
|
97
|
+
};
|
98
|
+
|
99
|
+
|
100
|
+
});
|
@@ -0,0 +1,601 @@
|
|
1
|
+
/*!
|
2
|
+
* FullCalendar v2.0.0-beta2 Stylesheet
|
3
|
+
* Docs & License: http://arshaw.com/fullcalendar/
|
4
|
+
* (c) 2013 Adam Shaw
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
.fc {
|
9
|
+
direction: ltr;
|
10
|
+
text-align: left;
|
11
|
+
}
|
12
|
+
|
13
|
+
.fc table {
|
14
|
+
border-collapse: collapse;
|
15
|
+
border-spacing: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
html .fc,
|
19
|
+
.fc table {
|
20
|
+
font-size: 1em;
|
21
|
+
}
|
22
|
+
|
23
|
+
.fc td,
|
24
|
+
.fc th {
|
25
|
+
padding: 0;
|
26
|
+
vertical-align: top;
|
27
|
+
}
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
/* Header
|
32
|
+
------------------------------------------------------------------------*/
|
33
|
+
|
34
|
+
.fc-header td {
|
35
|
+
white-space: nowrap;
|
36
|
+
}
|
37
|
+
|
38
|
+
.fc-header-left {
|
39
|
+
width: 25%;
|
40
|
+
text-align: left;
|
41
|
+
}
|
42
|
+
|
43
|
+
.fc-header-center {
|
44
|
+
text-align: center;
|
45
|
+
}
|
46
|
+
|
47
|
+
.fc-header-right {
|
48
|
+
width: 25%;
|
49
|
+
text-align: right;
|
50
|
+
}
|
51
|
+
|
52
|
+
.fc-header-title {
|
53
|
+
display: inline-block;
|
54
|
+
vertical-align: top;
|
55
|
+
}
|
56
|
+
|
57
|
+
.fc-header-title h2 {
|
58
|
+
margin-top: 0;
|
59
|
+
white-space: nowrap;
|
60
|
+
}
|
61
|
+
|
62
|
+
.fc .fc-header-space {
|
63
|
+
padding-left: 10px;
|
64
|
+
}
|
65
|
+
|
66
|
+
.fc-header .fc-button {
|
67
|
+
margin-bottom: 1em;
|
68
|
+
vertical-align: top;
|
69
|
+
}
|
70
|
+
|
71
|
+
/* buttons edges butting together */
|
72
|
+
|
73
|
+
.fc-header .fc-button {
|
74
|
+
margin-right: -1px;
|
75
|
+
}
|
76
|
+
|
77
|
+
.fc-header .fc-corner-right, /* non-theme */
|
78
|
+
.fc-header .ui-corner-right { /* theme */
|
79
|
+
margin-right: 0; /* back to normal */
|
80
|
+
}
|
81
|
+
|
82
|
+
/* button layering (for border precedence) */
|
83
|
+
|
84
|
+
.fc-header .fc-state-hover,
|
85
|
+
.fc-header .ui-state-hover {
|
86
|
+
z-index: 2;
|
87
|
+
}
|
88
|
+
|
89
|
+
.fc-header .fc-state-down {
|
90
|
+
z-index: 3;
|
91
|
+
}
|
92
|
+
|
93
|
+
.fc-header .fc-state-active,
|
94
|
+
.fc-header .ui-state-active {
|
95
|
+
z-index: 4;
|
96
|
+
}
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
/* Content
|
101
|
+
------------------------------------------------------------------------*/
|
102
|
+
|
103
|
+
.fc-content {
|
104
|
+
position: relative;
|
105
|
+
z-index: 1; /* scopes all other z-index's to be inside this container */
|
106
|
+
clear: both;
|
107
|
+
zoom: 1; /* for IE7, gives accurate coordinates for [un]freezeContentHeight */
|
108
|
+
}
|
109
|
+
|
110
|
+
.fc-view {
|
111
|
+
position: relative;
|
112
|
+
width: 100%;
|
113
|
+
overflow: hidden;
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
/* Cell Styles
|
119
|
+
------------------------------------------------------------------------*/
|
120
|
+
|
121
|
+
.fc-widget-header, /* <th>, usually */
|
122
|
+
.fc-widget-content { /* <td>, usually */
|
123
|
+
border: 1px solid #ddd;
|
124
|
+
}
|
125
|
+
|
126
|
+
.fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
|
127
|
+
background: #fcf8e3;
|
128
|
+
}
|
129
|
+
|
130
|
+
.fc-cell-overlay { /* semi-transparent rectangle while dragging */
|
131
|
+
background: #bce8f1;
|
132
|
+
opacity: .3;
|
133
|
+
filter: alpha(opacity=30); /* for IE */
|
134
|
+
}
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
/* Buttons
|
139
|
+
------------------------------------------------------------------------*/
|
140
|
+
|
141
|
+
.fc-button {
|
142
|
+
position: relative;
|
143
|
+
display: inline-block;
|
144
|
+
padding: 0 .6em;
|
145
|
+
overflow: hidden;
|
146
|
+
height: 1.9em;
|
147
|
+
line-height: 1.9em;
|
148
|
+
white-space: nowrap;
|
149
|
+
cursor: pointer;
|
150
|
+
}
|
151
|
+
|
152
|
+
.fc-state-default { /* non-theme */
|
153
|
+
border: 1px solid;
|
154
|
+
}
|
155
|
+
|
156
|
+
.fc-state-default.fc-corner-left { /* non-theme */
|
157
|
+
border-top-left-radius: 4px;
|
158
|
+
border-bottom-left-radius: 4px;
|
159
|
+
}
|
160
|
+
|
161
|
+
.fc-state-default.fc-corner-right { /* non-theme */
|
162
|
+
border-top-right-radius: 4px;
|
163
|
+
border-bottom-right-radius: 4px;
|
164
|
+
}
|
165
|
+
|
166
|
+
/*
|
167
|
+
Our default prev/next buttons use HTML entities like ‹ › « »
|
168
|
+
and we'll try to make them look good cross-browser.
|
169
|
+
*/
|
170
|
+
|
171
|
+
.fc-button .fc-icon {
|
172
|
+
margin: 0 .1em;
|
173
|
+
font-size: 2em;
|
174
|
+
font-family: "Courier New", Courier, monospace;
|
175
|
+
vertical-align: baseline; /* for IE7 */
|
176
|
+
}
|
177
|
+
|
178
|
+
.fc-icon-left-single-arrow:after {
|
179
|
+
content: "\02039";
|
180
|
+
font-weight: bold;
|
181
|
+
}
|
182
|
+
|
183
|
+
.fc-icon-right-single-arrow:after {
|
184
|
+
content: "\0203A";
|
185
|
+
font-weight: bold;
|
186
|
+
}
|
187
|
+
|
188
|
+
.fc-icon-left-double-arrow:after {
|
189
|
+
content: "\000AB";
|
190
|
+
}
|
191
|
+
|
192
|
+
.fc-icon-right-double-arrow:after {
|
193
|
+
content: "\000BB";
|
194
|
+
}
|
195
|
+
|
196
|
+
/* icon (for jquery ui) */
|
197
|
+
|
198
|
+
.fc-button .ui-icon {
|
199
|
+
position: relative;
|
200
|
+
top: 50%;
|
201
|
+
float: left;
|
202
|
+
margin-top: -8px; /* we know jqui icons are always 16px tall */
|
203
|
+
}
|
204
|
+
|
205
|
+
/*
|
206
|
+
button states
|
207
|
+
borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
|
208
|
+
*/
|
209
|
+
|
210
|
+
.fc-state-default {
|
211
|
+
background-color: #f5f5f5;
|
212
|
+
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
|
213
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
214
|
+
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
215
|
+
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
216
|
+
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
|
217
|
+
background-repeat: repeat-x;
|
218
|
+
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
|
219
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
220
|
+
color: #333;
|
221
|
+
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
222
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
223
|
+
}
|
224
|
+
|
225
|
+
.fc-state-hover,
|
226
|
+
.fc-state-down,
|
227
|
+
.fc-state-active,
|
228
|
+
.fc-state-disabled {
|
229
|
+
color: #333333;
|
230
|
+
background-color: #e6e6e6;
|
231
|
+
}
|
232
|
+
|
233
|
+
.fc-state-hover {
|
234
|
+
color: #333333;
|
235
|
+
text-decoration: none;
|
236
|
+
background-position: 0 -15px;
|
237
|
+
-webkit-transition: background-position 0.1s linear;
|
238
|
+
-moz-transition: background-position 0.1s linear;
|
239
|
+
-o-transition: background-position 0.1s linear;
|
240
|
+
transition: background-position 0.1s linear;
|
241
|
+
}
|
242
|
+
|
243
|
+
.fc-state-down,
|
244
|
+
.fc-state-active {
|
245
|
+
background-color: #cccccc;
|
246
|
+
background-image: none;
|
247
|
+
outline: 0;
|
248
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
249
|
+
}
|
250
|
+
|
251
|
+
.fc-state-disabled {
|
252
|
+
cursor: default;
|
253
|
+
background-image: none;
|
254
|
+
opacity: 0.65;
|
255
|
+
filter: alpha(opacity=65);
|
256
|
+
box-shadow: none;
|
257
|
+
}
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
/* Global Event Styles
|
262
|
+
------------------------------------------------------------------------*/
|
263
|
+
|
264
|
+
.fc-event-container > * {
|
265
|
+
z-index: 8;
|
266
|
+
}
|
267
|
+
|
268
|
+
.fc-event-container > .ui-draggable-dragging,
|
269
|
+
.fc-event-container > .ui-resizable-resizing {
|
270
|
+
z-index: 9;
|
271
|
+
}
|
272
|
+
|
273
|
+
.fc-event {
|
274
|
+
border: 1px solid #3a87ad; /* default BORDER color */
|
275
|
+
background-color: #3a87ad; /* default BACKGROUND color */
|
276
|
+
color: #fff; /* default TEXT color */
|
277
|
+
font-size: .85em;
|
278
|
+
cursor: default;
|
279
|
+
}
|
280
|
+
|
281
|
+
a.fc-event {
|
282
|
+
text-decoration: none;
|
283
|
+
}
|
284
|
+
|
285
|
+
a.fc-event,
|
286
|
+
.fc-event-draggable {
|
287
|
+
cursor: pointer;
|
288
|
+
}
|
289
|
+
|
290
|
+
.fc-rtl .fc-event {
|
291
|
+
text-align: right;
|
292
|
+
}
|
293
|
+
|
294
|
+
.fc-event-inner {
|
295
|
+
width: 100%;
|
296
|
+
height: 100%;
|
297
|
+
overflow: hidden;
|
298
|
+
}
|
299
|
+
|
300
|
+
.fc-event-time,
|
301
|
+
.fc-event-title {
|
302
|
+
padding: 0 1px;
|
303
|
+
}
|
304
|
+
|
305
|
+
.fc .ui-resizable-handle {
|
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
|
+
.fc-ltr .fc-event-hori.fc-event-start,
|
325
|
+
.fc-rtl .fc-event-hori.fc-event-end {
|
326
|
+
border-left-width: 1px;
|
327
|
+
border-top-left-radius: 3px;
|
328
|
+
border-bottom-left-radius: 3px;
|
329
|
+
}
|
330
|
+
|
331
|
+
.fc-ltr .fc-event-hori.fc-event-end,
|
332
|
+
.fc-rtl .fc-event-hori.fc-event-start {
|
333
|
+
border-right-width: 1px;
|
334
|
+
border-top-right-radius: 3px;
|
335
|
+
border-bottom-right-radius: 3px;
|
336
|
+
}
|
337
|
+
|
338
|
+
/* resizable */
|
339
|
+
|
340
|
+
.fc-event-hori .ui-resizable-e {
|
341
|
+
top: 0 !important; /* importants override pre jquery ui 1.7 styles */
|
342
|
+
right: -3px !important;
|
343
|
+
width: 7px !important;
|
344
|
+
height: 100% !important;
|
345
|
+
cursor: e-resize;
|
346
|
+
}
|
347
|
+
|
348
|
+
.fc-event-hori .ui-resizable-w {
|
349
|
+
top: 0 !important;
|
350
|
+
left: -3px !important;
|
351
|
+
width: 7px !important;
|
352
|
+
height: 100% !important;
|
353
|
+
cursor: w-resize;
|
354
|
+
}
|
355
|
+
|
356
|
+
.fc-event-hori .ui-resizable-handle {
|
357
|
+
_padding-bottom: 14px; /* IE6 had 0 height */
|
358
|
+
}
|
359
|
+
|
360
|
+
|
361
|
+
|
362
|
+
/* Reusable Separate-border Table
|
363
|
+
------------------------------------------------------------*/
|
364
|
+
|
365
|
+
table.fc-border-separate {
|
366
|
+
border-collapse: separate;
|
367
|
+
}
|
368
|
+
|
369
|
+
.fc-border-separate th,
|
370
|
+
.fc-border-separate td {
|
371
|
+
border-width: 1px 0 0 1px;
|
372
|
+
}
|
373
|
+
|
374
|
+
.fc-border-separate th.fc-last,
|
375
|
+
.fc-border-separate td.fc-last {
|
376
|
+
border-right-width: 1px;
|
377
|
+
}
|
378
|
+
|
379
|
+
.fc-border-separate tr.fc-last th,
|
380
|
+
.fc-border-separate tr.fc-last td {
|
381
|
+
border-bottom-width: 1px;
|
382
|
+
}
|
383
|
+
|
384
|
+
.fc-border-separate tbody tr.fc-first td,
|
385
|
+
.fc-border-separate tbody tr.fc-first th {
|
386
|
+
border-top-width: 0;
|
387
|
+
}
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
/* Month View, Basic Week View, Basic Day View
|
392
|
+
------------------------------------------------------------------------*/
|
393
|
+
|
394
|
+
.fc-grid th {
|
395
|
+
text-align: center;
|
396
|
+
}
|
397
|
+
|
398
|
+
.fc .fc-week-number {
|
399
|
+
width: 22px;
|
400
|
+
text-align: center;
|
401
|
+
}
|
402
|
+
|
403
|
+
.fc .fc-week-number div {
|
404
|
+
padding: 0 2px;
|
405
|
+
}
|
406
|
+
|
407
|
+
.fc-grid .fc-day-number {
|
408
|
+
float: right;
|
409
|
+
padding: 0 2px;
|
410
|
+
}
|
411
|
+
|
412
|
+
.fc-grid .fc-other-month .fc-day-number {
|
413
|
+
opacity: 0.3;
|
414
|
+
filter: alpha(opacity=30); /* for IE */
|
415
|
+
/* opacity with small font can sometimes look too faded
|
416
|
+
might want to set the 'color' property instead
|
417
|
+
making day-numbers bold also fixes the problem */
|
418
|
+
}
|
419
|
+
|
420
|
+
.fc-grid .fc-day-content {
|
421
|
+
clear: both;
|
422
|
+
padding: 2px 2px 1px; /* distance between events and day edges */
|
423
|
+
}
|
424
|
+
|
425
|
+
/* event styles */
|
426
|
+
|
427
|
+
.fc-grid .fc-event-time {
|
428
|
+
font-weight: bold;
|
429
|
+
}
|
430
|
+
|
431
|
+
/* right-to-left */
|
432
|
+
|
433
|
+
.fc-rtl .fc-grid .fc-day-number {
|
434
|
+
float: left;
|
435
|
+
}
|
436
|
+
|
437
|
+
.fc-rtl .fc-grid .fc-event-time {
|
438
|
+
float: right;
|
439
|
+
}
|
440
|
+
|
441
|
+
|
442
|
+
|
443
|
+
/* Agenda Week View, Agenda Day View
|
444
|
+
------------------------------------------------------------------------*/
|
445
|
+
|
446
|
+
.fc-agenda table {
|
447
|
+
border-collapse: separate;
|
448
|
+
}
|
449
|
+
|
450
|
+
.fc-agenda-days th {
|
451
|
+
text-align: center;
|
452
|
+
}
|
453
|
+
|
454
|
+
.fc-agenda .fc-agenda-axis {
|
455
|
+
width: 50px;
|
456
|
+
padding: 0 4px;
|
457
|
+
vertical-align: middle;
|
458
|
+
text-align: right;
|
459
|
+
font-weight: normal;
|
460
|
+
}
|
461
|
+
|
462
|
+
.fc-agenda-slots .fc-agenda-axis {
|
463
|
+
white-space: nowrap;
|
464
|
+
}
|
465
|
+
|
466
|
+
.fc-agenda .fc-week-number {
|
467
|
+
font-weight: bold;
|
468
|
+
}
|
469
|
+
|
470
|
+
.fc-agenda .fc-day-content {
|
471
|
+
padding: 2px 2px 1px;
|
472
|
+
}
|
473
|
+
|
474
|
+
/* make axis border take precedence */
|
475
|
+
|
476
|
+
.fc-agenda-days .fc-agenda-axis {
|
477
|
+
border-right-width: 1px;
|
478
|
+
}
|
479
|
+
|
480
|
+
.fc-agenda-days .fc-col0 {
|
481
|
+
border-left-width: 0;
|
482
|
+
}
|
483
|
+
|
484
|
+
/* all-day area */
|
485
|
+
|
486
|
+
.fc-agenda-allday th {
|
487
|
+
border-width: 0 1px;
|
488
|
+
}
|
489
|
+
|
490
|
+
.fc-agenda-allday .fc-day-content {
|
491
|
+
min-height: 34px; /* TODO: doesnt work well in quirksmode */
|
492
|
+
_height: 34px;
|
493
|
+
}
|
494
|
+
|
495
|
+
/* divider (between all-day and slots) */
|
496
|
+
|
497
|
+
.fc-agenda-divider-inner {
|
498
|
+
height: 2px;
|
499
|
+
overflow: hidden;
|
500
|
+
}
|
501
|
+
|
502
|
+
.fc-widget-header .fc-agenda-divider-inner {
|
503
|
+
background: #eee;
|
504
|
+
}
|
505
|
+
|
506
|
+
/* slot rows */
|
507
|
+
|
508
|
+
.fc-agenda-slots th {
|
509
|
+
border-width: 1px 1px 0;
|
510
|
+
}
|
511
|
+
|
512
|
+
.fc-agenda-slots td {
|
513
|
+
border-width: 1px 0 0;
|
514
|
+
background: none;
|
515
|
+
}
|
516
|
+
|
517
|
+
.fc-agenda-slots td div {
|
518
|
+
height: 20px;
|
519
|
+
}
|
520
|
+
|
521
|
+
.fc-agenda-slots tr.fc-slot0 th,
|
522
|
+
.fc-agenda-slots tr.fc-slot0 td {
|
523
|
+
border-top-width: 0;
|
524
|
+
}
|
525
|
+
|
526
|
+
.fc-agenda-slots tr.fc-minor th,
|
527
|
+
.fc-agenda-slots tr.fc-minor td {
|
528
|
+
border-top-style: dotted;
|
529
|
+
}
|
530
|
+
|
531
|
+
.fc-agenda-slots tr.fc-minor th.ui-widget-header {
|
532
|
+
*border-top-style: solid; /* doesn't work with background in IE6/7 */
|
533
|
+
}
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
/* Vertical Events
|
538
|
+
------------------------------------------------------------------------*/
|
539
|
+
|
540
|
+
.fc-event-vert {
|
541
|
+
border-width: 0 1px;
|
542
|
+
}
|
543
|
+
|
544
|
+
.fc-event-vert.fc-event-start {
|
545
|
+
border-top-width: 1px;
|
546
|
+
border-top-left-radius: 3px;
|
547
|
+
border-top-right-radius: 3px;
|
548
|
+
}
|
549
|
+
|
550
|
+
.fc-event-vert.fc-event-end {
|
551
|
+
border-bottom-width: 1px;
|
552
|
+
border-bottom-left-radius: 3px;
|
553
|
+
border-bottom-right-radius: 3px;
|
554
|
+
}
|
555
|
+
|
556
|
+
.fc-event-vert .fc-event-time {
|
557
|
+
white-space: nowrap;
|
558
|
+
font-size: 10px;
|
559
|
+
}
|
560
|
+
|
561
|
+
.fc-event-vert .fc-event-inner {
|
562
|
+
position: relative;
|
563
|
+
z-index: 2;
|
564
|
+
}
|
565
|
+
|
566
|
+
.fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
|
567
|
+
position: absolute;
|
568
|
+
z-index: 1;
|
569
|
+
top: 0;
|
570
|
+
left: 0;
|
571
|
+
width: 100%;
|
572
|
+
height: 100%;
|
573
|
+
background: #fff;
|
574
|
+
opacity: .25;
|
575
|
+
filter: alpha(opacity=25);
|
576
|
+
}
|
577
|
+
|
578
|
+
.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
|
579
|
+
.fc-select-helper .fc-event-bg {
|
580
|
+
display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
|
581
|
+
}
|
582
|
+
|
583
|
+
/* resizable */
|
584
|
+
|
585
|
+
.fc-event-vert .ui-resizable-s {
|
586
|
+
bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */
|
587
|
+
width: 100% !important;
|
588
|
+
height: 8px !important;
|
589
|
+
overflow: hidden !important;
|
590
|
+
line-height: 8px !important;
|
591
|
+
font-size: 11px !important;
|
592
|
+
font-family: monospace;
|
593
|
+
text-align: center;
|
594
|
+
cursor: s-resize;
|
595
|
+
}
|
596
|
+
|
597
|
+
.fc-agenda .ui-resizable-resizing { /* TODO: better selector */
|
598
|
+
_overflow: hidden;
|
599
|
+
}
|
600
|
+
|
601
|
+
|