Commit 7a1cd427 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

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.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26668 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 633efffd
...@@ -270,14 +270,11 @@ ...@@ -270,14 +270,11 @@
<span tal:replace="structure python: obj.Document_getPopupInfo(website)"/>\n <span tal:replace="structure python: obj.Document_getPopupInfo(website)"/>\n
</div>\n </div>\n
\n \n
<div class="search_result_portal_type">\n <div>\n
<a tal:content="obj/getTranslatedPortalType"\n <a tal:attributes="href string:${url}/view">\n
tal:attributes="href string:${url}/view"/>\n <span class="search_result_portal_type" tal:content="obj/getTranslatedPortalType" />\n
</div>\n <span class="search_result_title" tal:content="python: obj.getTitle() or (hasattr(obj, \'getReference\') and obj.getReference()) or obj.getId()" />\n
\n </a>\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 </div>\n
\n \n
<span class="searchDetails found" \n <span class="searchDetails found" \n
......
...@@ -1208,6 +1208,7 @@ table.listbox {\n ...@@ -1208,6 +1208,7 @@ table.listbox {\n
border-style: solid;\n border-style: solid;\n
border-width: 0 1px 1px 1px;\n border-width: 0 1px 1px 1px;\n
border-color:<dtml-var document_border_color>;\n border-color:<dtml-var document_border_color>;\n
padding: 0;\n
}\n }\n
\n \n
table.listbox .thead {background: #e6e6e6}\n table.listbox .thead {background: #e6e6e6}\n
...@@ -1291,10 +1292,13 @@ div#main_content.list_mode{\n ...@@ -1291,10 +1292,13 @@ div#main_content.list_mode{\n
line-height:1.5em;\n line-height:1.5em;\n
}\n }\n
\n \n
div.search.result .resultList {\n div.search.result .resultList .listbox tr.DataA,\n
padding: 1em;\n div.search.result .resultList .listbox tr.DataB {\n
width: 70%;\n background-color: white;\n
margin: 0 auto;\n }\n
\n
div.search.result .resultList .listbox td {\n
padding: 0.5em 0;\n
}\n }\n
\n \n
div.search.result .resultList p {margin-bottom: 0}\n div.search.result .resultList p {margin-bottom: 0}\n
...@@ -1315,21 +1319,7 @@ div.search.result .resultList ul.pages li a:hover {\n ...@@ -1315,21 +1319,7 @@ div.search.result .resultList ul.pages li a:hover {\n
background: #eee;\n background: #eee;\n
}\n }\n
\n \n
div.search.result .resultList table {\n div.search.result .resultList a .search_result_title {\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
font-weight: bold;\n font-weight: bold;\n
font-size: 120%;\n font-size: 120%;\n
}\n }\n
......
715 716
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment