From a7ffdebc8a5c2bc39c368a9124d8d8eaa3f92790 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 21 Jan 2022 18:32:44 +0100 Subject: [PATCH] fix bug html--node.html.twig --- web/themes/custom/eql/css-compiled/styles.css | 4 +++- web/themes/custom/eql/scss/pages/_actualite.scss | 6 +++++- web/themes/custom/eql/templates/layout/html--node.html.twig | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 021795a..4d184b0 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -816,9 +816,11 @@ a { .field--name-field-partenaires a svg { display: none; } +.path-node.page-node-type-actualite .offresdeservices.layout-content.region-content#block-contenudelapageprincipale { + background: none !important; } + .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top { background: linear-gradient(to bottom, rgba(0, 158, 227, 0.2) 60%, white 40%); - padding-right: 1rem; padding-bottom: 4rem; } .path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--top .block-region-top { display: grid; diff --git a/web/themes/custom/eql/scss/pages/_actualite.scss b/web/themes/custom/eql/scss/pages/_actualite.scss index 9e44a63..509778a 100644 --- a/web/themes/custom/eql/scss/pages/_actualite.scss +++ b/web/themes/custom/eql/scss/pages/_actualite.scss @@ -1,4 +1,8 @@ .path-node.page-node-type-actualite{ + .offresdeservices.layout-content.region-content#block-contenudelapageprincipale{ + background: none !important; + } + .layout--threecol-25-50-25{ // display: grid; // grid-template-rows: repeat(6, auto); @@ -9,7 +13,7 @@ // background-color: $background-actus; // height: 40vh; background: linear-gradient(to bottom, $background-actus 60%, white 40%); - padding-right: 1rem; + // padding-right: 1rem; padding-bottom: 4rem; .block-region-top{ // position: relative; diff --git a/web/themes/custom/eql/templates/layout/html--node.html.twig b/web/themes/custom/eql/templates/layout/html--node.html.twig index 47b2c54..c0a4a80 100644 --- a/web/themes/custom/eql/templates/layout/html--node.html.twig +++ b/web/themes/custom/eql/templates/layout/html--node.html.twig @@ -30,7 +30,7 @@ node_type ? 'page-node-type-' ~ node_type|clean_class, db_offline ? 'db-offline', - 'offresdeservices', + ] %}