Compare commits

..

No commits in common. "d35a3a314088770a1af19b6d19398643195ae830" and "b8e851e6f58dbb18ca07f8782fe78a49e1d81557" have entirely different histories.

9 changed files with 49 additions and 173 deletions

File diff suppressed because one or more lines are too long

View File

@ -292,11 +292,6 @@ header .language-switcher-language-url ul .is-active {
header {
height: 100vh;
}
header header {
position: relative;
flex-direction: column;
height: auto !important;
}
}
header .contextual-region {
width: max-content;
@ -808,11 +803,16 @@ footer {
margin: 1rem 2rem;
background-color: transparent;
}
@media (max-width: 810px) {
@media (max-width: 891px) {
.layout-sidebar-first {
margin-left: 5%;
margin-top: 9rem;
}
}
@media (max-width: 500px) {
.layout-sidebar-first {
position: relative;
width: 80%;
top: 160px;
margin-top: 3rem;
}
}
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1,
@ -821,13 +821,6 @@ footer {
padding: 0.3rem 1rem 1rem 1rem;
width: 100%;
}
@media (max-width: 810px) {
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1,
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 {
display: flex;
flex-direction: column;
}
}
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1 h2,
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 h2 {
text-transform: uppercase;
@ -838,26 +831,6 @@ footer {
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 h2::after {
content: " :";
}
@media (max-width: 810px) {
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1 form .js-form-item,
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 form .js-form-item {
display: flex;
flex-direction: column;
justify-content: space-between;
}
}
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1 form .js-form-item input,
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 form .js-form-item input {
max-width: 100%;
}
@media (max-width: 810px) {
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1 form,
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 form {
display: flex;
flex-direction: column;
justify-content: space-between;
}
}
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1 .js-form-type-select,
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 .js-form-type-select {
display: flex;
@ -886,12 +859,6 @@ footer {
font-family: "gilroy-medium";
padding-bottom: 0.2rem;
}
@media (max-width: 810px) {
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1 .js-form-type-select select,
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 .js-form-type-select select {
width: 100%;
}
}
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1 .js-form-type-textfield label,
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 .js-form-type-textfield label {
text-transform: lowercase;
@ -911,7 +878,6 @@ footer {
background-color: white;
border: solid black 0.5px;
width: 45%;
max-width: 100% !important;
padding: 0.3rem 0.2rem;
font-size: 0.7rem;
font-family: "gilroy-light";
@ -1602,12 +1568,6 @@ footer {
flex-direction: column;
flex-wrap: wrap;
}
@media (max-width: 810px) {
#actus-caroussel .content-actus .view-rows-wrapper {
margin-left: 5%;
width: 90%;
}
}
#actus-caroussel .content-actus .view-rows-wrapper .views-row {
display: flex;
margin: auto;
@ -1629,12 +1589,6 @@ footer {
grid-template-columns: 1fr 2fr;
grid-template-rows: repeat(5 1fr);
}
@media (max-width: 810px) {
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu {
display: flex;
flex-direction: column;
}
}
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images {
grid-column: 1;
grid-row: 1/span 5;
@ -3384,6 +3338,8 @@ body {
#page-node .content_container .node-type-actualite div .field_body {
order: 2;
padding-bottom: 2rem;
opacity: 1 !important;
display: block !important;
font-family: "gilroy-light";
}
#page-node .content_container .node-type-actualite div .field_body p {
@ -4042,12 +3998,6 @@ main {
#ressources {
background-color: #f6f7f3;
}
@media (max-width: 810px) {
#ressources main {
display: flex;
flex-direction: column-reverse;
}
}
#ressources .layout-content .content_container {
display: flex;
flex-direction: column;
@ -4062,9 +4012,7 @@ main {
}
@media (max-width: 810px) {
#ressources .layout-content .content_container #block-quartiers-de-demain-titredepage {
display: flex;
margin: auto;
margin-top: 10rem;
margin-top: 14rem;
}
}
#ressources .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
@ -4079,12 +4027,6 @@ main {
margin-left: 15%;
width: 60%;
}
@media (max-width: 810px) {
#ressources .layout-content .content_container .views-element-container {
margin-left: 0%;
width: 90%;
}
}
#ressources .layout-content .content_container .views-element-container h3 {
text-align: center;
}
@ -4327,12 +4269,6 @@ main {
background-color: white;
padding-bottom: 0;
}
@media (max-width: 810px) {
#actualites main {
display: flex;
flex-direction: column-reverse;
}
}
#actualites .layout-container main {
padding-top: 250px;
}
@ -4350,8 +4286,6 @@ main {
}
@media (max-width: 810px) {
#actualites .layout-content .content_container #block-quartiers-de-demain-titredepage {
display: flex;
margin: auto;
margin-top: 14rem;
}
}
@ -4379,12 +4313,6 @@ main {
flex-direction: row;
align-items: center;
}
@media (max-width: 810px) {
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row {
margin-left: 5%;
width: 90%;
}
}
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row:not(:last-of-type) {
border-bottom: solid black 0.5px;
}
@ -4396,12 +4324,6 @@ main {
grid-template-columns: 1fr 2fr;
grid-template-rows: repeat(5 1fr);
}
@media (max-width: 810px) {
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu {
display: flex;
flex-direction: column;
}
}
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images {
grid-column: 1;
grid-row: 1/span 5;

View File

@ -709,7 +709,7 @@ if (documentsLiensWrapper && blockRegionThird) {
}
});
/////////////////// start langswitcher position responsive//////////////////////
document.addEventListener("DOMContentLoaded", function () {
// Fonction pour déplacer le bloc en fonction de la taille de l'écran
function moveLanguageSwitcher() {
@ -733,7 +733,7 @@ moveLanguageSwitcher();
window.addEventListener("resize", moveLanguageSwitcher);
});
/////////////////// end langswitcher position responsive///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////
/////////////// start class à view-rows-ressources ////////
$(document).ready(function () {
@ -811,7 +811,7 @@ $(document).ready(function () {
/////////////////// start voir plus... actualite dans /actualites & /home ////////////////////
$(document).ready(function () {
if ($("#actualites" ).length > 0 || $("#home").length > 0) {
// if ($("#actualites").length > 0) {
$(".node-type-actualite").each(function () {
let article = $(this);
@ -831,7 +831,7 @@ $(document).ready(function () {
$(this).toggleClass("open");
});
});
}
// }
});

View File

@ -42,8 +42,8 @@
.field_body {
order: 2;
padding-bottom: 2rem;
// opacity:1 !important;
// display: block !important;
opacity:1 !important;
display: block !important;
font-family: "gilroy-light" ;
p{
font-size: 0.8rem;

View File

@ -5,10 +5,6 @@
main{
background-color:white ;
padding-bottom: 0;
@media(max-width: 810px){
display: flex;
flex-direction: column-reverse;
}
}
.layout-container main{
padding-top: $header-height-big;
@ -28,8 +24,6 @@
margin-bottom: 4rem;
width: 70%;
@media(max-width: 810px){
display: flex;
margin:auto;
margin-top: 14rem;
}
h1{
@ -53,6 +47,8 @@
flex-wrap: wrap;
background-color: white;
// margin-left: 20%;
.views-row{
width: 60%;
@ -63,10 +59,6 @@
display: flex;
flex-direction: row;
align-items: center;
@media(max-width: 810px){
margin-left: 5%;
width: 90%;
}
&:not(:last-of-type){
border-bottom: solid black 0.5px;}
.node-type-actualite{
@ -77,10 +69,6 @@
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: repeat(5 1fr);
@media(max-width: 810px){
display: flex;
flex-direction: column;
}
.field_field_images{
grid-column: 1;
grid-row: 1 /span 5;

View File

@ -2,15 +2,9 @@
#ressources{
background-color: #f6f7f3;
main{
@media(max-width: 810px){
display: flex;
flex-direction: column-reverse;
}
}
.layout-content{
// padding-top: 1rem;
.content_container{
display: flex;
flex-direction: column;
@ -23,9 +17,7 @@
margin-bottom: 1rem;
width: 70%;
@media(max-width: 810px){
display: flex;
margin:auto;
margin-top: 10rem;
margin-top: 14rem;
}
h1{
width: fit-content;
@ -41,10 +33,6 @@
.views-element-container{
margin-left: 15%;
width: 60%;
@media(max-width: 810px){
margin-left: 0%;
width: 90%;
}
h3{
&::before{
content:"";

View File

@ -33,11 +33,7 @@
width: 65%;
display: flex;
flex-direction: column;
flex-wrap: wrap;
@media(max-width: 810px){
margin-left: 5%;
width: 90%;
}
flex-wrap: wrap;
.views-row{
display: flex;
margin: auto;
@ -58,10 +54,6 @@
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: repeat(5 1fr);
@media(max-width: 810px){
display: flex;
flex-direction: column;
}
.field_field_images{
grid-column: 1;
grid-row: 1 /span 5;

View File

@ -7,22 +7,38 @@
// z-index: 98;
margin: 1rem 2rem;
background-color: transparent;
@media(max-width: 810px){
position: relative;
width: 80%;
top: $header-height-pad;
}
@media(max-width:891px){
margin-left: 5%;
margin-top: 9rem;
}
@media (max-width:500px) {
width: 80%;
margin-top: 3rem;
}
// #block-quartiers-de-demain-formulaireexposeactuspage-1{
// h2{
// text-transform: uppercase;
// font-family: "gilroy-medium";
// font-size: 0.7rem;
// &::after{
// content: ' :';
// }
// }
// label{
// text-transform: lowercase;
// font-size: 0.7rem;
// font-family: 'gilroy-light';
// }
// }
#block-quartiers-de-demain-formulaireexposeressourcespage-1,
#block-quartiers-de-demain-formulaireexposeactuspage-1{
background-color: white;
padding: 0.3rem 1rem 1rem 1rem;
width: 100%;
@media(max-width: 810px){
display: flex;
flex-direction: column;
}
h2{
text-transform: uppercase;
font-family: "gilroy-medium";
@ -31,26 +47,6 @@
content: ' :';
}
}
form{
.js-form-item{
@media(max-width: 810px){
display: flex;
flex-direction: column;
justify-content: space-between;
}
input{
max-width: 100%;
}
}
@media(max-width: 810px){
display: flex;
flex-direction: column;
justify-content: space-between;
}
}
.js-form-type-select{
display: flex;
flex-direction: row;
@ -74,9 +70,6 @@
font-size: 0.6rem;
font-family: 'gilroy-medium';
padding-bottom: 0.2rem;
@media(max-width: 810px){
width: 100%;
}
}
}
.js-form-type-textfield{
@ -97,11 +90,10 @@
background-color: white;
border: solid black 0.5px;
width: 45%;
max-width: 100% !important;
padding: 0.3rem 0.2rem;
font-size: 0.7rem;
font-family: 'gilroy-light';
}
}
}
}
}

View File

@ -53,11 +53,6 @@ header{
@media(max-width: 810px){
height: 100vh;
header {
position: relative;
flex-direction: column;
height: auto !important;
}
}
.contextual-region{
@ -196,7 +191,6 @@ header{
// text-align:left;
// height: fit-content;
}
@media(max-width: 500px){
flex: 0 0 40%;
}