searchview fixes

bzr revid: mit@openerp.com-20120531134150-nqxas33g0ow27ciy
This commit is contained in:
Minh Tran
2012-05-31 15:41:50 +02:00
parent a97180270b
commit 7d01960538
3 changed files with 18 additions and 9 deletions
+10 -4
View File
@@ -99,10 +99,6 @@
list-style-type: none;
}
.openerp input, .openerp textarea {
height: 14px;
padding: 3px;
font-size: 11px;
line-height: 18px;
border: 1px solid #cccccc;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
@@ -1186,6 +1182,16 @@
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset;
}
.openerp .oe_searchview input, .openerp .oe_searchview textarea {
padding: 3px;
height: 14px;
font-size: 11px;
line-height: 18px;
border: 1px solid #cccccc;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.openerp .oe_searchview.oe_focused {
border-color: #a6a6fe;
-moz-box-shadow: 0 1px 2px #a6a6fe inset;
+7 -4
View File
@@ -140,10 +140,6 @@ $colour4: #8a89ba
li
list-style-type: none
input, textarea
height: 14px
padding: 3px
font-size: 11px
line-height: 18px
border: 1px solid #ccc
@include radius(3px)
@@ -938,6 +934,13 @@ $colour4: #8a89ba
background: white
@include radius(13px)
@include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
input, textarea
padding: 3px
height: 14px
font-size: 11px
line-height: 18px
border: 1px solid #ccc
@include radius(3px)
&.oe_focused
border-color: $facets-border-selected
@include box-shadow(0 1px 2px $facets-border-selected inset)
+1 -1
View File
@@ -1642,7 +1642,7 @@ instance.web.search.Filters = instance.web.search.Input.extend({
var col1 = [], col2 = _(this.view.controls).map(function (inputs, group) {
var filters = _(inputs).filter(is_group);
return {
name: group === 'null' ? _t("<span class='oe_i'>q</span> Filters") : "<span class='oe_i'>w</span> " + group,
name: group === 'null' ? "<span class='oe_i'>q</span> " + _t("Filters") : "<span class='oe_i'>w</span> " + group,
filters: filters,
length: _(filters).chain().map(function (i) {
return i.filters.length; }).sum().value()