소스 검색

fixed mobile responsive display

Bachir Soussi Chiadmi 8 년 전
부모
커밋
6fee348360
2개의 변경된 파일11개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 1
      sites/all/themes/gui/materiobasetheme/css/styles.css
  2. 7 3
      sites/all/themes/gui/materiobasetheme/scss/styles.scss

+ 4 - 1
sites/all/themes/gui/materiobasetheme/css/styles.css

@@ -7853,7 +7853,10 @@ body.home-v2 #center {
         #home-v2 > .panel-panel > div > .panel-pane.bdd .group-content-wrapper {
           display: block;
           width: 100%;
-          z-index: 1; }
+          z-index: 1;
+          padding: 0; }
+          #home-v2 > .panel-panel > div > .panel-pane.bdd .group-content-wrapper > * {
+            padding: 1em; }
         #home-v2 > .panel-panel > div > .panel-pane.bdd:after {
           opacity: 0.6;
           z-index: 0; } }

+ 7 - 3
sites/all/themes/gui/materiobasetheme/scss/styles.scss

@@ -3204,7 +3204,8 @@ body.home-v2{
           opacity:0.4;
         }
       }
-    }
+    } // end showrom
+
     &.bdd{
       @include shaddowed();
       height:450px;
@@ -3245,10 +3246,13 @@ body.home-v2{
         .field-name-field-bandeau{
           width:100%; display:block; height:310px; overflow:hidden;
         }
-        .group-content-wrapper{display:block; width:100%; z-index:1;}
+        .group-content-wrapper{
+          display:block; width:100%; z-index:1; padding: 0;
+          >*{padding:1em;}
+        }
         &:after{opacity:0.6; z-index:0;}
       }
-    }
+    } // end BDD
 
     &.formations{
       @include shaddowed();