summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/banner.scss
diff options
context:
space:
mode:
authoreco-odoo <eco@odoo.com>2018-07-03 10:28:44 +0200
committerYannick Tivisse <yti@odoo.com>2018-07-20 11:59:12 +0200
commitc1498ff36be4ce0b175f340e2f5690a37421ccd7 (patch)
tree498abacd2425b83c54759a4565ddb95702947639 /addons/web/static/src/scss/banner.scss
parent0dd6a0b2bf0be0698d21e039ad4ead33133d8267 (diff)
[IMP] web: add option to display a banner above a view
Add a banner_route attribute to AbstractView to allow fetching html from a controller route and displaying it above the view. The initial use case was the onboarding panels. Supported views are the ones inheriting both AbstractView and AbstractController.
Diffstat (limited to 'addons/web/static/src/scss/banner.scss')
-rw-r--r--addons/web/static/src/scss/banner.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/banner.scss b/addons/web/static/src/scss/banner.scss
new file mode 100644
index 00000000000..b119d9ab273
--- /dev/null
+++ b/addons/web/static/src/scss/banner.scss
@@ -0,0 +1,5 @@
+.o_has_banner {
+ .o_view_nocontent {
+ top: 30%;
+ }
+}