Remove unused CSS class.
authorJan Schneider <jan@horde.org>
Wed, 4 Nov 2009 23:18:40 +0000 (00:18 +0100)
committerJan Schneider <jan@horde.org>
Wed, 4 Nov 2009 23:18:40 +0000 (00:18 +0100)
kronolith/templates/index/agenda.inc
kronolith/templates/index/day.inc
kronolith/templates/index/month.inc
kronolith/templates/index/week.inc
kronolith/themes/screen.css

index 70449ca..28620ef 100644 (file)
@@ -12,7 +12,7 @@
   <tbody id="kronolithViewAgendaBody" class="kronolithViewBody">
     <tr id="kronolithAgendaTemplate" class="kronolithRow" style="display:none">
       <td class="kronolithFirstCol"></td>
-      <td class="kronolithCol">
+      <td>
       </td>
     </tr>
   </tbody>
index b368ede..a810a73 100644 (file)
   <thead class="kronolithViewHead">
     <tr>
       <td class="kronolithFirstCol">&nbsp;</td>
-      <td class="kronolithCol"><span><?php echo _("Events for this day") ?></span></td>
+      <td><span><?php echo _("Events for this day") ?></span></td>
     </tr>
   </thead>
   <tbody class="kronolithViewBody">
     <tr class="kronolithRow kronolithAllDay">
       <td class="kronolithFirstCol"><?php echo _("All day") ?></td>
-      <td class="kronolithCol"><div class="kronolithAllDayContainer">
+      <td><div class="kronolithAllDayContainer">
       </div></td>
     </tr>
   </tbody>
@@ -37,7 +37,7 @@
     <?php for ($i = 0; $i < 24; $i++): ?>
     <tr class="kronolithRow<?php if ($i < 9 || $i > 19) echo ' kronolithNight' ?>">
       <td class="kronolithFirstCol"><?php echo $i ?>:00</td>
-      <td class="kronolithCol"></td>
+      <td></td>
     </tr>
     <?php endfor; ?>
   </tbody>
index 4afbb81..2d5351e 100644 (file)
@@ -11,7 +11,7 @@
   <tr>
     <td class="kronolithFirstCol"><div id="kronolithLoadingmonth" class="kronolithLoading"></div></td>
     <?php for ($w = $prefs->getValue('week_start_monday'), $i = $w, $c = $i + 7; $i < $c; $i++): ?>
-    <td class="kronolithCol"><span><?php echo Horde_Nls::getLangInfo(constant('DAY_' . ($i % 7 + 1))) ?></span></td>
+    <td><span><?php echo Horde_Nls::getLangInfo(constant('DAY_' . ($i % 7 + 1))) ?></span></td>
     <?php endfor; ?>
   </tr>
 </table>
 <tbody id="kronolithViewMonthBody">
   <tr id="kronolithRowTemplate" class="kronolithRow" style="display:none">
     <td class="kronolithFirstCol"></td>
-    <td class="kronolithCol<?php if ($w == 6 || $w == 0) echo ' kronolithWeekend' ?>">
+    <td class="kronolithMonthDay<?php if ($w == 6 || $w == 0) echo ' kronolithWeekend' ?>">
       <div class="kronolithCorner"><div class="kronolithDay"></div><a class="kronolithAddEvent"><?php echo $img_blank ?></a></div>
     </td>
-    <td class="kronolithCol<?php if ($w == 5 || $w == 6) echo ' kronolithWeekend' ?>">
+    <td class="kronolithMonthDay<?php if ($w == 5 || $w == 6) echo ' kronolithWeekend' ?>">
       <div class="kronolithCorner"><div class="kronolithDay"></div><a class="kronolithAddEvent"><?php echo $img_blank ?></a></div>
     </td>
-    <td class="kronolithCol<?php if ($w == 4 || $w == 5) echo ' kronolithWeekend' ?>">
+    <td class="kronolithMonthDay<?php if ($w == 4 || $w == 5) echo ' kronolithWeekend' ?>">
       <div class="kronolithCorner"><div class="kronolithDay"></div><a class="kronolithAddEvent"><?php echo $img_blank ?></a></div>
     </td>
-    <td class="kronolithCol<?php if ($w == 3 || $w == 4) echo ' kronolithWeekend' ?>">
+    <td class="kronolithMonthDay<?php if ($w == 3 || $w == 4) echo ' kronolithWeekend' ?>">
       <div class="kronolithCorner"><div class="kronolithDay"></div><a class="kronolithAddEvent"><?php echo $img_blank ?></a></div>
     </td>
-    <td class="kronolithCol<?php if ($w == 2 || $w == 3) echo ' kronolithWeekend' ?>">
+    <td class="kronolithMonthDay<?php if ($w == 2 || $w == 3) echo ' kronolithWeekend' ?>">
       <div class="kronolithCorner"><div class="kronolithDay"></div><a class="kronolithAddEvent"><?php echo $img_blank ?></a></div>
     </td>
-    <td class="kronolithCol<?php if ($w == 1 || $w == 2) echo ' kronolithWeekend' ?>">
+    <td class="kronolithMonthDay<?php if ($w == 1 || $w == 2) echo ' kronolithWeekend' ?>">
       <div class="kronolithCorner"><div class="kronolithDay"></div><a class="kronolithAddEvent"><?php echo $img_blank ?></a></div>
     </td>
-    <td class="kronolithCol<?php if ($w == 0 || $w == 1) echo ' kronolithWeekend' ?>">
+    <td class="kronolithMonthDay<?php if ($w == 0 || $w == 1) echo ' kronolithWeekend' ?>">
       <div class="kronolithCorner"><div class="kronolithDay"></div><a class="kronolithAddEvent"><?php echo $img_blank ?></a></div>
     </td>
   </tr>
index 9e3f870..fce7976 100644 (file)
 <table id="kronolithViewWeekHead" class="kronolithView kronolithViewDay">
   <thead class="kronolithViewHead"><tr>
     <td class="kronolithFirstCol"><div id="kronolithLoadingweek" class="kronolithLoading"></div></td>
-    <td class="kronolithCol kronolithWeekDay"><span>&nbsp;</span></td>
-    <td class="kronolithCol kronolithWeekDay"><span>&nbsp;</span></td>
-    <td class="kronolithCol kronolithWeekDay"><span>&nbsp;</span></td>
-    <td class="kronolithCol kronolithWeekDay"><span>&nbsp;</span></td>
-    <td class="kronolithCol kronolithWeekDay"><span>&nbsp;</span></td>
-    <td class="kronolithCol kronolithWeekDay"><span>&nbsp;</span></td>
-    <td class="kronolithCol kronolithWeekDay"><span>&nbsp;</span></td>
+    <td class="kronolithWeekDay"><span>&nbsp;</span></td>
+    <td class="kronolithWeekDay"><span>&nbsp;</span></td>
+    <td class="kronolithWeekDay"><span>&nbsp;</span></td>
+    <td class="kronolithWeekDay"><span>&nbsp;</span></td>
+    <td class="kronolithWeekDay"><span>&nbsp;</span></td>
+    <td class="kronolithWeekDay"><span>&nbsp;</span></td>
+    <td class="kronolithWeekDay"><span>&nbsp;</span></td>
   </tr></thead>
   <tbody class="kronolithViewBody">
     <tr class="kronolithRow kronolithAllDay">
       <td class="kronolithFirstCol"><?php echo _("All day") ?></td>
-      <td class="kronolithCol<?php if ($w == 6 || $w == 0) echo ' kronolithWeekend' ?>"><div class="kronolithAllDayContainer">
+      <td<?php if ($w == 6 || $w == 0) echo ' class="kronolithWeekend"' ?>><div class="kronolithAllDayContainer">
       </div></td>
-      <td class="kronolithCol<?php if ($w == 5 || $w == 6) echo ' kronolithWeekend' ?>"><div class="kronolithAllDayContainer">
+      <td<?php if ($w == 5 || $w == 6) echo ' class="kronolithWeekend"' ?>><div class="kronolithAllDayContainer">
       </div></td>
-      <td class="kronolithCol<?php if ($w == 4 || $w == 5) echo ' kronolithWeekend' ?>"><div class="kronolithAllDayContainer">
+      <td<?php if ($w == 4 || $w == 5) echo ' class="kronolithWeekend"' ?>><div class="kronolithAllDayContainer">
       </div></td>
-      <td class="kronolithCol<?php if ($w == 3 || $w == 4) echo ' kronolithWeekend' ?>"><div class="kronolithAllDayContainer">
+      <td<?php if ($w == 3 || $w == 4) echo ' class="kronolithWeekend"' ?>><div class="kronolithAllDayContainer">
       </div></td>
-      <td class="kronolithCol<?php if ($w == 2 || $w == 3) echo ' kronolithWeekend' ?>"><div class="kronolithAllDayContainer">
+      <td<?php if ($w == 2 || $w == 3) echo ' class="kronolithWeekend"' ?>><div class="kronolithAllDayContainer">
       </div></td>
-      <td class="kronolithCol<?php if ($w == 1 || $w == 2) echo ' kronolithWeekend' ?>"><div class="kronolithAllDayContainer">
+      <td<?php if ($w == 1 || $w == 2) echo ' class="kronolithWeekend"' ?>><div class="kronolithAllDayContainer">
       </div></td>
-      <td class="kronolithCol<?php if ($w == 0 || $w == 1) echo ' kronolithWeekend' ?>"><div class="kronolithAllDayContainer">
+      <td<?php if ($w == 0 || $w == 1) echo ' class="kronolithWeekend"' ?>><div class="kronolithAllDayContainer">
       </div></td>
     </tr>
   </tbody>
     <?php for ($i = 0; $i < 24; $i++): ?>
     <tr class="kronolithRow<?php if ($i < 9 || $i > 19) echo ' kronolithNight' ?>">
       <td class="kronolithFirstCol"><?php echo $i ?>:00</td>
-      <td class="kronolithCol<?php if ($w == 6 || $w == 0) echo ' kronolithWeekend' ?>">
+      <td<?php if ($w == 6 || $w == 0) echo ' class="kronolithWeekend"' ?>>
       </td>
-      <td class="kronolithCol<?php if ($w == 5 || $w == 6) echo ' kronolithWeekend' ?>">
+      <td<?php if ($w == 5 || $w == 6) echo ' class="kronolithWeekend"' ?>>
       </td>
-      <td class="kronolithCol<?php if ($w == 4 || $w == 5) echo ' kronolithWeekend' ?>">
+      <td<?php if ($w == 4 || $w == 5) echo ' class="kronolithWeekend"' ?>>
       </td>
-      <td class="kronolithCol<?php if ($w == 3 || $w == 4) echo ' kronolithWeekend' ?>">
+      <td<?php if ($w == 3 || $w == 4) echo ' class="kronolithWeekend"' ?>>
       </td>
-      <td class="kronolithCol<?php if ($w == 2 || $w == 3) echo ' kronolithWeekend' ?>">
+      <td<?php if ($w == 2 || $w == 3) echo ' class="kronolithWeekend"' ?>>
       </td>
-      <td class="kronolithCol<?php if ($w == 1 || $w == 2) echo ' kronolithWeekend' ?>">
+      <td<?php if ($w == 1 || $w == 2) echo ' class="kronolithWeekend"' ?>>
       </td>
-      <td class="kronolithCol<?php if ($w == 0 || $w == 1) echo ' kronolithWeekend' ?>">
+      <td<?php if ($w == 0 || $w == 1) echo ' class="kronolithWeekend"' ?>>
       </td>
     </tr>
     <?php endfor; ?>
index 66190e9..f6c17ab 100644 (file)
@@ -893,19 +893,6 @@ div.kronolithView div.kronolithViewBody div.kronolithRow {
 .kronolithViewDay div.kronolithViewBody div.kronolithRow div {
     height: 41px;
 }
-.kronolithViewDay div.kronolithViewBody div.kronolithRow div.kronolithCol {
-    border-width: 1px 0;
-    margin-right: 0;
-}
-.kronolithViewDay div.kronolithViewBody div.kronolithRow div.kronolithCol.kronolithFirstField {
-    border-left-width: 1px;
-}
-.kronolithViewDay div.kronolithViewBody div.kronolithRow div.kronolithCol.kronolithLastField {
-    border-right-width: 1px;
-}
-.kronolithViewDay div.kronolithViewBody div.kronolithRow.kronolithAllDay div.kronolithCol {
-    border-width: 1px;
-}
 .kronolithViewDay td {
     height: 40px;
 }