[Erp5-report] r38292 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTe...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Sep 13 12:31:52 CEST 2010
Author: ivan
Date: Mon Sep 13 12:31:50 2010
New Revision: 38292
URL: http://svn.erp5.org?rev=38292&view=rev
Log:
Set table's class to resp. list_style mode to support different CSS settings based on list style.
Add specific thumbnail CSS to style these kind of listbox mode.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_listbox.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_asHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml?rev=38292&r1=38291&r2=38292&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml [utf8] Mon Sep 13 12:31:50 2010
@@ -225,7 +225,8 @@
</div>\n
\n
<div class="listbox-body">\n
- <table class="listbox"> \n
+ <table class="listbox"\n
+ tal:attributes="class python: \'%s listbox-%s\' %(field_id, list_style)"> \n
<thead>\n
<!--Column title -->\n
<tr class="listbox-label-line"> \n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_listbox.css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_listbox.css.xml?rev=38292&r1=38291&r2=38292&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_listbox.css.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_listbox.css.xml [utf8] Mon Sep 13 12:31:50 2010
@@ -655,7 +655,6 @@ div.listbox-tree select{\n
}\n
\n
/* Table Listbox elements */\n
-\n
table.listbox{\n
border-collapse:collapse;\n
width:100%;\n
@@ -767,6 +766,24 @@ table.listbox th img.sort-button-asc{\n
background: url(\'images/1bottomarrow.png\') no-repeat scroll 100% 100%;\n
}\n
\n
+\n
+/* listbox table in thumbnail style \n
+ In thumbnail style we usually have only one thumbnail colum which through CSS\n
+ we show as floating box table row.\n
+*/\n
+table.listbox-thumbnail tbody tr{\n
+ display:block;\n
+ width: 128px; /* nano image width. XXX: dynamically generate. */\n
+ height:128px; /* nano image height. XXX: dynamically generate. */\n
+ float:left;\n
+ margin: 10px;\n
+}\n
+table.listbox-thumbnail tr.DataA, table.listbox-thumbnail tr.DataB,\n
+table.listbox-thumbnail tr.DataA:hover, table.listbox-thumbnail tr.DataB:hover{\n
+ background-color: transparent; /* in thumbnail mode we don\'t care for hoover */\n
+}\n
+\n
+\n
/* in search mode listbox may contain top/bottom quick search inputs */\n
div.search-text-listbox{\n
text-align: center;\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=38292&r1=38291&r2=38292&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 Sep 13 12:31:50 2010
@@ -1 +1 @@
-1012
\ No newline at end of file
+1014
\ No newline at end of file
More information about the Erp5-report
mailing list