From 8eb71c95c64dd5d0edb67fcaceffa7c4f6459fa7 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Thu, 13 May 2010 13:59:37 +0000 Subject: [PATCH] Add a file place holder for all KM CSS customizations. THis file should be used to do specific adjustments which are not applicable to general KM. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35300 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_km_theme/km_custom.css.xml | 81 +++++++++++++++++++ .../template_erp5_km_minimal.xml | 2 +- bt5/erp5_km/bt/revision | 2 +- 3 files changed, 83 insertions(+), 2 deletions(-) create mode 100644 bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_custom.css.xml diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_custom.css.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_custom.css.xml new file mode 100644 index 0000000000..0b5a06399a --- /dev/null +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/km_custom.css.xml @@ -0,0 +1,81 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_Cacheable__manager_id</string> </key> + <value> <string>http_cache</string> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +/****************************************************************/\n +/* Use this file to customize KM CSS */\n +/* */\n +/* */\n +/****************************************************************/\n +\n +<tal:block define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \'text/css;; charset=utf-8\')"/>\n +\n +\n +/* Place your definitions after this line */\n +\n +\n + + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>km_custom.css</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml index 2ff963842a..302139abef 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/template_erp5_km_minimal.xml @@ -120,7 +120,7 @@ \'%s/km_css/type.css\' % portal_path,\n \'%s/km_css/erp5_km_common.css\' % portal_path,\n \'%s/km_css/gadget.css\' % portal_path,\n -\n + \'%s/km_custom.css\' % portal_path,\n ];\n global js_list python:[\n \'%s/erp5_km_utils.js\' % portal_path,\n diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision index de8746ce5f..d31692da3e 100644 --- a/bt5/erp5_km/bt/revision +++ b/bt5/erp5_km/bt/revision @@ -1 +1 @@ -1380 \ No newline at end of file +1381 \ No newline at end of file -- 2.30.9