From da8fe6f5c2e34d67dca1b3dbbe4992d13b265d7f Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 18 Oct 2024 11:14:42 +0200 Subject: [PATCH] =?UTF-8?q?projets=20li=C3=A9es=20ressources?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../custom/eql/dist/assets/css/bundle.css | 50 +++++++++++-------- .../custom/eql/scss/pages/_ressource.scss | 50 ++++++++++++++----- .../_block_third_ressources_liees.scss | 24 +++++++++ 3 files changed, 89 insertions(+), 35 deletions(-) diff --git a/web/themes/custom/eql/dist/assets/css/bundle.css b/web/themes/custom/eql/dist/assets/css/bundle.css index 95b23f5..30cb6cc 100644 --- a/web/themes/custom/eql/dist/assets/css/bundle.css +++ b/web/themes/custom/eql/dist/assets/css/bundle.css @@ -2184,8 +2184,7 @@ a { .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution, -.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs, -.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee { +.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs { width: 100%; margin-left: 13%; } @@ -2197,8 +2196,7 @@ a { .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution, - .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs, - .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee { + .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs { width: auto; margin-right: 15%; } @@ -2211,8 +2209,7 @@ a { .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution, - .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs, - .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee { + .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs { width: auto; margin-left: 2rem; margin-right: 15%; @@ -2228,8 +2225,7 @@ a { .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition p, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s- p, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution p, - .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs p, - .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee p { + .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs p { margin: 0; } } @@ -2241,8 +2237,7 @@ a { .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-edition, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-auteur-s-, .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-date-de-parution, - .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs, - .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee { + .page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-mots-clefs { margin-left: 9%; margin-right: 9%; } @@ -2316,18 +2311,6 @@ a { margin-bottom: 0.5rem; } } -.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee h2 { - display: none; -} -.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee .field__label { - display: none; -} -.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee a { - color: black; -} -.page-node-type-ressource .layout__region--top .block-region-top .block-entity-fieldnodefield-projets-liee a:hover { - color: rgb(0, 158, 227); -} .page-node-type-ressource .layout__region--top .block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640:empty, .page-node-type-ressource .layout__region--top .block-entity-fieldnodefield-type-de-ressource:empty, .page-node-type-ressource .layout__region--top .block-entity-fieldnodetitle:empty, @@ -2596,6 +2579,29 @@ a { .page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .field--name-field-ress .node-type-ressource div ul.links.inline { display: none; } +.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-projets-liee h2 { + font-size: 0.8rem; + color: rgb(0, 0, 0); + font-weight: 900; +} +.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-projets-liee .field--name-field-projets-liee { + display: flex; + flex-direction: column; + border: 2px solid rgb(0, 158, 227); + padding: 1rem; + height: fit-content; + margin-bottom: 1rem; + background-color: rgb(255, 255, 255); +} +.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-projets-liee .field--name-field-projets-liee .field__label { + display: none; +} +.page-node-type-ressource .layout__region--third .block-region-third .block-entity-fieldnodefield-projets-liee .field--name-field-projets-liee .field__item a { + color: rgb(0, 0, 0); + font-size: 1rem; + font-weight: 900; + font-style: italic; +} .offresdeservices .layout-content .region-content #block-contenudelapageprincipale span { padding-top: 3rem; diff --git a/web/themes/custom/eql/scss/pages/_ressource.scss b/web/themes/custom/eql/scss/pages/_ressource.scss index 7ab7f63..e605d25 100644 --- a/web/themes/custom/eql/scss/pages/_ressource.scss +++ b/web/themes/custom/eql/scss/pages/_ressource.scss @@ -43,8 +43,7 @@ .block-entity-fieldnodefield-edition, .block-entity-fieldnodefield-auteur-s-, .block-entity-fieldnodefield-date-de-parution, - .block-entity-fieldnodefield-mots-clefs, - .block-entity-fieldnodefield-projets-liee { + .block-entity-fieldnodefield-mots-clefs { width: 100%; margin-left: 13%; @media (max-width: 1099px) { @@ -157,16 +156,7 @@ } } - .block-entity-fieldnodefield-projets-liee{ - h2{display: none;} - .field__label{display: none;} - a{ - color: black; - &:hover{ - color: $blue-light; - } - } - } + } /* Hide empty blocks */ .block-block-content4e5df355-e76c-4e44-bec0-e211d94f2640:empty, @@ -452,7 +442,41 @@ } } } - } + } + + .block-entity-fieldnodefield-projets-liee{ + // margin-top: 3rem; + // @media(max-width:479px){ + // margin-top: 2rem; + // } + h2{ + font-size: 0.8rem; + color: $black; + font-weight: 900; + } + .field--name-field-projets-liee{ + display: flex; + flex-direction: column; + border: 2px solid $blue-light; + padding: 1rem; + + height: fit-content; + margin-bottom: 1rem; + background-color: $white; + + .field__label{ display: none;} + .field__item{ + a{ + color: $black; + font-size: 1rem; + font-weight: 900; + font-style: italic; + } + } + } + + + } } } // } diff --git a/web/themes/custom/eql/scss/partials/_block_third_ressources_liees.scss b/web/themes/custom/eql/scss/partials/_block_third_ressources_liees.scss index 4733f4f..a788cee 100644 --- a/web/themes/custom/eql/scss/partials/_block_third_ressources_liees.scss +++ b/web/themes/custom/eql/scss/partials/_block_third_ressources_liees.scss @@ -119,6 +119,30 @@ } +} + +.block-entity-fieldnodefield-projets-liee{ + margin-top: 3rem; + @media(max-width:479px){ + margin-top: 2rem; + } + h2{ + font-size: 0.8rem; + color: $black; + font-weight: 900; + } + .field--name-field-projets-liee{ + display: flex; + flex-direction: column; + border: 2px solid $blue-light; + padding: 1rem; + + height: fit-content; + margin-bottom: 1rem; + background-color: $white; + } + + } /////// pages projets