[IMP] Improved listview button's styling

bzr revid: fme@openerp.com-20110621081846-inwoqep0ltubixt8
This commit is contained in:
Fabien Meghazi
2011-06-21 10:18:46 +02:00
parent 9be905bbb8
commit 099c8f4442
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -613,6 +613,12 @@ background: linear-gradient(top, #ffffff 0%,#d8d8d8 11%,#afafaf 86%,#333333 91%,
.openerp .oe-listview .oe-field-cell button:active {
opacity: 0.5;
}
.openerp .oe-listview .oe-field-cell button img {
cursor: pointer;
}
.openerp .oe-listview .oe-field-cell button img:hover {
opacity: 0.75;
}
.openerp .oe-listview th.oe-actions {
text-align: left;
+1 -1
View File
@@ -341,7 +341,7 @@
<t t-set="value" t-value="row['data'][column.id].value"/>
<t t-esc="value instanceof Array ? value[1] : value"/>
</t>
<button type="button" t-att-title="column.help"
<button type="button" t-att-title="column.string"
t-if="is_button">
<img t-att-src="'/base/static/src/img/icons/' + column.icon + '.png'"
t-att-alt="column.string"/>