From d92f5eb01a44b3bfb0597a2d8dc57cb4abebd797 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 8 Aug 2025 12:29:00 +0200 Subject: [PATCH] aside tiroir croix fermeture --- web/themes/custom/reha/dist/css/bundle.css | 9 +++++++-- .../custom/reha/dist/images/noun-cross-1151731.svg | 4 ++-- web/themes/custom/reha/scss/partials/_aside.scss | 10 ++++++++-- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/web/themes/custom/reha/dist/css/bundle.css b/web/themes/custom/reha/dist/css/bundle.css index 0a03036..1329e60 100644 --- a/web/themes/custom/reha/dist/css/bundle.css +++ b/web/themes/custom/reha/dist/css/bundle.css @@ -992,6 +992,7 @@ aside.layout-sidebar-second .view-current-user-doc-profile::before { content: ""; width: 80%; margin-top: 0.6rem; + margin-bottom: 1rem; border-bottom: black solid 1px; } aside.layout-sidebar-second .view-current-user-doc-profile header { @@ -1001,6 +1002,7 @@ aside.layout-sidebar-second .view-current-user-doc-profile .views-field-title { font-size: 2rem; font-weight: 900; display: flex; + flex-direction: column-reverse; margin-bottom: 3rem; position: relative; z-index: 1000; @@ -1008,11 +1010,14 @@ aside.layout-sidebar-second .view-current-user-doc-profile .views-field-title { aside.layout-sidebar-second .view-current-user-doc-profile .views-field-title::after { content: url(../images/noun-cross-1151731.svg); cursor: pointer; - padding-left: 2rem; + width: fit-content; + display: block; + align-self: flex-end; } aside.layout-sidebar-second .view-current-user-doc-profile .view-curent-user-site-dossier { position: relative; - top: 200px; + top: 160px; + width: fit-content; } aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-de-pilotage, aside.layout-sidebar-second .view-current-user-doc-profile .field--name-field-dossier-evenement, diff --git a/web/themes/custom/reha/dist/images/noun-cross-1151731.svg b/web/themes/custom/reha/dist/images/noun-cross-1151731.svg index 8e225ed..4ffe70f 100644 --- a/web/themes/custom/reha/dist/images/noun-cross-1151731.svg +++ b/web/themes/custom/reha/dist/images/noun-cross-1151731.svg @@ -6,8 +6,8 @@ viewBox="0 0 34.696911 34.690243" id="svg2" sodipodi:docname="noun-cross-1151731.svg" - width="34.696911" - height="34.690243" + width="20" + height="20" inkscape:version="1.3 (0e150ed6c4, 2023-07-21)" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" diff --git a/web/themes/custom/reha/scss/partials/_aside.scss b/web/themes/custom/reha/scss/partials/_aside.scss index f6c5240..bd2d23d 100644 --- a/web/themes/custom/reha/scss/partials/_aside.scss +++ b/web/themes/custom/reha/scss/partials/_aside.scss @@ -89,6 +89,7 @@ aside.layout-sidebar-second{ content: '' ; width: 80%; margin-top: 0.6rem; + margin-bottom: 1rem; border-bottom: black solid 1px; } @@ -97,13 +98,17 @@ aside.layout-sidebar-second{ font-size: 2rem; font-weight: 900; display: flex; + flex-direction: column-reverse; margin-bottom: 3rem; position: relative; z-index: 1000; &::after{ content: url(../images/noun-cross-1151731.svg); cursor: pointer; - padding-left: 2rem; + // padding-left: 2rem; + width: fit-content; + display: block; + align-self: flex-end; // position: relative; // right: 55px; // top: -45px; @@ -111,7 +116,8 @@ aside.layout-sidebar-second{ } .view-curent-user-site-dossier{ position: relative; - top: 200px; + top: 160px; + width: fit-content; } .field--name-field-dossier-de-pilotage,