This commit is contained in:
Kevin Tessier 2019-05-28 16:46:46 +02:00
parent 55356da898
commit efc5ac8bdc
8 changed files with 1983 additions and 3537 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 2.2 MiB

View File

@ -552,7 +552,6 @@
} }
.content_s{ .content_s{
width: calc(60% - 30px); width: calc(60% - 30px);
} }
.icones{ .icones{
margin: 70px 0; margin: 70px 0;
@ -721,18 +720,30 @@
p{ p{
color: white; color: white;
width: 300px; width: 300px;
margin: 0 20px 20px 20px;
border-left: 1px solid white;
padding-left: 20px;
a{ a{
color: white; color: white;
text-decoration: underline; text-decoration: underline;
} }
} }
&.open{ &.open{
// bottom: 0;
z-index: 999; z-index: 999;
background: $dark-blue; background: $dark-blue;
.item{
display: block;
}
}
h3{
color: $green;
}
}
.item{
display: none;
margin: 0 0px 20px 20px;
border-left: 1px solid white;
padding-left: 20px;
img{
width: 50px;
margin-bottom: 10px;
} }
} }
} }
@ -852,8 +863,30 @@
font-family: $Bold; font-family: $Bold;
} }
} }
svg{
pointer-events: none;
}
.mapsalles{ .mapsalles{
width: 50%; width: 50%;
.contour{
position: relative;
z-index: 1;
pointer-events: none;
}
.fond{
position: absolute;
z-index:0;
top: 110px;
path{
fill: none;
pointer-events: all;
transition: fill 0.3s ease;
&:hover{
fill: $light-blue!important;
transition: fill 0.3s ease;
}
}
}
} }
.content_salle{ .content_salle{
position: absolute; position: absolute;

View File

@ -27,9 +27,11 @@
{% embed 'partials/layout.html.twig' %} {% embed 'partials/layout.html.twig' %}
{% block item %} {% block item %}
<div class="content"> <div class="content">
<div class="txt">
<h2>{{page.title}}</h2> <h2>{{page.title}}</h2>
{{content}} {{content}}
</div> </div>
</div>
{% endblock %} {% endblock %}
{% endembed %} {% endembed %}

View File

@ -1,14 +1,24 @@
{% set options = { items: {'@page.self': '/nos-references'}, 'limit': 1 } %} {% set options = { items: {'@page.self': '/nos-references'}, 'limit': 1 } %}
{% set image = page.media.images|first %}
{% set h5 = h5 ?: 'h2' %} {% set h5 = h5 ?: 'h2' %}
<div id="reco"> <div id="reco">
{% for p in page.collection(options)%} {% for p in page.collection(options)%}
<div class="txt"> <div class="txt">
{{p.content}} {% for item in p.collection %}
</div> {% set image = item.media.images|first %}
<div class="title"> <div class="item">
<{{h5}}>{{p.title}}</{{h5}}> {% if image %}
{{ image.html('','logo') }}
{% endif %}
<h3>{{item.title}}</h3>
{{item.content}}
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
<div class="title">
<{{h5}}>{{p.title}}</{{h5}}>
</div>
{% endfor %}
</div>

File diff suppressed because it is too large Load Diff