From 09a459226efb99fb4b65417360ede663bb522ee8 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 7 May 2026 17:56:22 +0200 Subject: [PATCH] FEATURE reordering admin menu --- css/admin-style.css | 23 +++++++++++++++++++++++ resources/css/admin-style.css | 25 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/css/admin-style.css b/css/admin-style.css index 7895607..b865d3e 100644 --- a/css/admin-style.css +++ b/css/admin-style.css @@ -13,4 +13,27 @@ .interface-navigable-region a[target='_blank']:after, .edit-post-header a[target='_blank']:after, .editor-header__settings a[target='_blank']:after, .interface-interface-skeleton__header a[target='_blank']:after { content: none; +} + +ul#adminmenu #menu-pages { + border-top: 1px solid rgba(255, 255, 255, 0.2) !important; + padding-top: 10px !important; +} + +ul#adminmenu #menu-media { + border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important; + padding-bottom: 10px !important; +} + +ul#adminmenu #menu-posts-equipe { + border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important; + padding-bottom: 10px !important; +} + +ul#adminmenu #menu-media + li { + padding-top: 10px !important; +} + +ul#adminmenu li:has(+ #menu-pages) { + padding-bottom: 10px !important; } diff --git a/resources/css/admin-style.css b/resources/css/admin-style.css index 5fa1d2d..5bb327e 100644 --- a/resources/css/admin-style.css +++ b/resources/css/admin-style.css @@ -20,3 +20,28 @@ content: none; } } + +ul#adminmenu { + #menu-pages { + border-top: 1px solid rgba(255, 255, 255, 0.2) !important; + padding-top: 10px !important; + } + + #menu-media { + border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important; + padding-bottom: 10px !important; + } + + #menu-posts-equipe { + border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important; + + padding-bottom: 10px !important; + } + + #menu-media + li { + padding-top: 10px !important; + } + li:has(+ #menu-pages) { + padding-bottom: 10px !important; + } +}