mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-07-25 13:10:31 +08:00
put event z-index's into stylesheet
This commit is contained in:
@@ -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'),
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user