From b56939462b85bf0be31d4f93ac288505b8794e56 Mon Sep 17 00:00:00 2001 From: ouidade Date: Tue, 27 Jun 2023 12:59:43 +0200 Subject: [PATCH] css liens ressources pages static --- web/themes/custom/eql/css-compiled/styles.css | 47 ++++++------ web/themes/custom/eql/scss/pages/_static.scss | 73 ++++++++++--------- 2 files changed, 61 insertions(+), 59 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 85e18fe..8f7e48a 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -298,29 +298,29 @@ a { height: fit-content; border: 2px solid #009ee3; background-color: white; } - .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers { - min-height: 4rem; - background: white; - color: #009ee3; - padding-left: 0.8rem; - padding-top: 1rem; - padding-bottom: 1rem; - margin-bottom: 1rem; } - .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) { - display: none; } - .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf { - height: inherit; - margin: auto; } - .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before { - content: url("../images/pictos/noun_Download_file_307900.svg"); - min-width: 25px; - height: auto; - padding-right: 0.5rem; } - .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a { - hyphens: auto; - display: inline-flex; - color: #009ee3; - font-weight: 800; } + .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers .field--name-field-fichiers { + min-height: 4rem; + background: white; + color: #009ee3; + padding-left: 0.8rem; + padding-top: 1rem; + padding-bottom: 1rem; + margin-bottom: 1rem; } + .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers .field--name-field-fichiers span:nth-of-type(2) { + display: none; } + .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers .field--name-field-fichiers .file--mime-application-pdf { + height: inherit; + margin: auto; } + .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers .field--name-field-fichiers .file--mime-application-pdf ::before { + content: url("../images/pictos/noun_Download_file_307900.svg"); + min-width: 25px; + height: auto; + padding-right: 0.5rem; } + .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers .field--name-field-fichiers .file--mime-application-pdf a { + hyphens: auto; + display: inline-flex; + color: #009ee3; + font-weight: 800; } .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item { margin: auto; height: fit-content; @@ -352,6 +352,7 @@ a { font-weight: 900; } .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource { border: 2px solid #009ee3; + background-color: white; margin-left: 1rem; margin-bottom: 1rem; padding: 1rem; } diff --git a/web/themes/custom/eql/scss/pages/_static.scss b/web/themes/custom/eql/scss/pages/_static.scss index 80b9667..51df3fd 100644 --- a/web/themes/custom/eql/scss/pages/_static.scss +++ b/web/themes/custom/eql/scss/pages/_static.scss @@ -136,43 +136,43 @@ height: fit-content; border: 2px solid $blue-light; background-color: $white; - + .field--name-field-fichiers{ + min-height: 4rem; + background: $white; + color: $blue-light; + padding-left: 0.8rem; + padding-top: 1rem; + padding-bottom: 1rem; + margin-bottom: 1rem; + + span:nth-of-type(2){ + display: none; + } + + .file--mime-application-pdf{ + height: inherit; + margin: auto; + ::before{ + content: url("../images/pictos/noun_Download_file_307900.svg"); + min-width:25px; + height: auto; + padding-right: 0.5rem; + // display: inline-flex; + // align-items: center; + } + a{ + hyphens: auto; + display: inline-flex; + // align-items: center; + color: $blue-light; + font-weight: 800; + // max-width: 80px ; + } + } + + } } - .field--name-field-fichiers{ - min-height: 4rem; - background: $white; - color: $blue-light; - padding-left: 0.8rem; - padding-top: 1rem; - padding-bottom: 1rem; - margin-bottom: 1rem; - - span:nth-of-type(2){ - display: none; - } - - .file--mime-application-pdf{ - height: inherit; - margin: auto; - ::before{ - content: url("../images/pictos/noun_Download_file_307900.svg"); - min-width:25px; - height: auto; - padding-right: 0.5rem; - // display: inline-flex; - // align-items: center; - } - a{ - hyphens: auto; - display: inline-flex; - // align-items: center; - color: $blue-light; - font-weight: 800; - // max-width: 80px ; - } - } - - } + .block-entity-fieldnodefield-liens{ .field--name-field-liens{ .field__item{ @@ -223,6 +223,7 @@ .node-type-ressource{ border: 2px solid $blue-light; + background-color: $white; margin-left: 1rem; margin-bottom: 1rem ; padding: 1rem;