]> err.no Git - scalable-opengroupware.org/commitdiff
Reworked CSS stuff for appointments - this is much more logical now
authorznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Thu, 21 Jul 2005 16:41:34 +0000 (16:41 +0000)
committerznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Thu, 21 Jul 2005 16:41:34 +0000 (16:41 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@885 d1b88da0-ebda-0310-925b-ed51d893ca5b

12 files changed:
SOGo/SOGo.xcodeproj/project.pbxproj
SOGo/UI/Scheduler/ChangeLog
SOGo/UI/Scheduler/UIxCalInlineAptView.m
SOGo/UI/Scheduler/UIxCalMonthOverview.m
SOGo/UI/Scheduler/UIxCalView.m
SOGo/UI/Scheduler/Version
SOGo/UI/Templates/ChangeLog
SOGo/UI/Templates/UIxCalDayChartview.wox
SOGo/UI/Templates/UIxCalDayListview.wox
SOGo/UI/Templates/UIxCalDayOverview.wox
SOGo/UI/Templates/UIxCalMonthOverview.wox
SOGo/UI/WebServerResources/calendar.css

index ff25403627b4b8d36e6927ed671efff0cb9eaef4..75d50af924317c7980fd79932ee09011028b5bf6 100644 (file)
@@ -28,9 +28,6 @@
                AD00163206ECCF5C00012B62 /* French */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text.plist.strings; name = French; path = French.lproj/Localizable.strings; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
                AD0134C306DF41C5000910D8 /* UIxSortButton.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxSortButton.m; sourceTree = "<group>"; };
                AD0134DC06DF4C11000910D8 /* README */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README; sourceTree = "<group>"; };
-               AD01374F06DF67B0000910D8 /* downward_sorted.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = downward_sorted.gif; sourceTree = "<group>"; };
-               AD01375006DF67B0000910D8 /* non_sorted.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = non_sorted.gif; sourceTree = "<group>"; };
-               AD01375106DF67B0000910D8 /* upward_sorted.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = upward_sorted.gif; sourceTree = "<group>"; };
                AD01376806DF6A59000910D8 /* English */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/Localizable.strings; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
                AD01376906DF6A69000910D8 /* French */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text.plist.strings; name = French; path = French.lproj/Localizable.strings; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
                AD01377506DF6BC7000910D8 /* English */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/Localizable.strings; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
                AD2C74AA071A9FF70087E027 /* UIxMailFormatter.h */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.h; path = UIxMailFormatter.h; sourceTree = "<group>"; };
                AD2C74AB071A9FF70087E027 /* UIxMailFormatter.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxMailFormatter.m; sourceTree = "<group>"; };
                AD2C74AC071A9FF70087E027 /* UIxMailMainFrame.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxMailMainFrame.m; sourceTree = "<group>"; };
-               AD2C74AE071A9FF70087E027 /* UIxMailPartAlternativeViewer.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxMailPartAlternativeViewer.m; sourceTree = "<group>"; };
-               AD2C74B0071A9FF70087E027 /* UIxMailPartImageViewer.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxMailPartImageViewer.m; sourceTree = "<group>"; };
-               AD2C74B2071A9FF70087E027 /* UIxMailPartMixedViewer.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxMailPartMixedViewer.m; sourceTree = "<group>"; };
-               AD2C74B4071A9FF70087E027 /* UIxMailPartTextViewer.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxMailPartTextViewer.m; sourceTree = "<group>"; };
                AD2C74B6071A9FF70087E027 /* UIxMailPartViewer.h */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.h; path = UIxMailPartViewer.h; sourceTree = "<group>"; };
                AD2C74B7071A9FF70087E027 /* UIxMailPartViewer.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxMailPartViewer.m; sourceTree = "<group>"; };
                AD2C74B8071A9FF70087E027 /* UIxMailRenderingContext.h */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.h; path = UIxMailRenderingContext.h; sourceTree = "<group>"; };
                AD770DA307AE4F7000F5C7A1 /* SOGoImageMailBodyPart.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = SOGoImageMailBodyPart.m; sourceTree = "<group>"; };
                AD770DA407AE4F7000F5C7A1 /* SOGoMessageMailBodyPart.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = SOGoMessageMailBodyPart.m; sourceTree = "<group>"; };
                AD770DAC07AE4FB200F5C7A1 /* UIxFilterList.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = UIxFilterList.m; sourceTree = "<group>"; };
-               AD770DAE07AE4FB200F5C7A1 /* UIxMailPartLinkViewer.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = UIxMailPartLinkViewer.m; sourceTree = "<group>"; };
-               AD770DB007AE4FB200F5C7A1 /* UIxMailPartMessageViewer.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = UIxMailPartMessageViewer.m; sourceTree = "<group>"; };
                AD770DB407AE4FB200F5C7A1 /* UIxMailTreeBlock.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; path = UIxMailTreeBlock.h; sourceTree = "<group>"; };
                AD770DB507AE4FB200F5C7A1 /* UIxMailTreeBlock.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = UIxMailTreeBlock.m; sourceTree = "<group>"; };
                AD770DB607AE4FB200F5C7A1 /* UIxSieveEditor.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = UIxSieveEditor.m; sourceTree = "<group>"; };
                E872074D0692E3D20099CBBD /* GNUmakefile */ = {isa = PBXFileReference; explicitFileType = sourcecode.make; fileEncoding = 4; indentWidth = 8; path = GNUmakefile; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
                E872074E0692E3D20099CBBD /* GNUmakefile.postamble */ = {isa = PBXFileReference; explicitFileType = sourcecode.make; fileEncoding = 4; indentWidth = 8; path = GNUmakefile.postamble; sourceTree = "<group>"; tabWidth = 8; };
                E872074F0692E3D20099CBBD /* GNUmakefile.preamble */ = {isa = PBXFileReference; explicitFileType = sourcecode.make; fileEncoding = 4; indentWidth = 8; path = GNUmakefile.preamble; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
-               E87207A40692E3D20099CBBD /* box_botleft.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = box_botleft.gif; sourceTree = "<group>"; };
-               E87207A50692E3D20099CBBD /* box_botright.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = box_botright.gif; sourceTree = "<group>"; };
-               E87207A60692E3D20099CBBD /* box_bottom.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = box_bottom.gif; sourceTree = "<group>"; };
-               E87207A70692E3D20099CBBD /* box_left.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = box_left.gif; sourceTree = "<group>"; };
-               E87207A80692E3D20099CBBD /* box_right.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = box_right.gif; sourceTree = "<group>"; };
-               E87207A90692E3D20099CBBD /* box_top.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = box_top.gif; sourceTree = "<group>"; };
-               E87207AA0692E3D20099CBBD /* box_topleft.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = box_topleft.gif; sourceTree = "<group>"; };
-               E87207AB0692E3D20099CBBD /* box_topright.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = box_topright.gif; sourceTree = "<group>"; };
-               E87207AC0692E3D20099CBBD /* closewindow.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = closewindow.gif; sourceTree = "<group>"; };
-               E87207AD0692E3D20099CBBD /* corner_right.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = corner_right.gif; sourceTree = "<group>"; };
-               E87207AE0692E3D20099CBBD /* line_left.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = line_left.gif; sourceTree = "<group>"; };
-               E87207AF0692E3D20099CBBD /* line_right.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = line_right.gif; sourceTree = "<group>"; };
-               E87207B00692E3D20099CBBD /* line_stretch.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = line_stretch.gif; sourceTree = "<group>"; };
-               E87207B10692E3D20099CBBD /* menu_logo_top.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = menu_logo_top.gif; sourceTree = "<group>"; };
-               E87207B20692E3D20099CBBD /* OGoLogo.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = OGoLogo.gif; sourceTree = "<group>"; };
-               E87207B30692E3D20099CBBD /* tab_.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = tab_.gif; sourceTree = "<group>"; };
-               E87207B40692E3D20099CBBD /* tab_selected.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = tab_selected.gif; sourceTree = "<group>"; };
                E87207C40692E3D20099CBBD /* product.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = product.plist; sourceTree = "<group>"; };
                E87207DA0692E3D20099CBBD /* UIxAppNavView.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxAppNavView.m; sourceTree = "<group>"; };
                E87207DE0692E3D20099CBBD /* UIxElemBuilder.m */ = {isa = PBXFileReference; fileEncoding = 5; indentWidth = 2; lastKnownFileType = sourcecode.c.objc; path = UIxElemBuilder.m; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
 /* Begin PBXGroup section */
-               AD01374506DF6731000910D8 /* CSS */ = {
+               AD01374506DF6731000910D8 /* WebServerResources */ = {
                        isa = PBXGroup;
                        children = (
-                               E87207480692E3D20099CBBD /* calendar.css */,
                                E87207E70692E3D20099CBBD /* uix.css */,
+                               E87207480692E3D20099CBBD /* calendar.css */,
                        );
-                       name = CSS;
+                       name = WebServerResources;
+                       path = ../WebServerResources;
                        sourceTree = "<group>";
                };
                AD0137A406DF8875000910D8 /* Appointment */ = {
                                AD2C74A6071A9FF70087E027 /* UIxMailAccountsView.m */,
                                AD2C74A8071A9FF70087E027 /* UIxMailAccountView.m */,
                                AD2C74AC071A9FF70087E027 /* UIxMailMainFrame.m */,
-                               AD2C74AE071A9FF70087E027 /* UIxMailPartAlternativeViewer.m */,
-                               AD2C74B0071A9FF70087E027 /* UIxMailPartImageViewer.m */,
-                               AD2C74B2071A9FF70087E027 /* UIxMailPartMixedViewer.m */,
-                               AD2C74B4071A9FF70087E027 /* UIxMailPartTextViewer.m */,
                                AD2C74BA071A9FF70087E027 /* UIxMailToolbar.m */,
                                AD2C74BC071A9FF70087E027 /* UIxMailTree.m */,
                                ADDF4DCA06DE0E9A00C4E7F8 /* UIxMailEditor.m */,
                                ADDF4DCE06DE0E9A00C4E7F8 /* UIxMailView.m */,
                                AD0A0ACC07A8093400D3B8EF /* UIxMailWindowCloser.m */,
                                AD770DAC07AE4FB200F5C7A1 /* UIxFilterList.m */,
-                               AD770DAE07AE4FB200F5C7A1 /* UIxMailPartLinkViewer.m */,
-                               AD770DB007AE4FB200F5C7A1 /* UIxMailPartMessageViewer.m */,
                        );
                        name = Components;
                        sourceTree = "<group>";
                                E87207C40692E3D20099CBBD /* product.plist */,
                                AD01376706DF6A59000910D8 /* Localizable.strings */,
                                E8720A490692E4CE0099CBBD /* Makefiles */,
-                               AD01374506DF6731000910D8 /* CSS */,
-                               E87207500692E3D20099CBBD /* images */,
+                               AD01374506DF6731000910D8 /* WebServerResources */,
                                E8720A6B0692E4EC0099CBBD /* Classes */,
                                E8720A570692E4DF0099CBBD /* Components */,
                        );
                        path = UI/Common;
                        sourceTree = SOURCE_ROOT;
                };
-               E87207500692E3D20099CBBD /* images */ = {
-                       isa = PBXGroup;
-                       children = (
-                               E87207A40692E3D20099CBBD /* box_botleft.gif */,
-                               E87207A50692E3D20099CBBD /* box_botright.gif */,
-                               E87207A60692E3D20099CBBD /* box_bottom.gif */,
-                               E87207A70692E3D20099CBBD /* box_left.gif */,
-                               E87207A80692E3D20099CBBD /* box_right.gif */,
-                               E87207A90692E3D20099CBBD /* box_top.gif */,
-                               E87207AA0692E3D20099CBBD /* box_topleft.gif */,
-                               E87207AB0692E3D20099CBBD /* box_topright.gif */,
-                               E87207AC0692E3D20099CBBD /* closewindow.gif */,
-                               E87207AD0692E3D20099CBBD /* corner_right.gif */,
-                               E87207AE0692E3D20099CBBD /* line_left.gif */,
-                               E87207AF0692E3D20099CBBD /* line_right.gif */,
-                               E87207B00692E3D20099CBBD /* line_stretch.gif */,
-                               E87207B10692E3D20099CBBD /* menu_logo_top.gif */,
-                               E87207B20692E3D20099CBBD /* OGoLogo.gif */,
-                               E87207B30692E3D20099CBBD /* tab_.gif */,
-                               E87207B40692E3D20099CBBD /* tab_selected.gif */,
-                               AD01375006DF67B0000910D8 /* non_sorted.gif */,
-                               AD01374F06DF67B0000910D8 /* downward_sorted.gif */,
-                               AD01375106DF67B0000910D8 /* upward_sorted.gif */,
-                       );
-                       path = images;
-                       sourceTree = "<group>";
-               };
                E87207EA0692E3D20099CBBD /* Scheduler */ = {
                        isa = PBXGroup;
                        children = (
index 49dbb8f0137e9e233731191f74647173fbaaed57..9d9f0a52547424b15ecac4dc70a18c94a4a550d3 100644 (file)
@@ -1,3 +1,17 @@
+2005-07-21  Marcus Mueller  <znek@mulle-kybernetik.com>
+
+       * v0.9.144
+
+       * UIxCalInlineAptView.m: reworked the way styles are produced now.
+         UIxCalInlineAptView gets a lot more information from the appointment
+         now in order to produce a suitable style for it
+
+       * UIxCalMonthOverview.m: setup formatter properly for private
+         appointments
+
+       * UIxCalView.m: don't generate style information at all -
+         UIxCalInlineAptView does this now
+
 2005-07-20  Helge Hess  <helge.hess@opengroupware.org>
 
        * UIxAppointmentEditor.m: added fragile base class check (v0.9.143)
index 5198e3da1c1bebe2b15a06eae460eac5638016cc..eabc1bd90fb86eb5be5222950cebc8ba2c4d7d68 100644 (file)
@@ -38,6 +38,8 @@
 
 #include "common.h"
 #include <SOGoUI/SOGoAptFormatter.h>
+#include <SOGo/SOGoUser.h>
+#include <NGObjWeb/WOContext+SoObjects.h>
 
 @implementation UIxCalInlineAptView
 
 }
 
 - (void)setStyle:(id)_style {
-  ASSIGN(self->style, _style);
-}
-- (id)style {
-  NSNumber *prio;
-  
+  NSMutableString *ms;
+  NSNumber        *prio;
+  NSString        *s;
+  NSString        *email;
+
+  if (_style) {
+    ms = [NSMutableString stringWithString:_style];
+  }
+  else {
+    ms = (NSMutableString *)[NSMutableString string];
+  }
   if ((prio = [self->appointment valueForKey:@"priority"])) {
-    return [NSString stringWithFormat:@"%@ apt_prio%@", self->style, prio];
+    [ms appendFormat:@" apt_prio%@", prio];
   }
+  email = [[[self context] activeUser] email];
+  if ((s = [self->appointment valueForKey:@"orgmail"])) {
+    if ([s rangeOfString:email].length > 0) {
+      [ms appendString:@" apt_organizer"];
+    }
+    else {
+      [ms appendString:@" apt_other"];
+    }
+  }
+  if ((s = [self->appointment valueForKey:@"partmails"])) {
+    if ([s rangeOfString:email].length > 0) {
+      [ms appendString:@" apt_participant"];
+    }
+    else {
+      [ms appendString:@" apt_nonparticipant"];
+    }
+  }
+  ASSIGNCOPY(self->style, ms);
+}
+- (id)style {
   return self->style;
 }
 
index 7aca59171015be619dc92fd8f259220135e9c4c0..728c61444492b55faa06f94d363ac320312dbd1b 100644 (file)
@@ -14,7 +14,8 @@
 - (void)configureFormatters {
   [super configureFormatters];
   
-  [self->aptFormatter setShortTitleOnly];
+  [self->aptFormatter        setShortTitleOnly];
+  [self->privateAptFormatter setPrivateTitleOnly];
 }
 
 - (void)setDayIndex:(int)_idx {
index 2bf44d1f627fdbc16d863a284a04f156b3bb3f53..9f99b6bd6f111be7cb960de2f947c4d7760cc715 100644 (file)
@@ -225,8 +225,6 @@ static BOOL shouldDisplayWeekend = NO;
 }
 
 - (NSString *)aptStyle {
-  if (![self isMyApt])
-    return @"apt_other";
   return nil;
 }
 
index 37038f6274b01d0a0fc013f5e7f333492ff9e4d4..4aaaaf8bfb7cfeb0a12c30e965123db63259d138 100644 (file)
@@ -1,6 +1,6 @@
 # Version file
 
-SUBMINOR_VERSION:=143
+SUBMINOR_VERSION:=144
 
 # v0.9.136 requires SOGoUI       v0.9.30
 # v0.9.123 requires Appointments v0.9.35
index 15a1b28d8ba906693203fd7ad788d0fce4a4d397..13eb8b918ba76c54b541f084df12d0946e1980c1 100644 (file)
@@ -1,5 +1,8 @@
 2005-07-21  Marcus Mueller  <znek@mulle-kybernetik.com>
 
+       * UIxCalDayOverview.wox, UIxCalDayChartview.wox, UIxCalDayListview.wox,
+         UIxCalMonthOverview.wox: reworked the style bindings
+
        * UIxMailToSelection.wox: commented debug output
 
        * UIxMailEditor.wox: added inline attachment view which is only
index 15afe4bae4b41e0357f7f95d1579327ff3b424d8..a6f0a21b2fa23c48a1bfafa3ad75f4acca3efa10 100644 (file)
@@ -46,9 +46,7 @@
               />
             </td>
             <td align="right" valign="middle" width="80%">
-              <var:component className="AnaisUidSelector"
-                             calendarUIDs="clientObject.calendarUIDs"
-              />
+              <var:component className="AnaisUidSelector" />
             </td>
           </tr>
         </table>
                                                formatter="aptFormatter"
                                                tooltipFormatter="aptTooltipFormatter"
                                                url="appointmentViewURL"
-                                               style="aptStyle"
+                                               const:style="daychartview"
                                                queryDictionary="currentDayQueryParameters"
                                                referenceDate="currentDate"
                                                canAccess="canAccessApt"
index 4698f5d74347ba8030a421ddb5936745b1ec1ea5..1111be3ed963b2dc6435b307054882bcf6852a1c 100644 (file)
@@ -46,9 +46,7 @@
               />
             </td>
             <td align="right" valign="middle" width="80%">
-              <var:component className="AnaisUidSelector"
-                             calendarUIDs="clientObject.calendarUIDs"
-              />
+              <var:component className="AnaisUidSelector" />
             </td>
           </tr>
         </table>
                                                formatter="aptFormatter"
                                                tooltipFormatter="aptTooltipFormatter"
                                                url="appointmentViewURL"
-                                               style="aptStyle"
+                                               const:style="daylistview"
                                                queryDictionary="currentDayQueryParameters"
                                                referenceDate="currentDate"
                                                canAccess="canAccessApt"
index 6272f4616d7e7d79dcc832b54981d5a1786438b1..1ab5ea6255be0007d4dba1be5a857a832d9133c4 100644 (file)
@@ -41,9 +41,7 @@
               />
             </td>
             <td align="right" valign="middle" width="80%">
-              <var:component className="AnaisUidSelector"
-                             calendarUIDs="clientObject.calendarUIDs"
-              />
+              <var:component className="AnaisUidSelector" />
             </td>
           </tr>
         </table>
                                                formatter="aptFormatter"
                                                tooltipFormatter="aptTooltipFormatter"
                                                url="appointmentViewURL"
-                                               style="aptStyle"
+                                               const:style="dayoverview"
                                                queryDictionary="currentDateQueryParameters"
                                                referenceDate="selectedDate"
                                                canAccess="canAccessApt"
                                                formatter="aptFormatter"
                                                tooltipFormatter="aptTooltipFormatter"
                                                url="appointmentViewURL"
-                                               style="aptStyle"
+                                               const:style="dayoverview"
                                                queryDictionary="currentDayQueryParameters"
                                                referenceDate="currentDate"
                                                canAccess="canAccessApt"
index 7d168e953d00e0bfd066af50f73a3ef648e61baf..d591e09d50d4268caabae8af7bb2d52ac52aceeb 100644 (file)
                                      formatter="aptFormatter"
                                      tooltipFormatter="aptTooltipFormatter"
                                      url="appointmentViewURL"
-                                     style="aptStyle"
+                                     const:style="monthoverview"
                                      referenceDate="currentDay"
                                      canAccess="canAccessApt"
                       />
                       >[<var:string label:value="new"/>]</a>
                     </span>-->
                   </var:month-title>
-                  <var:month>
+                  <var:month class="contentStyle">
                     <var:component className="UIxCalInlineAptView"
                                    appointment="appointment"
                                    formatter="aptFormatter"
                                    tooltipFormatter="aptTooltipFormatter"
                                    url="appointmentViewURL"
-                                   style="aptStyle"
+                                   const:style="monthoverview"
                                    referenceDate="currentDay"
                                    canAccess="canAccessApt"
                     />
index 53b4364f1573591bb0a03e404144b66a9941815e..73fb38beb47c1ac5b5b718c01fc46f96794a04c6 100644 (file)
   color:            #000000;
 }
 
+/* appointments */
+
+.apt_organizer {
+  color:            #0033cc ! important;
+}
+.apt_organizer a {
+  color:            #0033cc ! important;
+}
 .apt_other {
-  color:            #000000;
+  color:            #000000 ! important;
+}
+.apt_other a {
+  color:            #000000 ! important;
 }
 
-.apt_other_print {
-  font-style:       italic;
+.apt_nonparticipant {
+  font-style:       italic ! important;
+}
+.apt_participant {
 }
 
-.aptprintview_apt_other {
-  font-style:       italic;
+.apt_private {
 }
 
 .apt_prio0, .apt_prio5, .apt_prio6, .apt_prio7, .apt_prio8, .apt_prio9 {
-  font-weight:      normal;
+  font-weight:      normal ! important;
 }
-
 .apt_prio1, .apt_prio2, .apt_prio3, .apt_prio4 {
-  font-weight:      bold;
+  font-weight:      bold ! important;
+}
+
+
+.apt_other_print {
+  font-style:       italic;
+}
+
+.aptprintview_apt_other {
+  font-style:       italic;
 }
 
 
+/* Anais */
+
 .anais_me {
   color:            #0000FF;
 }
@@ -99,18 +121,22 @@ td.schedoverview {
 
 /* day overview */
 
+.dayoverview {
+  font-size:        8pt;
+}
+
 .dayoverview_content {
   padding:          1px;
   margin:           0px 0px 0px 0px;
   vertical-align:   top;
   font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
   letter-spacing:   0pt;
-  font-size:        9pt;
 }
 
 .dayoverview_content_time {
   background-color: #d2d2cc;
   text-align:       center;
+  font-size:        9pt;
 }
 
 .dayoverview_content_time_link {
@@ -537,19 +563,18 @@ h1.weekprintview {
 .monthoverview {
   color:            #000000;
   font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
-  font-size:        10pt;
-  letter-spacing:   0pt;
-  padding:          2px;
-}
-
-.monthoverview a {
-  color:            #0033cc;
-  font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
   font-size:        7pt;
   font-style:       normal;
   font-weight:      normal;
   letter-spacing:   0pt;
   text-decoration:  none;
+  
+  text-align:       left;
+  vertical-align:   top;
+}
+
+.monthoverview a {
+  color:            #0033cc;
 }
 
 .monthoverview a:hover {
@@ -558,6 +583,7 @@ h1.weekprintview {
 
 .monthoverview_title {
   background-color: #d2d2cc;
+  font-size:        10pt;
   text-align:       center;
 }
 
@@ -587,49 +613,46 @@ h1.weekprintview {
 
 .monthoverview_content {
   background-color: #e8e8e0;
-  font-size:        9pt;
+  font-size:        7pt;
   height:           60;
+  text-align:       left;
+  vertical-align:   top;
 }
 .monthoverview_content a {
   font-style:       italic;
   font-weight:      bold;
 }
-.monthoverview_content td {
-  text-align:       left;
-  vertical-align:   top;
-}
 
 .monthoverview_content_hilite {
   background-color: #fffff0;
-  font-size:        9pt;
+  font-size:        7pt;
   height:           60;
+  text-align:       left;
+  vertical-align:   top;
 }
 .monthoverview_content_hilite a {
   font-style:       italic;
   font-weight:      bold;
 }
-.monthoverview_content_hilite td {
-  text-align:       left;
-  vertical-align:   top;
-}
 
 .monthoverview_content_dimmed {
   background-color: #d2d2cc;
-  font-size:        9pt;
+  font-size:        7pt;
   height:           60;
+  text-align:       left;
+  vertical-align:   top;
 }
 .monthoverview_content_dimmed a {
   font-style:       normal;
   font-weight:      normal;
 }
-.monthoverview_content_dimmed td {
-  text-align:       left;
-  vertical-align:   top;
+.monthoverview_day {
+//  text-align:       left;
+//  vertical-align:   top;
 }
 
 .monthoverview_day a {
   color:            #000000;
-  font-family:      Arial, Helvetica, Verdana, Geneva, Tahoma, sans-serif;
   font-size:        12pt;
 }