diff options
| author | Yannick Tivisse <yti@odoo.com> | 2015-04-27 11:39:04 +0200 |
|---|---|---|
| committer | Richard Mathot <rim@odoo.com> | 2015-05-13 13:42:28 +0200 |
| commit | 5748d98a89501e33815ce79530ebbe3161f7ecea (patch) | |
| tree | 9cd29fc764806b71c662345948d7074f2b6d972c /addons/web/static/src/css | |
| parent | c7a7d66bbc3f20863c6b6367e1d0273a83540a15 (diff) | |
[FIX] web : Trying to reconnect banner was creating a banner
each time the rpc_error function was called. There was several call
to setInterval method, and several block were created with the same
content.
Also, the banner was not centered, and a blur effect was created
by the fa-spin class
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 7 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index c8a1eec698b..d9c17ea6465 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -38,14 +38,15 @@ .oe_indicator { z-index: 99999; position: absolute; - top: 10px; display: inline-block; color: white; - background: #a24689; + background: #a4498b; padding: 6px 16px; border-radius: 4px; box-shadow: 0 0 1px black; - left: 40%; + left: 50%; + transform: translate(-50%, 0); + -webkit-filter: blur(0); } .oe_notification { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 255559543c5..ac4742f2598 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -148,14 +148,15 @@ $sheet-padding: 16px .oe_indicator z-index: 99999 position: absolute - top: 10px display: inline-block color: white - background: #a24689 + background: #a4498b padding: 6px 16px border-radius: 4px box-shadow: 0 0 1px black - left: 40% + left: 50% + transform: translate(-50%, 0) + -webkit-filter: blur(0) .oe_notification z-index: 1600 |
