From a18744da4e44d067e447999fa5386603fb3f4261 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Fri, 31 Oct 2008 13:33:10 +0000 Subject: [PATCH] Fix bug (#990) showing empty space between gadget title for higher screen resolutions. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24435 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../KnowledgePad_viewColumnWidget.xml | 4 +++- .../erp5_knowledge_box.css.xml | 19 ++++++++++++++++--- .../erp5_knowledge_box_web.css.xml | 13 +++++++++++-- bt5/erp5_knowledge_pad/bt/revision | 2 +- 4 files changed, 31 insertions(+), 7 deletions(-) diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgePad_viewColumnWidget.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgePad_viewColumnWidget.xml index 0c1b178239..511fd5174f 100644 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgePad_viewColumnWidget.xml +++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/KnowledgePad_viewColumnWidget.xml @@ -92,7 +92,9 @@ i18n:attributes="title" \n title="Minimize"></a>\n </tal:block>\n - <span tal:content="python: here.Base_translateString(gadget.getTitle())"/>\n + <span class="gadget_left_side"></span>\n + <span class="gadget_title" \n + tal:content="python: here.Base_translateString(gadget.getTitle())"/>\n </h3>\n \n <div class="minimize_wrapper"\n diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml index 1e78408444..d88fcb750b 100644 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml +++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml @@ -11,7 +11,7 @@ <dictionary> <item> <key> <string>_EtagSupport__etag</string> </key> - <value> <string>ts17588316.0</string> </value> + <value> <string>ts25459544.09</string> </value> </item> <item> <key> <string>__name__</string> </key> @@ -70,7 +70,7 @@ border-bottom: 1px solid #3D6474;\n }\n \n -.block h3 span{\n +.block h3 span.gadget_left_side{\n background: transparent url(images/tab_left_selected.png) no-repeat scroll left top;\n display: block;\n float: left;\n @@ -79,6 +79,19 @@ height: 20px;\n padding-top: 5px;\n padding-left: 5px;\n + width: 10px;\n +}\n +\n +.block h3 span.gadget_title{\n + display: block;\n + float: left;\n + margin-top: -5px;\n + margin-left: -5px;\n + padding-top: 5px;\n + height: 19px;\n + min-width: 100px;\n + border-top: 1px solid #3d7474;\n + background-color: #e3eafa;\n }\n \n \n @@ -572,7 +585,7 @@ div.block div.worklist_list ul li a:hover{\n </item> <item> <key> <string>size</string> </key> - <value> <long>9266</long> </value> + <value> <long>9522</long> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/erp5_knowledge_box_web.css.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/erp5_knowledge_box_web.css.xml index fde4980caf..b4e38d419c 100644 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/erp5_knowledge_box_web.css.xml +++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad_web/erp5_knowledge_box_web.css.xml @@ -11,7 +11,7 @@ <dictionary> <item> <key> <string>_EtagSupport__etag</string> </key> - <value> <string>ts15502580.59</string> </value> + <value> <string>ts25458221.44</string> </value> </item> <item> <key> <string>__name__</string> </key> @@ -52,6 +52,15 @@ /*list-style-type:none;*/\n }\n \n +.block h3 span.gadget_left_side{\n + background: none;\n +}\n +.block h3 span.gadget_title{\n + background: none;\n + border-top: none;\n +}\n +\n +\n .box_inner_content {\n border: 1px solid #c3c3ee;\n border-top: none;\n @@ -160,7 +169,7 @@ div.block fieldset label{\n </item> <item> <key> <string>size</string> </key> - <value> <long>1868</long> </value> + <value> <long>1996</long> </value> </item> <item> <key> <string>title</string> </key> diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision index 6c0c8340ea..483387c8ec 100644 --- a/bt5/erp5_knowledge_pad/bt/revision +++ b/bt5/erp5_knowledge_pad/bt/revision @@ -1 +1 @@ -362 \ No newline at end of file +363 \ No newline at end of file -- 2.30.9