From 2c7ee33edf0fd3371cab153176188c5f2d90b9ca Mon Sep 17 00:00:00 2001 From: ouidade Date: Thu, 18 Nov 2021 14:02:52 +0100 Subject: [PATCH] header a active --- web/themes/custom/eql/css-compiled/styles.css | 22 ++++++++++++++----- .../custom/eql/scss/partials/_header.scss | 15 ++++--------- 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 5a02657..36b3970 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -304,10 +304,20 @@ a { font-size: 1.5rem; width: 110%; } -.paragraph--type--partenaire .field--name-field-logo { - display: block; - width: 30%; - float: left; } +.field--name-field-partenaires { + display: flex; + flex-direction: column; } + .field--name-field-partenaires .paragraph--type--partenaire .field--name-field-logo { + display: block; + width: 30%; + height: inherit; + float: left; } + .field--name-field-partenaires .paragraph--type--partenaire .field--name-field-titre { + clear: both; + width: 70%; + font-weight: 800; } + .field--name-field-partenaires .paragraph--type--partenaire .field--name-field-texte { + width: 70%; } /*partials*/ .layout-container { @@ -339,8 +349,8 @@ header { padding-right: 1rem; } #header-top .region-header-top-left ul li a { color: black; } - #header-top .region-header-top-left ul li a .is-active { - color: #009ee3; } + #header-top .region-header-top-left ul li .is-active { + color: #009ee3; } #header-top .region-header-top-left ul .ul2 { flex-direction: column; } #header-top .region-header-top-left :hover { diff --git a/web/themes/custom/eql/scss/partials/_header.scss b/web/themes/custom/eql/scss/partials/_header.scss index 0ae7a66..495370a 100644 --- a/web/themes/custom/eql/scss/partials/_header.scss +++ b/web/themes/custom/eql/scss/partials/_header.scss @@ -33,9 +33,9 @@ header{ padding-right: 1rem; a { color: $black; - .is-active { - color: $blue-light; - } + } + .is-active { + color: $blue-light; } } .ul2{ @@ -45,9 +45,6 @@ header{ :hover{ color: $blue-light; } - // :visited { - // color: $blue-light; - // } } li ul { @@ -55,12 +52,7 @@ header{ flex-direction: column; } - // .region-header-top-rigth { - // width: 7rem; - // height: 7rem; - - // } #block-burger { z-index: 1; background-color: $blue-light; @@ -127,5 +119,6 @@ header{ } } + }