From a0fbd674c96a2e09add489342eafada2afdbc190 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 5 Jun 2013 12:52:40 +0200 Subject: [FIX] search view layout in case of very long facet value * don't fix facet height so the facet content correctly "grows" all of the facet and thus the surrounding view * hard-code the heights of the view-level controls (clear and open drawer) to avoid both overly large hitbox and their moving outside of the top-right corner * add some margins on the facets container to avoid overlaps between top-level search controls and facet activable elements lp bug: https://launchpad.net/bugs/1123704 fixed bzr revid: xmo@openerp.com-20130605105240-h9o03ol7l8dti1yn --- addons/web/static/src/css/base.sass | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 88566b02d38..38758216a50 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1335,13 +1335,13 @@ $sheet-padding: 16px top: 0 right: 18px width: 15px - height: 100% + height: 24px background: url(../img/search_reset.gif) center center no-repeat .oe_searchview_unfold_drawer position: absolute top: 0 right: 0 - height: 100% + height: 24px padding: 0 7px 0 4px color: #ccc cursor: pointer @@ -1374,13 +1374,12 @@ $sheet-padding: 16px .oe_searchview_facets min-height: 22px - margin-left: 15px + margin: 0 35px 0 15px * vertical-align: top display: inline-block line-height: 17px .oe_searchview_facet - height: 18px margin: 1px 0 font-size: 11px &:focus @@ -1402,7 +1401,7 @@ $sheet-padding: 16px border-color: $tag-border-selected @include box-shadow(0 0 3px 1px $tag-border-selected) .oe_facet_values - background: #f0f0fa + background: $tag-bg-light @include radius(0 3px 3px 0) .oe_facet_category, .oe_facet_value height: 18px -- cgit v1.2.3 From 079b78038480fe1374e2ba18459cef0b758033a5 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 6 Jun 2013 12:24:37 +0200 Subject: [FIX] height of the many2many_tags field when the field is empty bzr revid: chm@openerp.com-20130606102437-8j0ga41pwe8fogd0 --- addons/web/static/src/css/base.sass | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 38758216a50..1de67046a5c 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -490,6 +490,7 @@ $sheet-padding: 16px width: 100% !important textarea width: 100% !important + min-height: 22px .text-core .text-wrap .text-dropdown .text-list .text-suggestion em font-style: italic text-decoration: none -- cgit v1.2.3 From 89086e44518ab469a53664cff728eb6e2e41f90b Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 6 Jun 2013 12:41:45 +0200 Subject: [FIX] view list: some title not align with other. bzr revid: chm@openerp.com-20130606104145-jezs2u9tr3xb3fmh --- addons/web/static/src/css/base.sass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 1de67046a5c..bbb995e655c 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -2309,7 +2309,6 @@ $sheet-padding: 16px th.oe_sortable div position: relative th.oe_sortable div:after - float: right margin-right: 6px content: "" margin-top: 7px @@ -2318,11 +2317,13 @@ $sheet-padding: 16px border-color: #000 transparent visibility: hidden th.sortup div:after + float: right visibility: visible @include opacity(0.6) .oe_list_header_many2many_tags min-width: 70px th.sortdown div:after + float: right border-bottom: none border-left: 4px solid transparent border-right: 4px solid transparent -- cgit v1.2.3 From ef346d8b35b098e7db8b6782cd9f75d978aed39c Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Thu, 6 Jun 2013 14:07:35 +0200 Subject: [FIX] min height of textarea field in non selected tabs. bzr revid: chm@openerp.com-20130606120735-u79dqaubgq6zg7tu --- addons/web/static/src/css/base.sass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index bbb995e655c..000342ba82a 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1864,6 +1864,8 @@ $sheet-padding: 16px .oe_form_field_text textarea, .oe_form_field_selection select width: 100% + .oe_notebook_page .oe_form_field_text textarea + min-height: 96px .oe_form_field_text.oe_inline, .oe_form_field_text.oe_inline > textarea width: 500px h1, h2, h3, h4, h5, h6 -- cgit v1.2.3 From a941c199c19279c6a2fd947dca3d1a80b9aa35c9 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Fri, 7 Jun 2013 12:15:17 +0200 Subject: [FIX] translation button or icon not displayed with html widget. Bug 1179505 bzr revid: chm@openerp.com-20130607101517-zilu97d4akhho72v --- addons/web/static/src/css/base.sass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 000342ba82a..415dd3e81cb 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1949,6 +1949,9 @@ $sheet-padding: 16px margin-top: 32px margin-bottom: 32px text-align: justify + .oe_form_field_html .oe_input_icon + float: right + margin: 4px 7px .oe_form_editable .oe_form -- cgit v1.2.3 From aa423f4cb11b6fc50355a54b51c3a281c7b5b373 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Fri, 7 Jun 2013 17:13:39 +0200 Subject: [FIX] M2m tags field wrong height count when field in nonactive notebook page at load time. bzr revid: chm@openerp.com-20130607151339-t9n5iv2vap0kvimw --- addons/web/static/src/css/base.sass | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 415dd3e81cb..9b601d54fb9 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -490,10 +490,11 @@ $sheet-padding: 16px width: 100% !important textarea width: 100% !important - min-height: 22px - .text-core .text-wrap .text-dropdown .text-list .text-suggestion em - font-style: italic - text-decoration: none + .text-core + min-height: 22px + .text-wrap .text-dropdown .text-list .text-suggestion em + font-style: italic + text-decoration: none margin-bottom: 1px // }}} // Tooltips {{{ -- cgit v1.2.3 From 63d79a145276d106f5d3d12f0d369580f13217f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Fri, 7 Jun 2013 18:03:07 +0200 Subject: [FIX] css: removed the forced left alignment of dropdown menu on the calling element, as it prevented correct display of the top right drop down menu when it's content was larger than the user name bzr revid: fva@openerp.com-20130607160307-52z7b4ykb36a2hpr --- addons/web/static/src/css/base.sass | 1 - 1 file changed, 1 deletion(-) (limited to 'addons/web/static/src/css/base.sass') diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 9b601d54fb9..0ace046c354 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -586,7 +586,6 @@ $sheet-padding: 16px display: none position: absolute top: 26px - left: 0 z-index: 3 margin: 0 padding: 0 -- cgit v1.2.3