From 765037ff1849de96c5d16cd87551dddc7378972e Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Tue, 7 Nov 2006 12:08:31 +0000
Subject: [PATCH] Fix some rendering differencies between html style and xhtml
 style : Field titles in italics. Font should be 12px. Vertical spacing of
 breadcrumb/logged in as.../status message.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11154 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_xhtml_style/erp5.css.xml             | 29 +++++++--
 .../erp5_xhtml_style/images/sepacla.png.xml   | 59 +++++++++++++++++++
 .../bootstrap/erp5_xhtml_style/bt/revision    |  2 +-
 3 files changed, 83 insertions(+), 7 deletions(-)
 create mode 100644 product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/sepacla.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 6b095e3db8..2273b75ea9 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
@@ -317,7 +317,7 @@
         </item>
         <item>
             <key> <string>font_size</string> </key>
-            <value> <string>13px</string> </value>
+            <value> <string>12px</string> </value>
         </item>
         <item>
             <key> <string>globals</string> </key>
@@ -552,6 +552,11 @@ div.index_html table {\n
 .content .field {\n
   position: relative;\n
   clear: left;\n
+  font-style: italic;\n
+}\n
+\n
+.content .field .input {\n
+  font-style: normal;\n
 }\n
 \n
 .content .input .figure {\n
@@ -697,6 +702,11 @@ fieldset.bottom .field label {\n
   padding-right: .5em;\n
 }\n
 \n
+#status {\n
+  padding-top: .3em;\n
+  padding-bottom: .4em;\n
+}\n
+\n
 /* Context bar */\n
 \n
 #context_bar {\n
@@ -723,9 +733,16 @@ fieldset.bottom .field label {\n
   margin-right: 6px;\n
   display: block;\n
   float: left;\n
+}\n
+\n
+#main_bar .separator {\n
   background-image: url(\'<dtml-var expr="portal_url.getPortalPath()">/images/sepafon.png\');\n
 }\n
 \n
+#context_bar .separator {\n
+  background-image: url(\'<dtml-var expr="portal_url.getPortalPath()">/images/sepacla.png\');\n
+}\n
+\n
 #context_bar .tool_buttons a .image,\n
 #context_bar .tool_buttons button .image,\n
 #context_bar .tool_buttons a img {\n
@@ -836,7 +853,7 @@ fieldset.bottom .field label {\n
 \n
 #breadcrumb {\n
   float: left;\n
-  font-size: 90%;\n
+/*   font-size: 90%; */\n
   margin-bottom: 5px;\n
 }\n
 \n
@@ -850,7 +867,7 @@ fieldset.bottom .field label {\n
 \n
 #logged_in_as .logged_txt{\n
   color: <dtml-var link_color>;\n
-  font-size: 90%;\n
+/*   font-size: 90%; */\n
 }\n
 \n
 #transition_message {\n
@@ -929,7 +946,7 @@ fieldset.bottom .field label {\n
   color: inherit;\n
   background-color: inherit;\n
   background: url(\'<dtml-var expr="portal_url.getPortalPath()">/images/tab_right.png\') top right no-repeat;\n
-  font-size: 90%;\n
+/*   font-size: 90%; */\n
 }\n
 \n
 .document .actions li.selected a {\n
@@ -967,7 +984,7 @@ fieldset.bottom .field label {\n
 .ListSummary #listbox_title,\n
 .ListSummary #listbox_record_number,\n
 .ListSummary #listbox_item_number {\n
-  font-size: 90%;\n
+/*   font-size: 90%; */\n
 }\n
 \n
 .ListSummary table {\n
@@ -1011,7 +1028,7 @@ fieldset.bottom .field label {\n
 .ListContent #listbox_label_line {\n
   color: <dtml-var font_color>;\n
   background-color: <dtml-var listbox_label_background_color>;\n
-  font-size: 90%;\n
+/*   font-size: 90%; */\n
 }\n
 \n
 .ListContent #listbox_stat_line {\n
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/sepacla.png.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/sepacla.png.xml
new file mode 100644
index 0000000000..9a76848656
--- /dev/null
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/sepacla.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>sepacla.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+XqZnUAAAAaklEQVR4nGKonrf7/L1nAAHE
+xAAGAAEEpQACCEoBBBCUAgggKAUQQFAKIICgFEAAQSmAAIJSAAEEpQACCEoBBBCUAgggKAUQQFAK
+IICgFEAAQSmAAIJSAAEEpQACCEoBBBCUAgggKAUQYACicgSS2c3YqAAAAABJRU5ErkJggg==</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>
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index f3a5e81bae..fefb598af8 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-281
\ No newline at end of file
+284
\ No newline at end of file
-- 
2.30.9