Difference between revisions of "OX6:Gui Theming Description"

(Style)
Line 16: Line 16:
  
 
== Style ==
 
== Style ==
 +
 +
Open the Open-Xchange css files for this changes.
  
 
=== The Portal Page ===
 
=== The Portal Page ===
Line 21: Line 23:
 
[[Image:Cut portal.jpg|thumb|150px|none|The Portal Page]]
 
[[Image:Cut portal.jpg|thumb|150px|none|The Portal Page]]
  
#a
+
#<body> .background-color
#a
+
#cpbottom-color
#a
+
#font-color-disabled
 +
#font-style-headline
 +
#background-color-additional-content
 +
#border-background-default
 +
#font-color-default
 +
#font-style-lable
 +
#font-color-header
 +
#cpheader-color
 +
#font-style-headline
 +
#border-color-design
 +
#background-color-content
 +
#font-color-header
 +
#topHeaderBG
  
  
Line 30: Line 44:
 
[[Image:Cut calendar.jpg|thumb|150px|none|The Calendar Page]]
 
[[Image:Cut calendar.jpg|thumb|150px|none|The Calendar Page]]
  
#a
+
#font-color-disabled
#a
+
#wholeDayBackground
#a
+
#background-color-PMG-selection-elements
 +
#offTimeBackground
 +
#strokeCalendar
 +
#sectionStrokeCalendar
 +
#border-color-image
 +
#font-style-big-headline
 +
#kwSeperationBackGround
 +
#workTimeBackground
 +
 
  
 
=== Calendar Month View ===
 
=== Calendar Month View ===
Line 41: Line 63:
 
#a
 
#a
 
#a
 
#a
 +
  
 
=== New Appointment ===
 
=== New Appointment ===
Line 49: Line 72:
 
#a
 
#a
 
#a
 
#a
 +
  
 
=== New Appointment Series ===
 
=== New Appointment Series ===
Line 57: Line 81:
 
#a
 
#a
 
#a
 
#a
 +
  
 
=== Calendar Week View ===
 
=== Calendar Week View ===
Line 65: Line 90:
 
#a
 
#a
 
#a
 
#a
 +
  
 
=== Mail View ===
 
=== Mail View ===

Revision as of 12:40, 19 June 2008

Introduction

Open-Xchange SP4 will support theming functionality, so that you will be able to create own themes and make them available in the configuration frontend of the Open-Xchange Webinterface. The stylesheet files have been modified with SP4, so that everything that should affect the theming functionality can now be configured within an own theme. Besides also the images can be replaced per theme.

Creating an Open-Xchange Theme

All themes will be stored in the following directory of the Open-Xchange Server:

/var/www/ox6/themes/

Per default you will have at least three themes in this directory: darkseagreen, default and ochre. The easiest way to start with your own theme is to copy the default theme with:

cp -r /var/www/ox6/themes/default /var/www/ox6/themes/[YOUR_THEME_NAME]

Now, you should start modifying your theme, by editing the stylesheet files in /var/www/ox6/themes/[YOUR_THEME_NAME]/css, and exchanging the images from /var/www/ox6/themes/[YOUR_THEME_NAME]/images. The following screenshots will give you an overview of the stylesheet structure, and which tags have to be modified in order to get your theme customized:

Style

Open the Open-Xchange css files for this changes.

The Portal Page

The Portal Page
  1. <body> .background-color
  2. cpbottom-color
  3. font-color-disabled
  4. font-style-headline
  5. background-color-additional-content
  6. border-background-default
  7. font-color-default
  8. font-style-lable
  9. font-color-header
  10. cpheader-color
  11. font-style-headline
  12. border-color-design
  13. background-color-content
  14. font-color-header
  15. topHeaderBG


The Calendar Page

The Calendar Page
  1. font-color-disabled
  2. wholeDayBackground
  3. background-color-PMG-selection-elements
  4. offTimeBackground
  5. strokeCalendar
  6. sectionStrokeCalendar
  7. border-color-image
  8. font-style-big-headline
  9. kwSeperationBackGround
  10. workTimeBackground


Calendar Month View

Calendar Month View
  1. a
  2. a
  3. a


New Appointment

New Appointment
  1. a
  2. a
  3. a


New Appointment Series

New Appointment Series
  1. a
  2. a
  3. a


Calendar Week View

Calendar Week View
  1. a
  2. a
  3. a


Mail View

Mail View
  1. a
  2. a
  3. a

Setup description

After you have created and modified your theme, you should make those theme available in the configuration interface for users of the Open-Xchange Server. To do that, you only have to manifest your theme in the following server configuration file, afterwards your users can select your theme:

/opt/open-xchange/etc/groupware/themes.properties

Each key in this property file must be prefixed with the theme bundle identifier. This is "com.openexchange.themes". The prefix must be followed with the unique identifier of a theme. This unique identifier specifies the directory name of the theme on the web server (/var/www/ox6/themes/ per default), too. The value of the property can be any name to described the theme. This name will be displayed in the AJAX GUI for selecting a theme. For example you should add the following line to this configuration file:

com.openexchange.themes.[YOUR_THEME_NAME]=[YOUR_THEME_DESCRIPTION]

Afterwards, restart the Open-Xchange service groupware. Your users can now select your theme.

End user view

After you have created and configured your theme, your users will be able to select it in the configuration frontend:

Theme selection.png