put event z-index's into stylesheet

This commit is contained in:
Adam Shaw
2013-08-03 16:17:04 -07:00
parent d910bb8fcd
commit 664ec8f730
5 changed files with 19 additions and 12 deletions
-3
View File
@@ -268,7 +268,6 @@ function DayEventRenderer() {
" style=" +
"'" +
"position:absolute;" +
"z-index:8;" + // TODO: move this into a constant or put it in the stylesheet
"left:" + segment.left + "px;" +
skinCss +
"'" +
@@ -329,7 +328,6 @@ function DayEventRenderer() {
triggerRes = $(triggerRes)
.css({
position: 'absolute',
zIndex: 8, // TODO: move this into a constant or put it in the stylesheet
left: segment.left
});
@@ -573,7 +571,6 @@ function DayEventRenderer() {
var hoverListener = getHoverListener();
var dayDelta;
eventElement.draggable({
zIndex: 9,
delay: 50,
opacity: opt('dragOpacity'),
revertDuration: opt('dragRevertDuration'),
+9
View File
@@ -138,6 +138,15 @@
/* 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 */