fixed mobile responsive display
This commit is contained in:
parent
9c97849d78
commit
74f8c52af3
@ -3675,9 +3675,7 @@ body.home-v2 #main {
|
||||
vertical-align: middle; }
|
||||
@media only screen and (max-width: 40em) {
|
||||
#tool-bar .inner-content {
|
||||
padding: 0; }
|
||||
#tool-bar .inner-content h1 {
|
||||
line-height: 0.5; } }
|
||||
padding: 0; } }
|
||||
.oldie #tool-bar {
|
||||
background-color: #B1ADAD;
|
||||
padding: 0 10px; }
|
||||
@ -6454,11 +6452,12 @@ article.node-materiau.vm-cardfull, article.node-breve.vm-cardfull {
|
||||
padding: 0; }
|
||||
|
||||
/*
|
||||
_____ _____ _____ _____ __ _____ _____ _____ _ _ _ _____
|
||||
| __| | | _ | | | __| | | __| | | | __|
|
||||
|__ |- -| | | | __| |__| __| | | | __| | | |__ |
|
||||
|_____|_____|_|_|_|__| |_____|_____|_|___|_____|_____|_____|
|
||||
|
||||
_ __
|
||||
_____(_)___ ___ ____ / /__ ____ ___ _ _______
|
||||
/ ___/ / __ `__ \/ __ \/ / _ \/ __ \/ _ \ | /| / / ___/
|
||||
(__ ) / / / / / / /_/ / / __/ / / / __/ |/ |/ (__ )
|
||||
/____/_/_/ /_/ /_/ .___/_/\___/_/ /_/\___/|__/|__/____/
|
||||
/_/
|
||||
*/
|
||||
body.node-type-simplenews #content .inner-content {
|
||||
text-align: center; }
|
||||
@ -6473,6 +6472,17 @@ body.node-type-simplenews #content article.node.node-simplenews {
|
||||
padding: 1em 0; }
|
||||
body.node-type-simplenews #content article.node.node-simplenews tbody {
|
||||
border-top: 0px; }
|
||||
@media only screen and (max-width: 40em) {
|
||||
body.node-type-simplenews #content article.node.node-simplenews {
|
||||
max-width: 100%;
|
||||
overflow-x: hidden; }
|
||||
body.node-type-simplenews #content article.node.node-simplenews table, body.node-type-simplenews #content article.node.node-simplenews tbody, body.node-type-simplenews #content article.node.node-simplenews tr, body.node-type-simplenews #content article.node.node-simplenews td {
|
||||
display: block;
|
||||
max-width: 100%; }
|
||||
body.node-type-simplenews #content article.node.node-simplenews img {
|
||||
max-width: 100%; }
|
||||
body.node-type-simplenews #content article.node.node-simplenews p {
|
||||
padding-right: 1em; } }
|
||||
|
||||
/*
|
||||
_____ _____ _____ _____ _____ _____ _____ _____ _____ _____ _____
|
||||
@ -7516,7 +7526,8 @@ body.home-v2 #center {
|
||||
font-size: 0.756em; }
|
||||
@media only screen and (max-width: 40em) {
|
||||
#home-v2 > .panel-panel > div > .panel-pane.intro-video .field-name-body p {
|
||||
width: 48%; } }
|
||||
width: 100%;
|
||||
text-align: center; } }
|
||||
@media only screen and (max-width: 40em) {
|
||||
#home-v2 > .panel-panel > div > .panel-pane.intro-video {
|
||||
margin-top: 0.5em; } }
|
||||
@ -7770,16 +7781,12 @@ body.home-v2 #center {
|
||||
z-index: 10; }
|
||||
@media only screen and (max-width: 40em) {
|
||||
#home-v2 > .panel-panel > div > .panel-pane.showroom {
|
||||
height: 210px;
|
||||
margin-top: 10px; }
|
||||
#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .field-name-field-bandeau {
|
||||
position: absolute;
|
||||
width: 200%;
|
||||
width: 400%;
|
||||
height: 100%;
|
||||
overflow: hidden; }
|
||||
#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .field-name-field-bandeau img {
|
||||
margin-top: -100px;
|
||||
margin-left: -200px; }
|
||||
#home-v2 > .panel-panel > div > .panel-pane.showroom .pane-content .group-content-wrapper {
|
||||
width: auto;
|
||||
padding: 2%;
|
||||
@ -8067,10 +8074,25 @@ body.home-v2 #center {
|
||||
@media only screen and (max-width: 40em) {
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 {
|
||||
background-color: transparent; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel.panel-col-first {
|
||||
max-width: 100%; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel:not(.panel-col-first) {
|
||||
display: none; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel {
|
||||
width: 100%; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel .inside {
|
||||
margin: 0; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel .node {
|
||||
max-width: 100%;
|
||||
margin: 0; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel .node .field-name-body {
|
||||
width: 100%;
|
||||
padding: 0; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel .node .field-name-body p {
|
||||
max-width: 100%;
|
||||
padding: 1em; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel .node-simplenews .field-name-body a {
|
||||
padding: 0;
|
||||
display: block;
|
||||
height: 100%; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2 #mini-panel-news_home_v2 .center-wrapper .panel-panel .node-simplenews .field-name-body a img {
|
||||
max-width: 100%; }
|
||||
#home-v2 > .panel-panel > div > .pane-news-home-v2:after {
|
||||
z-index: -1;
|
||||
opacity: 0.4; } }
|
||||
@ -8089,17 +8111,6 @@ body.home-v2 #center {
|
||||
*display: inline;
|
||||
min-width: 20%; }
|
||||
|
||||
/*
|
||||
_ __
|
||||
_____(_)___ ___ ____ / /__ ____ ___ _ _______
|
||||
/ ___/ / __ `__ \/ __ \/ / _ \/ __ \/ _ \ | /| / / ___/
|
||||
(__ ) / / / / / / /_/ / / __/ / / / __/ |/ |/ (__ )
|
||||
/____/_/_/ /_/ /_/ .___/_/\___/_/ /_/\___/|__/|__/____/
|
||||
/_/
|
||||
*/
|
||||
.node-type-simplenews img {
|
||||
max-width: none !important; }
|
||||
|
||||
/*
|
||||
_ _ _ _ _
|
||||
| | | (_) | | (_)
|
||||
|
@ -333,11 +333,11 @@
|
||||
// showroom Image BGD
|
||||
$('.panel-pane.showroom .field-name-field-bandeau img', '#home-v2')
|
||||
.attr('data-400-bottom-top', 'transform:translateY(-20em);')
|
||||
.attr('data-100-top-bottom', 'transform:translateY(5em);');
|
||||
.attr('data-200-top-bottom', 'transform:translateY(5em);');
|
||||
// database TXT
|
||||
$('.panel-pane.bdd .group-content-wrapper', '#home-v2')
|
||||
.attr('data-400-center-top', 'transform:translateX(40em);opacity:0;')
|
||||
.attr('data-100-center-center', 'transform[quadratic]:translateX(0em);opacity[quadratic]:1;');
|
||||
.attr('data-200-center-center', 'transform[quadratic]:translateX(0em);opacity[quadratic]:1;');
|
||||
// database IMG
|
||||
$('.panel-pane.bdd .field-name-field-bandeau img', '#home-v2')
|
||||
.attr('data-400-bottom-top', 'transform:translateX(0em);')
|
||||
|
@ -7,7 +7,7 @@ initLayout();initInfinitScroller();initEvents();initKeyboardShortcuts();initView
|
||||
$.event.trigger({type:'resultschanged',container:'#content>.inner-content'});setTimeout(function(){$.event.trigger({type:'theme-ready'});},100);};function checkIE(){if($('.oldie body').size()&&!readCookie('oldie_checked')){setTimeout(function(){createCookie('oldie_checked',1);alert('Afin de profiter pleinement des fonctionalités de materio.com, nous vous invitons a mettre a jour votre navigateur dans ça denière version. Celui ci n\'étant pas compatible avec les technologie employer par materio.com, vous risquer de rencontrer des difficulter de navigation.');},4000);}};function initHistoryNav(){trace("initHistoryNav _History",_History);var state=_History.getState();_History.Adapter.bind(window,'statechange',onHistoryStateChange);$(document).bind('new-history-page',onNewHistoryPage);};function onNewHistoryPage(event){trace('theme :: onNewHistoryPage',event);var title=event.title.replace(/<(?:.|\n)*?>/gm,'')+' | '+_strings.site_name;_statePushed=true;_History.pushState({content:event.content,pagetitle:event.title},title,event.path);};function onHistoryStateChange(event){trace('theme :: onHistoryStateChange',event);var state=_History.getState();_History.log('statechange:',state.data,state.title,state.url);$.event.trigger({type:'record-stat',path:state.url});$('input[name=location]','#feedback-form').attr('value',state.url);$.event.trigger({type:'materio-page-title-refresh-block',title:state.data.pagetitle});if(!_statePushed){_statePushed=false;$('.inner-content',_$content).html(state.data.content);$.event.trigger('history-state-change');}};function initHome(){$('img.lazy','#block-materio-didactique-materio-didactique-home').each(function(){var $img=$(this);$img.attr('src',$img.attr('data-original'));});if(_max_768()){initHomeDidactiqueMobile();}else{initHomeDidactiqueDesktop();}};function initHomeDidactiqueMobile(){_$homeBlockDidactique=$('#block-materio-didactique-materio-didactique-home');$('.node-didactique',_$homeBlockDidactique).find('.field-name-title-field').bind('click',clickOnHomeDidactiqueTitle);};function clickOnHomeDidactiqueTitle(e){var $node=$(this).parent('.node-didactique');if($node.is('.opened')){$node.removeClass('opened');}else{$('.node-didactique',_$homeBlockDidactique).removeClass('opened');$node.addClass('opened');$('html,body').animate({scrollTop:$node.offset().top-$('#header').h()});}};function initHomeDidactiqueDesktop(){_$homeUtilities=$('#utilities');_$homeBlockDidactique=$('#block-materio-didactique-materio-didactique-home').append('<div class="slides"/>').append('<div class="tabs"/>').bind('mouseenter',function(event){_hoverHomeDidactique=true;}).bind('mouseleave',function(event){_hoverHomeDidactique=false;});$('.node-didactique',_$homeBlockDidactique).each(function(index){if(index){$(this).addClass('op-hidden');}else{$(this).addClass('op-visible');}
|
||||
$('.field-name-title-field',this).clone().addClass(index?'':'active').click(function(event){$(this).addClass('active').siblings().removeClass('active');_$homeBlockDidactique.find('.node-didactique').removeClass('op-visible').addClass('op-hidden').eq(index).removeClass('op-hidden').addClass('op-visible');}).appendTo($('.tabs',_$homeBlockDidactique));}).appendTo($('.slides',_$homeBlockDidactique));if(!_touch){$(document).bind('scroll',function(event){if($(window).scrollTop()==0){if(_$homeUtilities.is('.closed')){_$homeUtilities.removeClass('closed');launchHomeDidactiqueInterval();initLayout();}}else{if(!_$homeUtilities.is('.closed')){_$homeUtilities.addClass('closed');clearInterval(_homeTimeInterval);initLayout();}}});}
|
||||
$(document).bind('cbox_complete',function(){clearInterval(_homeTimeInterval);}).bind('cbox_closed',function(){launchHomeDidactiqueInterval();});$('.side.oops a').click(function(event){event.preventDefault();window.location.href=$(this).attr('href');return false;});};function launchHomeDidactiqueInterval(){_homeTimeInterval=setInterval(function(){if(!_hoverHomeDidactique){var $next=$('.tabs .active',_$homeBlockDidactique).next();if(!$next.length)
|
||||
$next=$('.tabs .active',_$homeBlockDidactique).siblings().eq(0);$next.trigger('click');}},15000);};function initHomeV2(){initCards('#home-v2 .panel-pane.news-panel .panel-col-first .views-row');$('.panel-pane.showroom .group-content-wrapper','#home-v2').attr('data-400-center-top','transform:translateX(-43em);opacity:0;').attr('data-100-center-center','transform[quadratic]:translateX(0em);opacity[quadratic]:1;').attr('data-top-bottom','transform[quadratic]:translateX(10em);');$('.panel-pane.showroom .field-name-field-bandeau img','#home-v2').attr('data-400-bottom-top','transform:translateY(-20em);').attr('data-100-top-bottom','transform:translateY(5em);');$('.panel-pane.bdd .group-content-wrapper','#home-v2').attr('data-400-center-top','transform:translateX(40em);opacity:0;').attr('data-100-center-center','transform[quadratic]:translateX(0em);opacity[quadratic]:1;');$('.panel-pane.bdd .field-name-field-bandeau img','#home-v2').attr('data-400-bottom-top','transform:translateX(0em);').attr('data-100-top-bottom','transform[quadratic]:translateX(-40em);');$('.panel-pane.news-panel .center-wrapper .panel-panel','#home-v2').each(function(i,e){$(this).attr('data-anchor-target',"#news-pane").attr('data--'+(i+1)*75+'-bottom-top','transform:translateY(20em);opacity:0;').attr('data-center-top','transform[quadratic]:translateY(0em);opacity:1;');});$('.panel-pane.formations .group-content-wrapper','#home-v2').attr('data-50-bottom-top','transform:translateX(20em);opacity:0;').attr('data-center-top','transform[quadratic]:translateX(0em);opacity:1;');$('.panel-pane.services .group-content-wrapper','#home-v2').attr('data-50-bottom-top','transform:translateX(20em);opacity:0;').attr('data-center-top','transform[quadratic]:translateX(0em);opacity:1;');$('.panel-pane.publication .views-row','#home-v2').each(function(i,e){$(this).attr('data--'+i*100+'-bottom-top','opacity:0;').attr('data-'+i*50+'-center-center','opacity:1;');});_skrollr=skrollr.init({skrollrBody:"root"});};function initLayout(){if(!_max_768()){var height=$('#header').h()+$('#tasks').h();if(!_max_480()&&!_touch){height+=$('#utilities').h()+15;}
|
||||
$next=$('.tabs .active',_$homeBlockDidactique).siblings().eq(0);$next.trigger('click');}},15000);};function initHomeV2(){initCards('#home-v2 .panel-pane.news-panel .panel-col-first .views-row');$('.panel-pane.showroom .group-content-wrapper','#home-v2').attr('data-400-center-top','transform:translateX(-43em);opacity:0;').attr('data-100-center-center','transform[quadratic]:translateX(0em);opacity[quadratic]:1;').attr('data-top-bottom','transform[quadratic]:translateX(10em);');$('.panel-pane.showroom .field-name-field-bandeau img','#home-v2').attr('data-400-bottom-top','transform:translateY(-20em);').attr('data-200-top-bottom','transform:translateY(5em);');$('.panel-pane.bdd .group-content-wrapper','#home-v2').attr('data-400-center-top','transform:translateX(40em);opacity:0;').attr('data-200-center-center','transform[quadratic]:translateX(0em);opacity[quadratic]:1;');$('.panel-pane.bdd .field-name-field-bandeau img','#home-v2').attr('data-400-bottom-top','transform:translateX(0em);').attr('data-100-top-bottom','transform[quadratic]:translateX(-40em);');$('.panel-pane.news-panel .center-wrapper .panel-panel','#home-v2').each(function(i,e){$(this).attr('data-anchor-target',"#news-pane").attr('data--'+(i+1)*75+'-bottom-top','transform:translateY(20em);opacity:0;').attr('data-center-top','transform[quadratic]:translateY(0em);opacity:1;');});$('.panel-pane.formations .group-content-wrapper','#home-v2').attr('data-50-bottom-top','transform:translateX(20em);opacity:0;').attr('data-center-top','transform[quadratic]:translateX(0em);opacity:1;');$('.panel-pane.services .group-content-wrapper','#home-v2').attr('data-50-bottom-top','transform:translateX(20em);opacity:0;').attr('data-center-top','transform[quadratic]:translateX(0em);opacity:1;');$('.panel-pane.publication .views-row','#home-v2').each(function(i,e){$(this).attr('data--'+i*100+'-bottom-top','opacity:0;').attr('data-'+i*50+'-center-center','opacity:1;');});_skrollr=skrollr.init({skrollrBody:"root"});};function initLayout(){if(!_max_768()){var height=$('#header').h()+$('#tasks').h();if(!_max_480()&&!_touch){height+=$('#utilities').h()+15;}
|
||||
if(!$('html').is(".ie8")){$('#container').animate({'padding-top':height},300);}}};function initInfinitScroller(){$.event.trigger({type:'init-scroller-pager',pager:$('ul.pager','#content')});$(document).bind('scroll',function(event){checkInfinitScroller();});};function checkInfinitScroller(){if($(window).scrollTop()+$(window).height()>getDocHeight()-200){infinitScrollPager();}};function infinitScrollPager(){if($('ul.pager','#content').length){var $nextpage=$('ul.pager .pager-current','#content').next(),href=$('a',$nextpage).attr('href');if(href){$.event.trigger({type:'record-stat',path:href});$.event.trigger({type:'load-scroller-pager',href:href});}}};function initEvents(){$(document).bind('init-layout',initLayout).bind('loading-content',onLoadingContent).bind('loaded-content',onLoadedContent).bind('resultschanged',onResultsChanged).bind('resultscompleted',onResultsCompleted).bind('mybookmarks-block-updated',onMybookmarksBlockUpdate).bind('mylists-block-builded',onMyListsBlockBuilded).bind('mylists-block-updated',onMyListsBlockUpdate).bind('flagGlobalAfterLinkUpdate',onAfterFlaging).bind('record-stat',onRecordStat).bind('view-mode-changed',onViewModeChanged).bind('ajax-register-block-loaded',onAjaxRegisterBlockLoaded);$(window).bind('resize',onResizeWindow);initFlagsEvent();$('#block-user-login h2, #block-menu-menu-top-menu h2').bind('click',function(event){event.preventDefault();$(this).parent('.block').toggleClass('hovered');$('.hovered').not($(this).parent('.block')).removeClass('hovered');return false;});$('#block-materio-search-api-materio-search-api-viewmode .viewmode-link').bind('vm-clicked-active',function(event){$(this).parents('.block').toggleClass('hovered');$('.hovered').not($(this).parents('.block')).removeClass('hovered');});$('#block-materio-search-api-materio-search-api-viewmode .viewmode-link').bind('vm-clicked',function(event){$(this).parents('.block').removeClass('hovered');$('.hovered').not($(this).parents('.block')).removeClass('hovered');});};function onLoadingContent(event){_$content.addClass('faded');$('#materio-search-api-search-form').addClass('loading');};function onLoadedContent(event){_$content.removeClass('faded');$('#materio-search-api-search-form').removeClass('loading');};function onResultsChanged(event){$(document).scrollTop(0);focusCard($('#content .search-results, #content .actuality-items').children('.node:first-child'));onResultsCompleted(event);};function onResultsCompleted(event){checkInfinitScroller();if(event.container!=undefined){setTimeout(function(){initCards(event.container);setUpGrid(event.container);},100);}};function initCards(container){trace('theme :: initCards',container);var $container=$(container);$container.children('.node:not(.listened)').bind('mouseenter focused mousemove click mouseleave',onCardEventDispatcher).each(function(i){protectFigures(this);if(_isLoggedIn){if(!$container.is('.modal-content')){initPreview(this);}else{if(!$(this).is(":first-child")){var $closebtn=$('<section><i class="icon-remove"></i></section>');$closebtn.bind('click',function(){$(this).parents('.node-materiau').remove();});$('nav.nav',this).append($closebtn);}}}}).addClass('listened');};function setUpGrid(container){var $card,top,old_top,col=0,line=0;$(container).children('.node').each(function(i){$card=$(this);top=$card.offset().top;if(old_top!=top){line++;old_top=top;col=0;}
|
||||
col++;$card.attr('column',col).attr('line',line);});};function onViewModeChanged(event){if(_isBreveMateriauNodePage){$.event.trigger('loading-content');var url=_settings.basePath+_settings.pathPrefix+'materio_search_api_ajax/node/'+_themeSettings.node_nid;$.getJSON(url,function(json){$.event.trigger('loaded-content');$('#content>.inner-content').html(json.node);$.event.trigger({type:'resultschanged',container:'#content>.inner-content'});});}};function onCardEventDispatcher(event){var vmode=event.currentTarget.className.match(/vm-([a-z|A-Z]+)/);var cf='on_'+event.type+'_card';var f='on_'+event.type+'_'+vmode[1];if(typeof _this[cf]=='function')
|
||||
_this[cf].call(this,event);if(typeof _this[f]=='function')
|
||||
|
@ -947,7 +947,8 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
|
||||
// margin: 5px;
|
||||
}
|
||||
@media #{$small-only}{
|
||||
padding:0; h1{line-height:0.5;}
|
||||
padding:0;
|
||||
// h1{line-height:0.5;}
|
||||
}
|
||||
}
|
||||
// text-align:right;
|
||||
@ -2177,14 +2178,19 @@ body.print-body-materiau{
|
||||
#edit-mimemail, #edit-locale, #edit-timezone{padding:0;}
|
||||
}
|
||||
} // user
|
||||
|
||||
/*
|
||||
_____ _____ _____ _____ __ _____ _____ _____ _ _ _ _____
|
||||
| __| | | _ | | | __| | | __| | | | __|
|
||||
|__ |- -| | | | __| |__| __| | | | __| | | |__ |
|
||||
|_____|_____|_|_|_|__| |_____|_____|_|___|_____|_____|_____|
|
||||
|
||||
_ __
|
||||
_____(_)___ ___ ____ / /__ ____ ___ _ _______
|
||||
/ ___/ / __ `__ \/ __ \/ / _ \/ __ \/ _ \ | /| / / ___/
|
||||
(__ ) / / / / / / /_/ / / __/ / / / __/ |/ |/ (__ )
|
||||
/____/_/_/ /_/ /_/ .___/_/\___/_/ /_/\___/|__/|__/____/
|
||||
/_/
|
||||
*/
|
||||
// .node-type-simplenews{
|
||||
// img{
|
||||
// max-width: none !important;
|
||||
// }
|
||||
// }
|
||||
body.node-type-simplenews{
|
||||
#content{
|
||||
.inner-content{
|
||||
@ -2197,6 +2203,20 @@ body.node-type-simplenews{
|
||||
tbody{
|
||||
border-top:0px;
|
||||
}
|
||||
|
||||
@media #{$small-only}{
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
// .field-name-body{position: relative;}
|
||||
table, tbody, tr,td{
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
img{max-width: 100%;}
|
||||
p{
|
||||
padding-right: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2989,7 +3009,8 @@ body.home-v2{
|
||||
font-size:0.756em;
|
||||
|
||||
@media #{$small-only}{
|
||||
width:48%;
|
||||
width:100%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3163,12 +3184,11 @@ body.home-v2{
|
||||
z-index:10;
|
||||
}
|
||||
@media #{$small-only}{
|
||||
height:210px;
|
||||
// height:210px;
|
||||
margin-top: 10px;
|
||||
.pane-content{
|
||||
.field-name-field-bandeau{
|
||||
position:absolute; width:200%; height:100%; overflow:hidden;
|
||||
img{margin-top:-100px; margin-left:-200px;}
|
||||
position:absolute; width:400%; height:100%; overflow:hidden;
|
||||
}
|
||||
.group-content-wrapper{
|
||||
width:auto;
|
||||
@ -3414,8 +3434,24 @@ body.home-v2{
|
||||
@media #{$small-only}{
|
||||
background-color: transparent;
|
||||
#mini-panel-news_home_v2 .center-wrapper{
|
||||
.panel-panel.panel-col-first{max-width:100%;}
|
||||
.panel-panel:not(.panel-col-first){display:none;}
|
||||
.panel-panel{
|
||||
width:100%;
|
||||
.inside{margin:0;}
|
||||
.node{
|
||||
max-width: 100%; margin:0;
|
||||
.field-name-body{
|
||||
width: 100%; padding:0;
|
||||
p{max-width: 100%; padding: 1em;}
|
||||
}
|
||||
}
|
||||
.node-simplenews{
|
||||
.field-name-body a{
|
||||
padding: 0; display: block; height:100%;
|
||||
img{max-width: 100%;}
|
||||
}
|
||||
}
|
||||
}
|
||||
// .panel-panel:not(.panel-col-first){display:none;}
|
||||
}
|
||||
&:after{z-index: -1; opacity:0.4;}
|
||||
}
|
||||
@ -3435,19 +3471,6 @@ body.home-v2{
|
||||
|
||||
} // homeV2
|
||||
|
||||
/*
|
||||
_ __
|
||||
_____(_)___ ___ ____ / /__ ____ ___ _ _______
|
||||
/ ___/ / __ `__ \/ __ \/ / _ \/ __ \/ _ \ | /| / / ___/
|
||||
(__ ) / / / / / / /_/ / / __/ / / / __/ |/ |/ (__ )
|
||||
/____/_/_/ /_/ /_/ .___/_/\___/_/ /_/\___/|__/|__/____/
|
||||
/_/
|
||||
*/
|
||||
.node-type-simplenews{
|
||||
img{
|
||||
max-width: none !important;
|
||||
}
|
||||
}
|
||||
/*
|
||||
_ _ _ _ _
|
||||
| | | (_) | | (_)
|
||||
|
Loading…
x
Reference in New Issue
Block a user