--- a/web/data/fullcalendar.css Thu Jan 16 15:10:54 2014 +0100
+++ b/web/data/fullcalendar.css Fri Jan 17 09:35:53 2014 +0100
@@ -1,24 +1,10 @@
-/*
- * FullCalendar v1.4.8 Stylesheet
- *
- * Feel free to edit this file to customize the look of FullCalendar.
- * When upgrading to newer versions, please upgrade this file as well,
- * porting over any customizations afterwards.
- *
- * Date: Sat Oct 16 17:10:03 2010 -0700
- *
+/*!
+ * FullCalendar v1.6.4 Stylesheet
+ * Docs & License: http://arshaw.com/fullcalendar/
+ * (c) 2013 Adam Shaw
*/
-
-
-/* TODO: make font sizes look the same in all doctypes */
-.fc,
-.fc .fc-header,
-.fc .fc-content {
- font-size: 1em;
- }
-
.fc {
direction: ltr;
text-align: left;
@@ -29,7 +15,13 @@
border-spacing: 0;
}
-.fc td, .fc th {
+html .fc,
+.fc table {
+ font-size: 1em;
+ }
+
+.fc td,
+.fc th {
padding: 0;
vertical-align: top;
}
@@ -38,242 +30,262 @@
/* Header
------------------------------------------------------------------------*/
-
-table.fc-header {
- width: 100%;
+
+.fc-header td {
+ white-space: nowrap;
}
-
+
.fc-header-left {
width: 25%;
- }
-
-.fc-header-left table {
- float: left;
+ text-align: left;
}
.fc-header-center {
- width: 50%;
text-align: center;
}
-.fc-header-center table {
- margin: 0 auto;
- }
-
.fc-header-right {
width: 25%;
- }
-
-.fc-header-right table {
- float: right;
+ text-align: right;
}
.fc-header-title {
+ display: inline-block;
+ vertical-align: top;
+ }
+
+.fc-header-title h2 {
margin-top: 0;
white-space: nowrap;
}
-.fc-header-space {
+.fc .fc-header-space {
padding-left: 10px;
}
-/* right-to-left */
+.fc-header .fc-button {
+ margin-bottom: 1em;
+ vertical-align: top;
+ }
+
+/* buttons edges butting together */
-.fc-rtl .fc-header-title {
- direction: rtl;
+.fc-header .fc-button {
+ margin-right: -1px;
+ }
+
+.fc-header .fc-corner-right, /* non-theme */
+.fc-header .ui-corner-right { /* theme */
+ margin-right: 0; /* back to normal */
+ }
+
+/* button layering (for border precedence) */
+
+.fc-header .fc-state-hover,
+.fc-header .ui-state-hover {
+ z-index: 2;
+ }
+
+.fc-header .fc-state-down {
+ z-index: 3;
}
+.fc-header .fc-state-active,
+.fc-header .ui-state-active {
+ z-index: 4;
+ }
+
+
+
+/* Content
+------------------------------------------------------------------------*/
+
+.fc-content {
+ clear: both;
+ zoom: 1; /* for IE7, gives accurate coordinates for [un]freezeContentHeight */
+ }
+
+.fc-view {
+ width: 100%;
+ overflow: hidden;
+ }
+
+
+
+/* Cell Styles
+------------------------------------------------------------------------*/
+
+.fc-widget-header, /* <th>, usually */
+.fc-widget-content { /* <td>, usually */
+ border: 1px solid #ddd;
+ }
+
+.fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
+ background: #fcf8e3;
+ }
+
+.fc-cell-overlay { /* semi-transparent rectangle while dragging */
+ background: #bce8f1;
+ opacity: .3;
+ filter: alpha(opacity=30); /* for IE */
+ }
+
/* Buttons
------------------------------------------------------------------------*/
-.fc-header .fc-state-default,
-.fc-header .ui-state-default {
- margin-bottom: 1em;
+.fc-button {
+ position: relative;
+ display: inline-block;
+ padding: 0 .6em;
+ overflow: hidden;
+ height: 1.9em;
+ line-height: 1.9em;
+ white-space: nowrap;
cursor: pointer;
}
-.fc-header .fc-state-default {
- border-width: 1px 0;
- padding: 0 1px;
- }
-
-.fc-header .fc-state-default,
-.fc-header .fc-state-default a {
- border-style: solid;
+.fc-state-default { /* non-theme */
+ border: 1px solid;
}
-
-.fc-header .fc-state-default a {
- display: block;
- border-width: 0 1px;
- margin: 0 -1px;
- width: 100%;
- text-decoration: none;
- }
-
-.fc-header .fc-state-default span {
- display: block;
- border-style: solid;
- border-width: 1px 0 1px 1px;
- padding: 3px 5px;
- }
-
-.fc-header .ui-state-default {
- padding: 4px 6px;
- }
-
-.fc-header .fc-state-default span,
-.fc-header .ui-state-default span {
- white-space: nowrap;
+
+.fc-state-default.fc-corner-left { /* non-theme */
+ border-top-left-radius: 4px;
+ border-bottom-left-radius: 4px;
}
-
-/* for adjacent buttons */
-
-.fc-header .fc-no-right {
- padding-right: 0;
- }
-
-.fc-header .fc-no-right a {
- margin-right: 0;
- border-right: 0;
- }
-
-.fc-header .ui-no-right {
- border-right: 0;
+
+.fc-state-default.fc-corner-right { /* non-theme */
+ border-top-right-radius: 4px;
+ border-bottom-right-radius: 4px;
}
-
-/* for fake rounded corners */
-
-.fc-header .fc-corner-left {
- margin-left: 1px;
- padding-left: 0;
- }
-
-.fc-header .fc-corner-right {
- margin-right: 1px;
- padding-right: 0;
- }
-
-/* DEFAULT button COLORS */
-
-.fc-header .fc-state-default,
-.fc-header .fc-state-default a {
- border-color: #777; /* outer border */
- color: #333;
+
+/*
+ Our default prev/next buttons use HTML entities like ‹ › « »
+ and we'll try to make them look good cross-browser.
+*/
+
+.fc-text-arrow {
+ margin: 0 .1em;
+ font-size: 2em;
+ font-family: "Courier New", Courier, monospace;
+ vertical-align: baseline; /* for IE7 */
}
-.fc-header .fc-state-default span {
- border-color: #fff #fff #d1d1d1; /* inner border */
- background: #e8e8e8;
- }
-
-/* PRESSED button COLORS (down and active) */
-
-.fc-header .fc-state-active a {
- color: #fff;
+.fc-button-prev .fc-text-arrow,
+.fc-button-next .fc-text-arrow { /* for ‹ › */
+ font-weight: bold;
}
-.fc-header .fc-state-down span,
-.fc-header .fc-state-active span {
- background: #888;
- border-color: #808080 #808080 #909090; /* inner border */
+/* icon (for jquery ui) */
+
+.fc-button .fc-icon-wrap {
+ position: relative;
+ float: left;
+ top: 50%;
}
-/* DISABLED button COLORS */
-
-.fc-header .fc-state-disabled a {
- color: #999;
- }
-
-.fc-header .fc-state-disabled,
-.fc-header .fc-state-disabled a {
- border-color: #ccc; /* outer border */
- }
-
-.fc-header .fc-state-disabled span {
- border-color: #fff #fff #f0f0f0; /* inner border */
- background: #f0f0f0;
+.fc-button .ui-icon {
+ position: relative;
+ float: left;
+ margin-top: -50%;
+ *margin-top: 0;
+ *top: -50%;
}
-
-
-/* Content Area & Global Cell Styles
-------------------------------------------------------------------------*/
-
-.fc-widget-content {
- border: 1px solid #ccc; /* outer border color */
+/*
+ button states
+ borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
+*/
+
+.fc-state-default {
+ background-color: #f5f5f5;
+ background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
+ background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
+ background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
+ background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
+ background-repeat: repeat-x;
+ border-color: #e6e6e6 #e6e6e6 #bfbfbf;
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+ color: #333;
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
+ }
+
+.fc-state-hover,
+.fc-state-down,
+.fc-state-active,
+.fc-state-disabled {
+ color: #333333;
+ background-color: #e6e6e6;
}
-
-.fc-content {
- clear: both;
+
+.fc-state-hover {
+ color: #333333;
+ text-decoration: none;
+ background-position: 0 -15px;
+ -webkit-transition: background-position 0.1s linear;
+ -moz-transition: background-position 0.1s linear;
+ -o-transition: background-position 0.1s linear;
+ transition: background-position 0.1s linear;
}
-
-.fc-content .fc-state-default {
- border-style: solid;
- border-color: #ccc; /* inner border color */
+
+.fc-state-down,
+.fc-state-active {
+ background-color: #cccccc;
+ background-image: none;
+ outline: 0;
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
+
+.fc-state-disabled {
+ cursor: default;
+ background-image: none;
+ opacity: 0.65;
+ filter: alpha(opacity=65);
+ box-shadow: none;
+ }
+
-.fc-content .fc-state-highlight { /* today */
- background: #ffc;
- }
-
-.fc-content .fc-not-today { /* override jq-ui highlight (TODO: ui-widget-content) */
- background: none;
- }
-
-.fc-cell-overlay { /* semi-transparent rectangle while dragging */
- background: #9cf;
- opacity: .2;
- filter: alpha(opacity=20); /* for IE */
- }
-
-.fc-view { /* prevents dragging outside of widget */
- width: 100%;
- overflow: hidden;
- }
-
-
-
-
/* Global Event Styles
------------------------------------------------------------------------*/
-.fc-event,
-.fc-agenda .fc-event-time,
-.fc-event a {
- border-style: solid;
- border-color: #36c; /* default BORDER color (probably the same as background-color) */
- background-color: #36c; /* default BACKGROUND color */
- color: #fff; /* default TEXT color */
+.fc-event-container > * {
+ z-index: 8;
+ }
+
+.fc-event-container > .ui-draggable-dragging,
+.fc-event-container > .ui-resizable-resizing {
+ z-index: 9;
+ }
+
+.fc-event {
+ border: 1px solid #3a87ad; /* default BORDER color */
+ background-color: #3a87ad; /* default BACKGROUND color */
+ color: #fff; /* default TEXT color */
+ font-size: .85em;
+ cursor: default;
+ }
+
+a.fc-event {
+ text-decoration: none;
}
- /* Use the 'className' CalEvent property and the following
- * example CSS to change event color on a per-event basis:
- *
- * .myclass,
- * .fc-agenda .myclass .fc-event-time,
- * .myclass a {
- * background-color: black;
- * border-color: black;
- * color: red;
- * }
- */
-
-.fc-event {
- text-align: left;
- }
-
-.fc-event a {
- overflow: hidden;
- font-size: .85em;
- text-decoration: none;
+a.fc-event,
+.fc-event-draggable {
cursor: pointer;
}
-.fc-event-editable {
- cursor: pointer;
+.fc-rtl .fc-event {
+ text-align: right;
+ }
+
+.fc-event-inner {
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
}
.fc-event-time,
@@ -281,29 +293,13 @@
padding: 0 1px;
}
-/* for fake rounded corners */
-
-.fc-event a {
- display: block;
- position: relative;
- width: 100%;
- height: 100%;
- }
-
-/* right-to-left */
-
-.fc-rtl .fc-event a {
- text-align: right;
- }
-
-/* resizable */
-
.fc .ui-resizable-handle {
display: block;
position: absolute;
z-index: 99999;
- border: 0 !important; /* important overrides pre jquery ui 1.7 styles */
- background: url(data:image/gif;base64,AAAA) !important; /* hover fix for IE */
+ overflow: hidden; /* hacky spaces (IE6/7) */
+ font-size: 300%; /* */
+ line-height: 50%; /* */
}
@@ -315,29 +311,19 @@
border-width: 1px 0;
margin-bottom: 1px;
}
-
-.fc-event-hori a {
- border-width: 0;
- }
-
-/* for fake rounded corners */
-
-.fc-content .fc-corner-left {
- margin-left: 1px;
+
+.fc-ltr .fc-event-hori.fc-event-start,
+.fc-rtl .fc-event-hori.fc-event-end {
+ border-left-width: 1px;
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
}
-
-.fc-content .fc-corner-left a {
- margin-left: -1px;
- border-left-width: 1px;
- }
-
-.fc-content .fc-corner-right {
- margin-right: 1px;
- }
-
-.fc-content .fc-corner-right a {
- margin-right: -1px;
+
+.fc-ltr .fc-event-hori.fc-event-end,
+.fc-rtl .fc-event-hori.fc-event-start {
border-right-width: 1px;
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
}
/* resizable */
@@ -364,26 +350,49 @@
+/* Reusable Separate-border Table
+------------------------------------------------------------*/
+
+table.fc-border-separate {
+ border-collapse: separate;
+ }
+
+.fc-border-separate th,
+.fc-border-separate td {
+ border-width: 1px 0 0 1px;
+ }
+
+.fc-border-separate th.fc-last,
+.fc-border-separate td.fc-last {
+ border-right-width: 1px;
+ }
+
+.fc-border-separate tr.fc-last th,
+.fc-border-separate tr.fc-last td {
+ border-bottom-width: 1px;
+ }
+
+.fc-border-separate tbody tr.fc-first td,
+.fc-border-separate tbody tr.fc-first th {
+ border-top-width: 0;
+ }
+
+
/* Month View, Basic Week View, Basic Day View
------------------------------------------------------------------------*/
-.fc-grid table {
- width: 100%;
- }
-
-.fc .fc-grid th {
- border-width: 0 0 0 1px;
+.fc-grid th {
text-align: center;
}
-
-.fc .fc-grid td {
- border-width: 1px 0 0 1px;
+
+.fc .fc-week-number {
+ width: 22px;
+ text-align: center;
}
-
-.fc-grid th.fc-leftmost,
-.fc-grid td.fc-leftmost {
- border-left: 0;
+
+.fc .fc-week-number div {
+ padding: 0 2px;
}
.fc-grid .fc-day-number {
@@ -401,7 +410,7 @@
.fc-grid .fc-day-content {
clear: both;
- padding: 2px 2px 0; /* distance between events and day edges */
+ padding: 2px 2px 1px; /* distance between events and day edges */
}
/* event styles */
@@ -411,10 +420,6 @@
}
/* right-to-left */
-
-.fc-rtl .fc-grid {
- direction: rtl;
- }
.fc-rtl .fc-grid .fc-day-number {
float: left;
@@ -424,85 +429,95 @@
float: right;
}
+
+
/* Agenda Week View, Agenda Day View
------------------------------------------------------------------------*/
-.fc .fc-agenda th,
-.fc .fc-agenda td {
- border-width: 1px 0 0 1px;
- }
-
-.fc .fc-agenda .fc-leftmost {
- border-left: 0;
+.fc-agenda table {
+ border-collapse: separate;
}
-.fc-agenda tr.fc-first th,
-.fc-agenda tr.fc-first td {
- border-top: 0;
- }
-
-.fc-agenda-head tr.fc-last th {
- border-bottom-width: 1px;
- }
-
-.fc .fc-agenda-head td,
-.fc .fc-agenda-body td {
- background: none;
- }
-
-.fc-agenda-head th {
+.fc-agenda-days th {
text-align: center;
}
-/* the time axis running down the left side */
-
-.fc-agenda .fc-axis {
+.fc-agenda .fc-agenda-axis {
width: 50px;
padding: 0 4px;
vertical-align: middle;
+ text-align: right;
white-space: nowrap;
- text-align: right;
font-weight: normal;
}
+
+.fc-agenda .fc-week-number {
+ font-weight: bold;
+ }
+
+.fc-agenda .fc-day-content {
+ padding: 2px 2px 1px;
+ }
-/* all-day event cells at top */
+/* make axis border take precedence */
-.fc-agenda-head tr.fc-all-day th {
- height: 35px;
+.fc-agenda-days .fc-agenda-axis {
+ border-right-width: 1px;
+ }
+
+.fc-agenda-days .fc-col0 {
+ border-left-width: 0;
}
-.fc-agenda-head td {
- padding-bottom: 10px;
+/* all-day area */
+
+.fc-agenda-allday th {
+ border-width: 0 1px;
+ }
+
+.fc-agenda-allday .fc-day-content {
+ min-height: 34px; /* TODO: doesnt work well in quirksmode */
+ _height: 34px;
}
-.fc .fc-divider div {
- font-size: 1px; /* for IE6/7 */
+/* divider (between all-day and slots) */
+
+.fc-agenda-divider-inner {
height: 2px;
+ overflow: hidden;
+ }
+
+.fc-widget-header .fc-agenda-divider-inner {
+ background: #eee;
}
-.fc .fc-divider .fc-state-default {
- background: #eee; /* color for divider between all-day and time-slot events */
+/* slot rows */
+
+.fc-agenda-slots th {
+ border-width: 1px 1px 0;
+ }
+
+.fc-agenda-slots td {
+ border-width: 1px 0 0;
+ background: none;
+ }
+
+.fc-agenda-slots td div {
+ height: 20px;
+ }
+
+.fc-agenda-slots tr.fc-slot0 th,
+.fc-agenda-slots tr.fc-slot0 td {
+ border-top-width: 0;
}
-/* body styles */
-
-.fc .fc-agenda-body td div {
- height: 20px; /* slot height */
- }
-
-.fc .fc-agenda-body tr.fc-minor th,
-.fc .fc-agenda-body tr.fc-minor td {
+.fc-agenda-slots tr.fc-minor th,
+.fc-agenda-slots tr.fc-minor td {
border-top-style: dotted;
}
-.fc-agenda .fc-day-content {
- padding: 2px 2px 0; /* distance between events and day edges */
- }
-
-/* vertical background columns */
-
-.fc .fc-agenda-bg .ui-state-highlight {
- background-image: none; /* tall column, don't want repeating background image */
+.fc-agenda-slots tr.fc-minor th.ui-widget-header {
+ *border-top-style: solid; /* doesn't work with background in IE6/7 */
}
@@ -513,52 +528,30 @@
.fc-event-vert {
border-width: 0 1px;
}
-
-.fc-event-vert a {
- border-width: 0;
+
+.fc-event-vert.fc-event-start {
+ border-top-width: 1px;
+ border-top-left-radius: 3px;
+ border-top-right-radius: 3px;
}
-
-/* for fake rounded corners */
-
-.fc-content .fc-corner-top {
- margin-top: 1px;
+
+.fc-event-vert.fc-event-end {
+ border-bottom-width: 1px;
+ border-bottom-left-radius: 3px;
+ border-bottom-right-radius: 3px;
}
-.fc-content .fc-corner-top a {
- margin-top: -1px;
- border-top-width: 1px;
- }
-
-.fc-content .fc-corner-bottom {
- margin-bottom: 1px;
+.fc-event-vert .fc-event-time {
+ white-space: nowrap;
+ font-size: 10px;
}
-
-.fc-content .fc-corner-bottom a {
- margin-bottom: -1px;
- border-bottom-width: 1px;
- }
-
-/* event content */
-
-.fc-event-vert span {
- display: block;
+
+.fc-event-vert .fc-event-inner {
position: relative;
z-index: 2;
}
-.fc-event-vert span.fc-event-time {
- white-space: nowrap;
- _white-space: normal;
- overflow: hidden;
- border: 0;
- font-size: 10px;
- }
-
-.fc-event-vert span.fc-event-title {
- line-height: 13px;
- }
-
-.fc-event-vert span.fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
+.fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
position: absolute;
z-index: 1;
top: 0;
@@ -566,8 +559,13 @@
width: 100%;
height: 100%;
background: #fff;
- opacity: .3;
- filter: alpha(opacity=30); /* for IE */
+ opacity: .25;
+ filter: alpha(opacity=25);
+ }
+
+.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
+.fc-select-helper .fc-event-bg {
+ display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
}
/* resizable */
@@ -576,6 +574,7 @@
bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */
width: 100% !important;
height: 8px !important;
+ overflow: hidden !important;
line-height: 8px !important;
font-size: 11px !important;
font-family: monospace;
@@ -583,4 +582,8 @@
cursor: s-resize;
}
+.fc-agenda .ui-resizable-resizing { /* TODO: better selector */
+ _overflow: hidden;
+ }
+