From 74a4f4b6957dd25cc36f3867483cd2a9511ef177 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Tue, 13 Mar 2018 19:13:42 +0100 Subject: [PATCH] fix chutier popup z-index --- .../themes/custom/edlptheme/assets/dist/styles/app.min.css | 6 +++--- sites/all/themes/custom/edlptheme/assets/styles/app.scss | 2 +- .../themes/custom/edlptheme/assets/styles/base/_layout.scss | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sites/all/themes/custom/edlptheme/assets/dist/styles/app.min.css b/sites/all/themes/custom/edlptheme/assets/dist/styles/app.min.css index f892d6ddc..4632d967e 100644 --- a/sites/all/themes/custom/edlptheme/assets/dist/styles/app.min.css +++ b/sites/all/themes/custom/edlptheme/assets/dist/styles/app.min.css @@ -1096,7 +1096,7 @@ body, html { padding: 0; } header[role="banner"] { - z-index: 1; + z-index: 2; position: relative; padding: 0 1em; } header[role="banner"] > .wrapper { @@ -1131,7 +1131,7 @@ main[role="main"] { pointer-events: auto; } footer[role="contentinfo"] { - z-index: 5; + z-index: 2; position: fixed; bottom: 0; -webkit-box-sizing: content-box; @@ -1468,6 +1468,7 @@ body.ajax-loading main[role="main"]:before { background-image: url(../img/audio-player-pause.svg); } .chutier-icon { + z-index: 1; display: block; position: relative; width: 1em; @@ -1487,7 +1488,6 @@ body.ajax-loading main[role="main"]:before { .chutier-icon.not-logedin { overflow: visible; } .chutier-icon .popup { - z-index: 10; display: none; position: absolute; top: 0; diff --git a/sites/all/themes/custom/edlptheme/assets/styles/app.scss b/sites/all/themes/custom/edlptheme/assets/styles/app.scss index b972849b4..405fd8891 100644 --- a/sites/all/themes/custom/edlptheme/assets/styles/app.scss +++ b/sites/all/themes/custom/edlptheme/assets/styles/app.scss @@ -395,6 +395,7 @@ main[role="main"]{ // |___/\__|\_,_\__,_|_\___/ .chutier-icon{ $s:1em; + z-index: 1; display: block; position: relative; width:$s;height:$s; @@ -416,7 +417,6 @@ main[role="main"]{ overflow: visible; } .popup{ - z-index: 10; display:none; position: absolute; top:0; left:0; diff --git a/sites/all/themes/custom/edlptheme/assets/styles/base/_layout.scss b/sites/all/themes/custom/edlptheme/assets/styles/base/_layout.scss index 52713f892..31e456880 100644 --- a/sites/all/themes/custom/edlptheme/assets/styles/base/_layout.scss +++ b/sites/all/themes/custom/edlptheme/assets/styles/base/_layout.scss @@ -20,7 +20,7 @@ body, html{ header[role="banner"]{ // outline: 1px solid blue; - z-index: 1; + z-index: 2; position: relative; padding:0 1em; >.wrapper{ @@ -62,7 +62,7 @@ main[role="main"]{ footer[role="contentinfo"]{ // outline: 1px solid pink; - z-index: 5; + z-index: 2; position:fixed; bottom:0; box-sizing: content-box;