debugg js oppacity body

This commit is contained in:
Ouidade Soussi Chiadmi 2025-03-28 15:59:52 +01:00
parent b8e851e6f5
commit a9ed7254ea
7 changed files with 48 additions and 14 deletions

File diff suppressed because one or more lines are too long

View File

@ -292,6 +292,11 @@ 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;
@ -806,13 +811,14 @@ footer {
@media (max-width: 891px) {
.layout-sidebar-first {
margin-left: 5%;
margin-top: 9rem;
top: 550px;
}
}
@media (max-width: 500px) {
.layout-sidebar-first {
width: 80%;
margin-top: 3rem;
position: relative;
top: 550px;
}
}
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1,
@ -831,6 +837,10 @@ footer {
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 h2::after {
content: " :";
}
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeressourcespage-1 .js-form-item input,
.layout-sidebar-first #block-quartiers-de-demain-formulaireexposeactuspage-1 .js-form-item input {
max-width: 100%;
}
.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;
@ -878,6 +888,7 @@ 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";
@ -3338,8 +3349,6 @@ 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 {
@ -4313,6 +4322,11 @@ main {
flex-direction: row;
align-items: center;
}
@media (max-width: 500px) {
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row {
margin-left: 5%;
}
}
#actualites .layout-content .content_container .views-element-container .view-rows-wrapper .views-row:not(:last-of-type) {
border-bottom: solid black 0.5px;
}

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) {
if ($("#actualites" ).length > 0 || $("#home").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

@ -59,6 +59,10 @@
display: flex;
flex-direction: row;
align-items: center;
@media (max-width:500px) {
margin-left: 5%;
}
&:not(:last-of-type){
border-bottom: solid black 0.5px;}
.node-type-actualite{

View File

@ -10,11 +10,15 @@
@media(max-width:891px){
margin-left: 5%;
margin-top: 9rem;
// margin-top: 9rem;
top: $width-menu-slidedown;
}
@media (max-width:500px) {
width: 80%;
margin-top: 3rem;
// margin-top: 3rem;
position: relative;
top: $width-menu-slidedown;
}
@ -47,6 +51,11 @@
content: ' :';
}
}
.js-form-item{
input{
max-width: 100%;
}
}
.js-form-type-select{
display: flex;
flex-direction: row;
@ -90,10 +99,11 @@
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,6 +53,11 @@ header{
@media(max-width: 810px){
height: 100vh;
header {
position: relative;
flex-direction: column;
height: auto !important;
}
}
.contextual-region{
@ -191,6 +196,7 @@ header{
// text-align:left;
// height: fit-content;
}
@media(max-width: 500px){
flex: 0 0 40%;
}