From 19d375c427ed8ed43c8a550abc6b4abf7e88bf8a Mon Sep 17 00:00:00 2001 From: Christophe Dumez <christophe@nexedi.com> Date: Tue, 22 Aug 2006 14:06:16 +0000 Subject: [PATCH] - Used a softer image as a separator to match html style git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9324 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_xhtml_style/erp5.css.xml | 19 +++--- .../erp5_xhtml_style/images/sepafon.png.xml | 59 +++++++++++++++++++ 2 files changed, 71 insertions(+), 7 deletions(-) create mode 100644 product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/sepafon.png.xml diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml index f2c64cb394..250f7a8a67 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml @@ -449,11 +449,13 @@ div.index_html table {\n background-color: <dtml-var navigation_bar_background_color>;\n padding-top: 2px;\n padding-bottom: 2px;\n + vertical-align: middle;\n }\n \n #main_bar .first,\n #context_bar .first {\n float: left;\n + vertical-align: middle;\n }\n \n #main_bar .first{\n @@ -472,6 +474,7 @@ div.index_html table {\n #main_bar .second,\n #context_bar .second {\n float: right;\n + vertical-align: middle;\n }\n \n #main_bar button,\n @@ -489,6 +492,10 @@ div.index_html table {\n color: inherit;\n }\n \n +#context_bar .tool_buttons {\n + vertical-align: middle;\n +}\n +\n #context_bar .tool_buttons a {\n margin-top: 2px;\n margin-left: 2px;\n @@ -664,6 +671,7 @@ fieldset.bottom .field label {\n border-bottom-color: <dtml-var main_border_color>;\n background-color: <dtml-var context_bar_background_color>;\n color: inherit;\n + vertical-align: middle;\n }\n \n #context_bar .tool_buttons a {\n @@ -673,16 +681,13 @@ fieldset.bottom .field label {\n }\n \n .separator {\n - color: inherit;\n - width: 0;\n height: 24px;\n - display: block;\n - float: left;\n + width: 2px;\n margin-left: 6px;\n margin-right: 6px;\n - border-width: 1px;\n - border-color: <dtml-var navigation_bar_background_color>;\n - border-style: inset;\n + display: block;\n + float: left;\n + background-image: url(\'<dtml-var expr="portal_url.getPortalPath()">/images/sepafon.png\');\n }\n \n #context_bar .tool_buttons a .image,\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/sepafon.png.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/sepafon.png.xml new file mode 100644 index 0000000000..3bf18725cd --- /dev/null +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/sepafon.png.xml @@ -0,0 +1,59 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>OFS.Image</string> + <string>Image</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>sepafon.png</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>image/png</string> </value> + </item> + <item> + <key> <string>data</string> </key> + <value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAAIAAAAWCAIAAABlk9r+AAAABGdBTUEAALGOfPtRkwAAACBjSFJN +AAB6JQAAgIMAAPn/AACA6AAAdTAAAOpgAAA6lwAAF2+XqZnUAAAAaklEQVR4nGLeefaWvIUfQAAx +MYABQABBKYAAglIAAQSlAAIISgEEEJQCCCAoBRBAUAoggKAUQABBKYAAglIAAQSlAAIISgEEEJQC +CCAoBRBAUAoggKAUQABBKYAAglIAAQSlAAIISgEEGADX0gMzzUfECgAAAABJRU5ErkJggg==</string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>22</int> </value> + </item> + <item> + <key> <string>precondition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>223</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>2</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> -- 2.30.9