From 3641f5ea1da15cfed0a0500d363a9a54bb4821e9 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 30 May 2025 21:59:31 +0200 Subject: [PATCH] css ajout s a class type-publication --- .../custom/eql/dist/assets/css/bundle.css | 40 +++++++++++++------ .../custom/eql/scss/pages/ressources.scss | 14 ++++++- .../partials/_node-type-ressource-teaser.scss | 2 +- 3 files changed, 40 insertions(+), 16 deletions(-) diff --git a/web/themes/custom/eql/dist/assets/css/bundle.css b/web/themes/custom/eql/dist/assets/css/bundle.css index b4a6c06..af4e21f 100644 --- a/web/themes/custom/eql/dist/assets/css/bundle.css +++ b/web/themes/custom/eql/dist/assets/css/bundle.css @@ -5585,6 +5585,11 @@ svg.ext { flex-wrap: wrap; width: 100%; } +.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(:first-of-type) h3 { + width: 80%; + border-top: solid 2px rgba(0, 0, 0, 0.3); + padding-top: 2rem; +} .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.type-publications-issues-du-programme-eqld { order: 1; } @@ -5603,12 +5608,21 @@ svg.ext { .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.type-presse::before { background-color: rgba(0, 158, 227, 0.2); } +.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.type-presse h3 { + 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.type-publications-des-partenaires-et-laureats { order: 4; } .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.type-autres { + order: 9; +} +.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 .type-documentation-partenariale { order: 6; } +.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.type-these-et-memoire { + order: 8; +} .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) { width: 100%; position: relative; @@ -6630,62 +6644,62 @@ article.node-type-ressource .ext { article.node-type-ressource svg.ext { display: none; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource { display: grid; grid-template-columns: 1fr 1.8fr; grid-template-rows: repeat(5 1fr); } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-type-de-ressource { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-type-de-ressource { order: 2; grid-row: 2; grid-column: 1/span 2; margin-bottom: 0.5rem; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-type-de-media { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-type-de-media { order: 1; grid-row: 1; grid-column: 1/span 2; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-images { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-images { order: 3; grid-row: 3/span 5; height: auto; width: 90%; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-images img { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-images img { height: auto; width: 90%; border: 1px solid #a3a3a3; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-title { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-title { grid-row: 3; margin-top: 0; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-title h2 { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-title h2 { margin-left: 0 !important; line-height: 0; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-title h2 a { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-title h2 a { color: rgb(0, 158, 227); font-size: 1.3rem; font-style: normal; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-sous-titre { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-sous-titre { grid-row: 4; color: rgb(0, 158, 227); font-size: 1rem; font-weight: 800; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-auteur-s- { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-auteur-s- { grid-row: 5; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-edition { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-edition { grid-row: 6; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-date-de-parution { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-date-de-parution { grid-row: 7; } -article.node-type-ressource.type-publication-issue-du-programme-eqld .wrapper-ressource .field--name-field-mots-clefs { +article.node-type-ressource.type-publications-issues-du-programme-eqld .wrapper-ressource .field--name-field-mots-clefs { grid-row: 8; } article.node-type-ressource.type-paroles-de-laureats .wrapper-ressource .field--name-field-type-de-ressource { diff --git a/web/themes/custom/eql/scss/pages/ressources.scss b/web/themes/custom/eql/scss/pages/ressources.scss index a277c49..952c547 100644 --- a/web/themes/custom/eql/scss/pages/ressources.scss +++ b/web/themes/custom/eql/scss/pages/ressources.scss @@ -369,6 +369,11 @@ flex-wrap: wrap; width: 100%; + .view-type-slide:not(:first-of-type) h3 { + width: 80%; + border-top: solid 2px rgba(0, 0, 0, 0.3); + padding-top: 2rem; + } .view-type-slide.type-publications-issues-du-programme-eqld{ order: 1; &::before{ @@ -379,10 +384,15 @@ .view-type-slide.type-presse{ order: 5; &::before{ - background-color: $background-actus;} + background-color: $background-actus; + } + h3{border: none;} } .view-type-slide.type-publications-des-partenaires-et-laureats{order: 4;} - .view-type-slide.type-autres{order: 6;} + .view-type-slide.type-autres{order: 9;} + .type-documentation-partenariale{order: 6;} + .view-type-slide.type-these-et-memoire{order: 8;} + .view-type-slide:not(footer){ width: 100%; position: relative; 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 dab4f58..60828fa 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 @@ -9,7 +9,7 @@ article.node-type-ressource{ svg.ext{ display: none; } - &.type-publication-issue-du-programme-eqld{ + &.type-publications-issues-du-programme-eqld{ // background-color: $background-actus; .wrapper-ressource{ display: grid;