summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorstd-odoo <std@odoo.com>2020-09-23 06:53:38 +0000
committerstd-odoo <std@odoo.com>2020-09-23 07:03:59 +0000
commit8d35540df6d21af6fe716f73aefa37bfb66c7ac2 (patch)
treee3b543eec02970c320b1045117923e289c9f934b /addons/website/static/src
parentb39f39b598d3a930034f9981712cf5ec41ad301c (diff)
[FIX] website_slides: hide the website default header in fullscreen
Bug === You can enter in a fullscreen mode in the frontend, of the slide channel. In this view, the default website header should not be visible. To do that, we play with z-index, but since 0f2cab4aebcc33ca9e278c9395fed2cc8934ed38 , the z-index of the website header has been changed without changing the z-index of the fullscreen view. Task-2345016 closes odoo/odoo#58284 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/website/static/src')
-rw-r--r--addons/website/static/src/scss/website.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss
index b1bc9e27d1e..629f2b67573 100644
--- a/addons/website/static/src/scss/website.scss
+++ b/addons/website/static/src/scss/website.scss
@@ -794,10 +794,12 @@ $-hamburger-left: o-website-value('hamburger-position') == 'left';
$-hamburger-center: o-website-value('hamburger-position') == 'center';
$-hamburger-right: o-website-value('hamburger-position') == 'right';
+$zindex-website-header: $zindex-modal - 20;
+
header {
&#top {
// We need this z-index for the shadow option of the header
- z-index: $zindex-modal - 20;
+ z-index: $zindex-website-header;
}
&:not(.o_header_no_transition) {
#top_menu_container {