From fb24f2065076b5872ec4050d890f9f5c9e597952 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 12 Dec 2023 12:01:02 +0100 Subject: [PATCH] adding a --sitemap menu homegrade style --- resources/css/layout/menu-homegrade.css | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/resources/css/layout/menu-homegrade.css b/resources/css/layout/menu-homegrade.css index 54afb57..64ee370 100644 --- a/resources/css/layout/menu-homegrade.css +++ b/resources/css/layout/menu-homegrade.css @@ -228,3 +228,36 @@ @apply hidden; } } + +.menu-homegrade--sitemap { + @apply grid sm:grid-cols-2 md:grid-cols-4 gap-y-8 mt-8; + + li:before { + @apply hidden; + content: none !important; + } + li.menu-item a { + @apply hover:text-secondary; + text-decoration: none; + } + + > li.menu-item > a, + h6.page-group-title { + @apply font-bold mb-2 block; + } + h6.page-group-title { + cursor: not-allowed; + /* order: 1; */ + } + + .sub-menu li { + @apply block my-1; + } + li { + padding-left: 0 !important; + } + + .wpml-ls-menu-item { + @apply hidden; + } +}