From 6fee348360e4c7c3ae80d149735a034173f3b0ef Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Wed, 15 Jun 2016 13:28:12 +0200 Subject: [PATCH] fixed mobile responsive display --- sites/all/themes/gui/materiobasetheme/css/styles.css | 5 ++++- sites/all/themes/gui/materiobasetheme/scss/styles.scss | 10 +++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/sites/all/themes/gui/materiobasetheme/css/styles.css b/sites/all/themes/gui/materiobasetheme/css/styles.css index 2cbc7b21..0a7f7620 100644 --- a/sites/all/themes/gui/materiobasetheme/css/styles.css +++ b/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; } } diff --git a/sites/all/themes/gui/materiobasetheme/scss/styles.scss b/sites/all/themes/gui/materiobasetheme/scss/styles.scss index 731afc89..b3661541 100644 --- a/sites/all/themes/gui/materiobasetheme/scss/styles.scss +++ b/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();