From 390b87ced1ba4e8316ba94b244a5229a426f86e1 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 17 Dec 2021 17:29:52 +0100 Subject: [PATCH] reduire picto liens dans statics --- web/themes/custom/eql/css-compiled/styles.css | 17 +++++++++++------ web/themes/custom/eql/scss/pages/_static.scss | 18 ++++++++++++------ 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 89d2408..8185301 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -246,7 +246,7 @@ a { min-height: 4rem; background: white; color: #009ee3; - padding-left: 1rem; + padding-left: 0.8rem; padding-top: 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) { @@ -256,9 +256,11 @@ a { 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: 50px; + min-width: 40px; height: auto; - padding-right: 1rem; } + padding-right: 0.5rem; + display: inline-flex; + align-items: center; } .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; @@ -272,19 +274,22 @@ a { min-height: 4rem; background: white; color: #009ee3; - padding-left: 1rem; + padding-left: 0.8rem; padding-top: 1rem; margin-bottom: 1rem; } .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a { display: inline-flex; align-items: center; + justify-items: center; 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 a::before { content: url("../images/pictos/noun_External Link_674151.svg"); - min-width: 50px; + min-width: 40px; height: auto; - padding-right: 1rem; } + padding-right: 0.5rem; + display: inline-flex; + align-items: center; } .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext { display: none; } .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress { diff --git a/web/themes/custom/eql/scss/pages/_static.scss b/web/themes/custom/eql/scss/pages/_static.scss index 67457ac..4076b68 100644 --- a/web/themes/custom/eql/scss/pages/_static.scss +++ b/web/themes/custom/eql/scss/pages/_static.scss @@ -109,7 +109,7 @@ min-height: 4rem; background: $white; color: $blue-light; - padding-left: 1rem; + padding-left: 0.8rem; padding-top: 1rem; margin-bottom: 1rem; @@ -122,9 +122,11 @@ margin: auto; ::before{ content: url("../images/pictos/noun_Download_file_307900.svg"); - min-width:50px; + min-width:40px; height: auto; - padding-right: 1rem; + padding-right: 0.5rem; + display: inline-flex; + align-items: center; } a{ hyphens: auto; @@ -146,20 +148,24 @@ min-height: 4rem; background: $white; color: $blue-light; - padding-left: 1rem; + padding-left: 0.8rem; padding-top: 1rem; margin-bottom: 1rem; + } a{ display: inline-flex; align-items: center; + justify-items: center; color: $blue-light; font-weight: 800; &::before{ content: url("../images/pictos/noun_External Link_674151.svg"); - min-width: 50px; + min-width: 40px; height: auto; - padding-right: 1rem; + padding-right: 0.5rem; + display: inline-flex; + align-items: center; } svg.ext{ display: none;