case 'week':
var storage = view + 'Sizes',
div = _createElement(event),
- margin = view == 'day' ? 5 : 10,
+ margin = view == 'day' ? 2.5 : 5,
style = { backgroundColor: Kronolith.conf.calendars[calendar[0]][calendar[1]].bg,
color: Kronolith.conf.calendars[calendar[0]][calendar[1]].fg };
div.setStyle({
top: (Math.round(midnight.getElapsed(event.value.start) / 60000) * this[storage].height / 60 | 0) + 'px',
- width: 100 - margin + '%'
+ width: 100 - margin * 2 + '%',
+ left: margin + '%'
})
.insert(innerDiv.setStyle(style));
if (draggerTop) {
width = 100 / columns;
this.dayGroups[pos].each(function(ev) {
ev.columns = columns;
- $(ev.nodeId).setStyle({ width: width - margin + '%', left: (width * (ev.column - 1)) + '%' });
+ $(ev.nodeId).setStyle({ width: width - margin * 2 + '%', left: (width * (ev.column - 1)) + margin + '%' });
});
this.dayEvents.push(event.value);
.kronolithMore:hover {
text-decoration: underline;
}
+#kronolithViewWeek .kronolithAllDay .kronolithMore {
+ margin-left: 5%;
+}
/* Main view agenda. */
#kronolithViewAgenda td.kronolithFirstCol {
float: left;
}
#kronolithViewWeek .kronolithAllDay div.kronolithEvent {
- margin-right: 10%;
+ margin-left: 5%;
+ margin-right: 5%;
}
div.kronolithEvent .kronolithDragger {
position: absolute;