This commit is contained in:
armansansd 2023-06-30 12:01:14 +01:00
parent 2337038abc
commit e3d2d6389a
7 changed files with 31 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -302,9 +302,23 @@ if($(".page-node-type-programme").length > 0 || $(".page-node-type-projet").leng
$('.views-element-container header').click(function(){
$(this).parent().find(".view-grouping").fadeToggle();
$(this).parent().find(".views-row").fadeToggle();
$(this).parent().find(".views-row:visible").fadeToggle();
$(this).parent().find("h3").fadeToggle();
});
//page projet
$("#programme_toc-block_10 h3").click(function(){
console.log(this);
$(this).nextUntil("h3").fadeToggle();
});
//page programme
$("#programme_toc-block_4 h3").click(function(){
console.log(this);
$(this).nextUntil("h3").fadeToggle();
});
$('.view-grouping-header').click(function(){
$(this).parent().find(".view-grouping-content").slideToggle();

View File

@ -60,7 +60,7 @@ article, .paragraph{
}
.block-region-third{
h2{
margin: 1.5rem 0 .5rem 0;
//margin: 1.5rem 0 .5rem 0;
}
.field_document{
padding: 0.5rem 0.5rem;

View File

@ -86,6 +86,12 @@
background: $col-exode !important;
}
}
.last-news .programme-883{
.views-field:not(.views-field-field-image){
background: $col-transition !important;
}
}
.last-news{
margin-top: 2rem;
height: auto;

View File

@ -427,7 +427,9 @@
h3{
display: none;
padding-left: .4rem;
margin-bottom: .4rem;
font-weight: 600;
cursor: pointer;
}
}
@ -444,6 +446,7 @@
a.prog-palpite-link,
a.prog-ressources-link,
a.prog-exodeurbain-link{
text-transform: uppercase;
font-family: "duke";
font-size: $font-large;
cursor: pointer;
@ -487,7 +490,7 @@
.views-row, .view-grouping{
display: none;
padding: 0 0 0 1.2rem;
margin-bottom: .5rem;
margin-bottom: .1rem;
a{
text-decoration: none;
&:hover{

View File

@ -12,7 +12,9 @@
h3{
display: none;
padding-left: .4rem;
margin-bottom: .4rem;
font-weight: 600;
cursor: pointer;
}
}
// @include breakpoint(small down) {
@ -65,7 +67,7 @@
.views-row, .view-grouping{
display: none;
padding: 0 0 0 1.2rem;
margin-bottom: .5rem;
margin-bottom: .1rem;
a{
text-decoration: none;
&:hover{