[IMP] move deletion button for custom filters to the extreme right of the filter's line

apr reco, looks better and less likely to be mistakenly clicked

bzr revid: xmo@openerp.com-20120516104248-j6sbyv0985xf1n88
This commit is contained in:
Xavier Morel
2012-05-16 12:42:48 +02:00
parent 26b4c5a832
commit ebea74aa25
2 changed files with 33 additions and 3 deletions
+16 -1
View File
@@ -1307,7 +1307,7 @@
}
.openerp .oe_searchview .oe_searchview_drawer button, .openerp .oe_searchview .oe_searchview_drawer .button {
border: none;
background: white;
background: transparent;
padding: 0 2px;
-moz-box-shadow: none;
-webkit-box-shadow: none;
@@ -1340,6 +1340,7 @@
list-style: none;
padding: 3px 6px;
height: 14px;
line-height: 14px;
color: inherit;
cursor: pointer;
}
@@ -1360,6 +1361,20 @@
font-size: 20px;
color: #404040;
}
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom li {
cursor: pointer;
position: relative;
line-height: 1.2em;
padding: 2px 20px 2px 10px;
}
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom li:hover {
background-color: #f0f0fa;
}
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_custom li button {
position: absolute;
top: 0;
right: 5px;
}
.openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced form {
display: none;
}
+17 -2
View File
@@ -4,6 +4,7 @@
$section-title-color: #8786b7
$facets-border: #afafb6
$facets-border-selected: #a6a6fe
$hover-background: #f0f0fa
$colour4: #8a89ba
// }}}
// Mixins {{{
@@ -1066,7 +1067,7 @@ $colour4: #8a89ba
button, .button
border: none
background: white
background: transparent
padding: 0 2px
@include box-shadow(none)
@include radius(0)
@@ -1093,11 +1094,12 @@ $colour4: #8a89ba
list-style: none
padding: 3px 6px
height: 14px
line-height: 14px
color: inherit
cursor: pointer
&:hover
background-color: #f0f0fa
background-color: $hover-background
.oe_searchview_custom
form
@@ -1105,6 +1107,19 @@ $colour4: #8a89ba
button
@include text-to-icon("S")
li
cursor: pointer
position: relative
line-height: 1.2em
padding: 2px 20px 2px 10px
&:hover
background-color: $hover-background
button
position: absolute
top: 0
right: 5px
.oe_searchview_advanced
form