summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorMinh Tran <mit@openerp.com>2012-07-19 18:04:56 +0200
committerMinh Tran <mit@openerp.com>2012-07-19 18:04:56 +0200
commitbff386ea36d2d24c21b16d4ed17db0c6d039bd3d (patch)
tree25c598489b2c8926675ef7b4d7f2d4929cd76b3c /addons/web/static/src
parent3c1dd6c0c2a985eebbbfb99b18a98f1151cdfd6d (diff)
fixed alignment of 'add to dashboard' button in searchview
bzr revid: mit@openerp.com-20120719160456-vp9hip9f67d1ij84
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/css/base.css6
-rw-r--r--addons/web/static/src/css/base.sass14
-rw-r--r--addons/web/static/src/xml/base.xml4
3 files changed, 12 insertions, 12 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 7c8085046fc..eda3a996d23 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -1601,14 +1601,14 @@
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_section li:hover {
background-color: #f0f0fa;
}
-.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_section form {
+.openerp .oe_searchview .oe_searchview_drawer form {
margin-left: 12px;
}
-.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_section form p {
+.openerp .oe_searchview .oe_searchview_drawer form p {
margin: 4px 0;
line-height: 18px;
}
-.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_section form button {
+.openerp .oe_searchview .oe_searchview_drawer form button {
margin: 0 0 8px 0;
}
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom {
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index b3ff70b72bd..dbd3d30f453 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -1249,13 +1249,13 @@ $sheet-max-width: 860px
// after oe_selected so background color is not overridden
&:hover
background-color: $hover-background
- form
- margin-left: 12px
- p
- margin: 4px 0
- line-height: 18px
- button
- margin: 0 0 8px 0
+ form
+ margin-left: 12px
+ p
+ margin: 4px 0
+ line-height: 18px
+ button
+ margin: 0 0 8px 0
.oe_searchview_custom
padding: 0 8px 8px 8px
form
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 0ade5dd4d89..1bbffe3e2a7 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1392,8 +1392,8 @@
<div t-name="SearchView.addtodashboard" class="oe_searchview_dashboard">
<h4>Add to Dashboard</h4>
<form>
- <input placeholder ="Title of new Dashboard item" title = "Title of new Dashboard item" type="text"/>
- <button class="oe_apply" type="submit">save</button>
+ <p><input placeholder ="Title of new Dashboard item" title = "Title of new Dashboard item" type="text"/></p>
+ <button class="oe_apply" type="submit">Save</button>
</form>
</div>
<t t-name="SearchView.addtodashboard.selection">