[Erp5-report] r26668 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 27 22:37:21 CEST 2009


Author: kazuhiko
Date: Mon Apr 27 22:37:20 2009
New Revision: 26668

URL: http://svn.erp5.org?rev=26668&view=rev
Log:
improve usability of Search Style listbox.
* use the full width for the consistent appearance.
* use the white background for both even and odd rows.
* add more vertical margin between rows.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml?rev=26668&r1=26667&r2=26668&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] Mon Apr 27 22:37:20 2009
@@ -270,14 +270,11 @@
                           <span tal:replace="structure python: obj.Document_getPopupInfo(website)"/>\n
                       </div>\n
 \n
-                      <div class="search_result_portal_type">\n
-                        <a tal:content="obj/getTranslatedPortalType"\n
-                            tal:attributes="href string:${url}/view"/>\n
-                      </div>\n
-\n
-                      <div class="search_result_title">\n
-                        <a tal:content="python: obj.getTitle() or (hasattr(obj, \'getReference\') and obj.getReference()) or obj.getId()" \n
-                            tal:attributes="href string:${url}/view"/>\n
+                      <div>\n
+                        <a tal:attributes="href string:${url}/view">\n
+                          <span class="search_result_portal_type" tal:content="obj/getTranslatedPortalType" />\n
+                          <span class="search_result_title" tal:content="python: obj.getTitle() or (hasattr(obj, \'getReference\') and obj.getReference()) or obj.getId()" />\n
+                        </a>\n
                       </div>\n
 \n
                       <span class="searchDetails found" \n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml?rev=26668&r1=26667&r2=26668&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml [utf8] Mon Apr 27 22:37:20 2009
@@ -1208,6 +1208,7 @@
   border-style: solid;\n
   border-width: 0 1px 1px 1px;\n
   border-color:<dtml-var document_border_color>;\n
+  padding: 0;\n
 }\n
 \n
 table.listbox .thead    {background: #e6e6e6}\n
@@ -1291,10 +1292,13 @@
   line-height:1.5em;\n
 }\n
 \n
-div.search.result .resultList {\n
-  padding: 1em;\n
-  width: 70%;\n
-  margin: 0 auto;\n
+div.search.result .resultList .listbox tr.DataA,\n
+div.search.result .resultList .listbox tr.DataB {\n
+  background-color: white;\n
+}\n
+\n
+div.search.result .resultList .listbox td {\n
+  padding: 0.5em 0;\n
 }\n
 \n
 div.search.result .resultList p {margin-bottom: 0}\n
@@ -1315,21 +1319,7 @@
   background: #eee;\n
 }\n
 \n
-div.search.result .resultList table {\n
-  border-collapse: inherit;\n
-  border-spacing: .3em;\n
-}\n
-\n
-div.search.result .resultList .search_result_portal_type,\n
-div.search.result .resultList .search_result_title {\n
-  display: inline;\n
-}\n
-\n
-div.search.result .resultList .search_result_portal_type{\n
-  font-size: 80%;\n
-}\n
-\n
-div.search.result .resultList .search_result_title a{\n
+div.search.result .resultList a .search_result_title {\n
   font-weight: bold;\n
   font-size: 120%;\n
 }\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=26668&r1=26667&r2=26668&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Mon Apr 27 22:37:20 2009
@@ -1,1 +1,1 @@
-715
+716




More information about the Erp5-report mailing list