[interchange-cvs] interchange - heins modified 8 files

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Mon Apr 7 12:24:00 2003


User:      heins
Date:      2003-04-07 16:23:44 GMT
Modified:  dist/foundation/products variable.txt
Modified:  dist/foundation/templates/blueyellow theme.cfg
Modified:  dist/foundation/templates/fixedwidth theme.cfg
Modified:  dist/foundation/templates/foundation theme.cfg
Modified:  dist/foundation/templates/grayorange theme.cfg
Modified:  dist/foundation/templates/grayscale theme.cfg
Modified:  dist/foundation/templates/greens theme.cfg
Modified:  dist/foundation/templates/purpleyellow theme.cfg
Log:
* Remove indirection of CSS settings for colors, fonts, widths, etc.

* Allow override of THEME_CSS vi UI Preferences.

Revision  Changes    Path
2.24      +7 -43     interchange/dist/foundation/products/variable.txt


rev 2.24, prev_rev 2.23
Index: variable.txt
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/products/variable.txt,v
retrieving revision 2.23
retrieving revision 2.24
diff -u -r2.23 -r2.24
--- variable.txt	19 Mar 2003 14:00:49 -0000	2.23
+++ variable.txt	7 Apr 2003 16:23:43 -0000	2.24
@@ -1,77 +1,41 @@
 code	Variable	pref_group
 ADDRESS	__MVC_ADDRESS__	Company
-BACKGROUND	#FFFFFF	Catalog Colors and Style
 BAR_LINK_TEMPLATE	<A HREF="$URL$" CLASS="barlink">$ANCHOR$</A>	Admin colors
 CATALOG_STATIC	No	Static pages
-CATEGORYBAR_TEXT	#FFFFFF	Catalog Colors and Style
-CATEGORYBAR_BG	#993333	Catalog Colors and Style
-CATEGORYBAR_FONT	Helvetica	Catalog Colors and Style
-CATEGORYBAR_FONTSIZE	11px	Catalog Colors and Style
-CATEGORYBAR_WEIGHT	normal	Catalog Colors and Style
-CATEGORYBAR_LINK	#FFFFCC	Catalog Colors and Style
-CATEGORYBAR_LINKHOVER	#FFFFCC	Catalog Colors and Style
-CATEGORYBAR_LINKDECO	none	Catalog Colors and Style
-CATEGORYBAR_HOVERDECO	underline	Catalog Colors and Style
 CGI_URL	__MVC_CGIURL__	Directories and Paths
-CHECK_ACCEPTED	1	Payment
 CHECKOUT_MAIL_LIST	1	Mailings
+CHECK_ACCEPTED	1	Payment
 CITY	__MVC_CITY__	Company
 COD_ACCEPTED	__MVC_PAYCOD__	Payment
 COMPANY	__MVC_COMPANY__	Company
-CONTENTBAR1	#DDDDDD	Catalog Colors and Style
-CONTENTBAR2	#BBBBBB	Catalog Colors and Style
 CONTRAST	RED	Template
 CREDIT_CARDS_ACCEPTED	__MVC_PAYCC__	Payment
 DECREMENT_INVENTORY	1	Order
-DEFAULT_FONT	__MVC_DEFAULTFONT__	Template
 DEFAULT_LOCALE	__MVC_DEFAULTLOCALE__	Internationalization
-DICT_PRICE_SALE	__MVC_DICTPRICEALE__	Labels
-DICT_PRICE_STD	__MVC_DICTPRICESTD__	Labels
 DOCROOT	__MVC_DOCUMENTROOT__	Directories and Paths
 EMAIL_INFO	__MVC_EMAILINFO__	Company
 EMAIL_SERVICE	__MVC_EMAILSERVICE__	Company
 ENCRYPTOR		Encryption
 FAX	__MVC_FAX__	Company
 FORUM_ANON_NAME	Anonymous Coward	Forums
-FORUM_PRODUCTS	__MVC_MYSQL____MVC_PGSQL__	Forums
 FORUM_EMAIL_NOTIFY	__MVC_EMAILSERVICE__	Forums
+FORUM_PRODUCTS	__MVC_MYSQL____MVC_PGSQL__	Forums
 IMAGE_DIR	__MVC_IMAGEURL__	Directories and Paths
-IMG_ADDCART	__MVC_IMGADDCART__	Images
-IMG_CHECKOUT	__MVC_IMGCHECKOUT__	Images
-IMG_CONTINUE	__MVC_IMGCONTINUE__	Images
-IMG_MOREINFO	__MVC_IMGMOREINFO__	Images
-IMG_PLACEORDER	__MVC_IMGPLACEORDER__	Images
-IMG_RECALC	__MVC_IMGRECALC__	Images
-IMG_VIEWCART	__MVC_IMGVIEWCART__	Images
-LINK	#993333	Catalog Colors and Style
-LINKHOVER	#FF3333	Catalog Colors and Style
-LINKDECO	underline	Catalog Colors and Style
-LINKHOVERDECO	underline	Catalog Colors and Style
 LOCALES	__MVC_LOCALES__	Internationalization
 LOGGED_STATIC	1	Static pages
 LOGO	__MVC_LOGO__	Template
-MAILING_MAX_DIRECT	50	Mailings
 MAILING_FROM	__MVC_COMPANY__ <__MVC_EMAILSERVICE__>	Mailings
+MAILING_MAX_DIRECT	50	Mailings
 MAILING_TO	{FNAME} {LNAME} <{EMAIL}>	Mailings
-MAINCONTENT_TEXT	#000000	Catalog Colors and Style
-MAINCONTENT_BG	#FFFFFF	Catalog Colors and Style
-MAINCONTENT_FONT	Helvetica	Catalog Colors and Style
-MAINCONTENT_FONTSIZE	12px	Catalog Colors and Style
-MAINCONTENT_WEIGHT	normal	Catalog Colors and Style
-MENUBAR_TEXT	#FFFFFF	Catalog Colors and Style
-MENUBAR_BG	#CC3333	Catalog Colors and Style
-MENUBAR_FONT	Helvetica	Catalog Colors and Style
-MENUBAR_FONTSIZE	11px	Catalog Colors and Style
-MENUBAR_WEIGHT	normal	Catalog Colors and Style
 MV_DEFAULT_SEARCH_DB	1	Database
 MV_DEMO_MODE	__MVC_DEMOMODE__	General
 MV_OPTION_TABLE	options	Item display
+MV_PAYMENT_HOST		Payment
 MV_PAYMENT_ID		Payment
-MV_PAYMENT_SECRET		Payment
 MV_PAYMENT_MODE		Payment
-MV_PAYMENT_HOST		Payment
-MV_PAYMENT_REFERER		Payment
 MV_PAYMENT_PARTNER		Payment
+MV_PAYMENT_REFERER		Payment
+MV_PAYMENT_SECRET		Payment
 MV_PAYMENT_VENDOR		Payment
 MYSQL	__MVC_MYSQL__	Database
 ORACLE	__MVC_ORACLE__	Database
@@ -111,8 +75,8 @@
 UI_HELP_HEIGHT	480	Admin layout
 UI_HELP_WIDTH	650	Admin layout
 UI_IMAGE_DIR	__MVC_SHAREURL__/interchange-5/	Admin control
-UI_ITEM_TABLES	products pricing inventory merchandising options:sku	Item display
 UI_IMAGE_DIR_SECURE	__MVC_SHAREURL__/interchange-5/	Admin control
+UI_ITEM_TABLES	products pricing inventory merchandising options:sku	Item display
 UI_META_LINK	1	Admin control
 UI_ORDER_VIEWNEXT_MAX_SKIP	20	Admin control
 UI_PAGE_DIR	pages	Directories and Paths



1.3       +70 -92    interchange/dist/foundation/templates/blueyellow/theme.cfg


rev 1.3, prev_rev 1.2
Index: theme.cfg
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/blueyellow/theme.cfg,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- theme.cfg	27 Sep 2002 07:16:47 -0000	1.2
+++ theme.cfg	7 Apr 2003 16:23:43 -0000	1.3
@@ -11,41 +11,34 @@
 Variable  THEME_LOGO  __LOGO__
 endif
 
-# Define some colors and fonts
-Variable  BACKGROUND		#FFFFFF
-Variable  LINK			#006699
-Variable  LINKHOVER		#006699
-Variable  LINKDECO		underline
-Variable  LINKHOVERDECO		underline
-Variable  MAINCONTENT_TEXT	#000000
-Variable  MAINCONTENT_BG	#FFFFFF
-Variable  MAINCONTENT_FONT	Helvetica
-Variable  MAINCONTENT_FONTSIZE	12px
-Variable  MAINCONTENT_WEIGHT	normal
-Variable  CONTENTBAR1		#DDDDBB
-Variable  CONTENTBAR2		#BBBBBB
-Variable  CATEGORYBAR_TEXT	#FFFFFF
-Variable  CATEGORYBAR_BG	#006699
-Variable  CATEGORYBAR_FONT	Helvetica
-Variable  CATEGORYBAR_FONTSIZE	11px
-Variable  CATEGORYBAR_WEIGHT	normal
-Variable  CATEGORYBAR_LINK	#FFCC66
-Variable  CATEGORYBAR_LINKHOVER	#FFCC66
-Variable  CATEGORYBAR_LINKDECO  none
-Variable  CATEGORYBAR_HOVERDECO underline
-Variable  MENUBAR_TEXT		#000000
-Variable  MENUBAR_BG		#EEEECC
-Variable  MENUBAR_FONT		Helvetica
-Variable  MENUBAR_FONTSIZE	11px
-Variable  MENUBAR_WEIGHT	normal
+##
+## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
+##
+DirConfig Variable templates/__THEME__/regions
+
+##
+## TRAFFIC is defined system-wide in interchange.cfg. When in
+## low-traffic mode, variables are dynamic -- i.e. when you change the
+## region file the page changes. Otherwise a reconfig must be done to
+## change the variable.
+##
+ifdef @TRAFFIC =~ /low/i
+Pragma dynamic_variables
+Pragma dynamic_variables_file_only
+endif
+
+##
+## Finally, set a default CSS theme which can be overriden in Preferences
+##
 
+ifndef THEME_CSS
 Variable THEME_CSS <<EOV
 <STYLE TYPE="text/css">
 
 BODY {
-  background-color: __BACKGROUND__;
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  font-family: Helvetica;
+  font-size: 12px;
   margin-left: 0px;
   margin-right: 0px;
   margin-top: 0px;
@@ -53,97 +46,82 @@
 }
 
 TD {
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  font-family: Helvetica;
+  font-size: 12px;
 }
 
 A:link, A:active, A:visited {
-  color: __LINK__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #006699;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A:hover {
-  color: __LINKHOVER__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKHOVERDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #006699;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A.barlink:link, A.barlink:active, A.barlink:visited {
-  color: __CATEGORYBAR_LINK__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_LINKDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #FFCC66;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: none;
+  font-size: 11px;
 }
 
 A.barlink:hover {
-  color: __CATEGORYBAR_LINKHOVER__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_HOVERDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #FFCC66;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 11px;
 }
 
 .maincontent {
-  background-color: __MAINCONTENT_BG__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 12px;
 }
 
 .contentbar1 {
-  background-color: __CONTENTBAR1__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #DDDDBB;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .contentbar2 {
-  background-color: __CONTENTBAR2__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #BBBBBB;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .categorybar {
-  background-color: __CATEGORYBAR_BG__;
-  color: __CATEGORYBAR_TEXT__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  background-color: #006699;
+  color: #FFFFFF;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .menubar {
-  background-color: __MENUBAR_BG__;
-  color: __MENUBAR_TEXT__;
-  font-family: __MENUBAR_FONT__;
-  font-weight: __MENUBAR_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #EEEECC;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 </STYLE>
 EOV
-
-##
-## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
-##
-DirConfig Variable templates/__THEME__/regions
-
-##
-## TRAFFIC is defined system-wide in interchange.cfg. When in
-## low-traffic mode, variables are dynamic -- i.e. when you change the
-## region file the page changes. Otherwise a reconfig must be done to
-## change the variable.
-##
-ifdef @TRAFFIC =~ /low/i
-Pragma dynamic_variables
-Pragma dynamic_variables_file_only
 endif



1.3       +75 -95    interchange/dist/foundation/templates/fixedwidth/theme.cfg


rev 1.3, prev_rev 1.2
Index: theme.cfg
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/fixedwidth/theme.cfg,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- theme.cfg	27 Sep 2002 07:16:49 -0000	1.2
+++ theme.cfg	7 Apr 2003 16:23:43 -0000	1.3
@@ -9,68 +9,54 @@
 Variable  THEME_LOGO  __LOGO__
 endif
 
-# Define some fixed-width variables
-Variable  PAGEWIDTH		700
-Variable  LEFTWIDTH		135
-Variable  CENTERWIDTH		450
-Variable  RIGHTWIDTH		100
-Variable  LEFTONLY_CENTERWIDTH	550
-
-# Define some colors and fonts
-Variable  BACKGROUND		#FFFFFF
-Variable  LINK			#993333
-Variable  LINKHOVER		#FF3333
-Variable  LINKDECO		underline
-Variable  LINKHOVERDECO		underline
-Variable  MAINCONTENT_TEXT	#000000
-Variable  MAINCONTENT_BG	#FFFFFF
-Variable  MAINCONTENT_FONT	Helvetica
-Variable  MAINCONTENT_FONTSIZE	10pt
-Variable  MAINCONTENT_WEIGHT	normal
-Variable  CONTENTBAR1		#DDDDDD
-Variable  CONTENTBAR2		#BBBBBB
-Variable  CATEGORYBAR_TEXT	#FFFFFF
-Variable  CATEGORYBAR_BG	#993333
-Variable  CATEGORYBAR_FONT	Helvetica
-Variable  CATEGORYBAR_FONTSIZE	9pt
-Variable  CATEGORYBAR_WEIGHT	normal
-Variable  CATEGORYBAR_LINK	#FFFFCC
-Variable  CATEGORYBAR_LINKHOVER	#FFFFCC
-Variable  CATEGORYBAR_LINKDECO  none
-Variable  CATEGORYBAR_HOVERDECO underline
-Variable  MENUBAR_TEXT		#FFFFFF
-Variable  MENUBAR_BG		#CC3333
-Variable  MENUBAR_FONT		Helvetica
-Variable  MENUBAR_FONTSIZE	9pt
-Variable  MENUBAR_WEIGHT	normal
+##
+## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
+##
+DirConfig Variable templates/__THEME__/regions
+
+##
+## TRAFFIC is defined system-wide in interchange.cfg. When in
+## low-traffic mode, variables are dynamic -- i.e. when you change the
+## region file the page changes. Otherwise a reconfig must be done to
+## change the variable.
+##
+ifdef @TRAFFIC =~ /low/i
+Pragma dynamic_variables
+Pragma dynamic_variables_file_only
+endif
+
+##
+## Finally, set a default CSS theme which can be overriden in Preferences
+##
 
+ifndef THEME_CSS
 Variable THEME_CSS <<EOV
 <STYLE TYPE="text/css">
 
 .pagewidth {
-  width: __PAGEWIDTH__;
+  width: 700;
 }
 
 .leftwidth {
-  width: __LEFTWIDTH__;
+  width: 135;
 }
 
 .centerwidth {
-  width: __CENTERWIDTH__;
+  width: 450;
 }
 
 .rightwidth {
-  width: __RIGHTWIDTH__;
+  width: 100;
 }
 
 .leftonly-centerwidth {
-  width: __LEFTONLY_CENTERWIDTH__
+  width: 550
 }
 
 BODY {
-  background-color: __BACKGROUND__;
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  font-family: Helvetica;
+  font-size: 10pt;
   margin-left: 0px;
   margin-right: 0px;
   margin-top: 0px;
@@ -78,88 +64,82 @@
 }
 
 TD {
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  font-family: Helvetica;
+  font-size: 10pt;
 }
 
 A:link, A:active, A:visited {
-  color: __LINK__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #993333;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 10pt;
 }
 
 A:hover {
-  color: __LINKHOVER__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKHOVERDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #FF3333;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 10pt;
 }
 
 A.barlink:link, A.barlink:active, A.barlink:visited {
-  color: __CATEGORYBAR_LINK__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_LINKDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #FFFFCC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: none;
+  font-size: 9pt;
 }
 
 A.barlink:hover {
-  color: __CATEGORYBAR_LINKHOVER__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_HOVERDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #FFFFCC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 9pt;
 }
 
 .maincontent {
-  background-color: __MAINCONTENT_BG__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 10pt;
 }
 
 .contentbar1 {
-  background-color: __CONTENTBAR1__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #DDDDDD;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 9pt;
 }
 
 .contentbar2 {
-  background-color: __CONTENTBAR2__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #BBBBBB;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 9pt;
 }
 
 .categorybar {
-  background-color: __CATEGORYBAR_BG__;
-  color: __CATEGORYBAR_TEXT__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  background-color: #993333;
+  color: #FFFFFF;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 9pt;
 }
 
 .menubar {
-  background-color: __MENUBAR_BG__;
-  color: __MENUBAR_TEXT__;
-  font-family: __MENUBAR_FONT__;
-  font-weight: __MENUBAR_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #CC3333;
+  color: #FFFFFF;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 9pt;
 }
 
 </STYLE>
 EOV
-
-DirConfig Variable templates/__THEME__/regions
-
-ifdef @TRAFFIC =~ /low/i
-Pragma dynamic_variables
-Pragma dynamic_variables_file_only
 endif



2.5       +71 -73    interchange/dist/foundation/templates/foundation/theme.cfg


rev 2.5, prev_rev 2.4
Index: theme.cfg
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/foundation/theme.cfg,v
retrieving revision 2.4
retrieving revision 2.5
diff -u -r2.4 -r2.5
--- theme.cfg	28 Feb 2002 19:38:57 -0000	2.4
+++ theme.cfg	7 Apr 2003 16:23:43 -0000	2.5
@@ -11,20 +11,35 @@
 Variable  THEME_LOGO  __LOGO__
 endif
 
-# The colors, fonts, sizes, and decos used in the following stylesheet are set in 
-# the variables table.
-# You can change these by going to "Admin : Preferences : Catalog Colors and Style" 
-# in the Interchange Admin.
-# If you would like to set specific styles for your theme, please define them here, like:
-#Variable  CATEGORYBAR_TEXT  #FFFFFF
+##
+## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
+##
+DirConfig Variable templates/__THEME__/regions
+
+##
+## TRAFFIC is defined system-wide in interchange.cfg. When in
+## low-traffic mode, variables are dynamic -- i.e. when you change the
+## region file the page changes. Otherwise a reconfig must be done to
+## change the variable.
+##
+ifdef @TRAFFIC =~ /low/i
+Pragma dynamic_variables
+Pragma dynamic_variables_file_only
+endif
+
+##
+## Finally, set a default CSS theme which can be overriden in Preferences
+##
 
+ifndef THEME_CSS
 Variable THEME_CSS <<EOV
+
 <STYLE TYPE="text/css">
 
 BODY {
-  background-color: __BACKGROUND__;
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  font-family: Helvetica;
+  font-size: 12px;
   margin-left: 0px;
   margin-right: 0px;
   margin-top: 0px;
@@ -32,99 +47,82 @@
 }
 
 TD {
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  font-family: Helvetica;
+  font-size: 12px;
 }
 
 A:link, A:active, A:visited {
-  color: __LINK__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #993333;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A:hover {
-  color: __LINKHOVER__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKHOVERDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #FF3333;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A.barlink:link, A.barlink:active, A.barlink:visited {
-  color: __CATEGORYBAR_LINK__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_LINKDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #FFFFCC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: none;
+  font-size: 11px;
 }
 
 A.barlink:hover {
-  color: __CATEGORYBAR_LINKHOVER__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_HOVERDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #FFFFCC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 11px;
 }
 
 .maincontent {
-  background-color: __MAINCONTENT_BG__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 12px;
 }
 
 .contentbar1 {
-  background-color: __CONTENTBAR1__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #DDDDDD;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .contentbar2 {
-  background-color: __CONTENTBAR2__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #BBBBBB;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .categorybar {
-  background-color: __CATEGORYBAR_BG__;
-  color: __CATEGORYBAR_TEXT__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  background-color: #993333;
+  color: #FFFFFF;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .menubar {
-  background-color: __MENUBAR_BG__;
-  color: __MENUBAR_TEXT__;
-  font-family: __MENUBAR_FONT__;
-  font-weight: __MENUBAR_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #CC3333;
+  color: #FFFFFF;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 </STYLE>
 EOV
-
-ParseVariables Yes
-
-##
-## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
-##
-DirConfig Variable templates/__THEME__/regions
-
-##
-## TRAFFIC is defined system-wide in interchange.cfg. When in
-## low-traffic mode, variables are dynamic -- i.e. when you change the
-## region file the page changes. Otherwise a reconfig must be done to
-## change the variable.
-##
-ifdef @TRAFFIC =~ /low/i
-Pragma dynamic_variables
-Pragma dynamic_variables_file_only
 endif



1.3       +71 -91    interchange/dist/foundation/templates/grayorange/theme.cfg


rev 1.3, prev_rev 1.2
Index: theme.cfg
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/grayorange/theme.cfg,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- theme.cfg	27 Sep 2002 07:16:49 -0000	1.2
+++ theme.cfg	7 Apr 2003 16:23:43 -0000	1.3
@@ -11,41 +11,36 @@
 Variable  THEME_LOGO  __LOGO__
 endif
 
+##
+## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
+##
+DirConfig Variable templates/__THEME__/regions
+
+##
+## TRAFFIC is defined system-wide in interchange.cfg. When in
+## low-traffic mode, variables are dynamic -- i.e. when you change the
+## region file the page changes. Otherwise a reconfig must be done to
+## change the variable.
+##
+ifdef @TRAFFIC =~ /low/i
+Pragma dynamic_variables
+Pragma dynamic_variables_file_only
+endif
+
+##
+## Finally, set a default CSS theme which can be overriden in Preferences
+##
+
+ifndef THEME_CSS
 # Define some colors and fonts
-Variable  BACKGROUND		#FFFFFF
-Variable  LINK			#0000CC
-Variable  LINKHOVER		#0000CC
-Variable  LINKDECO		underline
-Variable  LINKHOVERDECO		underline
-Variable  MAINCONTENT_TEXT	#000000
-Variable  MAINCONTENT_BG	#FFFFFF
-Variable  MAINCONTENT_FONT	Helvetica
-Variable  MAINCONTENT_FONTSIZE	12px
-Variable  MAINCONTENT_WEIGHT	normal
-Variable  CONTENTBAR1		#EEEECC
-Variable  CONTENTBAR2		#FFCC00
-Variable  CATEGORYBAR_TEXT	#999999
-Variable  CATEGORYBAR_BG	#E7E7E3
-Variable  CATEGORYBAR_FONT	Helvetica
-Variable  CATEGORYBAR_FONTSIZE	11px
-Variable  CATEGORYBAR_WEIGHT	normal
-Variable  CATEGORYBAR_LINK	#0000CC
-Variable  CATEGORYBAR_LINKHOVER	#0000CC
-Variable  CATEGORYBAR_LINKDECO  none
-Variable  CATEGORYBAR_HOVERDECO underline
-Variable  MENUBAR_TEXT		#000000
-Variable  MENUBAR_BG		#FFCC00
-Variable  MENUBAR_FONT		Helvetica
-Variable  MENUBAR_FONTSIZE	11px
-Variable  MENUBAR_WEIGHT	normal
 
 Variable THEME_CSS <<EOV
 <STYLE TYPE="text/css">
 
 BODY {
-  background-color: __BACKGROUND__;
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  font-family: Helvetica;
+  font-size: 12px;
   margin-left: 0px;
   margin-right: 0px;
   margin-top: 0px;
@@ -53,97 +48,82 @@
 }
 
 TD {
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  font-family: Helvetica;
+  font-size: 12px;
 }
 
 A:link, A:active, A:visited {
-  color: __LINK__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #0000CC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A:hover {
-  color: __LINKHOVER__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKHOVERDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #0000CC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A.barlink:link, A.barlink:active, A.barlink:visited {
-  color: __CATEGORYBAR_LINK__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_LINKDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #0000CC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: none;
+  font-size: 11px;
 }
 
 A.barlink:hover {
-  color: __CATEGORYBAR_LINKHOVER__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_HOVERDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #0000CC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 11px;
 }
 
 .maincontent {
-  background-color: __MAINCONTENT_BG__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 12px;
 }
 
 .contentbar1 {
-  background-color: __CONTENTBAR1__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #EEEECC;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .contentbar2 {
-  background-color: __CONTENTBAR2__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #FFCC00;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .categorybar {
-  background-color: __CATEGORYBAR_BG__;
-  color: __CATEGORYBAR_TEXT__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  background-color: #E7E7E3;
+  color: #999999;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .menubar {
-  background-color: __MENUBAR_BG__;
-  color: __MENUBAR_TEXT__;
-  font-family: __MENUBAR_FONT__;
-  font-weight: __MENUBAR_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #FFCC00;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 </STYLE>
 EOV
-
-##
-## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
-##
-DirConfig Variable templates/__THEME__/regions
-
-##
-## TRAFFIC is defined system-wide in interchange.cfg. When in
-## low-traffic mode, variables are dynamic -- i.e. when you change the
-## region file the page changes. Otherwise a reconfig must be done to
-## change the variable.
-##
-ifdef @TRAFFIC =~ /low/i
-Pragma dynamic_variables
-Pragma dynamic_variables_file_only
 endif



1.3       +71 -91    interchange/dist/foundation/templates/grayscale/theme.cfg


rev 1.3, prev_rev 1.2
Index: theme.cfg
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/grayscale/theme.cfg,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- theme.cfg	27 Sep 2002 07:16:51 -0000	1.2
+++ theme.cfg	7 Apr 2003 16:23:43 -0000	1.3
@@ -11,41 +11,36 @@
 Variable  THEME_LOGO  __LOGO__
 endif
 
+##
+## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
+##
+DirConfig Variable templates/__THEME__/regions
+
+##
+## TRAFFIC is defined system-wide in interchange.cfg. When in
+## low-traffic mode, variables are dynamic -- i.e. when you change the
+## region file the page changes. Otherwise a reconfig must be done to
+## change the variable.
+##
+ifdef @TRAFFIC =~ /low/i
+Pragma dynamic_variables
+Pragma dynamic_variables_file_only
+endif
+
+##
+## Finally, set a default CSS theme which can be overriden in Preferences
+##
+
+ifndef THEME_CSS
 # Define some colors and fonts
-Variable  BACKGROUND		#FFFFFF
-Variable  LINK			#666666
-Variable  LINKHOVER		#666666
-Variable  LINKDECO		underline
-Variable  LINKHOVERDECO		underline
-Variable  MAINCONTENT_TEXT	#000000
-Variable  MAINCONTENT_BG	#FFFFFF
-Variable  MAINCONTENT_FONT	Helvetica
-Variable  MAINCONTENT_FONTSIZE	12px
-Variable  MAINCONTENT_WEIGHT	normal
-Variable  CONTENTBAR1		#DDDDDD
-Variable  CONTENTBAR2		#BBBBBB
-Variable  CATEGORYBAR_TEXT	#FFFFFF
-Variable  CATEGORYBAR_BG	#999999
-Variable  CATEGORYBAR_FONT	Helvetica
-Variable  CATEGORYBAR_FONTSIZE	11px
-Variable  CATEGORYBAR_WEIGHT	normal
-Variable  CATEGORYBAR_LINK	#333333
-Variable  CATEGORYBAR_LINKHOVER	#333333
-Variable  CATEGORYBAR_LINKDECO  none
-Variable  CATEGORYBAR_HOVERDECO underline
-Variable  MENUBAR_TEXT		#000000
-Variable  MENUBAR_BG		#ECECEC
-Variable  MENUBAR_FONT		Helvetica
-Variable  MENUBAR_FONTSIZE	11px
-Variable  MENUBAR_WEIGHT	normal
 
 Variable THEME_CSS <<EOV
 <STYLE TYPE="text/css">
 
 BODY {
-  background-color: __BACKGROUND__;
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  font-family: Helvetica;
+  font-size: 12px;
   margin-left: 0px;
   margin-right: 0px;
   margin-top: 0px;
@@ -53,97 +48,82 @@
 }
 
 TD {
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  font-family: Helvetica;
+  font-size: 12px;
 }
 
 A:link, A:active, A:visited {
-  color: __LINK__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #666666;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A:hover {
-  color: __LINKHOVER__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKHOVERDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #666666;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A.barlink:link, A.barlink:active, A.barlink:visited {
-  color: __CATEGORYBAR_LINK__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_LINKDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #333333;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: none;
+  font-size: 11px;
 }
 
 A.barlink:hover {
-  color: __CATEGORYBAR_LINKHOVER__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_HOVERDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #333333;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 11px;
 }
 
 .maincontent {
-  background-color: __MAINCONTENT_BG__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 12px;
 }
 
 .contentbar1 {
-  background-color: __CONTENTBAR1__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #DDDDDD;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .contentbar2 {
-  background-color: __CONTENTBAR2__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #BBBBBB;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .categorybar {
-  background-color: __CATEGORYBAR_BG__;
-  color: __CATEGORYBAR_TEXT__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  background-color: #999999;
+  color: #FFFFFF;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .menubar {
-  background-color: __MENUBAR_BG__;
-  color: __MENUBAR_TEXT__;
-  font-family: __MENUBAR_FONT__;
-  font-weight: __MENUBAR_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #ECECEC;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 </STYLE>
 EOV
-
-##
-## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
-##
-DirConfig Variable templates/__THEME__/regions
-
-##
-## TRAFFIC is defined system-wide in interchange.cfg. When in
-## low-traffic mode, variables are dynamic -- i.e. when you change the
-## region file the page changes. Otherwise a reconfig must be done to
-## change the variable.
-##
-ifdef @TRAFFIC =~ /low/i
-Pragma dynamic_variables
-Pragma dynamic_variables_file_only
 endif



1.3       +71 -91    interchange/dist/foundation/templates/greens/theme.cfg


rev 1.3, prev_rev 1.2
Index: theme.cfg
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/greens/theme.cfg,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- theme.cfg	27 Sep 2002 07:16:51 -0000	1.2
+++ theme.cfg	7 Apr 2003 16:23:44 -0000	1.3
@@ -11,41 +11,36 @@
 Variable  THEME_LOGO  __LOGO__
 endif
 
+##
+## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
+##
+DirConfig Variable templates/__THEME__/regions
+
+##
+## TRAFFIC is defined system-wide in interchange.cfg. When in
+## low-traffic mode, variables are dynamic -- i.e. when you change the
+## region file the page changes. Otherwise a reconfig must be done to
+## change the variable.
+##
+ifdef @TRAFFIC =~ /low/i
+Pragma dynamic_variables
+Pragma dynamic_variables_file_only
+endif
+
+##
+## Finally, set a default CSS theme which can be overriden in Preferences
+##
+
+ifndef THEME_CSS
 # Define some colors and fonts
-Variable  BACKGROUND		#FFFFFF
-Variable  LINK			#336633
-Variable  LINKHOVER		#669966
-Variable  LINKDECO		underline
-Variable  LINKHOVERDECO		underline
-Variable  MAINCONTENT_TEXT	#000000
-Variable  MAINCONTENT_BG	#FFFFFF
-Variable  MAINCONTENT_FONT	Helvetica
-Variable  MAINCONTENT_FONTSIZE	12px
-Variable  MAINCONTENT_WEIGHT	normal
-Variable  CONTENTBAR1		#DDDDBB
-Variable  CONTENTBAR2		#BBBBBB
-Variable  CATEGORYBAR_TEXT	#FFFFFF
-Variable  CATEGORYBAR_BG	#336633
-Variable  CATEGORYBAR_FONT	Helvetica
-Variable  CATEGORYBAR_FONTSIZE	11px
-Variable  CATEGORYBAR_WEIGHT	normal
-Variable  CATEGORYBAR_LINK	#FFCCAA
-Variable  CATEGORYBAR_LINKHOVER	#DDDDBB
-Variable  CATEGORYBAR_LINKDECO  none
-Variable  CATEGORYBAR_HOVERDECO underline
-Variable  MENUBAR_TEXT		#000000
-Variable  MENUBAR_BG		#EEEECC
-Variable  MENUBAR_FONT		Helvetica
-Variable  MENUBAR_FONTSIZE	11px
-Variable  MENUBAR_WEIGHT	normal
 
 Variable THEME_CSS <<EOV
 <STYLE TYPE="text/css">
 
 BODY {
-  background-color: __BACKGROUND__;
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  font-family: Helvetica;
+  font-size: 12px;
   margin-left: 0px;
   margin-right: 0px;
   margin-top: 0px;
@@ -53,97 +48,82 @@
 }
 
 TD {
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  font-family: Helvetica;
+  font-size: 12px;
 }
 
 A:link, A:active, A:visited {
-  color: __LINK__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #336633;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A:hover {
-  color: __LINKHOVER__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKHOVERDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #669966;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A.barlink:link, A.barlink:active, A.barlink:visited {
-  color: __CATEGORYBAR_LINK__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_LINKDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #FFCCAA;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: none;
+  font-size: 11px;
 }
 
 A.barlink:hover {
-  color: __CATEGORYBAR_LINKHOVER__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_HOVERDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #DDDDBB;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 11px;
 }
 
 .maincontent {
-  background-color: __MAINCONTENT_BG__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 12px;
 }
 
 .contentbar1 {
-  background-color: __CONTENTBAR1__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #DDDDBB;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .contentbar2 {
-  background-color: __CONTENTBAR2__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #BBBBBB;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .categorybar {
-  background-color: __CATEGORYBAR_BG__;
-  color: __CATEGORYBAR_TEXT__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  background-color: #336633;
+  color: #FFFFFF;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .menubar {
-  background-color: __MENUBAR_BG__;
-  color: __MENUBAR_TEXT__;
-  font-family: __MENUBAR_FONT__;
-  font-weight: __MENUBAR_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #EEEECC;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 </STYLE>
 EOV
-
-##
-## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
-##
-DirConfig Variable templates/__THEME__/regions
-
-##
-## TRAFFIC is defined system-wide in interchange.cfg. When in
-## low-traffic mode, variables are dynamic -- i.e. when you change the
-## region file the page changes. Otherwise a reconfig must be done to
-## change the variable.
-##
-ifdef @TRAFFIC =~ /low/i
-Pragma dynamic_variables
-Pragma dynamic_variables_file_only
 endif



1.3       +71 -91    interchange/dist/foundation/templates/purpleyellow/theme.cfg


rev 1.3, prev_rev 1.2
Index: theme.cfg
===================================================================
RCS file: /var/cvs/interchange/dist/foundation/templates/purpleyellow/theme.cfg,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- theme.cfg	27 Sep 2002 07:16:52 -0000	1.2
+++ theme.cfg	7 Apr 2003 16:23:44 -0000	1.3
@@ -11,41 +11,36 @@
 Variable  THEME_LOGO  __LOGO__
 endif
 
+##
+## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
+##
+DirConfig Variable templates/__THEME__/regions
+
+##
+## TRAFFIC is defined system-wide in interchange.cfg. When in
+## low-traffic mode, variables are dynamic -- i.e. when you change the
+## region file the page changes. Otherwise a reconfig must be done to
+## change the variable.
+##
+ifdef @TRAFFIC =~ /low/i
+Pragma dynamic_variables
+Pragma dynamic_variables_file_only
+endif
+
+##
+## Finally, set a default CSS theme which can be overriden in Preferences
+##
+
+ifndef THEME_CSS
 # Define some colors and fonts
-Variable  BACKGROUND		#FFFFFF
-Variable  LINK			#663366
-Variable  LINKHOVER		#663366
-Variable  LINKDECO		underline
-Variable  LINKHOVERDECO		underline
-Variable  MAINCONTENT_TEXT	#000000
-Variable  MAINCONTENT_BG	#FFFFFF
-Variable  MAINCONTENT_FONT	Helvetica
-Variable  MAINCONTENT_FONTSIZE	12px
-Variable  MAINCONTENT_WEIGHT	normal
-Variable  CONTENTBAR1		#EEEECC
-Variable  CONTENTBAR2		#CCCCAA
-Variable  CATEGORYBAR_TEXT	#FFFFFF
-Variable  CATEGORYBAR_BG	#663366
-Variable  CATEGORYBAR_FONT	Helvetica
-Variable  CATEGORYBAR_FONTSIZE	11px
-Variable  CATEGORYBAR_WEIGHT	normal
-Variable  CATEGORYBAR_LINK	#EEEECC
-Variable  CATEGORYBAR_LINKHOVER	#EEEECC
-Variable  CATEGORYBAR_LINKDECO  none
-Variable  CATEGORYBAR_HOVERDECO underline
-Variable  MENUBAR_TEXT		#000000
-Variable  MENUBAR_BG		#EEEECC
-Variable  MENUBAR_FONT		Helvetica
-Variable  MENUBAR_FONTSIZE	11px
-Variable  MENUBAR_WEIGHT	normal
 
 Variable THEME_CSS <<EOV
 <STYLE TYPE="text/css">
 
 BODY {
-  background-color: __BACKGROUND__;
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  font-family: Helvetica;
+  font-size: 12px;
   margin-left: 0px;
   margin-right: 0px;
   margin-top: 0px;
@@ -53,97 +48,82 @@
 }
 
 TD {
-  font-family: __MAINCONTENT_FONT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  font-family: Helvetica;
+  font-size: 12px;
 }
 
 A:link, A:active, A:visited {
-  color: __LINK__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #663366;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A:hover {
-  color: __LINKHOVER__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  text-decoration: __LINKHOVERDECO__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  color: #663366;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 12px;
 }
 
 A.barlink:link, A.barlink:active, A.barlink:visited {
-  color: __CATEGORYBAR_LINK__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_LINKDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #EEEECC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: none;
+  font-size: 11px;
 }
 
 A.barlink:hover {
-  color: __CATEGORYBAR_LINKHOVER__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  text-decoration: __CATEGORYBAR_HOVERDECO__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  color: #EEEECC;
+  font-family: Helvetica;
+  font-weight: normal;
+  text-decoration: underline;
+  font-size: 11px;
 }
 
 .maincontent {
-  background-color: __MAINCONTENT_BG__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MAINCONTENT_FONTSIZE__;
+  background-color: #FFFFFF;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 12px;
 }
 
 .contentbar1 {
-  background-color: __CONTENTBAR1__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #EEEECC;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .contentbar2 {
-  background-color: __CONTENTBAR2__;
-  color: __MAINCONTENT_TEXT__;
-  font-family: __MAINCONTENT_FONT__;
-  font-weight: __MAINCONTENT_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #CCCCAA;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .categorybar {
-  background-color: __CATEGORYBAR_BG__;
-  color: __CATEGORYBAR_TEXT__;
-  font-family: __CATEGORYBAR_FONT__;
-  font-weight: __CATEGORYBAR_WEIGHT__;
-  font-size: __CATEGORYBAR_FONTSIZE__;
+  background-color: #663366;
+  color: #FFFFFF;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 .menubar {
-  background-color: __MENUBAR_BG__;
-  color: __MENUBAR_TEXT__;
-  font-family: __MENUBAR_FONT__;
-  font-weight: __MENUBAR_WEIGHT__;
-  font-size: __MENUBAR_FONTSIZE__;
+  background-color: #EEEECC;
+  color: #000000;
+  font-family: Helvetica;
+  font-weight: normal;
+  font-size: 11px;
 }
 
 </STYLE>
 EOV
-
-##
-## Here we pick up the region variables like LEFTONLY_TOP and LEFTONLY_BOTTOM.
-##
-DirConfig Variable templates/__THEME__/regions
-
-##
-## TRAFFIC is defined system-wide in interchange.cfg. When in
-## low-traffic mode, variables are dynamic -- i.e. when you change the
-## region file the page changes. Otherwise a reconfig must be done to
-## change the variable.
-##
-ifdef @TRAFFIC =~ /low/i
-Pragma dynamic_variables
-Pragma dynamic_variables_file_only
 endif