Tweak calendar edit button.
authorJan Schneider <jan@horde.org>
Tue, 3 Nov 2009 14:33:49 +0000 (15:33 +0100)
committerJan Schneider <jan@horde.org>
Tue, 3 Nov 2009 14:33:49 +0000 (15:33 +0100)
kronolith/js/kronolith.js
kronolith/themes/screen.css

index 70aa38b..352a453 100644 (file)
@@ -724,17 +724,17 @@ KronolithCore = {
             if (cal.value.owner) {
                 my++;
                 div = $('kronolithMyCalendars');
+                div.insert(new Element('SPAN', { 'class': 'kronolithCalEdit' })
+                           .insert('&rsaquo;'));
             } else {
                 shared++;
                 div = $('kronolithSharedCalendars');
             }
-            div.insert(new Element('SPAN', { 'class': 'kronolithCalEdit' })
-                       .insert('&rsaquo;'))
-                .insert(new Element('DIV', { 'class': cal.value.show ? 'kronolithCalOn' : 'kronolithCalOff' })
-                        .store('calendar', cal.key)
-                        .store('calendarclass', 'internal')
-                        .setStyle({ backgroundColor: cal.value.bg, color: cal.value.fg })
-                        .update(cal.value.name.escapeHTML()));
+            div.insert(new Element('DIV', { 'class': cal.value.show ? 'kronolithCalOn' : 'kronolithCalOff' })
+                       .store('calendar', cal.key)
+                       .store('calendarclass', 'internal')
+                       .setStyle({ backgroundColor: cal.value.bg, color: cal.value.fg })
+                       .update(cal.value.name.escapeHTML()));
         });
         if (my) {
             $('kronolithMyCalendars').show();
index 64845b0..98e1d75 100644 (file)
@@ -461,7 +461,7 @@ body.kronolithAjax {
     border: 1px solid #c0c0c0;
     background-color: #fff;
     text-align: center;
-    font-weight: bold;
+    cursor: pointer;
 }
 #kronolithAddEvents {
     margin-bottom: 18px;