actualites js et css
This commit is contained in:
parent
fa077a52ed
commit
886e31588c
File diff suppressed because one or more lines are too long
@ -1568,7 +1568,7 @@ footer {
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row {
|
||||
display: flex;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
@ -1581,21 +1581,21 @@ footer {
|
||||
align-items: center;
|
||||
border-bottom: solid black 0.5px;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite {
|
||||
width: 85%;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
grid-template-rows: repeat(5 1fr);
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images {
|
||||
#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;
|
||||
width: 250px;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@ -1603,17 +1603,17 @@ footer {
|
||||
margin: auto;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list {
|
||||
margin: auto;
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list .cadre-img-zoom {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list .cadre-img-zoom {
|
||||
display: flex;
|
||||
margin: auto;
|
||||
width: 250px;
|
||||
height: auto;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list .cadre-img-zoom img {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list .cadre-img-zoom img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
@ -1622,46 +1622,46 @@ footer {
|
||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
||||
border-radius: 9px; /* CSS3 */
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list blockquote.image-field-caption {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list blockquote.image-field-caption {
|
||||
margin: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list blockquote.image-field-caption p {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list blockquote.image-field-caption p {
|
||||
margin-top: 0;
|
||||
font-size: 0.4rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button {
|
||||
margin: auto;
|
||||
transform: none;
|
||||
top: 30%;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button:before {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button:before {
|
||||
transform: scale(0.4) !important;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button:before:hover {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button:before:hover {
|
||||
filter: brightness(1.75);
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button.slick-next {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button.slick-next {
|
||||
right: 15%;
|
||||
padding: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button.slick-prev {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama button.slick-prev {
|
||||
left: 5%;
|
||||
padding: 0;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_date,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_title,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_body,
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite,
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_date,
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_site,
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_title,
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_body,
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_liens {
|
||||
grid-column: 2;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite {
|
||||
order: 2;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite a {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite a {
|
||||
text-transform: uppercase;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
@ -1669,7 +1669,7 @@ footer {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite a::before {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite a::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 16px; /* Ajuste la largeur */
|
||||
@ -1679,7 +1679,7 @@ footer {
|
||||
background-repeat: no-repeat;
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_date {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_date {
|
||||
order: 3;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
@ -1687,7 +1687,7 @@ footer {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_date::before {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_date::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 16px; /* Ajuste la largeur */
|
||||
@ -1697,10 +1697,10 @@ footer {
|
||||
background-repeat: no-repeat;
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_site {
|
||||
order: 4;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site a {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_site a {
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
@ -1708,7 +1708,7 @@ footer {
|
||||
align-items: center;
|
||||
padding-left: 0.2rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site a::before {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_site a::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 10px; /* Ajuste la largeur */
|
||||
@ -1718,40 +1718,40 @@ footer {
|
||||
background-repeat: no-repeat;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_title {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_title {
|
||||
order: 5;
|
||||
line-height: 1rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_title a {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_title a {
|
||||
color: rgb(7, 50, 194);
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_title h2 {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_title h2 {
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0;
|
||||
padding-left: 0;
|
||||
font-family: "gilroy-medium";
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_sous_titre {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_sous_titre {
|
||||
color: rgb(7, 50, 194);
|
||||
font-family: "gilroy-light";
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_body {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_body {
|
||||
order: 6;
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
font-family: "gilroy-light";
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_body p {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_body p {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_liens {
|
||||
order: 7;
|
||||
padding: 0;
|
||||
width: fit-content;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding-left: 0.5rem;
|
||||
@ -1765,16 +1765,16 @@ footer {
|
||||
font-size: 0.6rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a svg {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a svg {
|
||||
display: none;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a::after {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a::after {
|
||||
display: inline-flex;
|
||||
content: url("../img/noun-arrow-to-right.svg");
|
||||
padding-right: 0.2rem;
|
||||
padding-left: 0.2rem;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .toggle-actualite {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .toggle-actualite {
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
@ -1788,9 +1788,37 @@ footer {
|
||||
cursor: pointer;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
#actus-caroussel .content-actus .views-row .toggle-actualite.open {
|
||||
#actus-caroussel .content-actus .view-rows-wrapper .views-row .toggle-actualite.open {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
#actus-caroussel .content-actus footer #block-block-content764294aa-409f-4668-88bf-dc71e186915c {
|
||||
display: flex;
|
||||
}
|
||||
#actus-caroussel .content-actus footer #block-block-content764294aa-409f-4668-88bf-dc71e186915c .field_field_link {
|
||||
width: fit-content;
|
||||
margin: auto;
|
||||
}
|
||||
#actus-caroussel .content-actus footer #block-block-content764294aa-409f-4668-88bf-dc71e186915c .field_field_link a {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding-left: 0.5rem;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: white;
|
||||
background: black;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.6rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
#actus-caroussel .content-actus footer #block-block-content764294aa-409f-4668-88bf-dc71e186915c .field_field_link a svg {
|
||||
display: none;
|
||||
}
|
||||
#actus-caroussel .content-actus footer #block-block-content764294aa-409f-4668-88bf-dc71e186915c .field_field_link a::after {
|
||||
display: inline-flex;
|
||||
content: url("../img/noun-arrow-to-right.svg");
|
||||
padding-right: 0.2rem;
|
||||
padding-left: 0.2rem;
|
||||
}
|
||||
|
||||
header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-header {
|
||||
opacity: 0;
|
||||
@ -2034,6 +2062,9 @@ body {
|
||||
}
|
||||
|
||||
/*pages*/
|
||||
#home {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
#home .config_pages--type--diaporama-home {
|
||||
position: relative;
|
||||
}
|
||||
@ -3008,6 +3039,9 @@ body {
|
||||
font-size: 2rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
.partenaires .layout-content .content_container #block-quartiers-de-demain-titredepage .field_intro {
|
||||
visibility: visible;
|
||||
}
|
||||
.partenaires .layout-content .content_container .views-element-container {
|
||||
width: 80%;
|
||||
}
|
||||
@ -3306,14 +3340,13 @@ body {
|
||||
padding-bottom: 2rem;
|
||||
opacity: 1 !important;
|
||||
display: block !important;
|
||||
font-family: "gilroy-light";
|
||||
}
|
||||
#page-node .content_container .node-type-actualite div .field_body p {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
#page-node .content_container .node-type-actualite div .field_field_liens {
|
||||
order: 3;
|
||||
padding-bottom: 2rem;
|
||||
padding-top: 2rem;
|
||||
width: fit-content;
|
||||
}
|
||||
#page-node .content_container .node-type-actualite div .field_field_liens a {
|
||||
@ -3367,6 +3400,7 @@ body {
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
#page-node .content_container .node-type-actualite .infos-actu .field_field_type_d_actualite a::before {
|
||||
content: url("../img/type-actu.svg");
|
||||
@ -3383,6 +3417,9 @@ body {
|
||||
content: url("../img/date-actu.svg");
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
#page-node .content_container .toggle-actualite {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.node-type-site .layout-content {
|
||||
margin-top: 2rem;
|
||||
@ -4206,6 +4243,7 @@ main {
|
||||
|
||||
#actualites main {
|
||||
background-color: white;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
#actualites .layout-container main {
|
||||
padding-top: 250px;
|
||||
|
@ -764,7 +764,7 @@ $(document).ready(function () {
|
||||
let typeField = article.find(".field_field_type_d_actualite");
|
||||
|
||||
// Vérifier si les deux éléments existent
|
||||
if (dateField.length > 0 && typeField.length > 0) {
|
||||
if (dateField.length > 0 || typeField.length > 0) {
|
||||
// Vérifier si l'encapsulation n'existe pas déjà
|
||||
if (article.find(".infos-actu").length === 0) {
|
||||
// Créer un conteneur et y insérer les éléments
|
||||
|
@ -44,14 +44,15 @@
|
||||
padding-bottom: 2rem;
|
||||
opacity:1 !important;
|
||||
display: block !important;
|
||||
font-family: "gilroy-light" ;
|
||||
p{
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
.field_field_liens{
|
||||
order: 3;
|
||||
padding-bottom: 2rem;
|
||||
padding-top: 2rem;
|
||||
// padding-bottom: 2rem;
|
||||
// padding-top: 2rem;
|
||||
width: fit-content;
|
||||
|
||||
a{
|
||||
@ -115,6 +116,7 @@
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
&::before{
|
||||
content: url('../img/type-actu.svg');
|
||||
padding-right: 0.4rem;
|
||||
@ -136,7 +138,9 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
.toggle-actualite{
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
// }
|
||||
|
@ -4,6 +4,7 @@
|
||||
// background-color:white !important;
|
||||
main{
|
||||
background-color:white ;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.layout-container main{
|
||||
padding-top: $header-height-big;
|
||||
|
@ -1,4 +1,5 @@
|
||||
#home{
|
||||
padding-bottom: 0;
|
||||
.config_pages--type--diaporama-home{
|
||||
position: relative;
|
||||
.diaporama{
|
||||
@ -108,26 +109,18 @@
|
||||
}
|
||||
}
|
||||
h6{
|
||||
// flex: 1 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex: 0 0 40%;
|
||||
// padding-right: 2rem;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 2rem !important;
|
||||
width: fit-content;
|
||||
color: white;
|
||||
background: black;
|
||||
// padding-left: 0.5rem;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.6rem;
|
||||
margin-bottom: 0.3rem;
|
||||
// margin: auto;
|
||||
// padding-bottom: 2rem;
|
||||
// @media(max-width: 1090px){
|
||||
// padding-top: 0 ;
|
||||
// margin-top: 0;
|
||||
// }
|
||||
|
||||
a{
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
@ -19,6 +19,9 @@
|
||||
font-size: 2rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
.field_intro{
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
.views-element-container{
|
||||
&::before{
|
||||
|
@ -34,258 +34,287 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.views-row{
|
||||
display: flex;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
font-size: 0.5rem;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
border-bottom: solid black 0.5px;
|
||||
.node-type-actualite{
|
||||
width: 85%;
|
||||
// padding-bottom: 2rem;
|
||||
|
||||
.content-wrapper-actu{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
grid-template-rows: repeat(5 1fr);
|
||||
.field_field_images{
|
||||
grid-column: 1;
|
||||
grid-row: 1 /span 5;
|
||||
width: 250px;
|
||||
// display: flex;
|
||||
// margin: auto;
|
||||
margin-right: 1rem;
|
||||
|
||||
.actu-diaporama{
|
||||
// height: 150px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center !important;
|
||||
margin:auto;
|
||||
.views-row{
|
||||
display: flex;
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
font-size: 0.5rem;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
border-bottom: solid black 0.5px;
|
||||
.node-type-actualite{
|
||||
width: 85%;
|
||||
// padding-bottom: 2rem;
|
||||
|
||||
.content-wrapper-actu{
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 2fr;
|
||||
grid-template-rows: repeat(5 1fr);
|
||||
.field_field_images{
|
||||
grid-column: 1;
|
||||
grid-row: 1 /span 5;
|
||||
width: 250px;
|
||||
// display: flex;
|
||||
// margin: auto;
|
||||
margin-right: 1rem;
|
||||
.slick-list{
|
||||
margin: auto;
|
||||
padding-top: 0 !important;
|
||||
.cadre-img-zoom{
|
||||
display: flex;
|
||||
|
||||
.actu-diaporama{
|
||||
// height: 150px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center !important;
|
||||
margin:auto;
|
||||
margin-right: 1rem;
|
||||
.slick-list{
|
||||
margin: auto;
|
||||
width: 250px;
|
||||
height: auto;
|
||||
img{
|
||||
width: 100%;
|
||||
padding-top: 0 !important;
|
||||
.cadre-img-zoom{
|
||||
display: flex;
|
||||
margin: auto;
|
||||
width: 250px;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
-moz-border-radius: 9px; /* pour Mozilla */
|
||||
-khtml-border-radius: 9px; /* pour Safari et Chrome */
|
||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
||||
border-radius: 9px; /* CSS3 */
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
object-fit: cover;
|
||||
-moz-border-radius: 9px; /* pour Mozilla */
|
||||
-khtml-border-radius: 9px; /* pour Safari et Chrome */
|
||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
||||
border-radius: 9px; /* CSS3 */
|
||||
}
|
||||
}
|
||||
blockquote.image-field-caption{
|
||||
margin: 0;
|
||||
p{
|
||||
margin-top: 0;
|
||||
font-size: 0.4rem;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
blockquote.image-field-caption{
|
||||
margin: 0;
|
||||
p{
|
||||
margin-top: 0;
|
||||
font-size: 0.4rem;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
button{
|
||||
margin: auto;
|
||||
transform: none;
|
||||
top: 30%;
|
||||
height: 0;
|
||||
width: 0;
|
||||
&:before{
|
||||
transform: scale(0.4) !important;
|
||||
&:hover{
|
||||
filter: brightness(1.75);
|
||||
button{
|
||||
margin: auto;
|
||||
transform: none;
|
||||
top: 30%;
|
||||
height: 0;
|
||||
width: 0;
|
||||
&:before{
|
||||
transform: scale(0.4) !important;
|
||||
&:hover{
|
||||
filter: brightness(1.75);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
button.slick-next{
|
||||
right: 15% ;
|
||||
padding: 0;
|
||||
}
|
||||
button.slick-prev{
|
||||
left: 5%;
|
||||
padding: 0;
|
||||
button.slick-next{
|
||||
right: 15% ;
|
||||
padding: 0;
|
||||
}
|
||||
button.slick-prev{
|
||||
left: 5%;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.field_field_type_d_actualite,
|
||||
.field_field_date,
|
||||
.field_field_site,
|
||||
.field_title,
|
||||
.field_body,
|
||||
.field_field_liens{
|
||||
grid-column: 2;
|
||||
|
||||
}
|
||||
.field_field_type_d_actualite{
|
||||
order: 2;
|
||||
a{
|
||||
text-transform: uppercase;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
&::before{
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 16px; /* Ajuste la largeur */
|
||||
height: 16px; /* Ajuste la hauteur */
|
||||
background-image: url('../img/type-actu.svg');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
// margin-right: 0.4rem;
|
||||
padding-right: 0.4rem;
|
||||
.field_field_type_d_actualite,
|
||||
.field_field_date,
|
||||
.field_field_site,
|
||||
.field_title,
|
||||
.field_body,
|
||||
.field_field_liens{
|
||||
grid-column: 2;
|
||||
|
||||
}
|
||||
.field_field_type_d_actualite{
|
||||
order: 2;
|
||||
a{
|
||||
text-transform: uppercase;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
&::before{
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 16px; /* Ajuste la largeur */
|
||||
height: 16px; /* Ajuste la hauteur */
|
||||
background-image: url('../img/type-actu.svg');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
// margin-right: 0.4rem;
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.field_field_date{
|
||||
order: 3;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
// margin-left: 1rem;
|
||||
&::before{
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 16px; /* Ajuste la largeur */
|
||||
height: 16px; /* Ajuste la hauteur */
|
||||
background-image: url('../img/date-actu.svg');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
// margin-right: 0.4rem;
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
.field_field_site{
|
||||
order: 4;
|
||||
a{
|
||||
.field_field_date{
|
||||
order: 3;
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
// margin-left: 1rem;
|
||||
padding-left: 0.2rem;
|
||||
|
||||
&::before{
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 10px; /* Ajuste la largeur */
|
||||
height: 10px; /* Ajuste la hauteur */
|
||||
background-image: url("../img/map_pointer.svg");
|
||||
width: 16px; /* Ajuste la largeur */
|
||||
height: 16px; /* Ajuste la hauteur */
|
||||
background-image: url('../img/date-actu.svg');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
// margin-right: 0.4rem;
|
||||
padding-right: 0.5rem;
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.field_title{
|
||||
order: 5;
|
||||
line-height: 1rem;
|
||||
a{
|
||||
color: $blue_QDD;
|
||||
font-size: 1.2rem;
|
||||
// pointer-events: none;
|
||||
// cursor: default;
|
||||
}
|
||||
h2{
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0;
|
||||
padding-left: 0;
|
||||
font-family: 'gilroy-medium';
|
||||
}
|
||||
}
|
||||
.field_field_sous_titre{
|
||||
color: $blue_QDD;
|
||||
font-family: 'gilroy-light';
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.field_body {
|
||||
order: 6;
|
||||
// padding-bottom: 1rem;
|
||||
opacity: 1 !important;
|
||||
transform:none !important;
|
||||
font-family: 'gilroy-light';
|
||||
|
||||
p{
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
.field_field_liens{
|
||||
order: 7;
|
||||
padding:0;
|
||||
width: fit-content;
|
||||
a{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding-left: 0.5rem;
|
||||
padding-top: 0.2rem;
|
||||
padding-bottom: 0.2rem;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: white;
|
||||
background: black;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.6rem;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
svg{
|
||||
display: none;
|
||||
}
|
||||
&::after{
|
||||
.field_field_site{
|
||||
order: 4;
|
||||
a{
|
||||
color: red;
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
display: inline-flex;
|
||||
content: url("../img/noun-arrow-to-right.svg");
|
||||
padding-right: 0.2rem;
|
||||
align-items: center;
|
||||
// margin-left: 1rem;
|
||||
padding-left: 0.2rem;
|
||||
|
||||
&::before{
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 10px; /* Ajuste la largeur */
|
||||
height: 10px; /* Ajuste la hauteur */
|
||||
background-image: url("../img/map_pointer.svg");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
// margin-right: 0.4rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.field_title{
|
||||
order: 5;
|
||||
line-height: 1rem;
|
||||
a{
|
||||
color: $blue_QDD;
|
||||
font-size: 1.2rem;
|
||||
// pointer-events: none;
|
||||
// cursor: default;
|
||||
}
|
||||
h2{
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0;
|
||||
padding-left: 0;
|
||||
font-family: 'gilroy-medium';
|
||||
}
|
||||
}
|
||||
.field_field_sous_titre{
|
||||
color: $blue_QDD;
|
||||
font-family: 'gilroy-light';
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.field_body {
|
||||
order: 6;
|
||||
// padding-bottom: 1rem;
|
||||
opacity: 1 !important;
|
||||
transform:none !important;
|
||||
font-family: 'gilroy-light';
|
||||
|
||||
p{
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
.field_field_liens{
|
||||
order: 7;
|
||||
padding:0;
|
||||
width: fit-content;
|
||||
a{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding-left: 0.5rem;
|
||||
padding-top: 0.2rem;
|
||||
padding-bottom: 0.2rem;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: white;
|
||||
background: black;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.6rem;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
svg{
|
||||
display: none;
|
||||
}
|
||||
&::after{
|
||||
display: inline-flex;
|
||||
content: url("../img/noun-arrow-to-right.svg");
|
||||
padding-right: 0.2rem;
|
||||
padding-left: 0.2rem;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
.toggle-actualite {
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 10px auto;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
background-image: url("/themes/custom/quartiers_de_demain/dist/assets/img/fleche-bas.svg");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
cursor: pointer;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.toggle-actualite.open {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.toggle-actualite {
|
||||
display: block;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin: 10px auto;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
background-image: url("/themes/custom/quartiers_de_demain/dist/assets/img/fleche-bas.svg");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
cursor: pointer;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.toggle-actualite.open {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
footer #block-block-content764294aa-409f-4668-88bf-dc71e186915c{
|
||||
display: flex;
|
||||
.field_field_link{
|
||||
width: fit-content;
|
||||
margin: auto;
|
||||
a{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding-left: 0.5rem;
|
||||
// padding-top: 0.2rem;
|
||||
// padding-bottom: 0.2rem;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: white;
|
||||
background: black;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.6rem;
|
||||
margin-bottom: 0.5rem;
|
||||
svg{
|
||||
display: none;
|
||||
}
|
||||
&::after{
|
||||
display: inline-flex;
|
||||
content: url("../img/noun-arrow-to-right.svg");
|
||||
padding-right: 0.2rem;
|
||||
padding-left: 0.2rem;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user