2 * FullCalendar v1.6.4 Stylesheet
3 * Docs & License: http://arshaw.com/fullcalendar/
14 border-collapse: collapse;
32 ------------------------------------------------------------------------*/
53 display: inline-block;
62 .fc .fc-header-space {
66 .fc-header .fc-button {
71 /* buttons edges butting together */
73 .fc-header .fc-button {
77 .fc-header .fc-corner-right, /* non-theme */
78 .fc-header .ui-corner-right { /* theme */
79 margin-right: 0; /* back to normal */
82 /* button layering (for border precedence) */
84 .fc-header .fc-state-hover,
85 .fc-header .ui-state-hover {
89 .fc-header .fc-state-down {
93 .fc-header .fc-state-active,
94 .fc-header .ui-state-active {
101 ------------------------------------------------------------------------*/
105 zoom: 1; /* for IE7, gives accurate coordinates for [un]freezeContentHeight */
116 ------------------------------------------------------------------------*/
118 .fc-widget-header, /* <th>, usually */
119 .fc-widget-content { /* <td>, usually */
120 border: 1px solid #ddd;
123 .fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
127 .fc-cell-overlay { /* semi-transparent rectangle while dragging */
130 filter: alpha(opacity=30); /* for IE */
136 ------------------------------------------------------------------------*/
140 display: inline-block;
149 .fc-state-default { /* non-theme */
153 .fc-state-default.fc-corner-left { /* non-theme */
154 border-top-left-radius: 4px;
155 border-bottom-left-radius: 4px;
158 .fc-state-default.fc-corner-right { /* non-theme */
159 border-top-right-radius: 4px;
160 border-bottom-right-radius: 4px;
164 Our default prev/next buttons use HTML entities like ‹ › « »
165 and we'll try to make them look good cross-browser.
171 font-family: "Courier New", Courier, monospace;
172 vertical-align: baseline; /* for IE7 */
175 .fc-button-prev .fc-text-arrow,
176 .fc-button-next .fc-text-arrow { /* for ‹ › */
180 /* icon (for jquery ui) */
182 .fc-button .fc-icon-wrap {
188 .fc-button .ui-icon {
198 borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
202 background-color: #f5f5f5;
203 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
204 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
205 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
206 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
207 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
208 background-repeat: repeat-x;
209 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
210 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
212 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
213 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
221 background-color: #e6e6e6;
226 text-decoration: none;
227 background-position: 0 -15px;
228 -webkit-transition: background-position 0.1s linear;
229 -moz-transition: background-position 0.1s linear;
230 -o-transition: background-position 0.1s linear;
231 transition: background-position 0.1s linear;
236 background-color: #cccccc;
237 background-image: none;
239 box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
244 background-image: none;
246 filter: alpha(opacity=65);
252 /* Global Event Styles
253 ------------------------------------------------------------------------*/
255 .fc-event-container > * {
259 .fc-event-container > .ui-draggable-dragging,
260 .fc-event-container > .ui-resizable-resizing {
265 border: 1px solid #3a87ad; /* default BORDER color */
266 background-color: #3a87ad; /* default BACKGROUND color */
267 color: #fff; /* default TEXT color */
273 text-decoration: none;
277 .fc-event-draggable {
296 .fc .ui-resizable-handle {
300 overflow: hidden; /* hacky spaces (IE6/7) */
301 font-size: 300%; /* */
302 line-height: 50%; /* */
308 ------------------------------------------------------------------------*/
315 .fc-ltr .fc-event-hori.fc-event-start,
316 .fc-rtl .fc-event-hori.fc-event-end {
317 border-left-width: 1px;
318 border-top-left-radius: 3px;
319 border-bottom-left-radius: 3px;
322 .fc-ltr .fc-event-hori.fc-event-end,
323 .fc-rtl .fc-event-hori.fc-event-start {
324 border-right-width: 1px;
325 border-top-right-radius: 3px;
326 border-bottom-right-radius: 3px;
331 .fc-event-hori .ui-resizable-e {
332 top: 0 !important; /* importants override pre jquery ui 1.7 styles */
333 right: -3px !important;
334 width: 7px !important;
335 height: 100% !important;
339 .fc-event-hori .ui-resizable-w {
341 left: -3px !important;
342 width: 7px !important;
343 height: 100% !important;
347 .fc-event-hori .ui-resizable-handle {
348 _padding-bottom: 14px; /* IE6 had 0 height */
353 /* Reusable Separate-border Table
354 ------------------------------------------------------------*/
356 table.fc-border-separate {
357 border-collapse: separate;
360 .fc-border-separate th,
361 .fc-border-separate td {
362 border-width: 1px 0 0 1px;
365 .fc-border-separate th.fc-last,
366 .fc-border-separate td.fc-last {
367 border-right-width: 1px;
370 .fc-border-separate tr.fc-last th,
371 .fc-border-separate tr.fc-last td {
372 border-bottom-width: 1px;
375 .fc-border-separate tbody tr.fc-first td,
376 .fc-border-separate tbody tr.fc-first th {
382 /* Month View, Basic Week View, Basic Day View
383 ------------------------------------------------------------------------*/
389 .fc .fc-week-number {
394 .fc .fc-week-number div {
398 .fc-grid .fc-day-number {
403 .fc-grid .fc-other-month .fc-day-number {
405 filter: alpha(opacity=30); /* for IE */
406 /* opacity with small font can sometimes look too faded
407 might want to set the 'color' property instead
408 making day-numbers bold also fixes the problem */
411 .fc-grid .fc-day-content {
413 padding: 2px 2px 1px; /* distance between events and day edges */
418 .fc-grid .fc-event-time {
424 .fc-rtl .fc-grid .fc-day-number {
428 .fc-rtl .fc-grid .fc-event-time {
434 /* Agenda Week View, Agenda Day View
435 ------------------------------------------------------------------------*/
438 border-collapse: separate;
445 .fc-agenda .fc-agenda-axis {
448 vertical-align: middle;
454 .fc-agenda .fc-week-number {
458 .fc-agenda .fc-day-content {
459 padding: 2px 2px 1px;
462 /* make axis border take precedence */
464 .fc-agenda-days .fc-agenda-axis {
465 border-right-width: 1px;
468 .fc-agenda-days .fc-col0 {
469 border-left-width: 0;
474 .fc-agenda-allday th {
478 .fc-agenda-allday .fc-day-content {
479 min-height: 34px; /* TODO: doesnt work well in quirksmode */
483 /* divider (between all-day and slots) */
485 .fc-agenda-divider-inner {
490 .fc-widget-header .fc-agenda-divider-inner {
496 .fc-agenda-slots th {
497 border-width: 1px 1px 0;
500 .fc-agenda-slots td {
501 border-width: 1px 0 0;
505 .fc-agenda-slots td div {
509 .fc-agenda-slots tr.fc-slot0 th,
510 .fc-agenda-slots tr.fc-slot0 td {
514 .fc-agenda-slots tr.fc-minor th,
515 .fc-agenda-slots tr.fc-minor td {
516 border-top-style: dotted;
519 .fc-agenda-slots tr.fc-minor th.ui-widget-header {
520 *border-top-style: solid; /* doesn't work with background in IE6/7 */
526 ------------------------------------------------------------------------*/
532 .fc-event-vert.fc-event-start {
533 border-top-width: 1px;
534 border-top-left-radius: 3px;
535 border-top-right-radius: 3px;
538 .fc-event-vert.fc-event-end {
539 border-bottom-width: 1px;
540 border-bottom-left-radius: 3px;
541 border-bottom-right-radius: 3px;
544 .fc-event-vert .fc-event-time {
549 .fc-event-vert .fc-event-inner {
554 .fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
563 filter: alpha(opacity=25);
566 .fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
567 .fc-select-helper .fc-event-bg {
568 display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
573 .fc-event-vert .ui-resizable-s {
574 bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */
575 width: 100% !important;
576 height: 8px !important;
577 overflow: hidden !important;
578 line-height: 8px !important;
579 font-size: 11px !important;
580 font-family: monospace;
585 .fc-agenda .ui-resizable-resizing { /* TODO: better selector */