diff options
| author | Minh Tran <mit@openerp.com> | 2012-05-10 12:54:14 +0200 |
|---|---|---|
| committer | Minh Tran <mit@openerp.com> | 2012-05-10 12:54:14 +0200 |
| commit | 20daadec7c8e4cc83183663feb7452e04d18ebbf (patch) | |
| tree | 64ab694df193798287ee628ed750786b4b9d4de9 /addons/web/static/src/css | |
| parent | 8b95683d205ec0fdcddf6c466abbfe89b4a00971 (diff) | |
Some styling adjustment in the searchbox
bzr revid: mit@openerp.com-20120510105414-lcrrbg13ep8vldaf
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 13 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 12 |
2 files changed, 13 insertions, 12 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index dddf52fd811..5f54b1eb425 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1,4 +1,4 @@ -@charset "utf-8"; +@charset "UTF-8"; @font-face { font-family: "mnmliconsRegular"; src: url("/web/static/src/font/mnmliconsv21-webfont.eot") format("eot"); @@ -1131,16 +1131,22 @@ } .openerp .oe_searchview .VS-search .VS-search-box { min-height: 0; - border-width: 1px; padding: 0; width: 480px; margin-bottom: 8px; + border: 1px solid #ababab; + -moz-border-radius: 13px; + -webkit-border-radius: 13px; + border-radius: 13px; + -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) inset; + -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 .VS-search .VS-icon { top: 6px; } .openerp .oe_searchview .VS-search .VS-icon-search { - left: 4px; + left: 2px; top: 3px; height: 18px; width: 18px; @@ -1165,7 +1171,6 @@ height: 22px; } .openerp .oe_searchview .VS-search .VS-search-inner .search_input input, .openerp .oe_searchview .VS-search .VS-search-inner .search_input .VS-input-width-tester { - padding: 0 2px; height: inherit; margin: 0; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 0a1eb7c9d3d..f0f6270f1f8 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -883,24 +883,21 @@ $colour4: #8a89ba .VS-search .VS-search-box min-height: 0 - border-width: 1px padding: 0 width: 480px margin-bottom: 8px - //border: 1px solid #ababab - //margin-top: 0 - //margin-bottom: 0 + border: 1px solid #ababab + @include radius(13px) + @include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset) //padding: 4px 19px //font-size: 13px //background: url('../img/search.png') no-repeat 5px //background-color: white - //@include radius(13px) - //@include box-shadow(0 1px 2px rgba(0,0,0,0.2) inset) .VS-icon top: 6px .VS-icon-search - left: 4px + left: 2px top: 3px height: 18px width: 18px @@ -924,7 +921,6 @@ $colour4: #8a89ba margin-left: 0 height: 22px input, .VS-input-width-tester - padding: 0 2px height: inherit margin: 0 |
