maj css
This commit is contained in:
parent
ee4865107c
commit
57562dd207
@ -16,6 +16,16 @@ form:
|
|||||||
fields:
|
fields:
|
||||||
content:
|
content:
|
||||||
fields:
|
fields:
|
||||||
|
header.txtimg:
|
||||||
|
type: fieldset
|
||||||
|
title: Texte images
|
||||||
|
help: Écriver le texte qui sera affiché sur l'image
|
||||||
|
text: Écriver le texte qui sera affiché sur l'image
|
||||||
|
fields:
|
||||||
|
header.txtimg.text:
|
||||||
|
type: text
|
||||||
|
label: Texte
|
||||||
|
|
||||||
header.entete:
|
header.entete:
|
||||||
type: fieldset
|
type: fieldset
|
||||||
title: Texte en-tête
|
title: Texte en-tête
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -70,7 +70,7 @@ function slide() {
|
|||||||
infiniteLoop: true,
|
infiniteLoop: true,
|
||||||
preloadImages:'visible',
|
preloadImages:'visible',
|
||||||
pager:false,
|
pager:false,
|
||||||
auto:true,
|
auto:true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@ -78,6 +78,7 @@ function slide() {
|
|||||||
responsive: true,
|
responsive: true,
|
||||||
pager:true,
|
pager:true,
|
||||||
preloadImages:'visible',
|
preloadImages:'visible',
|
||||||
|
auto:true
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -134,6 +135,8 @@ function mapsalles() {
|
|||||||
var $salles = $('.fond svg path');
|
var $salles = $('.fond svg path');
|
||||||
var $content = $('.content .content_salle');
|
var $content = $('.content .content_salle');
|
||||||
arrayid = [];
|
arrayid = [];
|
||||||
|
$('.content .content_salle:not(#salle_trois_becs)').css("display", "none");
|
||||||
|
$('.fond svg path#salle_trois_becs').css("fill", "#0093a3");
|
||||||
|
|
||||||
$salles.on('click', function() {
|
$salles.on('click', function() {
|
||||||
var idsalle = this.id;
|
var idsalle = this.id;
|
||||||
|
@ -72,6 +72,30 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 554px;
|
max-height: 554px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center;
|
||||||
|
background-size: cover;
|
||||||
|
.title_gal{
|
||||||
|
position: absolute;
|
||||||
|
right: 25%;
|
||||||
|
max-width: 50%;
|
||||||
|
background: $light-blue;
|
||||||
|
padding: 25px;
|
||||||
|
top: 27vw;
|
||||||
|
color: $white;
|
||||||
|
p{
|
||||||
|
font-family: now_alt_bold;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 2.2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
img{
|
||||||
|
width: 70%;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.container{
|
.container{
|
||||||
@ -347,7 +371,7 @@
|
|||||||
.entete_c{
|
.entete_c{
|
||||||
@include inlineflex;
|
@include inlineflex;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 66%;
|
width: 70%;
|
||||||
margin: 50px auto;
|
margin: 50px auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
@ -705,7 +729,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.open{
|
&.open{
|
||||||
h5:after{
|
h2:after{
|
||||||
-webkit-transform: rotate(180deg);
|
-webkit-transform: rotate(180deg);
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
}
|
}
|
||||||
@ -911,7 +935,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 300px;
|
top: 300px;
|
||||||
width: 30%;
|
width: 40%;
|
||||||
background: white;
|
background: white;
|
||||||
& > p{
|
& > p{
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
@ -25,6 +25,11 @@
|
|||||||
{% if image %}
|
{% if image %}
|
||||||
<div class="bandeau">
|
<div class="bandeau">
|
||||||
{{ image.html('','bandeau') }}
|
{{ image.html('','bandeau') }}
|
||||||
|
{% if header.txtimg.text %}
|
||||||
|
<div class="title_gal">
|
||||||
|
<p>{{header.txtimg.text}}</p>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if header.entete.text == true %}
|
{% if header.entete.text == true %}
|
||||||
|
@ -1000,11 +1000,13 @@
|
|||||||
|
|
||||||
{% for item in page.collection %}
|
{% for item in page.collection %}
|
||||||
<div class="content_salle" id="{{ macro.pageLinkName(item.title) }}">
|
<div class="content_salle" id="{{ macro.pageLinkName(item.title) }}">
|
||||||
{% set child_image = item.media.images|first %}
|
{% set child_image = item.media.images %}
|
||||||
<h3>{{item.title}}</h3>
|
<h3>{{item.title}}</h3>
|
||||||
{% if image %}
|
{% if image %}
|
||||||
<div class="gal-salles">
|
<div class="gal-salles">
|
||||||
{{child_image.html('', 'salles')}}
|
{% for img in child_image %}
|
||||||
|
{{img}}
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{item.content}}
|
{{item.content}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user