[IMP] wrapping of facets by moving the spyglass icon thing in the facets container
authorXavier Morel <xmo@openerp.com>
Wed, 2 May 2012 10:58:47 +0000 (12:58 +0200)
committerXavier Morel <xmo@openerp.com>
Wed, 2 May 2012 10:58:47 +0000 (12:58 +0200)
bzr revid: xmo@openerp.com-20120502105847-4d95n628c6ituyp0

addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass

index d8b91b2..20b4cb9 100644 (file)
   -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:before {
-  color: #cccccc;
-  font-family: "mnmliconsRegular";
-  content: "r";
-  font-size: 150%;
-  padding: 0 1px 0 3px;
-  display: inline;
-}
 .openerp .oe_searchview .oe_searchview_clear {
   cursor: pointer;
   position: absolute;
 .openerp .oe_searchview .oe_searchview_facets {
   display: inline-block;
 }
+.openerp .oe_searchview .oe_searchview_facets:before {
+  color: #cccccc;
+  font-family: "mnmliconsRegular";
+  content: "r";
+  font-size: 150%;
+  padding: 0 1px 0 3px;
+  display: inline;
+}
 .openerp .oe_searchview .oe_searchview_input {
   height: 2em;
   padding: 0 3px;
index b32f1d5..eabcae1 100644 (file)
@@ -828,14 +828,6 @@ $colour4: #8a89ba
         @include radius(1em)
         @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset)
 
-        &:before
-            color: #ccc
-            font-family: "mnmliconsRegular"
-            content: "r"
-            font-size: 150%
-            padding: 0 1px 0 3px
-            display: inline
-
         .oe_searchview_clear
             cursor: pointer
             position: absolute
@@ -861,6 +853,13 @@ $colour4: #8a89ba
 
         .oe_searchview_facets
             display: inline-block
+            &:before
+                color: #ccc
+                font-family: "mnmliconsRegular"
+                content: "r"
+                font-size: 150%
+                padding: 0 1px 0 3px
+                display: inline
 
         .oe_searchview_input
             height: 2em