bitsnote-assets 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/fullcalendar/fullcalendar.js +8369 -0
- data/app/assets/javascripts/fullcalendar/fullcalendar.min.js +8 -0
- data/app/assets/javascripts/moment/moment-with-locales.js +9083 -0
- data/app/assets/javascripts/moment/moment-with-locales.min.js +10 -0
- data/app/assets/javascripts/moment/moment.js +2815 -0
- data/app/assets/javascripts/moment/moment.min.js +6 -0
- data/app/assets/javascripts/pickadate/picker.date.js +1349 -0
- data/app/assets/javascripts/pickadate/picker.date.min.js +5 -0
- data/app/assets/javascripts/pickadate/picker.js +1078 -0
- data/app/assets/javascripts/pickadate/picker.min.js +7 -0
- data/app/assets/javascripts/pickadate/picker.time.js +1014 -0
- data/app/assets/javascripts/pickadate/picker.time.min.js +5 -0
- data/app/assets/javascripts/spin/spin.js +349 -0
- data/app/assets/javascripts/spin/spin.min.js +2 -0
- data/app/assets/stylesheets/fullcalendar/fullcalendar.css +933 -0
- data/app/assets/stylesheets/fullcalendar/fullcalendar.min.css +5 -0
- data/app/assets/stylesheets/fullcalendar/fullcalendar.print.css +201 -0
- data/app/assets/stylesheets/pickadate/classic.css +109 -0
- data/app/assets/stylesheets/pickadate/classic.date.css +301 -0
- data/app/assets/stylesheets/pickadate/classic.date.min.css +1 -0
- data/app/assets/stylesheets/pickadate/classic.min.css +4 -0
- data/app/assets/stylesheets/pickadate/classic.time.css +131 -0
- data/app/assets/stylesheets/pickadate/classic.time.min.css +1 -0
- data/app/assets/stylesheets/pickadate/default.css +175 -0
- data/app/assets/stylesheets/pickadate/default.date.css +301 -0
- data/app/assets/stylesheets/pickadate/default.date.min.css +1 -0
- data/app/assets/stylesheets/pickadate/default.min.css +4 -0
- data/app/assets/stylesheets/pickadate/default.time.css +125 -0
- data/app/assets/stylesheets/pickadate/default.time.min.css +1 -0
- data/app/assets/stylesheets/pickadate/rtl.css +29 -0
- data/app/assets/stylesheets/pickadate/rtl.min.css +3 -0
- data/lib/bitsnote-assets/version.rb +1 -1
- data/lib/bitsnote-assets.rb +92 -33
- data/test/dummy/app/views/layouts/application.html.erb +5 -0
- data/test/dummy/config/initializers/assets.rb +1 -1
- data/test/dummy/config/routes.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +448 -396
- data/test/dummy/tmp/cache/assets/development/sprockets/{91056193051f3741ee35672c43f02cc2 → 04a7d966f3aa1a0f5afdd96eeea4dcc8} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{bf21891f6ce2dc468abfcb9bb75c6a1e → 078a7c15de920196b676c944198be294} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{6d98f39010827cad999334e769f03398 → 20a916d3e45f4d0f19d33a8135f20e3e} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/25fca4643219052b0d5c66cf2c71f72f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/386e9196dd0f9efdce6f92ce93a6d107 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3f9170db678c4e1fdfa51752e5ec8e39 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{d34631840b4592db0d749b96ab27a620 → 43affd68874f8c6cd63f138e85ced50f} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{babe75ab5fc2c1762e161e6eaae5c30b → 4718fe4eff59abcea146c68e87a226a0} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/489af12e680adec109e506328fdc1368 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{64f399e2eee4409012ebcc8ea938419a → 59cdca5342cf01aa6f7243c6dbb51b95} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{50b9a4dd63d203039ce5b560ff2c33d7 → 6e275cec34b7a11680df0b73c4b46740} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/727150a817e8100f4a7f7475c0bdb616 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/861d9659592a81ca16c7c25ad7ceffc7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{ee10c355250f9cd7adb9593445676545 → a984c731d3729a5afd87810c979f93b3} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bbe5f5151cdf105fcaea71a26e3a0955 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d1df176743f01ba00229d3954a670e72 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/{eb199fcd85e4107f4eb5d71939ea330c → e352b93f329aa1bd1679fe7be91c6a87} +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e36b8fcf5914a3a6bf058abfe7367b19 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ecc916b0e46dd019c226421d5ae880c2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f242e30fcd4aeaf37980aa77bc7de0c3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f6eeb33602682bd6ff6d1f177f6b142d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +125 -66
- data/test/dummy/db/schema.rb +0 -16
- data/test/dummy/db/test.sqlite3 +0 -0
@@ -0,0 +1,933 @@
|
|
1
|
+
/*!
|
2
|
+
* FullCalendar v2.1.0 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-rtl {
|
14
|
+
text-align: right;
|
15
|
+
}
|
16
|
+
|
17
|
+
body .fc { /* extra precedence to overcome jqui */
|
18
|
+
font-size: 1em;
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
/* Colors
|
23
|
+
--------------------------------------------------------------------------------------------------*/
|
24
|
+
|
25
|
+
.fc-unthemed th,
|
26
|
+
.fc-unthemed td,
|
27
|
+
.fc-unthemed hr,
|
28
|
+
.fc-unthemed thead,
|
29
|
+
.fc-unthemed tbody,
|
30
|
+
.fc-unthemed .fc-row,
|
31
|
+
.fc-unthemed .fc-popover {
|
32
|
+
border-color: #ddd;
|
33
|
+
}
|
34
|
+
|
35
|
+
.fc-unthemed .fc-popover {
|
36
|
+
background-color: #fff;
|
37
|
+
}
|
38
|
+
|
39
|
+
.fc-unthemed hr,
|
40
|
+
.fc-unthemed .fc-popover .fc-header {
|
41
|
+
background: #eee;
|
42
|
+
}
|
43
|
+
|
44
|
+
.fc-unthemed .fc-popover .fc-header .fc-close {
|
45
|
+
color: #666;
|
46
|
+
}
|
47
|
+
|
48
|
+
.fc-unthemed .fc-today {
|
49
|
+
background: #fcf8e3;
|
50
|
+
}
|
51
|
+
|
52
|
+
.fc-highlight { /* when user is selecting cells */
|
53
|
+
background: #bce8f1;
|
54
|
+
opacity: .3;
|
55
|
+
filter: alpha(opacity=30); /* for IE */
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
/* Icons (inline elements with styled text that mock arrow icons)
|
60
|
+
--------------------------------------------------------------------------------------------------*/
|
61
|
+
|
62
|
+
.fc-icon {
|
63
|
+
display: inline-block;
|
64
|
+
font-size: 2em;
|
65
|
+
line-height: .5em;
|
66
|
+
height: .5em; /* will make the total height 1em */
|
67
|
+
font-family: "Courier New", Courier, monospace;
|
68
|
+
}
|
69
|
+
|
70
|
+
.fc-icon-left-single-arrow:after {
|
71
|
+
content: "\02039";
|
72
|
+
font-weight: bold;
|
73
|
+
}
|
74
|
+
|
75
|
+
.fc-icon-right-single-arrow:after {
|
76
|
+
content: "\0203A";
|
77
|
+
font-weight: bold;
|
78
|
+
}
|
79
|
+
|
80
|
+
.fc-icon-left-double-arrow:after {
|
81
|
+
content: "\000AB";
|
82
|
+
}
|
83
|
+
|
84
|
+
.fc-icon-right-double-arrow:after {
|
85
|
+
content: "\000BB";
|
86
|
+
}
|
87
|
+
|
88
|
+
.fc-icon-x:after {
|
89
|
+
content: "\000D7";
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
/* Buttons (styled <button> tags, normalized to work cross-browser)
|
94
|
+
--------------------------------------------------------------------------------------------------*/
|
95
|
+
|
96
|
+
.fc button {
|
97
|
+
/* force height to include the border and padding */
|
98
|
+
-moz-box-sizing: border-box;
|
99
|
+
-webkit-box-sizing: border-box;
|
100
|
+
box-sizing: border-box;
|
101
|
+
|
102
|
+
/* dimensions */
|
103
|
+
margin: 0;
|
104
|
+
height: 2.1em;
|
105
|
+
padding: 0 .6em;
|
106
|
+
|
107
|
+
/* text & cursor */
|
108
|
+
font-size: 1em; /* normalize */
|
109
|
+
white-space: nowrap;
|
110
|
+
cursor: pointer;
|
111
|
+
}
|
112
|
+
|
113
|
+
/* Firefox has an annoying inner border */
|
114
|
+
.fc button::-moz-focus-inner { margin: 0; padding: 0; }
|
115
|
+
|
116
|
+
.fc-state-default { /* non-theme */
|
117
|
+
border: 1px solid;
|
118
|
+
}
|
119
|
+
|
120
|
+
.fc-state-default.fc-corner-left { /* non-theme */
|
121
|
+
border-top-left-radius: 4px;
|
122
|
+
border-bottom-left-radius: 4px;
|
123
|
+
}
|
124
|
+
|
125
|
+
.fc-state-default.fc-corner-right { /* non-theme */
|
126
|
+
border-top-right-radius: 4px;
|
127
|
+
border-bottom-right-radius: 4px;
|
128
|
+
}
|
129
|
+
|
130
|
+
/* icons in buttons */
|
131
|
+
|
132
|
+
.fc button .fc-icon { /* non-theme */
|
133
|
+
position: relative;
|
134
|
+
top: .05em; /* seems to be a good adjustment across browsers */
|
135
|
+
margin: 0 .1em;
|
136
|
+
}
|
137
|
+
|
138
|
+
/*
|
139
|
+
button states
|
140
|
+
borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
|
141
|
+
*/
|
142
|
+
|
143
|
+
.fc-state-default {
|
144
|
+
background-color: #f5f5f5;
|
145
|
+
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
|
146
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
147
|
+
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
148
|
+
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
149
|
+
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
|
150
|
+
background-repeat: repeat-x;
|
151
|
+
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
|
152
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
153
|
+
color: #333;
|
154
|
+
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
155
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
156
|
+
}
|
157
|
+
|
158
|
+
.fc-state-hover,
|
159
|
+
.fc-state-down,
|
160
|
+
.fc-state-active,
|
161
|
+
.fc-state-disabled {
|
162
|
+
color: #333333;
|
163
|
+
background-color: #e6e6e6;
|
164
|
+
}
|
165
|
+
|
166
|
+
.fc-state-hover {
|
167
|
+
color: #333333;
|
168
|
+
text-decoration: none;
|
169
|
+
background-position: 0 -15px;
|
170
|
+
-webkit-transition: background-position 0.1s linear;
|
171
|
+
-moz-transition: background-position 0.1s linear;
|
172
|
+
-o-transition: background-position 0.1s linear;
|
173
|
+
transition: background-position 0.1s linear;
|
174
|
+
}
|
175
|
+
|
176
|
+
.fc-state-down,
|
177
|
+
.fc-state-active {
|
178
|
+
background-color: #cccccc;
|
179
|
+
background-image: none;
|
180
|
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
181
|
+
}
|
182
|
+
|
183
|
+
.fc-state-disabled {
|
184
|
+
cursor: default;
|
185
|
+
background-image: none;
|
186
|
+
opacity: 0.65;
|
187
|
+
filter: alpha(opacity=65);
|
188
|
+
box-shadow: none;
|
189
|
+
}
|
190
|
+
|
191
|
+
|
192
|
+
/* Buttons Groups
|
193
|
+
--------------------------------------------------------------------------------------------------*/
|
194
|
+
|
195
|
+
.fc-button-group {
|
196
|
+
display: inline-block;
|
197
|
+
}
|
198
|
+
|
199
|
+
/*
|
200
|
+
every button that is not first in a button group should scootch over one pixel and cover the
|
201
|
+
previous button's border...
|
202
|
+
*/
|
203
|
+
|
204
|
+
.fc .fc-button-group > * { /* extra precedence b/c buttons have margin set to zero */
|
205
|
+
float: left;
|
206
|
+
margin: 0 0 0 -1px;
|
207
|
+
}
|
208
|
+
|
209
|
+
.fc .fc-button-group > :first-child { /* same */
|
210
|
+
margin-left: 0;
|
211
|
+
}
|
212
|
+
|
213
|
+
|
214
|
+
/* Popover
|
215
|
+
--------------------------------------------------------------------------------------------------*/
|
216
|
+
|
217
|
+
.fc-popover {
|
218
|
+
position: absolute;
|
219
|
+
box-shadow: 0 2px 6px rgba(0,0,0,.15);
|
220
|
+
}
|
221
|
+
|
222
|
+
.fc-popover .fc-header {
|
223
|
+
padding: 2px 4px;
|
224
|
+
}
|
225
|
+
|
226
|
+
.fc-popover .fc-header .fc-title {
|
227
|
+
margin: 0 2px;
|
228
|
+
}
|
229
|
+
|
230
|
+
.fc-popover .fc-header .fc-close {
|
231
|
+
cursor: pointer;
|
232
|
+
}
|
233
|
+
|
234
|
+
.fc-ltr .fc-popover .fc-header .fc-title,
|
235
|
+
.fc-rtl .fc-popover .fc-header .fc-close {
|
236
|
+
float: left;
|
237
|
+
}
|
238
|
+
|
239
|
+
.fc-rtl .fc-popover .fc-header .fc-title,
|
240
|
+
.fc-ltr .fc-popover .fc-header .fc-close {
|
241
|
+
float: right;
|
242
|
+
}
|
243
|
+
|
244
|
+
/* unthemed */
|
245
|
+
|
246
|
+
.fc-unthemed .fc-popover {
|
247
|
+
border-width: 1px;
|
248
|
+
border-style: solid;
|
249
|
+
}
|
250
|
+
|
251
|
+
.fc-unthemed .fc-popover .fc-header .fc-close {
|
252
|
+
font-size: 25px;
|
253
|
+
margin-top: 4px;
|
254
|
+
}
|
255
|
+
|
256
|
+
/* jqui themed */
|
257
|
+
|
258
|
+
.fc-popover > .ui-widget-header + .ui-widget-content {
|
259
|
+
border-top: 0; /* where they meet, let the header have the border */
|
260
|
+
}
|
261
|
+
|
262
|
+
|
263
|
+
/* Misc Reusable Components
|
264
|
+
--------------------------------------------------------------------------------------------------*/
|
265
|
+
|
266
|
+
.fc hr {
|
267
|
+
height: 0;
|
268
|
+
margin: 0;
|
269
|
+
padding: 0 0 2px; /* height is unreliable across browsers, so use padding */
|
270
|
+
border-style: solid;
|
271
|
+
border-width: 1px 0;
|
272
|
+
}
|
273
|
+
|
274
|
+
.fc-clear {
|
275
|
+
clear: both;
|
276
|
+
}
|
277
|
+
|
278
|
+
.fc-bg,
|
279
|
+
.fc-highlight-skeleton,
|
280
|
+
.fc-helper-skeleton {
|
281
|
+
/* these element should always cling to top-left/right corners */
|
282
|
+
position: absolute;
|
283
|
+
top: 0;
|
284
|
+
left: 0;
|
285
|
+
right: 0;
|
286
|
+
}
|
287
|
+
|
288
|
+
.fc-bg {
|
289
|
+
bottom: 0; /* strech bg to bottom edge */
|
290
|
+
}
|
291
|
+
|
292
|
+
.fc-bg table {
|
293
|
+
height: 100%; /* strech bg to bottom edge */
|
294
|
+
}
|
295
|
+
|
296
|
+
|
297
|
+
/* Tables
|
298
|
+
--------------------------------------------------------------------------------------------------*/
|
299
|
+
|
300
|
+
.fc table {
|
301
|
+
width: 100%;
|
302
|
+
table-layout: fixed;
|
303
|
+
border-collapse: collapse;
|
304
|
+
border-spacing: 0;
|
305
|
+
font-size: 1em; /* normalize cross-browser */
|
306
|
+
}
|
307
|
+
|
308
|
+
.fc th {
|
309
|
+
text-align: center;
|
310
|
+
}
|
311
|
+
|
312
|
+
.fc th,
|
313
|
+
.fc td {
|
314
|
+
border-style: solid;
|
315
|
+
border-width: 1px;
|
316
|
+
padding: 0;
|
317
|
+
vertical-align: top;
|
318
|
+
}
|
319
|
+
|
320
|
+
.fc td.fc-today {
|
321
|
+
border-style: double; /* overcome neighboring borders */
|
322
|
+
}
|
323
|
+
|
324
|
+
|
325
|
+
/* Fake Table Rows
|
326
|
+
--------------------------------------------------------------------------------------------------*/
|
327
|
+
|
328
|
+
.fc .fc-row { /* extra precedence to overcome themes w/ .ui-widget-content forcing a 1px border */
|
329
|
+
/* no visible border by default. but make available if need be (scrollbar width compensation) */
|
330
|
+
border-style: solid;
|
331
|
+
border-width: 0;
|
332
|
+
}
|
333
|
+
|
334
|
+
.fc-row table {
|
335
|
+
/* don't put left/right border on anything within a fake row.
|
336
|
+
the outer tbody will worry about this */
|
337
|
+
border-left: 0 hidden transparent;
|
338
|
+
border-right: 0 hidden transparent;
|
339
|
+
|
340
|
+
/* no bottom borders on rows */
|
341
|
+
border-bottom: 0 hidden transparent;
|
342
|
+
}
|
343
|
+
|
344
|
+
.fc-row:first-child table {
|
345
|
+
border-top: 0 hidden transparent; /* no top border on first row */
|
346
|
+
}
|
347
|
+
|
348
|
+
|
349
|
+
/* Day Row (used within the header and the DayGrid)
|
350
|
+
--------------------------------------------------------------------------------------------------*/
|
351
|
+
|
352
|
+
.fc-row {
|
353
|
+
position: relative;
|
354
|
+
}
|
355
|
+
|
356
|
+
.fc-row .fc-bg {
|
357
|
+
z-index: 1;
|
358
|
+
}
|
359
|
+
|
360
|
+
/* highlighting cells */
|
361
|
+
|
362
|
+
.fc-row .fc-highlight-skeleton {
|
363
|
+
z-index: 2;
|
364
|
+
bottom: 0; /* stretch skeleton to bottom of row */
|
365
|
+
}
|
366
|
+
|
367
|
+
.fc-row .fc-highlight-skeleton table {
|
368
|
+
height: 100%; /* stretch skeleton to bottom of row */
|
369
|
+
}
|
370
|
+
|
371
|
+
.fc-row .fc-highlight-skeleton td {
|
372
|
+
border-color: transparent;
|
373
|
+
}
|
374
|
+
|
375
|
+
/*
|
376
|
+
row content (which contains day/week numbers and events) as well as "helper" (which contains
|
377
|
+
temporary rendered events).
|
378
|
+
*/
|
379
|
+
|
380
|
+
.fc-row .fc-content-skeleton {
|
381
|
+
position: relative;
|
382
|
+
z-index: 3;
|
383
|
+
padding-bottom: 2px; /* matches the space above the events */
|
384
|
+
}
|
385
|
+
|
386
|
+
.fc-row .fc-helper-skeleton {
|
387
|
+
z-index: 4;
|
388
|
+
}
|
389
|
+
|
390
|
+
.fc-row .fc-content-skeleton td,
|
391
|
+
.fc-row .fc-helper-skeleton td {
|
392
|
+
/* see-through to the background below */
|
393
|
+
background: none; /* in case <td>s are globally styled */
|
394
|
+
border-color: transparent;
|
395
|
+
|
396
|
+
/* don't put a border between events and/or the day number */
|
397
|
+
border-bottom: 0;
|
398
|
+
}
|
399
|
+
|
400
|
+
.fc-row .fc-content-skeleton tbody td, /* cells with events inside (so NOT the day number cell) */
|
401
|
+
.fc-row .fc-helper-skeleton tbody td {
|
402
|
+
/* don't put a border between event cells */
|
403
|
+
border-top: 0;
|
404
|
+
}
|
405
|
+
|
406
|
+
|
407
|
+
/* Scrolling Container
|
408
|
+
--------------------------------------------------------------------------------------------------*/
|
409
|
+
|
410
|
+
.fc-scroller { /* this class goes on elements for guaranteed vertical scrollbars */
|
411
|
+
overflow-y: scroll;
|
412
|
+
overflow-x: hidden;
|
413
|
+
}
|
414
|
+
|
415
|
+
.fc-scroller > * { /* we expect an immediate inner element */
|
416
|
+
position: relative; /* re-scope all positions */
|
417
|
+
width: 100%; /* hack to force re-sizing this inner element when scrollbars appear/disappear */
|
418
|
+
overflow: hidden; /* don't let negative margins or absolute positioning create further scroll */
|
419
|
+
}
|
420
|
+
|
421
|
+
|
422
|
+
/* Global Event Styles
|
423
|
+
--------------------------------------------------------------------------------------------------*/
|
424
|
+
|
425
|
+
.fc-event {
|
426
|
+
position: relative; /* for resize handle and other inner positioning */
|
427
|
+
display: block; /* make the <a> tag block */
|
428
|
+
font-size: .85em;
|
429
|
+
line-height: 1.3;
|
430
|
+
border-radius: 3px;
|
431
|
+
border: 1px solid #3a87ad; /* default BORDER color */
|
432
|
+
background-color: #3a87ad; /* default BACKGROUND color */
|
433
|
+
font-weight: normal; /* undo jqui's ui-widget-header bold */
|
434
|
+
}
|
435
|
+
|
436
|
+
/* overpower some of bootstrap's and jqui's styles on <a> tags */
|
437
|
+
.fc-event,
|
438
|
+
.fc-event:hover,
|
439
|
+
.ui-widget .fc-event {
|
440
|
+
color: #fff; /* default TEXT color */
|
441
|
+
text-decoration: none; /* if <a> has an href */
|
442
|
+
}
|
443
|
+
|
444
|
+
.fc-event[href],
|
445
|
+
.fc-event.fc-draggable {
|
446
|
+
cursor: pointer; /* give events with links and draggable events a hand mouse pointer */
|
447
|
+
}
|
448
|
+
|
449
|
+
|
450
|
+
/* DayGrid events
|
451
|
+
----------------------------------------------------------------------------------------------------
|
452
|
+
We use the full "fc-day-grid-event" class instead of using descendants because the event won't
|
453
|
+
be a descendant of the grid when it is being dragged.
|
454
|
+
*/
|
455
|
+
|
456
|
+
.fc-day-grid-event {
|
457
|
+
margin: 1px 2px 0; /* spacing between events and edges */
|
458
|
+
padding: 0 1px;
|
459
|
+
}
|
460
|
+
|
461
|
+
/* events that are continuing to/from another week. kill rounded corners and butt up against edge */
|
462
|
+
|
463
|
+
.fc-ltr .fc-day-grid-event.fc-not-start,
|
464
|
+
.fc-rtl .fc-day-grid-event.fc-not-end {
|
465
|
+
margin-left: 0;
|
466
|
+
border-left-width: 0;
|
467
|
+
padding-left: 1px; /* replace the border with padding */
|
468
|
+
border-top-left-radius: 0;
|
469
|
+
border-bottom-left-radius: 0;
|
470
|
+
}
|
471
|
+
|
472
|
+
.fc-ltr .fc-day-grid-event.fc-not-end,
|
473
|
+
.fc-rtl .fc-day-grid-event.fc-not-start {
|
474
|
+
margin-right: 0;
|
475
|
+
border-right-width: 0;
|
476
|
+
padding-right: 1px; /* replace the border with padding */
|
477
|
+
border-top-right-radius: 0;
|
478
|
+
border-bottom-right-radius: 0;
|
479
|
+
}
|
480
|
+
|
481
|
+
.fc-day-grid-event > .fc-content { /* force events to be one-line tall */
|
482
|
+
white-space: nowrap;
|
483
|
+
overflow: hidden;
|
484
|
+
}
|
485
|
+
|
486
|
+
.fc-day-grid-event .fc-time {
|
487
|
+
font-weight: bold;
|
488
|
+
}
|
489
|
+
|
490
|
+
/* resize handle (outside of fc-content, so can go outside of bounds) */
|
491
|
+
|
492
|
+
.fc-day-grid-event .fc-resizer {
|
493
|
+
position: absolute;
|
494
|
+
top: 0;
|
495
|
+
bottom: 0;
|
496
|
+
width: 7px;
|
497
|
+
}
|
498
|
+
|
499
|
+
.fc-ltr .fc-day-grid-event .fc-resizer {
|
500
|
+
right: -3px;
|
501
|
+
cursor: e-resize;
|
502
|
+
}
|
503
|
+
|
504
|
+
.fc-rtl .fc-day-grid-event .fc-resizer {
|
505
|
+
left: -3px;
|
506
|
+
cursor: w-resize;
|
507
|
+
}
|
508
|
+
|
509
|
+
|
510
|
+
/* Event Limiting
|
511
|
+
--------------------------------------------------------------------------------------------------*/
|
512
|
+
|
513
|
+
/* "more" link that represents hidden events */
|
514
|
+
|
515
|
+
a.fc-more {
|
516
|
+
margin: 1px 3px;
|
517
|
+
font-size: .85em;
|
518
|
+
cursor: pointer;
|
519
|
+
text-decoration: none;
|
520
|
+
}
|
521
|
+
|
522
|
+
a.fc-more:hover {
|
523
|
+
text-decoration: underline;
|
524
|
+
}
|
525
|
+
|
526
|
+
.fc-limited { /* rows and cells that are hidden because of a "more" link */
|
527
|
+
display: none;
|
528
|
+
}
|
529
|
+
|
530
|
+
/* popover that appears when "more" link is clicked */
|
531
|
+
|
532
|
+
.fc-day-grid .fc-row {
|
533
|
+
z-index: 1; /* make the "more" popover one higher than this */
|
534
|
+
}
|
535
|
+
|
536
|
+
.fc-more-popover {
|
537
|
+
z-index: 2;
|
538
|
+
width: 220px;
|
539
|
+
}
|
540
|
+
|
541
|
+
.fc-more-popover .fc-event-container {
|
542
|
+
padding: 10px;
|
543
|
+
}
|
544
|
+
|
545
|
+
/* Toolbar
|
546
|
+
--------------------------------------------------------------------------------------------------*/
|
547
|
+
|
548
|
+
.fc-toolbar {
|
549
|
+
text-align: center;
|
550
|
+
margin-bottom: 1em;
|
551
|
+
}
|
552
|
+
|
553
|
+
.fc-toolbar .fc-left {
|
554
|
+
float: left;
|
555
|
+
}
|
556
|
+
|
557
|
+
.fc-toolbar .fc-right {
|
558
|
+
float: right;
|
559
|
+
}
|
560
|
+
|
561
|
+
.fc-toolbar .fc-center {
|
562
|
+
display: inline-block;
|
563
|
+
}
|
564
|
+
|
565
|
+
/* the things within each left/right/center section */
|
566
|
+
.fc .fc-toolbar > * > * { /* extra precedence to override button border margins */
|
567
|
+
float: left;
|
568
|
+
margin-left: .75em;
|
569
|
+
}
|
570
|
+
|
571
|
+
/* the first thing within each left/center/right section */
|
572
|
+
.fc .fc-toolbar > * > :first-child { /* extra precedence to override button border margins */
|
573
|
+
margin-left: 0;
|
574
|
+
}
|
575
|
+
|
576
|
+
/* title text */
|
577
|
+
|
578
|
+
.fc-toolbar h2 {
|
579
|
+
margin: 0;
|
580
|
+
}
|
581
|
+
|
582
|
+
/* button layering (for border precedence) */
|
583
|
+
|
584
|
+
.fc-toolbar button {
|
585
|
+
position: relative;
|
586
|
+
}
|
587
|
+
|
588
|
+
.fc-toolbar .fc-state-hover,
|
589
|
+
.fc-toolbar .ui-state-hover {
|
590
|
+
z-index: 2;
|
591
|
+
}
|
592
|
+
|
593
|
+
.fc-toolbar .fc-state-down {
|
594
|
+
z-index: 3;
|
595
|
+
}
|
596
|
+
|
597
|
+
.fc-toolbar .fc-state-active,
|
598
|
+
.fc-toolbar .ui-state-active {
|
599
|
+
z-index: 4;
|
600
|
+
}
|
601
|
+
|
602
|
+
.fc-toolbar button:focus {
|
603
|
+
z-index: 5;
|
604
|
+
}
|
605
|
+
|
606
|
+
|
607
|
+
/* View Structure
|
608
|
+
--------------------------------------------------------------------------------------------------*/
|
609
|
+
|
610
|
+
/* undo twitter bootstrap's box-sizing rules. normalizes positioning techniques */
|
611
|
+
/* don't do this for the toolbar because we'll want bootstrap to style those buttons as some pt */
|
612
|
+
.fc-view-container *,
|
613
|
+
.fc-view-container *:before,
|
614
|
+
.fc-view-container *:after {
|
615
|
+
-webkit-box-sizing: content-box;
|
616
|
+
-moz-box-sizing: content-box;
|
617
|
+
box-sizing: content-box;
|
618
|
+
}
|
619
|
+
|
620
|
+
.fc-view, /* scope positioning and z-index's for everything within the view */
|
621
|
+
.fc-view > table { /* so dragged elements can be above the view's main element */
|
622
|
+
position: relative;
|
623
|
+
z-index: 1;
|
624
|
+
}
|
625
|
+
|
626
|
+
/* BasicView
|
627
|
+
--------------------------------------------------------------------------------------------------*/
|
628
|
+
|
629
|
+
/* day row structure */
|
630
|
+
|
631
|
+
.fc-basicWeek-view .fc-content-skeleton,
|
632
|
+
.fc-basicDay-view .fc-content-skeleton {
|
633
|
+
/* we are sure there are no day numbers in these views, so... */
|
634
|
+
padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
|
635
|
+
padding-bottom: 1em; /* ensure a space at bottom of cell for user selecting/clicking */
|
636
|
+
}
|
637
|
+
|
638
|
+
.fc-basic-view tbody .fc-row {
|
639
|
+
min-height: 4em; /* ensure that all rows are at least this tall */
|
640
|
+
}
|
641
|
+
|
642
|
+
/* a "rigid" row will take up a constant amount of height because content-skeleton is absolute */
|
643
|
+
|
644
|
+
.fc-row.fc-rigid {
|
645
|
+
overflow: hidden;
|
646
|
+
}
|
647
|
+
|
648
|
+
.fc-row.fc-rigid .fc-content-skeleton {
|
649
|
+
position: absolute;
|
650
|
+
top: 0;
|
651
|
+
left: 0;
|
652
|
+
right: 0;
|
653
|
+
}
|
654
|
+
|
655
|
+
/* week and day number styling */
|
656
|
+
|
657
|
+
.fc-basic-view .fc-week-number,
|
658
|
+
.fc-basic-view .fc-day-number {
|
659
|
+
padding: 0 2px;
|
660
|
+
}
|
661
|
+
|
662
|
+
.fc-basic-view td.fc-week-number span,
|
663
|
+
.fc-basic-view td.fc-day-number {
|
664
|
+
padding-top: 2px;
|
665
|
+
padding-bottom: 2px;
|
666
|
+
}
|
667
|
+
|
668
|
+
.fc-basic-view .fc-week-number {
|
669
|
+
text-align: center;
|
670
|
+
}
|
671
|
+
|
672
|
+
.fc-basic-view .fc-week-number span {
|
673
|
+
/* work around the way we do column resizing and ensure a minimum width */
|
674
|
+
display: inline-block;
|
675
|
+
min-width: 1.25em;
|
676
|
+
}
|
677
|
+
|
678
|
+
.fc-ltr .fc-basic-view .fc-day-number {
|
679
|
+
text-align: right;
|
680
|
+
}
|
681
|
+
|
682
|
+
.fc-rtl .fc-basic-view .fc-day-number {
|
683
|
+
text-align: left;
|
684
|
+
}
|
685
|
+
|
686
|
+
.fc-day-number.fc-other-month {
|
687
|
+
opacity: 0.3;
|
688
|
+
filter: alpha(opacity=30); /* for IE */
|
689
|
+
/* opacity with small font can sometimes look too faded
|
690
|
+
might want to set the 'color' property instead
|
691
|
+
making day-numbers bold also fixes the problem */
|
692
|
+
}
|
693
|
+
|
694
|
+
/* AgendaView all-day area
|
695
|
+
--------------------------------------------------------------------------------------------------*/
|
696
|
+
|
697
|
+
.fc-agenda-view .fc-day-grid {
|
698
|
+
position: relative;
|
699
|
+
z-index: 2; /* so the "more.." popover will be over the time grid */
|
700
|
+
}
|
701
|
+
|
702
|
+
.fc-agenda-view .fc-day-grid .fc-row {
|
703
|
+
min-height: 3em; /* all-day section will never get shorter than this */
|
704
|
+
}
|
705
|
+
|
706
|
+
.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
|
707
|
+
padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
|
708
|
+
padding-bottom: 1em; /* give space underneath events for clicking/selecting days */
|
709
|
+
}
|
710
|
+
|
711
|
+
|
712
|
+
/* TimeGrid axis running down the side (for both the all-day area and the slot area)
|
713
|
+
--------------------------------------------------------------------------------------------------*/
|
714
|
+
|
715
|
+
.fc .fc-axis { /* .fc to overcome default cell styles */
|
716
|
+
vertical-align: middle;
|
717
|
+
padding: 0 4px;
|
718
|
+
white-space: nowrap;
|
719
|
+
}
|
720
|
+
|
721
|
+
.fc-ltr .fc-axis {
|
722
|
+
text-align: right;
|
723
|
+
}
|
724
|
+
|
725
|
+
.fc-rtl .fc-axis {
|
726
|
+
text-align: left;
|
727
|
+
}
|
728
|
+
|
729
|
+
.ui-widget td.fc-axis {
|
730
|
+
font-weight: normal; /* overcome jqui theme making it bold */
|
731
|
+
}
|
732
|
+
|
733
|
+
|
734
|
+
/* TimeGrid Structure
|
735
|
+
--------------------------------------------------------------------------------------------------*/
|
736
|
+
|
737
|
+
.fc-time-grid-container, /* so scroll container's z-index is below all-day */
|
738
|
+
.fc-time-grid { /* so slats/bg/content/etc positions get scoped within here */
|
739
|
+
position: relative;
|
740
|
+
z-index: 1;
|
741
|
+
}
|
742
|
+
|
743
|
+
.fc-time-grid {
|
744
|
+
min-height: 100%; /* so if height setting is 'auto', .fc-bg stretches to fill height */
|
745
|
+
}
|
746
|
+
|
747
|
+
.fc-time-grid table { /* don't put outer borders on slats/bg/content/etc */
|
748
|
+
border: 0 hidden transparent;
|
749
|
+
}
|
750
|
+
|
751
|
+
.fc-time-grid > .fc-bg {
|
752
|
+
z-index: 1;
|
753
|
+
}
|
754
|
+
|
755
|
+
.fc-time-grid .fc-slats,
|
756
|
+
.fc-time-grid > hr { /* the <hr> AgendaView injects when grid is shorter than scroller */
|
757
|
+
position: relative;
|
758
|
+
z-index: 2;
|
759
|
+
}
|
760
|
+
|
761
|
+
.fc-time-grid .fc-highlight-skeleton {
|
762
|
+
z-index: 3;
|
763
|
+
}
|
764
|
+
|
765
|
+
.fc-time-grid .fc-content-skeleton {
|
766
|
+
position: absolute;
|
767
|
+
z-index: 4;
|
768
|
+
top: 0;
|
769
|
+
left: 0;
|
770
|
+
right: 0;
|
771
|
+
}
|
772
|
+
|
773
|
+
.fc-time-grid > .fc-helper-skeleton {
|
774
|
+
z-index: 5;
|
775
|
+
}
|
776
|
+
|
777
|
+
|
778
|
+
/* TimeGrid Slats (lines that run horizontally)
|
779
|
+
--------------------------------------------------------------------------------------------------*/
|
780
|
+
|
781
|
+
.fc-slats td {
|
782
|
+
height: 1.5em;
|
783
|
+
border-bottom: 0; /* each cell is responsible for its top border */
|
784
|
+
}
|
785
|
+
|
786
|
+
.fc-slats .fc-minor td {
|
787
|
+
border-top-style: dotted;
|
788
|
+
}
|
789
|
+
|
790
|
+
.fc-slats .ui-widget-content { /* for jqui theme */
|
791
|
+
background: none; /* see through to fc-bg */
|
792
|
+
}
|
793
|
+
|
794
|
+
|
795
|
+
/* TimeGrid Highlighting Slots
|
796
|
+
--------------------------------------------------------------------------------------------------*/
|
797
|
+
|
798
|
+
.fc-time-grid .fc-highlight-container { /* a div within a cell within the fc-highlight-skeleton */
|
799
|
+
position: relative; /* scopes the left/right of the fc-highlight to be in the column */
|
800
|
+
}
|
801
|
+
|
802
|
+
.fc-time-grid .fc-highlight {
|
803
|
+
position: absolute;
|
804
|
+
left: 0;
|
805
|
+
right: 0;
|
806
|
+
/* top and bottom will be in by JS */
|
807
|
+
}
|
808
|
+
|
809
|
+
|
810
|
+
/* TimeGrid Event Containment
|
811
|
+
--------------------------------------------------------------------------------------------------*/
|
812
|
+
|
813
|
+
.fc-time-grid .fc-event-container { /* a div within a cell within the fc-content-skeleton */
|
814
|
+
position: relative;
|
815
|
+
}
|
816
|
+
|
817
|
+
.fc-ltr .fc-time-grid .fc-event-container { /* space on the sides of events for LTR (default) */
|
818
|
+
margin: 0 2.5% 0 2px;
|
819
|
+
}
|
820
|
+
|
821
|
+
.fc-rtl .fc-time-grid .fc-event-container { /* space on the sides of events for RTL */
|
822
|
+
margin: 0 2px 0 2.5%;
|
823
|
+
}
|
824
|
+
|
825
|
+
.fc-time-grid .fc-event {
|
826
|
+
position: absolute;
|
827
|
+
z-index: 1; /* scope inner z-index's */
|
828
|
+
}
|
829
|
+
|
830
|
+
|
831
|
+
/* TimeGrid Event Styling
|
832
|
+
----------------------------------------------------------------------------------------------------
|
833
|
+
We use the full "fc-time-grid-event" class instead of using descendants because the event won't
|
834
|
+
be a descendant of the grid when it is being dragged.
|
835
|
+
*/
|
836
|
+
|
837
|
+
.fc-time-grid-event.fc-not-start { /* events that are continuing from another day */
|
838
|
+
/* replace space made by the top border with padding */
|
839
|
+
border-top-width: 0;
|
840
|
+
padding-top: 1px;
|
841
|
+
|
842
|
+
/* remove top rounded corners */
|
843
|
+
border-top-left-radius: 0;
|
844
|
+
border-top-right-radius: 0;
|
845
|
+
}
|
846
|
+
|
847
|
+
.fc-time-grid-event.fc-not-end {
|
848
|
+
/* replace space made by the top border with padding */
|
849
|
+
border-bottom-width: 0;
|
850
|
+
padding-bottom: 1px;
|
851
|
+
|
852
|
+
/* remove bottom rounded corners */
|
853
|
+
border-bottom-left-radius: 0;
|
854
|
+
border-bottom-right-radius: 0;
|
855
|
+
}
|
856
|
+
|
857
|
+
.fc-time-grid-event {
|
858
|
+
overflow: hidden; /* don't let the bg flow over rounded corners */
|
859
|
+
}
|
860
|
+
|
861
|
+
.fc-time-grid-event > .fc-content { /* contains the time and title, but no bg and resizer */
|
862
|
+
position: relative;
|
863
|
+
z-index: 2; /* above the bg */
|
864
|
+
}
|
865
|
+
|
866
|
+
.fc-time-grid-event .fc-time,
|
867
|
+
.fc-time-grid-event .fc-title {
|
868
|
+
padding: 0 1px;
|
869
|
+
}
|
870
|
+
|
871
|
+
.fc-time-grid-event .fc-time {
|
872
|
+
font-size: .85em;
|
873
|
+
white-space: nowrap;
|
874
|
+
}
|
875
|
+
|
876
|
+
.fc-time-grid-event .fc-bg {
|
877
|
+
z-index: 1;
|
878
|
+
background: #fff;
|
879
|
+
opacity: .25;
|
880
|
+
filter: alpha(opacity=25); /* for IE */
|
881
|
+
}
|
882
|
+
|
883
|
+
/* short mode, where time and title are on the same line */
|
884
|
+
|
885
|
+
.fc-time-grid-event.fc-short .fc-content {
|
886
|
+
/* don't wrap to second line (now that contents will be inline) */
|
887
|
+
white-space: nowrap;
|
888
|
+
}
|
889
|
+
|
890
|
+
.fc-time-grid-event.fc-short .fc-time,
|
891
|
+
.fc-time-grid-event.fc-short .fc-title {
|
892
|
+
/* put the time and title on the same line */
|
893
|
+
display: inline-block;
|
894
|
+
vertical-align: top;
|
895
|
+
}
|
896
|
+
|
897
|
+
.fc-time-grid-event.fc-short .fc-time span {
|
898
|
+
display: none; /* don't display the full time text... */
|
899
|
+
}
|
900
|
+
|
901
|
+
.fc-time-grid-event.fc-short .fc-time:before {
|
902
|
+
content: attr(data-start); /* ...instead, display only the start time */
|
903
|
+
}
|
904
|
+
|
905
|
+
.fc-time-grid-event.fc-short .fc-time:after {
|
906
|
+
content: "\000A0-\000A0"; /* seperate with a dash, wrapped in nbsp's */
|
907
|
+
}
|
908
|
+
|
909
|
+
.fc-time-grid-event.fc-short .fc-title {
|
910
|
+
font-size: .85em; /* make the title text the same size as the time */
|
911
|
+
padding: 0; /* undo padding from above */
|
912
|
+
}
|
913
|
+
|
914
|
+
/* resizer */
|
915
|
+
|
916
|
+
.fc-time-grid-event .fc-resizer {
|
917
|
+
position: absolute;
|
918
|
+
z-index: 3; /* above content */
|
919
|
+
left: 0;
|
920
|
+
right: 0;
|
921
|
+
bottom: 0;
|
922
|
+
height: 8px;
|
923
|
+
overflow: hidden;
|
924
|
+
line-height: 8px;
|
925
|
+
font-size: 11px;
|
926
|
+
font-family: monospace;
|
927
|
+
text-align: center;
|
928
|
+
cursor: s-resize;
|
929
|
+
}
|
930
|
+
|
931
|
+
.fc-time-grid-event .fc-resizer:after {
|
932
|
+
content: "=";
|
933
|
+
}
|