From 381758e8085d39dabc16813a846523bd527958a9 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 30 May 2025 22:10:54 +0200 Subject: [PATCH] width ressource teaser --- web/themes/custom/eql/dist/assets/css/bundle.css | 8 +++++--- web/themes/custom/eql/scss/pages/ressources.scss | 5 +++-- .../eql/scss/partials/_node-type-ressource-teaser.scss | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/web/themes/custom/eql/dist/assets/css/bundle.css b/web/themes/custom/eql/dist/assets/css/bundle.css index af4e21f..cd5e486 100644 --- a/web/themes/custom/eql/dist/assets/css/bundle.css +++ b/web/themes/custom/eql/dist/assets/css/bundle.css @@ -5651,6 +5651,9 @@ svg.ext { align-items: center; font-size: 1.7rem; } +.path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-content .view-type-slide:not(footer) h3.type-publications-issues-du-programme-eqld { + border: none; +} .path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-content .view-type-slide:not(footer) h3.type-publications-issues-du-programme-eqld:before { content: url("../images/pictos/picto-ressource-eqld.svg"); padding-right: 1rem; @@ -5699,8 +5702,8 @@ svg.ext { flex-direction: row; } .path-ressources .layout-content .region-content #block-contenudelapageprincipale .layout--onecol .layout__region--content .block-region-content .block-views-blockbase-de-donnees-block-1 .view-base-de-donnees .view-content .view-type-slide:not(footer) .views-row-wrapper .slick-track .views-row { - width: 45% !important; - min-width: 450px !important; + width: 20% !important; + min-width: 250px !important; max-width: 500px !important; } @media (max-width: 810px) { @@ -6633,7 +6636,6 @@ html.js body.node-type-actualite.node-id-88.path-node.page-node-type-actualite d article.node-type-ressource { margin-bottom: 1rem; padding-right: 1rem; - min-width: 300px; } article.node-type-ressource h2 { text-align: left !important; diff --git a/web/themes/custom/eql/scss/pages/ressources.scss b/web/themes/custom/eql/scss/pages/ressources.scss index 952c547..cdb3744 100644 --- a/web/themes/custom/eql/scss/pages/ressources.scss +++ b/web/themes/custom/eql/scss/pages/ressources.scss @@ -421,6 +421,7 @@ font-size: 1.7rem; } h3.type-publications-issues-du-programme-eqld { + border: none; &:before{ content:url("../images/pictos/picto-ressource-eqld.svg"); padding-right: 1rem; @@ -478,8 +479,8 @@ flex-direction: row; .views-row{ - width: 45% !important; - min-width: 450px !important; + width: 20% !important; + min-width: 250px !important; max-width: 500px !important; } } diff --git a/web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss b/web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss index 60828fa..8bd7ff7 100644 --- a/web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss +++ b/web/themes/custom/eql/scss/partials/_node-type-ressource-teaser.scss @@ -1,7 +1,7 @@ article.node-type-ressource{ margin-bottom: 1rem ; padding-right: 1rem; - min-width: 300px; + // min-width: 300px; h2{text-align: left !important} .ext{ color: black;