From 976274658c3bf787b4a47c84d942d9a7453579c7 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 1 Dec 2023 10:45:05 +0100 Subject: [PATCH] =?UTF-8?q?fix=20bug=20page=20mentions=20l=C3=A9gales?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/themes/custom/reha/css/reha.css | 5 ++++- web/themes/custom/reha/scss/pages/_page--static.scss | 8 ++++++++ web/themes/custom/reha/scss/partials/_header.scss | 2 +- web/themes/custom/reha/scss/reha.scss | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 web/themes/custom/reha/scss/pages/_page--static.scss diff --git a/web/themes/custom/reha/css/reha.css b/web/themes/custom/reha/css/reha.css index 7ae2fc5..2bb8785 100644 --- a/web/themes/custom/reha/css/reha.css +++ b/web/themes/custom/reha/css/reha.css @@ -474,7 +474,7 @@ header { content: url(../images/noun-cross-1151731.svg); float: right; position: relative; - left: 70px; + left: 90px; cursor: pointer; } footer { @@ -1050,3 +1050,6 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div .page--contacts div.contacts-full section.titre { display: none; } + +.field--name-field-mentions-legales div:first-of-type { + display: none; } diff --git a/web/themes/custom/reha/scss/pages/_page--static.scss b/web/themes/custom/reha/scss/pages/_page--static.scss new file mode 100644 index 0000000..6cc2393 --- /dev/null +++ b/web/themes/custom/reha/scss/pages/_page--static.scss @@ -0,0 +1,8 @@ +.page--contacts div.contacts-full section.titre{ + display: none; + +} + +.field--name-field-mentions-legales div:first-of-type{ + display: none; +} \ No newline at end of file diff --git a/web/themes/custom/reha/scss/partials/_header.scss b/web/themes/custom/reha/scss/partials/_header.scss index 2424afe..4bfd3a7 100644 --- a/web/themes/custom/reha/scss/partials/_header.scss +++ b/web/themes/custom/reha/scss/partials/_header.scss @@ -369,7 +369,7 @@ header{ content: url(../images/noun-cross-1151731.svg); float: right; position: relative; - left: 70px; + left: 90px; cursor: pointer; } diff --git a/web/themes/custom/reha/scss/reha.scss b/web/themes/custom/reha/scss/reha.scss index a74ab80..76e1a61 100644 --- a/web/themes/custom/reha/scss/reha.scss +++ b/web/themes/custom/reha/scss/reha.scss @@ -29,4 +29,4 @@ @import "pages/proposer-une-operation"; @import "pages/user--edit"; @import "pages/modifier-une-operation"; -@import "pages/page--contacts"; \ No newline at end of file +@import "pages/page--static.scss"; \ No newline at end of file