2 * FullCalendar v2.2.5 Stylesheet
3 * Docs & License: http://arshaw.com/fullcalendar/
17 body .fc { /* extra precedence to overcome jqui */
23 --------------------------------------------------------------------------------------------------*/
31 .fc-unthemed .fc-popover {
35 .fc-unthemed .fc-popover {
36 background-color: #fff;
40 .fc-unthemed .fc-popover .fc-header {
44 .fc-unthemed .fc-popover .fc-header .fc-close {
48 .fc-unthemed .fc-today {
52 .fc-highlight { /* when user is selecting cells */
55 filter: alpha(opacity=30); /* for IE */
58 .fc-bgevent { /* default look for background events */
59 background: rgb(143, 223, 130);
61 filter: alpha(opacity=30); /* for IE */
64 .fc-nonbusiness { /* default look for non-business-hours areas */
65 /* will inherit .fc-bgevent's styles */
70 /* Icons (inline elements with styled text that mock arrow icons)
71 --------------------------------------------------------------------------------------------------*/
74 display: inline-block;
77 height: .5em; /* will make the total height 1em */
78 font-family: "Courier New", Courier, monospace;
81 .fc-icon-left-single-arrow:after {
86 .fc-icon-right-single-arrow:after {
91 .fc-icon-left-double-arrow:after {
95 .fc-icon-right-double-arrow:after {
104 /* Buttons (styled <button> tags, normalized to work cross-browser)
105 --------------------------------------------------------------------------------------------------*/
108 /* force height to include the border and padding */
109 -moz-box-sizing: border-box;
110 -webkit-box-sizing: border-box;
111 box-sizing: border-box;
119 font-size: 1em; /* normalize */
124 /* Firefox has an annoying inner border */
125 .fc button::-moz-focus-inner { margin: 0; padding: 0; }
127 .fc-state-default { /* non-theme */
131 .fc-state-default.fc-corner-left { /* non-theme */
132 border-top-left-radius: 4px;
133 border-bottom-left-radius: 4px;
136 .fc-state-default.fc-corner-right { /* non-theme */
137 border-top-right-radius: 4px;
138 border-bottom-right-radius: 4px;
141 /* icons in buttons */
143 .fc button .fc-icon { /* non-theme */
145 top: .05em; /* seems to be a good adjustment across browsers */
151 borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
155 background-color: #f5f5f5;
156 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
157 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
158 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
159 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
160 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
161 background-repeat: repeat-x;
162 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
163 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
165 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
166 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
174 background-color: #e6e6e6;
179 text-decoration: none;
180 background-position: 0 -15px;
181 -webkit-transition: background-position 0.1s linear;
182 -moz-transition: background-position 0.1s linear;
183 -o-transition: background-position 0.1s linear;
184 transition: background-position 0.1s linear;
189 background-color: #cccccc;
190 background-image: none;
191 box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
196 background-image: none;
198 filter: alpha(opacity=65);
204 --------------------------------------------------------------------------------------------------*/
207 display: inline-block;
211 every button that is not first in a button group should scootch over one pixel and cover the
212 previous button's border...
215 .fc .fc-button-group > * { /* extra precedence b/c buttons have margin set to zero */
220 .fc .fc-button-group > :first-child { /* same */
226 --------------------------------------------------------------------------------------------------*/
230 box-shadow: 0 2px 6px rgba(0,0,0,.15);
233 .fc-popover .fc-header {
237 .fc-popover .fc-header .fc-title {
241 .fc-popover .fc-header .fc-close {
245 .fc-ltr .fc-popover .fc-header .fc-title,
246 .fc-rtl .fc-popover .fc-header .fc-close {
250 .fc-rtl .fc-popover .fc-header .fc-title,
251 .fc-ltr .fc-popover .fc-header .fc-close {
257 .fc-unthemed .fc-popover {
262 .fc-unthemed .fc-popover .fc-header .fc-close {
269 .fc-popover > .ui-widget-header + .ui-widget-content {
270 border-top: 0; /* where they meet, let the header have the border */
274 /* Misc Reusable Components
275 --------------------------------------------------------------------------------------------------*/
280 padding: 0 0 2px; /* height is unreliable across browsers, so use padding */
290 .fc-bgevent-skeleton,
291 .fc-highlight-skeleton,
292 .fc-helper-skeleton {
293 /* these element should always cling to top-left/right corners */
301 bottom: 0; /* strech bg to bottom edge */
305 height: 100%; /* strech bg to bottom edge */
310 --------------------------------------------------------------------------------------------------*/
315 border-collapse: collapse;
317 font-size: 1em; /* normalize cross-browser */
333 border-style: double; /* overcome neighboring borders */
338 --------------------------------------------------------------------------------------------------*/
340 .fc .fc-row { /* extra precedence to overcome themes w/ .ui-widget-content forcing a 1px border */
341 /* no visible border by default. but make available if need be (scrollbar width compensation) */
347 /* don't put left/right border on anything within a fake row.
348 the outer tbody will worry about this */
349 border-left: 0 hidden transparent;
350 border-right: 0 hidden transparent;
352 /* no bottom borders on rows */
353 border-bottom: 0 hidden transparent;
356 .fc-row:first-child table {
357 border-top: 0 hidden transparent; /* no top border on first row */
361 /* Day Row (used within the header and the DayGrid)
362 --------------------------------------------------------------------------------------------------*/
372 /* highlighting cells & background event skeleton */
374 .fc-row .fc-bgevent-skeleton,
375 .fc-row .fc-highlight-skeleton {
376 bottom: 0; /* stretch skeleton to bottom of row */
379 .fc-row .fc-bgevent-skeleton table,
380 .fc-row .fc-highlight-skeleton table {
381 height: 100%; /* stretch skeleton to bottom of row */
384 .fc-row .fc-highlight-skeleton td,
385 .fc-row .fc-bgevent-skeleton td {
386 border-color: transparent;
389 .fc-row .fc-bgevent-skeleton {
394 .fc-row .fc-highlight-skeleton {
399 row content (which contains day/week numbers and events) as well as "helper" (which contains
400 temporary rendered events).
403 .fc-row .fc-content-skeleton {
406 padding-bottom: 2px; /* matches the space above the events */
409 .fc-row .fc-helper-skeleton {
413 .fc-row .fc-content-skeleton td,
414 .fc-row .fc-helper-skeleton td {
415 /* see-through to the background below */
416 background: none; /* in case <td>s are globally styled */
417 border-color: transparent;
419 /* don't put a border between events and/or the day number */
423 .fc-row .fc-content-skeleton tbody td, /* cells with events inside (so NOT the day number cell) */
424 .fc-row .fc-helper-skeleton tbody td {
425 /* don't put a border between event cells */
430 /* Scrolling Container
431 --------------------------------------------------------------------------------------------------*/
433 .fc-scroller { /* this class goes on elements for guaranteed vertical scrollbars */
438 .fc-scroller > * { /* we expect an immediate inner element */
439 position: relative; /* re-scope all positions */
440 width: 100%; /* hack to force re-sizing this inner element when scrollbars appear/disappear */
441 overflow: hidden; /* don't let negative margins or absolute positioning create further scroll */
445 /* Global Event Styles
446 --------------------------------------------------------------------------------------------------*/
449 position: relative; /* for resize handle and other inner positioning */
450 display: block; /* make the <a> tag block */
454 border: 1px solid #3a87ad; /* default BORDER color */
455 background-color: #3a87ad; /* default BACKGROUND color */
456 font-weight: normal; /* undo jqui's ui-widget-header bold */
459 /* overpower some of bootstrap's and jqui's styles on <a> tags */
462 .ui-widget .fc-event {
463 color: #fff; /* default TEXT color */
464 text-decoration: none; /* if <a> has an href */
468 .fc-event.fc-draggable {
469 cursor: pointer; /* give events with links and draggable events a hand mouse pointer */
472 .fc-not-allowed, /* causes a "warning" cursor. applied on body */
473 .fc-not-allowed .fc-event { /* to override an event's custom cursor */
479 ----------------------------------------------------------------------------------------------------
480 We use the full "fc-day-grid-event" class instead of using descendants because the event won't
481 be a descendant of the grid when it is being dragged.
485 margin: 1px 2px 0; /* spacing between events and edges */
489 /* events that are continuing to/from another week. kill rounded corners and butt up against edge */
491 .fc-ltr .fc-day-grid-event.fc-not-start,
492 .fc-rtl .fc-day-grid-event.fc-not-end {
494 border-left-width: 0;
495 padding-left: 1px; /* replace the border with padding */
496 border-top-left-radius: 0;
497 border-bottom-left-radius: 0;
500 .fc-ltr .fc-day-grid-event.fc-not-end,
501 .fc-rtl .fc-day-grid-event.fc-not-start {
503 border-right-width: 0;
504 padding-right: 1px; /* replace the border with padding */
505 border-top-right-radius: 0;
506 border-bottom-right-radius: 0;
509 .fc-day-grid-event > .fc-content { /* force events to be one-line tall */
514 .fc-day-grid-event .fc-time {
518 /* resize handle (outside of fc-content, so can go outside of bounds) */
520 .fc-day-grid-event .fc-resizer {
527 .fc-ltr .fc-day-grid-event .fc-resizer {
532 .fc-rtl .fc-day-grid-event .fc-resizer {
539 --------------------------------------------------------------------------------------------------*/
541 /* "more" link that represents hidden events */
547 text-decoration: none;
551 text-decoration: underline;
554 .fc-limited { /* rows and cells that are hidden because of a "more" link */
558 /* popover that appears when "more" link is clicked */
560 .fc-day-grid .fc-row {
561 z-index: 1; /* make the "more" popover one higher than this */
569 .fc-more-popover .fc-event-container {
574 --------------------------------------------------------------------------------------------------*/
581 .fc-toolbar .fc-left {
585 .fc-toolbar .fc-right {
589 .fc-toolbar .fc-center {
590 display: inline-block;
593 /* the things within each left/right/center section */
594 .fc .fc-toolbar > * > * { /* extra precedence to override button border margins */
599 /* the first thing within each left/center/right section */
600 .fc .fc-toolbar > * > :first-child { /* extra precedence to override button border margins */
610 /* button layering (for border precedence) */
616 .fc-toolbar .fc-state-hover,
617 .fc-toolbar .ui-state-hover {
621 .fc-toolbar .fc-state-down {
625 .fc-toolbar .fc-state-active,
626 .fc-toolbar .ui-state-active {
630 .fc-toolbar button:focus {
636 --------------------------------------------------------------------------------------------------*/
638 /* undo twitter bootstrap's box-sizing rules. normalizes positioning techniques */
639 /* don't do this for the toolbar because we'll want bootstrap to style those buttons as some pt */
640 .fc-view-container *,
641 .fc-view-container *:before,
642 .fc-view-container *:after {
643 -webkit-box-sizing: content-box;
644 -moz-box-sizing: content-box;
645 box-sizing: content-box;
648 .fc-view, /* scope positioning and z-index's for everything within the view */
649 .fc-view > table { /* so dragged elements can be above the view's main element */
655 --------------------------------------------------------------------------------------------------*/
657 /* day row structure */
659 .fc-basicWeek-view .fc-content-skeleton,
660 .fc-basicDay-view .fc-content-skeleton {
661 /* we are sure there are no day numbers in these views, so... */
662 padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
663 padding-bottom: 1em; /* ensure a space at bottom of cell for user selecting/clicking */
666 .fc-basic-view tbody .fc-row {
667 min-height: 4em; /* ensure that all rows are at least this tall */
670 /* a "rigid" row will take up a constant amount of height because content-skeleton is absolute */
676 .fc-row.fc-rigid .fc-content-skeleton {
683 /* week and day number styling */
685 .fc-basic-view .fc-week-number,
686 .fc-basic-view .fc-day-number {
690 .fc-basic-view td.fc-week-number span,
691 .fc-basic-view td.fc-day-number {
696 .fc-basic-view .fc-week-number {
700 .fc-basic-view .fc-week-number span {
701 /* work around the way we do column resizing and ensure a minimum width */
702 display: inline-block;
706 .fc-ltr .fc-basic-view .fc-day-number {
710 .fc-rtl .fc-basic-view .fc-day-number {
714 .fc-day-number.fc-other-month {
716 filter: alpha(opacity=30); /* for IE */
717 /* opacity with small font can sometimes look too faded
718 might want to set the 'color' property instead
719 making day-numbers bold also fixes the problem */
722 /* AgendaView all-day area
723 --------------------------------------------------------------------------------------------------*/
725 .fc-agenda-view .fc-day-grid {
727 z-index: 2; /* so the "more.." popover will be over the time grid */
730 .fc-agenda-view .fc-day-grid .fc-row {
731 min-height: 3em; /* all-day section will never get shorter than this */
734 .fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
735 padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
736 padding-bottom: 1em; /* give space underneath events for clicking/selecting days */
740 /* TimeGrid axis running down the side (for both the all-day area and the slot area)
741 --------------------------------------------------------------------------------------------------*/
743 .fc .fc-axis { /* .fc to overcome default cell styles */
744 vertical-align: middle;
757 .ui-widget td.fc-axis {
758 font-weight: normal; /* overcome jqui theme making it bold */
762 /* TimeGrid Structure
763 --------------------------------------------------------------------------------------------------*/
765 .fc-time-grid-container, /* so scroll container's z-index is below all-day */
766 .fc-time-grid { /* so slats/bg/content/etc positions get scoped within here */
772 min-height: 100%; /* so if height setting is 'auto', .fc-bg stretches to fill height */
775 .fc-time-grid table { /* don't put outer borders on slats/bg/content/etc */
776 border: 0 hidden transparent;
779 .fc-time-grid > .fc-bg {
783 .fc-time-grid .fc-slats,
784 .fc-time-grid > hr { /* the <hr> AgendaView injects when grid is shorter than scroller */
789 .fc-time-grid .fc-bgevent-skeleton,
790 .fc-time-grid .fc-content-skeleton {
797 .fc-time-grid .fc-bgevent-skeleton {
801 .fc-time-grid .fc-highlight-skeleton {
805 .fc-time-grid .fc-content-skeleton {
809 .fc-time-grid .fc-helper-skeleton {
814 /* TimeGrid Slats (lines that run horizontally)
815 --------------------------------------------------------------------------------------------------*/
819 border-bottom: 0; /* each cell is responsible for its top border */
822 .fc-slats .fc-minor td {
823 border-top-style: dotted;
826 .fc-slats .ui-widget-content { /* for jqui theme */
827 background: none; /* see through to fc-bg */
831 /* TimeGrid Highlighting Slots
832 --------------------------------------------------------------------------------------------------*/
834 .fc-time-grid .fc-highlight-container { /* a div within a cell within the fc-highlight-skeleton */
835 position: relative; /* scopes the left/right of the fc-highlight to be in the column */
838 .fc-time-grid .fc-highlight {
842 /* top and bottom will be in by JS */
846 /* TimeGrid Event Containment
847 --------------------------------------------------------------------------------------------------*/
849 .fc-time-grid .fc-event-container, /* a div within a cell within the fc-content-skeleton */
850 .fc-time-grid .fc-bgevent-container { /* a div within a cell within the fc-bgevent-skeleton */
854 .fc-ltr .fc-time-grid .fc-event-container { /* space on the sides of events for LTR (default) */
855 margin: 0 2.5% 0 2px;
858 .fc-rtl .fc-time-grid .fc-event-container { /* space on the sides of events for RTL */
859 margin: 0 2px 0 2.5%;
862 .fc-time-grid .fc-event,
863 .fc-time-grid .fc-bgevent {
865 z-index: 1; /* scope inner z-index's */
868 .fc-time-grid .fc-bgevent {
869 /* background events always span full width */
875 /* TimeGrid Event Styling
876 ----------------------------------------------------------------------------------------------------
877 We use the full "fc-time-grid-event" class instead of using descendants because the event won't
878 be a descendant of the grid when it is being dragged.
881 .fc-time-grid-event.fc-not-start { /* events that are continuing from another day */
882 /* replace space made by the top border with padding */
886 /* remove top rounded corners */
887 border-top-left-radius: 0;
888 border-top-right-radius: 0;
891 .fc-time-grid-event.fc-not-end {
892 /* replace space made by the top border with padding */
893 border-bottom-width: 0;
896 /* remove bottom rounded corners */
897 border-bottom-left-radius: 0;
898 border-bottom-right-radius: 0;
901 .fc-time-grid-event {
902 overflow: hidden; /* don't let the bg flow over rounded corners */
905 .fc-time-grid-event > .fc-content { /* contains the time and title, but no bg and resizer */
907 z-index: 2; /* above the bg */
910 .fc-time-grid-event .fc-time,
911 .fc-time-grid-event .fc-title {
915 .fc-time-grid-event .fc-time {
920 .fc-time-grid-event .fc-bg {
924 filter: alpha(opacity=25); /* for IE */
927 /* short mode, where time and title are on the same line */
929 .fc-time-grid-event.fc-short .fc-content {
930 /* don't wrap to second line (now that contents will be inline) */
934 .fc-time-grid-event.fc-short .fc-time,
935 .fc-time-grid-event.fc-short .fc-title {
936 /* put the time and title on the same line */
937 display: inline-block;
941 .fc-time-grid-event.fc-short .fc-time span {
942 display: none; /* don't display the full time text... */
945 .fc-time-grid-event.fc-short .fc-time:before {
946 content: attr(data-start); /* ...instead, display only the start time */
949 .fc-time-grid-event.fc-short .fc-time:after {
950 content: "\000A0-\000A0"; /* seperate with a dash, wrapped in nbsp's */
953 .fc-time-grid-event.fc-short .fc-title {
954 font-size: .85em; /* make the title text the same size as the time */
955 padding: 0; /* undo padding from above */
960 .fc-time-grid-event .fc-resizer {
962 z-index: 3; /* above content */
970 font-family: monospace;
975 .fc-time-grid-event .fc-resizer:after {