new design bandeau actu home
This commit is contained in:
parent
b1c23fe6a1
commit
b81d9a77bd
File diff suppressed because one or more lines are too long
@ -1530,46 +1530,54 @@ footer {
|
|||||||
padding-bottom: 0rem;
|
padding-bottom: 0rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .view .view-rows-wrapper {
|
#actus-caroussel .content-actus .view-rows-wrapper {
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: nowrap;
|
|
||||||
width: 100vw;
|
|
||||||
}
|
|
||||||
#actus-caroussel .content-actus .views-row {
|
|
||||||
padding: 1rem;
|
|
||||||
}
|
|
||||||
@media (max-width: 550px) {
|
|
||||||
#actus-caroussel .content-actus .views-row {
|
|
||||||
width: 296px !important;
|
|
||||||
padding-top: 3rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_images {
|
#actus-caroussel .content-actus .views-row {
|
||||||
order: 1;
|
display: flex;
|
||||||
background-color: black;
|
margin: auto;
|
||||||
-moz-border-radius: 9px; /* pour Mozilla */
|
width: 50%;
|
||||||
-khtml-border-radius: 9px; /* pour Safari et Chrome */
|
font-size: 0.5rem;
|
||||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
margin-top: 1rem;
|
||||||
border-radius: 9px; /* CSS3 */
|
margin-bottom: 1rem;
|
||||||
|
padding-bottom: 1rem;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
border-bottom: solid black 0.5px;
|
||||||
|
}
|
||||||
|
#actus-caroussel .content-actus .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 {
|
||||||
|
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 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 0.6rem;
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center !important;
|
||||||
|
margin: auto;
|
||||||
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
@media (max-width: 550px) {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list {
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_images {
|
margin: auto;
|
||||||
height: 170px;
|
padding-top: 0 !important;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_images div.cadre-img-zoom {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list .cadre-img-zoom {
|
||||||
height: 100%;
|
display: flex;
|
||||||
display: block;
|
margin: auto;
|
||||||
|
width: 250px;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_images div.cadre-img-zoom img {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_images .actu-diaporama .slick-list .cadre-img-zoom img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
@ -1578,106 +1586,161 @@ footer {
|
|||||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
||||||
border-radius: 9px; /* CSS3 */
|
border-radius: 9px; /* CSS3 */
|
||||||
}
|
}
|
||||||
@media (max-width: 550px) {
|
#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 .views-row article.node-type-actualite div .field_field_images div.cadre-img-zoom img {
|
margin: 0;
|
||||||
max-height: 170px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_type_d_actualite {
|
#actus-caroussel .content-actus .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 {
|
||||||
|
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 {
|
||||||
|
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 {
|
||||||
|
filter: brightness(1.75);
|
||||||
|
}
|
||||||
|
#actus-caroussel .content-actus .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 {
|
||||||
|
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 {
|
||||||
|
grid-column: 2;
|
||||||
|
}
|
||||||
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite {
|
||||||
order: 2;
|
order: 2;
|
||||||
|
}
|
||||||
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite a {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: red;
|
color: red;
|
||||||
font-size: 0.5rem;
|
font-size: 0.6rem;
|
||||||
font-family: "gilroy-bold";
|
font-weight: 600;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_type_d_actualite::before {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_type_d_actualite a::before {
|
||||||
content: url("../img/type-actu.svg");
|
content: "";
|
||||||
padding-right: 0.3rem;
|
display: inline-block;
|
||||||
padding-bottom: 0.2rem;
|
width: 16px; /* Ajuste la largeur */
|
||||||
|
height: 16px; /* Ajuste la hauteur */
|
||||||
|
background-image: url("../img/type-actu.svg");
|
||||||
|
background-size: contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
padding-right: 0.4rem;
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_type_d_actualite a {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_date {
|
||||||
color: red;
|
|
||||||
}
|
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_date {
|
|
||||||
order: 3;
|
order: 3;
|
||||||
color: red;
|
color: red;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
font-weight: 600;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 0.5rem;
|
|
||||||
font-family: "gilroy-bold";
|
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_date::before {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_date::before {
|
||||||
content: url("../img/date-actu.svg");
|
content: "";
|
||||||
padding-right: 0.3rem;
|
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;
|
||||||
|
padding-right: 0.4rem;
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_title {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site {
|
||||||
order: 4;
|
order: 4;
|
||||||
padding-top: 0.2rem;
|
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_title h2 {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site a {
|
||||||
|
color: red;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
font-weight: 600;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-left: 0.2rem;
|
||||||
|
}
|
||||||
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_site a::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;
|
||||||
|
padding-right: 0.5rem;
|
||||||
|
}
|
||||||
|
#actus-caroussel .content-actus .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 {
|
||||||
|
color: rgb(7, 50, 194);
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_title h2 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 0.4;
|
|
||||||
padding-bottom: 0.6rem;
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_title h2 a {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_body {
|
||||||
font-size: 0.8rem;
|
order: 6;
|
||||||
color: rgb(7, 50, 194);
|
padding-bottom: 1rem;
|
||||||
}
|
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_body {
|
|
||||||
order: 5;
|
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
font-family: "gilroy-regular";
|
|
||||||
padding-bottom: 0.5rem;
|
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_body p {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_body p {
|
||||||
margin: 0;
|
font-size: 0.8rem;
|
||||||
margin-bottom: 1rem;
|
|
||||||
font-size: 0.7rem;
|
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_body a {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens {
|
||||||
color: rgb(7, 50, 194);
|
order: 7;
|
||||||
}
|
padding: 0;
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens {
|
|
||||||
order: 6;
|
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
|
}
|
||||||
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
background: black;
|
|
||||||
}
|
|
||||||
@media (max-width: 810px) {
|
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens a {
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: white;
|
color: white;
|
||||||
|
background: black;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens a svg {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a svg {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row article.node-type-actualite div .field_field_liens a::after {
|
#actus-caroussel .content-actus .views-row .node-type-actualite .content-wrapper-actu .field_field_liens a::after {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
content: url("../img/noun-arrow-to-right.svg");
|
content: url("../img/noun-arrow-to-right.svg");
|
||||||
padding-right: 0.2rem;
|
padding-right: 0.2rem;
|
||||||
padding-left: 0.2rem;
|
padding-left: 0.2rem;
|
||||||
}
|
}
|
||||||
#actus-caroussel .content-actus .views-row:nth-child(odd) {
|
#actus-caroussel .content-actus .views-row .toggle-actualite {
|
||||||
position: relative;
|
display: block;
|
||||||
top: 60px;
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
margin: 10px auto;
|
||||||
|
border: none;
|
||||||
|
background-color: transparent;
|
||||||
|
font-size: 24px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
}
|
}
|
||||||
@media (max-width: 550px) {
|
#actus-caroussel .content-actus .views-row .toggle-actualite:hover {
|
||||||
#actus-caroussel .content-actus .views-row:nth-child(odd) {
|
transform: scale(1.2);
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-header {
|
header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-header {
|
||||||
@ -3966,6 +4029,10 @@ main {
|
|||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
}
|
}
|
||||||
|
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper .views-row .type-vidéo .img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper .views-row:has(.type-podcast) {
|
#ressources .layout-content .content_container .views-element-container .view-rows-wrapper .views-row:has(.type-podcast) {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
@ -372,35 +372,35 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
|
|
||||||
|
|
||||||
//////////// start slideshow home //////////////////////////
|
//////////// start slideshow home //////////////////////////
|
||||||
$(document).ready(function(){
|
// $(document).ready(function(){
|
||||||
let actuview = $('.content-actus .view .view-rows-wrapper')
|
// let actuview = $('.content-actus .view .view-rows-wrapper')
|
||||||
if (actuview) {
|
// if (actuview) {
|
||||||
actuview.slick({
|
// actuview.slick({
|
||||||
slidesToShow: 3,
|
// slidesToShow: 3,
|
||||||
dots: false,
|
// dots: false,
|
||||||
arrows: true,
|
// arrows: true,
|
||||||
adaptiveHeight: false,
|
// adaptiveHeight: false,
|
||||||
autoplay: false,
|
// autoplay: false,
|
||||||
responsive: [
|
// responsive: [
|
||||||
{
|
// {
|
||||||
breakpoint: 810,
|
// breakpoint: 810,
|
||||||
settings: {
|
// settings: {
|
||||||
slidesToShow: 1,
|
// slidesToShow: 1,
|
||||||
adaptiveHeight: false,
|
// adaptiveHeight: false,
|
||||||
arrows: true,
|
// arrows: true,
|
||||||
draggable: true,
|
// draggable: true,
|
||||||
autoplay: false,
|
// autoplay: false,
|
||||||
}
|
// }
|
||||||
}]
|
// }]
|
||||||
});
|
// });
|
||||||
console.log('salut slick home');
|
// console.log('salut slick home');
|
||||||
|
|
||||||
}
|
// }
|
||||||
$('.slick-carousel').slick({
|
// $('.slick-carousel').slick({
|
||||||
lazyLoad: 'progressive', // Option 'ondemand' ou 'progressive'
|
// lazyLoad: 'progressive', // Option 'ondemand' ou 'progressive'
|
||||||
});
|
// });
|
||||||
|
|
||||||
});
|
// });
|
||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
let diapohome = $('.config_pages--type--diaporama-home .diaporama');
|
let diapohome = $('.config_pages--type--diaporama-home .diaporama');
|
||||||
@ -438,32 +438,37 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
//////////// start slideshow /actualites //////////////////////////
|
//////////// start slideshow /actualites //////////////////////////
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
let actuview2 = $('.content-wrapper-actu .field_field_images .actu-diaporama')
|
// Vérifier si on N'EST PAS sur la page #home
|
||||||
if (actuview2) {
|
// if (!$("#home").length) {
|
||||||
actuview2.slick({
|
let actuview2 = $('.content-wrapper-actu .field_field_images .actu-diaporama');
|
||||||
slidesToShow: 1,
|
|
||||||
dots: false,
|
if (actuview2.length > 0) {
|
||||||
arrows: true,
|
actuview2.slick({
|
||||||
adaptiveHeight: true,
|
slidesToShow: 1,
|
||||||
autoplay: false,
|
dots: false,
|
||||||
responsive: [
|
arrows: true,
|
||||||
{
|
adaptiveHeight: true,
|
||||||
breakpoint: 810,
|
autoplay: false,
|
||||||
settings: {
|
responsive: [
|
||||||
slidesToShow: 1,
|
{
|
||||||
adaptiveHeight: true,
|
breakpoint: 810,
|
||||||
arrows: true,
|
settings: {
|
||||||
draggable: true,
|
slidesToShow: 1,
|
||||||
autoplay: false,
|
adaptiveHeight: true,
|
||||||
}
|
arrows: true,
|
||||||
}]
|
draggable: true,
|
||||||
});
|
autoplay: false,
|
||||||
console.log('salut slick actualites');
|
}
|
||||||
}
|
}
|
||||||
// $('.slick-carousel').slick({
|
]
|
||||||
// lazyLoad: 'progressive', // Option 'ondemand' ou 'progressive'
|
});
|
||||||
// });
|
console.log('Slick activé sur les actualités');
|
||||||
|
// }
|
||||||
|
// } else {
|
||||||
|
console.log('Slick désactivé sur la page Home');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//////////// end slideshow /actualites //////////////////////////
|
//////////// end slideshow /actualites //////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
@ -185,6 +185,10 @@
|
|||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
}
|
}
|
||||||
|
.img{
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,144 +27,210 @@
|
|||||||
padding-bottom: 0rem;
|
padding-bottom: 0rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.view .view-rows-wrapper{
|
|
||||||
|
.view-rows-wrapper{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.views-row{
|
||||||
|
display: flex;
|
||||||
|
margin: auto;
|
||||||
|
width: 50%;
|
||||||
|
font-size: 0.5rem;
|
||||||
|
margin-top: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
padding-bottom: 1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: nowrap;
|
align-items: center;
|
||||||
width: 100vw;
|
border-bottom: solid black 0.5px;
|
||||||
}
|
.node-type-actualite{
|
||||||
.views-row{
|
|
||||||
// width: 500px !important;
|
// padding-bottom: 2rem;
|
||||||
padding: 1rem;
|
|
||||||
|
.content-wrapper-actu{
|
||||||
@media(max-width: 550px){
|
display: grid;
|
||||||
width: 296px !important;
|
grid-template-columns: 1fr 2fr;
|
||||||
padding-top: 3rem;
|
grid-template-rows: repeat(5 1fr);
|
||||||
}
|
|
||||||
article.node-type-actualite{
|
|
||||||
div{
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: flex-start;
|
|
||||||
.field_field_images{
|
.field_field_images{
|
||||||
order: 1;
|
grid-column: 1;
|
||||||
background-color: black;
|
grid-row: 1 /span 5;
|
||||||
-moz-border-radius: 9px; /* pour Mozilla */
|
width: 250px;
|
||||||
-khtml-border-radius: 9px; /* pour Safari et Chrome */
|
// display: flex;
|
||||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
// margin: auto;
|
||||||
border-radius: 9px; /* CSS3 */
|
margin-right: 1rem;
|
||||||
// height: 250px;
|
|
||||||
width: 100%;
|
.actu-diaporama{
|
||||||
margin-bottom: 0.6rem;
|
// height: 150px;
|
||||||
@media(max-width: 550px){
|
width: 100%;
|
||||||
height: 170px;
|
display: flex;
|
||||||
}
|
flex-direction: row;
|
||||||
div.cadre-img-zoom{
|
align-items: center !important;
|
||||||
height: 100%;
|
margin:auto;
|
||||||
display: block;
|
margin-right: 1rem;
|
||||||
// height: 100%;
|
.slick-list{
|
||||||
img{
|
margin: auto;
|
||||||
width: 100%;
|
padding-top: 0 !important;
|
||||||
height: auto;
|
.cadre-img-zoom{
|
||||||
object-fit: cover;
|
display: flex;
|
||||||
-moz-border-radius: 9px; /* pour Mozilla */
|
margin: auto;
|
||||||
-khtml-border-radius: 9px; /* pour Safari et Chrome */
|
width: 250px;
|
||||||
-webkit-border-radius: 9px; /* pour Safari sur Mac */
|
height: auto;
|
||||||
border-radius: 9px; /* CSS3 */
|
img{
|
||||||
@media(max-width: 550px){
|
width: 100%;
|
||||||
max-height: 170px;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.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{
|
.field_field_type_d_actualite{
|
||||||
order: 2;
|
order: 2;
|
||||||
|
a{
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: red;
|
color: red;
|
||||||
font-size: 0.5rem;
|
font-size: 0.6rem;
|
||||||
font-family: 'gilroy-bold';
|
font-weight: 600;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
&::before{
|
&::before{
|
||||||
content: url('../img/type-actu.svg');
|
content: "";
|
||||||
padding-right: 0.3rem;
|
display: inline-block;
|
||||||
padding-bottom: 0.2rem;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
a{color: red;}
|
|
||||||
}
|
}
|
||||||
// .infos-actu{
|
|
||||||
// order: 2;
|
|
||||||
// h2{
|
|
||||||
// font-family: 'gilroy-semibold';
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
.field_field_date{
|
.field_field_date{
|
||||||
order: 3;
|
order: 3;
|
||||||
color: red;
|
color: red;
|
||||||
|
font-size: 0.6rem;
|
||||||
|
font-weight: 600;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex-direction: row;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 0.5rem;
|
// margin-left: 1rem;
|
||||||
font-family: 'gilroy-bold';
|
|
||||||
|
|
||||||
&::before{
|
&::before{
|
||||||
content: url('../img/date-actu.svg');
|
content: "";
|
||||||
padding-right: 0.3rem;
|
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{
|
||||||
|
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");
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
h2{
|
||||||
|
margin: 0;
|
||||||
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.field_body {
|
||||||
.field_title{
|
order: 6;
|
||||||
order: 4;
|
padding-bottom: 1rem;
|
||||||
padding-top: 0.2rem;
|
|
||||||
h2{
|
|
||||||
margin: 0;
|
|
||||||
line-height: 0.4;
|
|
||||||
padding-bottom: 0.6rem;
|
|
||||||
padding-left: 0;
|
|
||||||
a{
|
|
||||||
font-size: 0.8rem;
|
|
||||||
color: $blue_QDD;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.field_body{
|
|
||||||
order: 5;
|
|
||||||
// visibility: visible;
|
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
transform: none !important;
|
transform:none !important;
|
||||||
font-family: 'gilroy-regular';
|
|
||||||
padding-bottom: 0.5rem;
|
|
||||||
p{
|
p{
|
||||||
margin: 0;
|
font-size: 0.8rem;
|
||||||
margin-bottom: 1rem;
|
|
||||||
font-size: 0.7rem ;
|
|
||||||
}
|
|
||||||
a{
|
|
||||||
color: $blue_QDD;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.field_field_liens{
|
.field_field_liens{
|
||||||
order: 6;
|
order: 7;
|
||||||
|
padding:0;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
padding-left: 0.5rem;
|
a{
|
||||||
// padding-bottom: 0.2rem;
|
display: flex;
|
||||||
// padding-top: 0.2rem;
|
flex-direction: row;
|
||||||
background: black;
|
padding-left: 0.5rem;
|
||||||
@media (max-width:810px) {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
a{
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: white;
|
color: white;
|
||||||
|
background: black;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
|
|
||||||
svg{
|
svg{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -173,21 +239,43 @@
|
|||||||
content: url("../img/noun-arrow-to-right.svg");
|
content: url("../img/noun-arrow-to-right.svg");
|
||||||
padding-right: 0.2rem;
|
padding-right: 0.2rem;
|
||||||
padding-left: 0.2rem;
|
padding-left: 0.2rem;
|
||||||
// padding-bottom: 0.2rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
// a:not(.ext){
|
||||||
|
// display: none;
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.toggle-actualite {
|
||||||
|
display: block;
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
margin: 10px auto;
|
||||||
|
border: none;
|
||||||
|
background-color: transparent;
|
||||||
|
font-size: 24px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: transform 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggle-actualite:hover {
|
||||||
|
transform: scale(1.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.views-row:nth-child(odd){
|
// .views-row:nth-child(odd){
|
||||||
position: relative;
|
// position: relative;
|
||||||
top: 60px;
|
// top: 60px;
|
||||||
@media(max-width: 550px){
|
// @media(max-width: 550px){
|
||||||
top: 0;
|
// top: 0;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user