From 00f6cb067106fc14d92eb8c09c1488be8036b71a Mon Sep 17 00:00:00 2001 From: ouidade Date: Tue, 21 Dec 2021 12:38:09 +0100 Subject: [PATCH] =?UTF-8?q?block=20fichiers=20li=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/themes/custom/eql/css-compiled/styles.css | 6 +++--- web/themes/custom/eql/scss/pages/_actualite.scss | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index c7de1a3..272c3b9 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -779,14 +779,14 @@ a { .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers { height: fit-content; border: 2px solid #009ee3; - background-color: white; } + background-color: white; + margin-bottom: 1rem; } .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers { min-height: 4rem; background: white; color: #009ee3; padding-left: 1rem; - padding-top: 1rem; - margin-bottom: 1rem; } + padding-top: 1rem; } .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) { display: none; } .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf { diff --git a/web/themes/custom/eql/scss/pages/_actualite.scss b/web/themes/custom/eql/scss/pages/_actualite.scss index 2d76cdf..9df5b0d 100644 --- a/web/themes/custom/eql/scss/pages/_actualite.scss +++ b/web/themes/custom/eql/scss/pages/_actualite.scss @@ -134,6 +134,7 @@ height: fit-content; border: 2px solid $blue-light; background-color: $white; + margin-bottom: 1rem; } .field--name-field-fichiers{ @@ -142,7 +143,7 @@ color: $blue-light; padding-left: 1rem; padding-top: 1rem; - margin-bottom: 1rem; + span:nth-of-type(2){ display: none;