This commit is contained in:
parent
fded5af68d
commit
7da0aec99a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -319,17 +319,7 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
|
|||||||
$(this).toggleClass("rotate");
|
$(this).toggleClass("rotate");
|
||||||
|
|
||||||
});
|
});
|
||||||
//oucvrir le premier
|
|
||||||
// $(".field_titre")[0].click();
|
|
||||||
|
|
||||||
// $(".field_equipes").parent().find("h2").on("click", function(){
|
|
||||||
// $(this).toggleClass("rotate");
|
|
||||||
// if($(".field_equipes").is(":visible")){
|
|
||||||
// $(".field_equipes").fadeOut("slow");
|
|
||||||
// }else{
|
|
||||||
// $(".field_equipes").fadeIn("slow");
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
$(".field_partenaires").parent().find("h2").on("click", function(){
|
$(".field_partenaires").parent().find("h2").on("click", function(){
|
||||||
$(this).toggleClass("rotate");
|
$(this).toggleClass("rotate");
|
||||||
if($(".field_partenaires").is(":visible")){
|
if($(".field_partenaires").is(":visible")){
|
||||||
@ -341,6 +331,17 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(".field_equipes").parent().find("h2").on("click", function(){
|
||||||
|
$(this).toggleClass("rotate");
|
||||||
|
if($(".field_equipes").is(":visible")){
|
||||||
|
$(".field_equipes").fadeOut("slow");
|
||||||
|
}else{
|
||||||
|
$(".field_equipes").fadeIn("slow", function(){
|
||||||
|
$(this).css("display","grid")
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
$(".block-region-second .body").on("click", ".more", function(){
|
$(".block-region-second .body").on("click", ".more", function(){
|
||||||
|
|
||||||
$(".body").toggleClass("body_open");
|
$(".body").toggleClass("body_open");
|
||||||
|
@ -505,7 +505,7 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-top: -.5rem;
|
margin-top: .5rem;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
a{
|
a{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -532,13 +532,13 @@
|
|||||||
|
|
||||||
grid-column: 1;
|
grid-column: 1;
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
margin-bottom: -.5rem;
|
// margin-bottom: -.5rem;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr;
|
||||||
grid-gap: 10px;
|
grid-gap: 10px;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
position: relative;
|
position: absolute;
|
||||||
div{
|
div{
|
||||||
padding: .02rem .3rem;
|
padding: .02rem .3rem;
|
||||||
}
|
}
|
||||||
@ -622,16 +622,49 @@
|
|||||||
content: "ville";
|
content: "ville";
|
||||||
}
|
}
|
||||||
#node\:field_equipes{
|
#node\:field_equipes{
|
||||||
|
border-bottom: 3px dotted gray;
|
||||||
|
|
||||||
h2{
|
h2{
|
||||||
font-family: "trueno" !important;
|
font-family: "trueno" !important;
|
||||||
font-size: 1rem;
|
font-size: $font-big;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
text-transform: none;
|
text-transform: initial;
|
||||||
|
cursor: pointer;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 95% 5%;
|
||||||
|
align-content: center;
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2:after{
|
||||||
|
content: '▼';
|
||||||
|
-webkit-transition: all 250ms ease;
|
||||||
|
-moz-transition: all 250ms ease;
|
||||||
|
-o-transition: all 250ms ease;
|
||||||
|
transition: all 250ms ease;
|
||||||
|
align-self: center;
|
||||||
|
justify-self: center;
|
||||||
|
}
|
||||||
|
// h2:after{
|
||||||
|
// transform: rotate(180deg);
|
||||||
|
// -webkit-transition: all 250ms ease;
|
||||||
|
// -moz-transition: all 250ms ease;
|
||||||
|
// -o-transition: all 250ms ease;
|
||||||
|
// transition: all 250ms ease;
|
||||||
|
// }
|
||||||
|
.rotate:after{
|
||||||
|
transform: rotate(180deg);
|
||||||
|
-webkit-transition: all 250ms ease;
|
||||||
|
-moz-transition: all 250ms ease;
|
||||||
|
-o-transition: all 250ms ease;
|
||||||
|
transition: all 250ms ease;
|
||||||
|
}
|
||||||
.field_type_equipe{
|
.field_type_equipe{
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
.field_equipes{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user