2 * FullCalendar v2.3.1 Stylesheet
3 * Docs & License: http://fullcalendar.io/
17 body .fc { /* extra precedence to overcome jqui */
23 --------------------------------------------------------------------------------------------------*/
29 .fc-unthemed .fc-divider,
31 .fc-unthemed .fc-popover {
35 .fc-unthemed .fc-popover {
36 background-color: #fff;
39 .fc-unthemed .fc-divider,
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;
81 font-family: "Courier New", Courier, monospace;
85 Acceptable font-family overrides for individual icons:
87 "Times New Roman", serif
89 NOTE: use percentage font sizes or else old IE chokes
94 margin: 0 -1em; /* ensures character will be centered, regardless of width */
97 .fc-icon-left-single-arrow:after {
105 .fc-icon-right-single-arrow:after {
113 .fc-icon-left-double-arrow:after {
119 .fc-icon-right-double-arrow:after {
125 .fc-icon-left-triangle:after {
132 .fc-icon-right-triangle:after {
139 .fc-icon-down-triangle:after {
152 /* Buttons (styled <button> tags, normalized to work cross-browser)
153 --------------------------------------------------------------------------------------------------*/
156 /* force height to include the border and padding */
157 -moz-box-sizing: border-box;
158 -webkit-box-sizing: border-box;
159 box-sizing: border-box;
167 font-size: 1em; /* normalize */
172 /* Firefox has an annoying inner border */
173 .fc button::-moz-focus-inner { margin: 0; padding: 0; }
175 .fc-state-default { /* non-theme */
179 .fc-state-default.fc-corner-left { /* non-theme */
180 border-top-left-radius: 4px;
181 border-bottom-left-radius: 4px;
184 .fc-state-default.fc-corner-right { /* non-theme */
185 border-top-right-radius: 4px;
186 border-bottom-right-radius: 4px;
189 /* icons in buttons */
191 .fc button .fc-icon { /* non-theme */
193 top: -0.05em; /* seems to be a good adjustment across browsers */
195 vertical-align: middle;
200 borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
204 background-color: #f5f5f5;
205 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
206 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
207 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
208 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
209 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
210 background-repeat: repeat-x;
211 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
212 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
214 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
215 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
223 background-color: #e6e6e6;
228 text-decoration: none;
229 background-position: 0 -15px;
230 -webkit-transition: background-position 0.1s linear;
231 -moz-transition: background-position 0.1s linear;
232 -o-transition: background-position 0.1s linear;
233 transition: background-position 0.1s linear;
238 background-color: #cccccc;
239 background-image: none;
240 box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
245 background-image: none;
247 filter: alpha(opacity=65);
253 --------------------------------------------------------------------------------------------------*/
256 display: inline-block;
260 every button that is not first in a button group should scootch over one pixel and cover the
261 previous button's border...
264 .fc .fc-button-group > * { /* extra precedence b/c buttons have margin set to zero */
269 .fc .fc-button-group > :first-child { /* same */
275 --------------------------------------------------------------------------------------------------*/
279 box-shadow: 0 2px 6px rgba(0,0,0,.15);
282 .fc-popover .fc-header { /* TODO: be more consistent with fc-head/fc-body */
286 .fc-popover .fc-header .fc-title {
290 .fc-popover .fc-header .fc-close {
294 .fc-ltr .fc-popover .fc-header .fc-title,
295 .fc-rtl .fc-popover .fc-header .fc-close {
299 .fc-rtl .fc-popover .fc-header .fc-title,
300 .fc-ltr .fc-popover .fc-header .fc-close {
306 .fc-unthemed .fc-popover {
311 .fc-unthemed .fc-popover .fc-header .fc-close {
318 .fc-popover > .ui-widget-header + .ui-widget-content {
319 border-top: 0; /* where they meet, let the header have the border */
323 /* Misc Reusable Components
324 --------------------------------------------------------------------------------------------------*/
334 padding: 0 0 2px; /* height is unreliable across browsers, so use padding */
343 .fc-bgevent-skeleton,
344 .fc-highlight-skeleton,
345 .fc-helper-skeleton {
346 /* these element should always cling to top-left/right corners */
354 bottom: 0; /* strech bg to bottom edge */
358 height: 100%; /* strech bg to bottom edge */
363 --------------------------------------------------------------------------------------------------*/
368 border-collapse: collapse;
370 font-size: 1em; /* normalize cross-browser */
386 border-style: double; /* overcome neighboring borders */
391 --------------------------------------------------------------------------------------------------*/
393 .fc .fc-row { /* extra precedence to overcome themes w/ .ui-widget-content forcing a 1px border */
394 /* no visible border by default. but make available if need be (scrollbar width compensation) */
400 /* don't put left/right border on anything within a fake row.
401 the outer tbody will worry about this */
402 border-left: 0 hidden transparent;
403 border-right: 0 hidden transparent;
405 /* no bottom borders on rows */
406 border-bottom: 0 hidden transparent;
409 .fc-row:first-child table {
410 border-top: 0 hidden transparent; /* no top border on first row */
414 /* Day Row (used within the header and the DayGrid)
415 --------------------------------------------------------------------------------------------------*/
425 /* highlighting cells & background event skeleton */
427 .fc-row .fc-bgevent-skeleton,
428 .fc-row .fc-highlight-skeleton {
429 bottom: 0; /* stretch skeleton to bottom of row */
432 .fc-row .fc-bgevent-skeleton table,
433 .fc-row .fc-highlight-skeleton table {
434 height: 100%; /* stretch skeleton to bottom of row */
437 .fc-row .fc-highlight-skeleton td,
438 .fc-row .fc-bgevent-skeleton td {
439 border-color: transparent;
442 .fc-row .fc-bgevent-skeleton {
447 .fc-row .fc-highlight-skeleton {
452 row content (which contains day/week numbers and events) as well as "helper" (which contains
453 temporary rendered events).
456 .fc-row .fc-content-skeleton {
459 padding-bottom: 2px; /* matches the space above the events */
462 .fc-row .fc-helper-skeleton {
466 .fc-row .fc-content-skeleton td,
467 .fc-row .fc-helper-skeleton td {
468 /* see-through to the background below */
469 background: none; /* in case <td>s are globally styled */
470 border-color: transparent;
472 /* don't put a border between events and/or the day number */
476 .fc-row .fc-content-skeleton tbody td, /* cells with events inside (so NOT the day number cell) */
477 .fc-row .fc-helper-skeleton tbody td {
478 /* don't put a border between event cells */
483 /* Scrolling Container
484 --------------------------------------------------------------------------------------------------*/
486 .fc-scroller { /* this class goes on elements for guaranteed vertical scrollbars */
491 .fc-scroller > * { /* we expect an immediate inner element */
492 position: relative; /* re-scope all positions */
493 width: 100%; /* hack to force re-sizing this inner element when scrollbars appear/disappear */
494 overflow: hidden; /* don't let negative margins or absolute positioning create further scroll */
498 /* Global Event Styles
499 --------------------------------------------------------------------------------------------------*/
502 position: relative; /* for resize handle and other inner positioning */
503 display: block; /* make the <a> tag block */
507 border: 1px solid #3a87ad; /* default BORDER color */
508 background-color: #3a87ad; /* default BACKGROUND color */
509 font-weight: normal; /* undo jqui's ui-widget-header bold */
512 /* overpower some of bootstrap's and jqui's styles on <a> tags */
515 .ui-widget .fc-event {
516 color: #fff; /* default TEXT color */
517 text-decoration: none; /* if <a> has an href */
521 .fc-event.fc-draggable {
522 cursor: pointer; /* give events with links and draggable events a hand mouse pointer */
525 .fc-not-allowed, /* causes a "warning" cursor. applied on body */
526 .fc-not-allowed .fc-event { /* to override an event's custom cursor */
530 .fc-event .fc-bg { /* the generic .fc-bg already does position */
534 filter: alpha(opacity=25); /* for IE */
537 .fc-event .fc-content {
542 .fc-event .fc-resizer {
549 --------------------------------------------------------------------------------------------------*/
551 /* events that are continuing to/from another week. kill rounded corners and butt up against edge */
553 .fc-ltr .fc-h-event.fc-not-start,
554 .fc-rtl .fc-h-event.fc-not-end {
556 border-left-width: 0;
557 padding-left: 1px; /* replace the border with padding */
558 border-top-left-radius: 0;
559 border-bottom-left-radius: 0;
562 .fc-ltr .fc-h-event.fc-not-end,
563 .fc-rtl .fc-h-event.fc-not-start {
565 border-right-width: 0;
566 padding-right: 1px; /* replace the border with padding */
567 border-top-right-radius: 0;
568 border-bottom-right-radius: 0;
573 .fc-h-event .fc-resizer { /* positioned it to overcome the event's borders */
582 .fc-ltr .fc-h-event .fc-start-resizer,
583 .fc-ltr .fc-h-event .fc-start-resizer:before,
584 .fc-ltr .fc-h-event .fc-start-resizer:after,
585 .fc-rtl .fc-h-event .fc-end-resizer,
586 .fc-rtl .fc-h-event .fc-end-resizer:before,
587 .fc-rtl .fc-h-event .fc-end-resizer:after {
588 right: auto; /* ignore the right and only use the left */
593 .fc-ltr .fc-h-event .fc-end-resizer,
594 .fc-ltr .fc-h-event .fc-end-resizer:before,
595 .fc-ltr .fc-h-event .fc-end-resizer:after,
596 .fc-rtl .fc-h-event .fc-start-resizer,
597 .fc-rtl .fc-h-event .fc-start-resizer:before,
598 .fc-rtl .fc-h-event .fc-start-resizer:after {
599 left: auto; /* ignore the left and only use the right */
605 ----------------------------------------------------------------------------------------------------
606 We use the full "fc-day-grid-event" class instead of using descendants because the event won't
607 be a descendant of the grid when it is being dragged.
611 margin: 1px 2px 0; /* spacing between events and edges */
616 .fc-day-grid-event .fc-content { /* force events to be one-line tall */
621 .fc-day-grid-event .fc-time {
625 .fc-day-grid-event .fc-resizer { /* enlarge the default hit area */
633 --------------------------------------------------------------------------------------------------*/
635 /* "more" link that represents hidden events */
641 text-decoration: none;
645 text-decoration: underline;
648 .fc-limited { /* rows and cells that are hidden because of a "more" link */
652 /* popover that appears when "more" link is clicked */
654 .fc-day-grid .fc-row {
655 z-index: 1; /* make the "more" popover one higher than this */
663 .fc-more-popover .fc-event-container {
668 --------------------------------------------------------------------------------------------------*/
675 .fc-toolbar .fc-left {
679 .fc-toolbar .fc-right {
683 .fc-toolbar .fc-center {
684 display: inline-block;
687 /* the things within each left/right/center section */
688 .fc .fc-toolbar > * > * { /* extra precedence to override button border margins */
693 /* the first thing within each left/center/right section */
694 .fc .fc-toolbar > * > :first-child { /* extra precedence to override button border margins */
704 /* button layering (for border precedence) */
710 .fc-toolbar .fc-state-hover,
711 .fc-toolbar .ui-state-hover {
715 .fc-toolbar .fc-state-down {
719 .fc-toolbar .fc-state-active,
720 .fc-toolbar .ui-state-active {
724 .fc-toolbar button:focus {
730 --------------------------------------------------------------------------------------------------*/
732 /* undo twitter bootstrap's box-sizing rules. normalizes positioning techniques */
733 /* don't do this for the toolbar because we'll want bootstrap to style those buttons as some pt */
734 .fc-view-container *,
735 .fc-view-container *:before,
736 .fc-view-container *:after {
737 -webkit-box-sizing: content-box;
738 -moz-box-sizing: content-box;
739 box-sizing: content-box;
742 .fc-view, /* scope positioning and z-index's for everything within the view */
743 .fc-view > table { /* so dragged elements can be above the view's main element */
749 --------------------------------------------------------------------------------------------------*/
751 /* day row structure */
753 .fc-basicWeek-view .fc-content-skeleton,
754 .fc-basicDay-view .fc-content-skeleton {
755 /* we are sure there are no day numbers in these views, so... */
756 padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
757 padding-bottom: 1em; /* ensure a space at bottom of cell for user selecting/clicking */
760 .fc-basic-view .fc-body .fc-row {
761 min-height: 4em; /* ensure that all rows are at least this tall */
764 /* a "rigid" row will take up a constant amount of height because content-skeleton is absolute */
770 .fc-row.fc-rigid .fc-content-skeleton {
777 /* week and day number styling */
779 .fc-basic-view .fc-week-number,
780 .fc-basic-view .fc-day-number {
784 .fc-basic-view td.fc-week-number span,
785 .fc-basic-view td.fc-day-number {
790 .fc-basic-view .fc-week-number {
794 .fc-basic-view .fc-week-number span {
795 /* work around the way we do column resizing and ensure a minimum width */
796 display: inline-block;
800 .fc-ltr .fc-basic-view .fc-day-number {
804 .fc-rtl .fc-basic-view .fc-day-number {
808 .fc-day-number.fc-other-month {
810 filter: alpha(opacity=30); /* for IE */
811 /* opacity with small font can sometimes look too faded
812 might want to set the 'color' property instead
813 making day-numbers bold also fixes the problem */
816 /* AgendaView all-day area
817 --------------------------------------------------------------------------------------------------*/
819 .fc-agenda-view .fc-day-grid {
821 z-index: 2; /* so the "more.." popover will be over the time grid */
824 .fc-agenda-view .fc-day-grid .fc-row {
825 min-height: 3em; /* all-day section will never get shorter than this */
828 .fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
829 padding-top: 1px; /* add a pixel to make sure there are 2px padding above events */
830 padding-bottom: 1em; /* give space underneath events for clicking/selecting days */
834 /* TimeGrid axis running down the side (for both the all-day area and the slot area)
835 --------------------------------------------------------------------------------------------------*/
837 .fc .fc-axis { /* .fc to overcome default cell styles */
838 vertical-align: middle;
851 .ui-widget td.fc-axis {
852 font-weight: normal; /* overcome jqui theme making it bold */
856 /* TimeGrid Structure
857 --------------------------------------------------------------------------------------------------*/
859 .fc-time-grid-container, /* so scroll container's z-index is below all-day */
860 .fc-time-grid { /* so slats/bg/content/etc positions get scoped within here */
866 min-height: 100%; /* so if height setting is 'auto', .fc-bg stretches to fill height */
869 .fc-time-grid table { /* don't put outer borders on slats/bg/content/etc */
870 border: 0 hidden transparent;
873 .fc-time-grid > .fc-bg {
877 .fc-time-grid .fc-slats,
878 .fc-time-grid > hr { /* the <hr> AgendaView injects when grid is shorter than scroller */
883 .fc-time-grid .fc-bgevent-skeleton,
884 .fc-time-grid .fc-content-skeleton {
891 .fc-time-grid .fc-bgevent-skeleton {
895 .fc-time-grid .fc-highlight-skeleton {
899 .fc-time-grid .fc-content-skeleton {
903 .fc-time-grid .fc-helper-skeleton {
908 /* TimeGrid Slats (lines that run horizontally)
909 --------------------------------------------------------------------------------------------------*/
911 .fc-time-grid .fc-slats td {
913 border-bottom: 0; /* each cell is responsible for its top border */
916 .fc-time-grid .fc-slats .fc-minor td {
917 border-top-style: dotted;
920 .fc-time-grid .fc-slats .ui-widget-content { /* for jqui theme */
921 background: none; /* see through to fc-bg */
925 /* TimeGrid Highlighting Slots
926 --------------------------------------------------------------------------------------------------*/
928 .fc-time-grid .fc-highlight-container { /* a div within a cell within the fc-highlight-skeleton */
929 position: relative; /* scopes the left/right of the fc-highlight to be in the column */
932 .fc-time-grid .fc-highlight {
936 /* top and bottom will be in by JS */
940 /* TimeGrid Event Containment
941 --------------------------------------------------------------------------------------------------*/
943 .fc-time-grid .fc-event-container, /* a div within a cell within the fc-content-skeleton */
944 .fc-time-grid .fc-bgevent-container { /* a div within a cell within the fc-bgevent-skeleton */
948 .fc-ltr .fc-time-grid .fc-event-container { /* space on the sides of events for LTR (default) */
949 margin: 0 2.5% 0 2px;
952 .fc-rtl .fc-time-grid .fc-event-container { /* space on the sides of events for RTL */
953 margin: 0 2px 0 2.5%;
956 .fc-time-grid .fc-event,
957 .fc-time-grid .fc-bgevent {
959 z-index: 1; /* scope inner z-index's */
962 .fc-time-grid .fc-bgevent {
963 /* background events always span full width */
969 /* Generic Vertical Event
970 --------------------------------------------------------------------------------------------------*/
972 .fc-v-event.fc-not-start { /* events that are continuing from another day */
973 /* replace space made by the top border with padding */
977 /* remove top rounded corners */
978 border-top-left-radius: 0;
979 border-top-right-radius: 0;
982 .fc-v-event.fc-not-end {
983 /* replace space made by the top border with padding */
984 border-bottom-width: 0;
987 /* remove bottom rounded corners */
988 border-bottom-left-radius: 0;
989 border-bottom-right-radius: 0;
993 /* TimeGrid Event Styling
994 ----------------------------------------------------------------------------------------------------
995 We use the full "fc-time-grid-event" class instead of using descendants because the event won't
996 be a descendant of the grid when it is being dragged.
999 .fc-time-grid-event {
1000 overflow: hidden; /* don't let the bg flow over rounded corners */
1003 .fc-time-grid-event .fc-time,
1004 .fc-time-grid-event .fc-title {
1008 .fc-time-grid-event .fc-time {
1010 white-space: nowrap;
1013 /* short mode, where time and title are on the same line */
1015 .fc-time-grid-event.fc-short .fc-content {
1016 /* don't wrap to second line (now that contents will be inline) */
1017 white-space: nowrap;
1020 .fc-time-grid-event.fc-short .fc-time,
1021 .fc-time-grid-event.fc-short .fc-title {
1022 /* put the time and title on the same line */
1023 display: inline-block;
1024 vertical-align: top;
1027 .fc-time-grid-event.fc-short .fc-time span {
1028 display: none; /* don't display the full time text... */
1031 .fc-time-grid-event.fc-short .fc-time:before {
1032 content: attr(data-start); /* ...instead, display only the start time */
1035 .fc-time-grid-event.fc-short .fc-time:after {
1036 content: "\000A0-\000A0"; /* seperate with a dash, wrapped in nbsp's */
1039 .fc-time-grid-event.fc-short .fc-title {
1040 font-size: .85em; /* make the title text the same size as the time */
1041 padding: 0; /* undo padding from above */
1046 .fc-time-grid-event .fc-resizer {
1054 font-family: monospace;
1059 .fc-time-grid-event .fc-resizer:after {