summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-05-16 12:42:48 +0200
committerXavier Morel <xmo@openerp.com>2012-05-16 12:42:48 +0200
commitebea74aa2512e4534410a3a9d494fa3d3b01c3dc (patch)
tree5da21c592915ddad37e72998fed681b57d3f8721 /addons/web/static/src/css/base.sass
parent26b4c5a8324bfb0521b7ece231f7370b91b7108c (diff)
[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
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass19
1 files changed, 17 insertions, 2 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index cb7f0e30f9e..e97663eadb2 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -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