correction reco
This commit is contained in:
parent
9978c8eb8a
commit
c8d8afe68a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -125,6 +125,7 @@ function addclass() {
|
||||
$reco_click.on('click', function() {
|
||||
$reco_txt.toggleClass('open');
|
||||
$(this).toggleClass('open');
|
||||
$('html, body').animate({scrollTop:$('#reco').position().top}, 'slow');
|
||||
})
|
||||
|
||||
var $out = $('.opt-out .txt');
|
||||
|
@ -732,13 +732,9 @@
|
||||
}
|
||||
.txt{
|
||||
z-index: -1;
|
||||
position: absolute;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-top: 20px;
|
||||
@include inlineflex;
|
||||
justify-content: center;
|
||||
-webkit-transform: translateY(-100%);
|
||||
transform: translateY(-100%);
|
||||
display: none;
|
||||
p{
|
||||
color: white;
|
||||
width: 300px;
|
||||
@ -748,6 +744,9 @@
|
||||
}
|
||||
}
|
||||
&.open{
|
||||
@include inlineflex;
|
||||
justify-content: center;
|
||||
padding-top: 20px;
|
||||
z-index: 999;
|
||||
background: $dark-blue;
|
||||
.item{
|
||||
@ -759,7 +758,6 @@
|
||||
}
|
||||
}
|
||||
.item{
|
||||
display: none;
|
||||
margin: 0 0px 20px 20px;
|
||||
border-left: 1px solid white;
|
||||
padding-left: 20px;
|
||||
|
@ -3,6 +3,11 @@
|
||||
|
||||
<div id="reco">
|
||||
{% for p in page.collection(options)%}
|
||||
|
||||
<div class="title">
|
||||
<{{h5}}>{{p.title}}</{{h5}}>
|
||||
</div>
|
||||
|
||||
<div class="txt">
|
||||
{% for item in p.collection %}
|
||||
{% set image = item.media.images|first %}
|
||||
@ -16,9 +21,5 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="title">
|
||||
<{{h5}}>{{p.title}}</{{h5}}>
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user