From d65d251c57bd2a72e3ac91c579f0ff604087e577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Thu, 14 Apr 2016 15:46:19 +0200 Subject: [IMP] base, web: add type=fullscreen to ir_actions With this commit, actions can have a type=fullscreen. This means that the navbar will be hidden, for the action and for all subsequent actions open in the breadcrumb There is no real security behind this, this is just a feature for convenience, so users can bookmark an url an open some action in a way that they are not distracted by anything. In short, this is some kind of light 'kiosk' mode. --- addons/web/static/src/less/webclient_layout.less | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'addons/web/static/src/less/webclient_layout.less') diff --git a/addons/web/static/src/less/webclient_layout.less b/addons/web/static/src/less/webclient_layout.less index 2dab3042aba..ac3af119baa 100644 --- a/addons/web/static/src/less/webclient_layout.less +++ b/addons/web/static/src/less/webclient_layout.less @@ -5,6 +5,16 @@ .o-flex-flow(column, nowrap); overflow: hidden; + &.o_fullscreen { + #oe_main_menu_navbar { + display: none; + } + .o_main .o_sub_menu { + display: none; + } + } + + .navbar { .o-flex(0, 0, auto); -- cgit v1.2.3