瀏覽代碼

fix chutier popup z-index

Bachir Soussi Chiadmi 7 年之前
父節點
當前提交
74a4f4b695

+ 3 - 3
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;

+ 1 - 1
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;

+ 2 - 2
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;