[IMP] search: softer CSS for search autocompletion popup
authorOlivier Dony <odo@openerp.com>
Tue, 1 Jul 2014 00:08:47 +0000 (02:08 +0200)
committerOlivier Dony <odo@openerp.com>
Tue, 1 Jul 2014 00:08:47 +0000 (02:08 +0200)
addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass

index a52cfb2..1917396 100644 (file)
   position: absolute;
   width: 300px;
   background-color: white;
-  border: 1px solid black;
+  border: 1px solid #afafb6;
   z-index: 666;
-  margin-top: 5px;
+  margin-top: 2px;
   cursor: default;
+  -moz-border-radius: 3px;
+  -webkit-border-radius: 3px;
+  border-radius: 3px;
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
 }
 .openerp .oe_searchview .oe-autocomplete ul {
   list-style-type: none;
   padding-left: 0;
-  margin: 5px;
+  margin: 5px 0px;
 }
 .openerp .oe_searchview .oe-autocomplete ul li {
   padding-left: 20px;
index 76e56b2..cb30ffe 100644 (file)
@@ -1294,14 +1294,16 @@ $sheet-padding: 16px
             position: absolute
             width: 300px
             background-color: white
-            border: 1px solid black
+            border: 1px solid #afafb6
             z-index: 666
-            margin-top: 5px
+            margin-top: 2px
             cursor: default
+            @include radius(3px)
+            @include box-shadow(0 1px 4px rgba(0, 0, 0, 0.3))
             ul
                 list-style-type: none
                 padding-left: 0
-                margin: 5px
+                margin: 5px 0px
                 li
                     padding-left: 20px
                     text-shadow: 0 0 0 white