[IMP] Buttons styling
bzr revid: fme@openerp.com-20120320083928-52plnhxvoam51ag5
This commit is contained in:
parent
ca18442657
commit
a399b1d8cc
|
@ -343,3 +343,6 @@
|
|||
.openerp2 .oe_form_label_help[for], .openerp2 .oe_form_label[for] {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.openerp2 .oe_form_group_cell .oe_form_button {
|
||||
width: 100%;
|
||||
}
|
||||
|
|
|
@ -336,6 +336,9 @@ $colour4: #8a89ba
|
|||
padding: 0 4px 0 4px
|
||||
.oe_form_label_help[for], .oe_form_label[for]
|
||||
white-space: nowrap
|
||||
.oe_form_group_cell
|
||||
.oe_form_button
|
||||
width: 100%
|
||||
// }}}
|
||||
|
||||
.openerp
|
||||
|
|
|
@ -1203,12 +1203,10 @@
|
|||
</t>
|
||||
</t>
|
||||
<t t-name="WidgetButton">
|
||||
<div t-attf-class="oe_form_field_#{widget.type}">
|
||||
<button type="button" class="oe_button">
|
||||
<img t-if="widget.node.attrs.icon" t-att-src="_s + '/web/static/src/img/icons/' + widget.node.attrs.icon + '.png'" width="16" height="16"/>
|
||||
<span t-if="widget.string"><t t-esc="widget.string"/></span>
|
||||
</button>
|
||||
</div>
|
||||
<button type="button" class="oe_button oe_form_button">
|
||||
<img t-if="widget.node.attrs.icon" t-att-src="_s + '/web/static/src/img/icons/' + widget.node.attrs.icon + '.png'" width="16" height="16"/>
|
||||
<span t-if="widget.string"><t t-esc="widget.string"/></span>
|
||||
</button>
|
||||
</t>
|
||||
<t t-name="WidgetButton.tooltip" t-extend="WidgetLabel.tooltip">
|
||||
<t t-jquery="div.oe_tooltip_string" t-operation="replace">
|
||||
|
|
Loading…
Reference in New Issue