added contact footer on home V2

This commit is contained in:
Bachir Soussi Chiadmi 2015-07-16 15:02:15 +02:00
parent feef7951cd
commit 54f496acad
5 changed files with 71 additions and 6 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@ _base_d7.tmproj
node_modules node_modules
.sass-cache .sass-cache
typescript

View File

@ -325,6 +325,38 @@ function materio_home_v2_default_page_manager_pages() {
$pane->uuid = '639eb2c7-bf5d-4920-b1bb-c33d8f72a650'; $pane->uuid = '639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
$display->content['new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'] = $pane; $display->content['new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'] = $pane;
$display->panels['middle'][8] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650'; $display->panels['middle'][8] = 'new-639eb2c7-bf5d-4920-b1bb-c33d8f72a650';
$pane = new stdClass();
$pane->pid = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
$pane->panel = 'middle';
$pane->type = 'node';
$pane->subtype = 'node';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'nid' => '11175',
'links' => 0,
'leave_node_title' => 0,
'identifier' => '',
'build_mode' => 'full',
'link_node_title' => 0,
'override_title' => 1,
'override_title_text' => '<none>',
'override_title_heading' => 'h2',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'contact-pane',
'css_class' => '',
);
$pane->extras = array();
$pane->position = 9;
$pane->locks = array();
$pane->uuid = 'ab2ebbf2-7338-4db9-8df4-8b825058f98d';
$display->content['new-ab2ebbf2-7338-4db9-8df4-8b825058f98d'] = $pane;
$display->panels['middle'][9] = 'new-ab2ebbf2-7338-4db9-8df4-8b825058f98d';
$display->hide_title = PANELS_TITLE_NONE; $display->hide_title = PANELS_TITLE_NONE;
$display->title_pane = '0'; $display->title_pane = '0';
$handler->conf['display'] = $display; $handler->conf['display'] = $display;

View File

@ -11888,6 +11888,25 @@ body.not-logged-in #home-v2 .field-name-field-liens a.member {
opacity: 0.4; opacity: 0.4;
} }
} }
/* line 3360, ../scss/styles.scss */
#home-v2 #contact-pane {
margin: 2em 0;
padding: 1em;
background-color: #e6e6e6;
}
/* line 3363, ../scss/styles.scss */
#home-v2 #contact-pane .field-name-body {
text-align: center;
}
/* line 3365, ../scss/styles.scss */
#home-v2 #contact-pane .field-name-body p {
display: moz-inline-stack;
display: inline-block;
vertical-align: top;
zoom: 1;
*display: inline;
min-width: 20%;
}
/* /*
_ __ _ __
@ -11897,7 +11916,7 @@ body.not-logged-in #home-v2 .field-name-field-liens a.member {
/____/_/_/ /_/ /_/ .___/_/\___/_/ /_/\___/|__/|__/____/ /____/_/_/ /_/ /_/ .___/_/\___/_/ /_/\___/|__/|__/____/
/_/ /_/
*/ */
/* line 3370, ../scss/styles.scss */ /* line 3383, ../scss/styles.scss */
.node-type-simplenews img { .node-type-simplenews img {
max-width: none !important; max-width: none !important;
} }

View File

@ -3356,6 +3356,19 @@ body.home-v2{
&:after{z-index: -1; opacity:0.4;} &:after{z-index: -1; opacity:0.4;}
} }
} }
#contact-pane{
margin:2em 0; padding:1em;
background-color: #e6e6e6;
.field-name-body{
text-align: center;
p{
@include inlineblock();
min-width: 20%;
}
}
}
} // homeV2 } // homeV2
/* /*
@ -3374,4 +3387,4 @@ body.home-v2{
@import "misc.scss"; @import "misc.scss";
// end // end

View File

@ -1,10 +1,10 @@
<!-- start article.node --> <!-- start article.node -->
<article class="<?php print $classes; ?>"> <article class="<?php print $classes; ?>">
<?php if ($page == 0): ?> <?php if ($page == 0 && $title !== ""): ?>
<a href="<?php print $node_url?>"><h1 class="nodetitle"><?php print $title?></h1></a> <a href="<?php print $node_url?>"><h1 class="nodetitle"><?php print $title?></h1></a>
<?php endif; ?> <?php endif; ?>
<section class="content"> <section class="content">
<?php <?php
hide($content['comments']); hide($content['comments']);
@ -12,7 +12,7 @@
print render($content); print render($content);
?> ?>
</section> </section>
<?php //if ($submitted): ?> <?php //if ($submitted): ?>
<!-- <aside class="submitted"> --> <!-- <aside class="submitted"> -->
<?php //print $submitted?> <?php //print $submitted?>
@ -24,6 +24,6 @@
<?php print $links; ?> <?php print $links; ?>
</nav> </nav>
<?php endif; ?> <?php endif; ?>
</article> </article>
<!-- end article.node --> <!-- end article.node -->