row.removeAttribute('id');
// Fill week number and day cells.
- row.addClassName('kronolithRow' + (body.select('tr').length % 2 == 1 ? 'Odd' : 'Even'))
- .down()
+ row.down()
.setText(this.parseDate(date).toString('D'))
.store('date', date)
.next()
divA = trA.down('.kronolithAllDayContainer'),
divATop = divA.cumulativeOffset().top,
divAHeight = divA.getHeight(),
- tr = $(view).down('.fixme').down('.kronolithRow'),
+ tr = $(view).down('.fixme').down('tr'),
td = tr.down('td').next('td'), tdTop, tdHeight,
tdAlign = td.getStyle('verticalAlign'),
tr2 = tr.next('tr'),
</span>
</caption>
<tbody id="kronolithViewAgendaBody" class="kronolithViewBody">
- <tr id="kronolithAgendaTemplate" class="kronolithRow" style="display:none">
+ <tr id="kronolithAgendaTemplate" style="display:none">
<td class="kronolithFirstCol"></td>
<td>
</td>
</tr>
</thead>
<tbody class="kronolithViewBody">
- <tr class="kronolithRow kronolithAllDay">
+ <tr class="kronolithAllDay">
<td class="kronolithFirstCol"><?php echo _("All day") ?></td>
<td><div class="kronolithAllDayContainer">
</div></td>
<table class="kronolithView kronolithViewDay">
<tbody id="kronolithViewDayBody" class="kronolithViewBody fixme">
<?php for ($i = 0; $i < 24; $i++): ?>
- <tr class="kronolithRow<?php if ($i < 9 || $i > 19) echo ' kronolithNight' ?>">
+ <tr<?php if ($i < 9 || $i > 19) echo ' class="kronolithNight"' ?>>
<td class="kronolithFirstCol"><?php echo $i ?>:00</td>
<td></td>
</tr>
<div id="kronolithViewMonthContainer">
<table class="kronolithView kronolithViewMonth">
<tbody id="kronolithViewMonthBody">
- <tr id="kronolithRowTemplate" class="kronolithRow" style="display:none">
+ <tr id="kronolithRowTemplate" style="display:none">
<td class="kronolithFirstCol"></td>
<td class="kronolithMonthDay<?php if ($w == 6 || $w == 0) echo ' kronolithWeekend' ?>">
<div class="kronolithCorner"><div class="kronolithDay"></div></div>
<td class="kronolithWeekDay"><span> </span></td>
</tr></thead>
<tbody class="kronolithViewBody">
- <tr class="kronolithRow kronolithAllDay">
+ <tr class="kronolithAllDay">
<td class="kronolithFirstCol"><?php echo _("All day") ?></td>
<td<?php if ($w == 6 || $w == 0) echo ' class="kronolithWeekend"' ?>><div class="kronolithAllDayContainer">
</div></td>
<table class="kronolithView kronolithViewDay">
<tbody id="kronolithViewWeekBody" class="kronolithViewBody fixme">
<?php for ($i = 0; $i < 24; $i++): ?>
- <tr class="kronolithRow<?php if ($i < 9 || $i > 19) echo ' kronolithNight' ?>">
+ <tr<?php if ($i < 9 || $i > 19) echo ' class="kronolithNight"' ?>>
<td class="kronolithFirstCol"><?php echo $i ?>:00</td>
<td<?php if ($w == 6 || $w == 0) echo ' class="kronolithWeekend"' ?>>
</td>
padding: 2px;
width: 16px;
height: 16px;
- /* Take values from .kronolithRow */
border: 1px #c0c0c0 solid;
}
bottom: 10px;
overflow: auto;
}
-div.kronolithView div.kronolithRow div {
- width: 13%;
-}
-
-div.kronolithRow div {
- float: left;
- position: relative;
- margin-right: 2px;
- margin-bottom: 2px;
- padding: 0;
- border: 1px #c0c0c0 solid;
- overflow: hidden;
-}
-div.kronolithRow div.kronolithFirstCol {
- width: 20px !important;
-}
table.kronolithView {
width: 100%;
height: 100%;
}
/* Main view header row */
-div.kronolithView div.kronolithViewHead div.kronolithRow {
- height: 20px;
-}
-div.kronolithView div.kronolithViewHead div.kronolithRow div {
- height: 21px;
- line-height: 21px;
- font-weight: bold;
-}
-div.kronolithView div.kronolithViewHead div.kronolithRow div span {
- padding: 0 5px;
-}
-div.kronolithView div.kronolithViewHead div.kronolithRow div.kronolithFirstCol {
- border-color: transparent;
-}
#kronolithViewHead {
width: 100%;
height: 20px;
bottom: 0;
overflow: auto;
}
-div.kronolithView div.kronolithViewBody div.kronolithRow {
- clear: both;
- vertical-align: top;
- height: auto;
-}
/* Captions. */
#kronolithBody caption {
}
/* Main view week */
-#kronolithViewWeek div.kronolithViewBody div.kronolithRow div {
- height: 41px;
-}
.kronolithWeekDay {
cursor: pointer;
}
/* Main view day */
-.kronolithViewDay div.kronolithViewBody div.kronolithRow div.kronolithFirstCol {
- margin-right: 2px;
- border-right-width: 1px;
-}
-.kronolithViewDay div.kronolithViewBody div.kronolithRow div {
- height: 41px;
-}
.kronolithViewDay td {
height: 40px;
}
}
/* More main view */
-div.kronolithView div.kronolithViewBody div.kronolithRow div {
- font-size: 95%;
-}
div.kronolithView div.kronolithViewBody .kronolithEvent {
margin-bottom: 2px;
margin-right: 2px;
}
-div.kronolithView div.kronolithViewBody div.kronolithRow div.kronolithFirstCol {
- font-weight: bold;
- text-align: center;
-}
-.kronolithViewDay div.kronolithViewBody div.kronolithRow.kronolithNight div {
- background-color: #f4f4f4;
-}
-div.kronolithView div.kronolithViewBody div.kronolithRow div.kronolithFirstCol:hover {
- cursor: pointer;
-}
-div.kronolithView div.kronolithViewBody div.kronolithRow div.kronolithOtherMonth {
- background: #f7f7f7;
-}
-div.kronolithView div.kronolithViewBody div.kronolithRow div.kronolithOtherMonth .kronolithDay {
- border-color: transparent;
- color: silver;
-}
-div.kronolithView div.kronolithViewBody div.kronolithRow div.kronolithToday {
- background-color: #ebf3fc;
- border-color: #808080;
-}
-div.kronolithView div.kronolithViewBody div.kronolithRow div div.kronolithMore {
- position: absolute;
- z-index: 10;
- right: 0;
- bottom: 0;
- width: 15px;
- height: 15px;
- background: white;
- border-right: none;
- border-bottom: none;
- text-align: center;
-}
-div.kronolithView div.kronolithViewBody div.kronolithRow div div.kronolithMore a {
- text-decoration: none;
-}
.kronolithFirstCol {
font-weight: bold;
text-align: center;
overflow: hidden;
position: absolute;
}
-div.kronolithView div.kronolithViewBody div.kronolithRow div .kronolithEvent.kronolithSelected {
- height: auto;
-}
-div.kronolithView div.kronolithViewBody div.kronolithRow div .kronolithEvent.kronolithEventFull {
- color: white !important;
-}
#kronolithViewDay .kronolithEvent, #kronolithViewWeek .kronolithEvent {
position: absolute;
opacity: .8;