summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-12-12 12:36:24 +0100
committerXavier Morel <xmo@openerp.com>2011-12-12 12:36:24 +0100
commit802ca760a01e5ad3cf1f895d5f504db0d2285777 (patch)
treeb381b981f8158eb512291e0975fe6628cdddb43b /addons/web/static/src
parent71543213ccbd44a707bfbd76bd9e9b284c2091d3 (diff)
[FIX] positioning of datetime widget trigger button in date-related searchview widgets
lp bug: https://launchpad.net/bugs/902122 fixed bzr revid: xmo@openerp.com-20111212113624-667rvjycmuto1oid
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css10
-rw-r--r--addons/web/static/src/xml/base.xml8
2 files changed, 13 insertions, 5 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 3a163beb832..a52510b8275 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -570,8 +570,16 @@ label.error {
}
/* SearchView */
+.openerp .oe_searchview_field {
+ position: relative;
+ white-space: nowrap;
+}
+.openerp .oe_searchview_field .oe_input_icon {
+ top: auto;
+ bottom: 5px;
+}
+
.openerp .filter_label, .openerp .filter_icon {
- border-left-width: 0;
background: #F0F0F0;
border: 1px solid #999;
background: -moz-linear-gradient(top, #F0F0F0 0%, #C0C0C0 100%);
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 04b801b4ed0..9333a3bdbca 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1172,7 +1172,7 @@
<table class="oe-searchview-render-line" border="0" cellspacing="0" cellpadding="0"
t-foreach="lines" t-as="line">
<tr>
- <td t-foreach="line" t-as="widget">
+ <td t-foreach="line" t-as="widget" class="oe_searchview_field">
<t t-raw="widget.render(defaults)"/>
</td>
</tr>
@@ -1198,7 +1198,7 @@
<t t-esc="attrs.string || attrs.name"/>
<span t-if="attrs.help">?</span>
</label>
- <div style="white-space: nowrap;">
+ <div>
<input type="text" size="15" t-att-name="attrs.name"
t-att-autofocus="attrs.default_focus === '1' ? 'autofocus' : undefined"
t-att-id="element_id"
@@ -1213,7 +1213,7 @@
<t t-esc="attrs.string || attrs.name"/>
<span t-if="attrs.help">?</span>
</label>
- <div style="white-space: nowrap;">
+ <div>
<span t-att-id="element_id"></span>
<t t-if="filters.length" t-raw="filters.render(defaults)"/>
</div>
@@ -1225,7 +1225,7 @@
<t t-esc="attrs.string || attrs.name"/>
<span t-if="attrs.help">?</span>
</label>
- <div style="white-space: nowrap;">
+ <div>
<select t-att-name="attrs.name" t-att-id="element_id"
t-att-autofocus="attrs.default_focus === '1' || undefined">
<option t-if="prepend_empty"/>