mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-03 17:10:06 +08:00
268 lines
5.6 KiB
CSS
268 lines
5.6 KiB
CSS
|
|
/* 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-button {
|
|
position: relative;
|
|
display: inline-block;
|
|
padding: 0 .6em;
|
|
overflow: hidden;
|
|
height: 1.9em;
|
|
line-height: 1.9em;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fc-state-default { /* non-theme */
|
|
border: 1px solid;
|
|
}
|
|
|
|
.fc-state-default.fc-corner-left { /* non-theme */
|
|
border-top-left-radius: 4px;
|
|
border-bottom-left-radius: 4px;
|
|
}
|
|
|
|
.fc-state-default.fc-corner-right { /* non-theme */
|
|
border-top-right-radius: 4px;
|
|
border-bottom-right-radius: 4px;
|
|
}
|
|
|
|
/*
|
|
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-button-prev .fc-text-arrow,
|
|
.fc-button-next .fc-text-arrow { /* for ‹ › */
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* icon (for jquery ui) */
|
|
|
|
.fc-button .fc-icon-wrap {
|
|
position: relative;
|
|
float: left;
|
|
top: 50%;
|
|
}
|
|
|
|
.fc-button .ui-icon {
|
|
position: relative;
|
|
float: left;
|
|
margin-top: -50%;
|
|
*margin-top: 0;
|
|
*top: -50%;
|
|
}
|
|
|
|
/*
|
|
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-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-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;
|
|
}
|
|
|
|
|
|
|
|
/* Global Event Styles
|
|
------------------------------------------------------------------------*/
|
|
|
|
.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;
|
|
}
|
|
|
|
a.fc-event,
|
|
.fc-event-draggable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fc-rtl .fc-event {
|
|
text-align: right;
|
|
}
|
|
|
|
.fc-event-inner {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.fc-event-time,
|
|
.fc-event-title {
|
|
padding: 0 1px;
|
|
}
|
|
|
|
.fc .ui-resizable-handle {
|
|
display: block;
|
|
position: absolute;
|
|
z-index: 99999;
|
|
overflow: hidden; /* hacky spaces (IE6/7) */
|
|
font-size: 300%; /* */
|
|
line-height: 50%; /* */
|
|
}
|
|
|
|
|
|
|
|
/* Horizontal Events
|
|
------------------------------------------------------------------------*/
|
|
|
|
.fc-event-hori {
|
|
border-width: 1px 0;
|
|
margin-bottom: 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-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 */
|
|
|
|
.fc-event-hori .ui-resizable-e {
|
|
top: 0 !important; /* importants override pre jquery ui 1.7 styles */
|
|
right: -3px !important;
|
|
width: 7px !important;
|
|
height: 100% !important;
|
|
cursor: e-resize;
|
|
}
|
|
|
|
.fc-event-hori .ui-resizable-w {
|
|
top: 0 !important;
|
|
left: -3px !important;
|
|
width: 7px !important;
|
|
height: 100% !important;
|
|
cursor: w-resize;
|
|
}
|
|
|
|
.fc-event-hori .ui-resizable-handle {
|
|
_padding-bottom: 14px; /* IE6 had 0 height */
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
|
}
|
|
|
|
|