diff options
| author | Frédéric van der Essen <fva@openerp.com> | 2012-11-23 14:55:14 +0100 |
|---|---|---|
| committer | Frédéric van der Essen <fva@openerp.com> | 2012-11-23 14:55:14 +0100 |
| commit | a0e96bfa47142e347a9fe92aea33ebd320af5561 (patch) | |
| tree | a976488b317a83f5a77d973f4c25877b5774fc88 /addons/web/static/src/css | |
| parent | 49013fa458428c2f3974ec628b5f8f697ec40bb8 (diff) | |
[IMP] new arrow for empty search results
bzr revid: fva@openerp.com-20121123135514-t5tb2ygwg4dal5sx
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 14 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 11 |
2 files changed, 20 insertions, 5 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 45cd8ef70aa..fae87452d84 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"); @@ -1912,12 +1912,20 @@ max-width: 700px; } .openerp .oe_view_nocontent .oe_view_nocontent_create { - background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 7px 0; margin-top: 0; padding-top: 35px; - min-height: 28px; color: #4c4c4c; } +.openerp .oe_view_nocontent .oe_view_nocontent_create:before { + content: ""; + display: inline-block; + position: absolute; + width: 70px; + height: 80px; + margin-left: -80px; + margin-top: -10px; + background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px; +} .openerp .oe_view_nocontent > p { padding-left: 95px; } diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 442c9d5e026..e4481716d8d 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1536,11 +1536,18 @@ $sheet-padding: 16px font-size: 125% max-width: 700px .oe_view_nocontent_create - background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 7px 0 margin-top: 0 padding-top: 35px - min-height: 28px color: #4c4c4c + &:before + content: "" + display: inline-block + position: absolute + width: 70px + height: 80px + margin-left: -80px + margin-top: -10px + background: transparent url(/web/static/src/img/view_empty_arrow.png) no-repeat 0px 0px > p padding-left: 95px .oe_empty_custom_dashboard |
