From a3a53901ec3e3ad7956bc0d9296df4ead73a3f64 Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 23 Sep 2024 16:24:14 +0200 Subject: [PATCH] wait #7095 @1:00 --- .../styles/components/navigation-offcanvas.styl | 14 +++++++++----- .../assets/styles/components/navigation.styl | 8 +++++++- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/wp-content/themes/c6/resources/assets/styles/components/navigation-offcanvas.styl b/wp-content/themes/c6/resources/assets/styles/components/navigation-offcanvas.styl index 295c0ac..74848a3 100644 --- a/wp-content/themes/c6/resources/assets/styles/components/navigation-offcanvas.styl +++ b/wp-content/themes/c6/resources/assets/styles/components/navigation-offcanvas.styl @@ -42,11 +42,15 @@ // Otherwise the gap above the submenu looks a bit too big margin-top: -0.25em - ul a // Second level links - padding-left: 40px - color: #bbb - font-weight: normal - text-transform: none + ul + a // Second level links + padding-left: 40px + color: #bbb + font-weight: normal + text-transform: none + ul + a + padding-left: 70px a font-smoothing() diff --git a/wp-content/themes/c6/resources/assets/styles/components/navigation.styl b/wp-content/themes/c6/resources/assets/styles/components/navigation.styl index 944266f..4b2ca08 100644 --- a/wp-content/themes/c6/resources/assets/styles/components/navigation.styl +++ b/wp-content/themes/c6/resources/assets/styles/components/navigation.styl @@ -10,9 +10,10 @@ > li position: relative + li // Sub menu display &:hover - .sub-menu + > .sub-menu display: block animation: fade-in 0.3s @@ -56,12 +57,17 @@ .current_page_item border-bottom: none + .sub-menu + left: 100% + top: -2px + li white-space: nowrap display: block width: 100% padding-bottom: 0 margin: 0 + position: relative a font-smoothing-reset() -- 2.39.5