$c.= '<h2>' . $s->titre . '</h2>';
$c.='<h3>' . $s->description . '</h3>';
+ // Todo: display names of secondary categories (via join?) using IDs in: $s->tags_secondaires);
+
+
return $this->link($c, $url, array('data-cat' => $s->categories)) . ' '; // Space needed between elements for justified alignment
}
echo $this->CasestudiesList($datas);
?>
</div>
-</div>
\ No newline at end of file
+
+ <p class="casestudies-archive-link">
+ <?php echo $this->linkInternal(__('Voir les archives') . $this->linkArrow(), 'Portfolio', array('class' => 'arrow-link')); ?>
+ </p>
+
+</div>
$menulink.click(function () {
$menulink.toggleClass('active');
$menu.toggleClass('active');
- //$menulink.parent().toggleClass('menu-active');
+ $menulink.parent().toggleClass('menu-active');
return false;
});
$("[name='viewport']").attr("content", "width=device-width, initial-scale=1.0");
}
-}
\ No newline at end of file
+}
// Settings specific to the isotope grid
&.grid {
display: none; // Hidden until Isotope is ready
- margin-bottom: 50px;
}
a {
.casestudies-detail-content {
background-color: @yellow;
-}
\ No newline at end of file
+}
+
+.casestudies-archive-link {
+ margin-bottom: 4em;
+ text-align: right;
+}
&-symbol, &-text {
display: inline-block;
+ height: 100%;
+
svg {
- height: 48px;
+ height: 100%;
width: auto;
}
}
.nav-icon:after,
.nav-icon:before,
.nav-icon div {
- background-color: #fff;
+ background-color: currentColor;
border-radius: 3px;
content: '';
display: block;
.nav-icon.active:after,
.nav-icon.active:before,
.nav-icon.active div {
- background-color: #fff;
+ background-color: currentColor;
+
+ // When menu is open, background is white so icon must be black
+ .menu-active & {
+ background-color: #000;
+ }
}
.nav-icon.active {
height: auto;
height: 130px;
z-index: 10;
+
+ // When menu is open, white background is in place so force dark colour
+ &.menu-active {
+ color: #222428 !important;
+ }
}
nav[role=navigation] {
- background-color: #222428;
+ background-color: #fff;
//margin: 0 -20px; // To offset the 20px margin from .content
}
a {
border: none !important;
+
+ &:after {
+ display: none;
+ }
}
}
a {
- color: #fff !important;
+ color: currentColor;
display: block;
&:hover {
border-radius: 0;
// -webkit-animation: bg-anim 15s linear 1s infinite;
// transform: scale(1);
display: block;
- z-index: -2;
+ //z-index: -2; // Why was this here?? Doesn't seem to be needed and causes a bug with first slide display now
}
> div {
}
}
-}
\ No newline at end of file
+}