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