From 894bca8c0c7f3d51da954511d220e93cf761f39a Mon Sep 17 00:00:00 2001 From: ouidade Date: Sun, 21 Nov 2021 21:43:33 +0100 Subject: [PATCH] svg menu burger --- web/themes/custom/eql/css-compiled/styles.css | 8 +++++--- .../custom/eql/scss/partials/_header.scss | 17 ++++++----------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 6e379c1..eb87c84 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -424,7 +424,7 @@ header { #header-top #block-burger { z-index: 1; background-color: #009ee3; - font-size: 0.5rem; + font-size: 0.7rem; color: white; display: block; width: 7rem; @@ -432,11 +432,13 @@ header { margin-top: 0; } #header-top #block-burger :hover { cursor: pointer; } + #header-top #block-burger h2 { + padding-top: 1rem; } #header-top #block-burger h2:after { display: block; + margin: auto; height: 60px; - content: url('data:image/svg+xml, '); - content: url('data:image/svg+xml, '); } + content: url('data:image/svg+xml, '); } #header-top #block-burger #block-burger-menu { display: block; margin: 0; diff --git a/web/themes/custom/eql/scss/partials/_header.scss b/web/themes/custom/eql/scss/partials/_header.scss index 61c4d31..ca16913 100644 --- a/web/themes/custom/eql/scss/partials/_header.scss +++ b/web/themes/custom/eql/scss/partials/_header.scss @@ -91,7 +91,7 @@ header{ #block-burger { // menu burger à droite z-index: 1; background-color: $blue-light; - font-size: 0.5rem; + font-size: 0.7rem; color: $white; display: block; width: 7rem; @@ -100,19 +100,14 @@ header{ :hover{ cursor: pointer; } + h2{ + padding-top: 1rem; + } h2:after{ display: block; + margin:auto; height: 60px; - // font-family: 'Font Awesome'; - // content: "\f0c9"; - // font-weight: 100; - // font-size: 5rem; - // content:url("../images/pictos/menu.png"); - // content: url('data:image/svg+xml; utf8, image/svg+xml'); - // background-image: url('~/web/themes/custom/eql/images/pictos/menu.png'); - // height: 2rem; - content:url('data:image/svg+xml, '); - content:url('data:image/svg+xml, '); + content:url('data:image/svg+xml, '); } #block-burger-menu{