diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index f691897..5a02657 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -250,7 +250,7 @@ a { .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite a { color: white; } -.field--type-link { +.layout--onecol .field--type-link { display: block; float: right; width: fit-content; @@ -261,11 +261,11 @@ a { background-color: white; border: 2px solid #009ee3; list-style: none; } - .field--type-link a { + .layout--onecol .field--type-link a { text-transform: uppercase; font-weight: 700; color: #009ee3; } - .field--type-link a::after { + .layout--onecol .field--type-link a::after { display: inline-block; content: url("../../images/pictos/polygon2.svg"); } @@ -304,6 +304,11 @@ a { font-size: 1.5rem; width: 110%; } +.paragraph--type--partenaire .field--name-field-logo { + display: block; + width: 30%; + float: left; } + /*partials*/ .layout-container { position: relative; } diff --git a/web/themes/custom/eql/scss/pages/_home.scss b/web/themes/custom/eql/scss/pages/_home.scss index ab28a73..43220d5 100644 --- a/web/themes/custom/eql/scss/pages/_home.scss +++ b/web/themes/custom/eql/scss/pages/_home.scss @@ -84,30 +84,32 @@ // } // bouton voir toutes actus du bandeau bleu - -.field--type-link { - display: block; - float: right; - width: fit-content; - height: fit-content; - padding: 0.4rem 1rem; - font-size: 0.8rem; - margin: 0; - background-color: $white; - border: 2px solid $blue-light; - list-style: none; - a{ - text-transform: uppercase; - font-weight: 700; - color: $blue-light; - } - a::after{ - display: inline-block; - content: url("../../images/pictos/polygon2.svg"); - +.layout--onecol{ + .field--type-link { + display: block; + float: right; + width: fit-content; + height: fit-content; + padding: 0.4rem 1rem; + font-size: 0.8rem; + margin: 0; + background-color: $white; + border: 2px solid $blue-light; + list-style: none; + a{ + text-transform: uppercase; + font-weight: 700; + color: $blue-light; + } + a::after{ + display: inline-block; + content: url("../../images/pictos/polygon2.svg"); + + } } } + // boutons en savoir plus pour lien vers pages statiques .view-display-id-block_2{ diff --git a/web/themes/custom/eql/scss/pages/_partenaires.scss b/web/themes/custom/eql/scss/pages/_partenaires.scss new file mode 100644 index 0000000..3084d78 --- /dev/null +++ b/web/themes/custom/eql/scss/pages/_partenaires.scss @@ -0,0 +1,26 @@ + + + +.field--name-field-partenaires{ + display: flex; + flex-direction: column; + .paragraph--type--partenaire{ + + .field--name-field-logo{ + display: block; + width: 30%; + height: inherit; + float: left; + } + .field--name-field-titre{ + clear: both; + width: 70%; + font-weight: 800; + } + .field--name-field-texte{ + width: 70%; + } + + } + +} diff --git a/web/themes/custom/eql/scss/styles.scss b/web/themes/custom/eql/scss/styles.scss index b22cad9..52f0d16 100644 --- a/web/themes/custom/eql/scss/styles.scss +++ b/web/themes/custom/eql/scss/styles.scss @@ -19,6 +19,7 @@ // @import "pages/off_canvas_page_wrapper"; @import "pages/_static"; @import "pages/_home"; +@import "pages/_partenaires"; /*partials*/